@opencode/core 0.0.0-dev-19642 → 0.0.0-dev-19644
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{location-f4tgg2kc.js → file-retention-030jzqrs.js} +1 -1
- package/dist/chunks/{location-ga80df03.js → file-retention-0dfw7kj5.js} +11 -11
- package/dist/chunks/{location-6y0140gn.js → file-retention-0e0st8s7.js} +18 -18
- package/dist/chunks/{location-jhhychjc.js → file-retention-0e6bfx7v.js} +10 -10
- package/dist/chunks/{location-ce87bwtv.js → file-retention-0h3rvf5y.js} +30 -30
- package/dist/chunks/{location-a2jjt3bn.js → file-retention-0n2dkqex.js} +28 -28
- package/dist/chunks/{location-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-1medja8d.js → file-retention-0q8z25ax.js} +13 -13
- package/dist/chunks/{location-02khppbe.js → file-retention-0tmgye68.js} +9 -9
- package/dist/chunks/{location-yty395xw.js → file-retention-15bxggqa.js} +9 -9
- package/dist/chunks/{location-77cx0ag9.js → file-retention-1ct3e436.js} +6 -6
- package/dist/chunks/{location-2rqy6js5.js → file-retention-1ctxmpem.js} +17 -17
- package/dist/chunks/{location-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-pe0jfpdy.js → file-retention-1hcx3hx9.js} +11 -11
- package/dist/chunks/{location-zmy1vr96.js → file-retention-1kzs76d5.js} +30 -30
- package/dist/chunks/{location-1nzs1dt7.js → file-retention-1tq060df.js} +6 -6
- package/dist/chunks/{location-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{location-6h73sxmp.js → file-retention-2402vzrj.js} +5 -5
- package/dist/chunks/{location-zx93qmfr.js → file-retention-25dtj6av.js} +34 -34
- package/dist/chunks/{location-wgsyq2g2.js → file-retention-283sq9eb.js} +6 -6
- package/dist/chunks/{location-29x78va6.js → file-retention-29x78va6.js} +2 -2
- package/dist/chunks/{location-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-4y72ap3v.js → file-retention-2angj6gv.js} +12 -12
- package/dist/chunks/{location-bzszcmd6.js → file-retention-2cc64ex3.js} +9 -9
- package/dist/chunks/{location-t9rs90mq.js → file-retention-2cdjst23.js} +11 -11
- package/dist/chunks/{location-c9qmmsf5.js → file-retention-2wgckns4.js} +5 -5
- package/dist/chunks/{location-xk7exet4.js → file-retention-2xm6y6tp.js} +5 -5
- package/dist/chunks/{location-f66j0bjc.js → file-retention-320y3j5b.js} +6 -6
- package/dist/chunks/{location-zzvq861e.js → file-retention-32cd2pct.js} +9 -9
- package/dist/chunks/{location-y70yena6.js → file-retention-38pjs6q7.js} +46 -46
- package/dist/chunks/{location-w1p3n6tm.js → file-retention-39qagpsx.js} +3 -3
- package/dist/chunks/{location-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-h5wzna0j.js → file-retention-3hj581hw.js} +9 -9
- package/dist/chunks/{location-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-r7mqfzj6.js → file-retention-44d511wt.js} +22 -22
- package/dist/chunks/{location-ke0dmmcw.js → file-retention-47kcz5j6.js} +9 -9
- package/dist/chunks/{location-13r97ts9.js → file-retention-4cwyw9nt.js} +26 -26
- package/dist/chunks/{location-sf4dfcqt.js → file-retention-4gde0705.js} +23 -23
- package/dist/chunks/{location-kgvs6344.js → file-retention-52tjq29f.js} +15 -15
- package/dist/chunks/{location-56gdpj1q.js → file-retention-56gdpj1q.js} +2 -2
- package/dist/chunks/{location-57b9ws8p.js → file-retention-57b9ws8p.js} +1 -1
- package/dist/chunks/{location-a1bz86dw.js → file-retention-5c4hm403.js} +3 -3
- package/dist/chunks/{location-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{location-f5avtzec.js → file-retention-5njbeffs.js} +6 -6
- package/dist/chunks/{location-wfwy58wd.js → file-retention-5pny8g6e.js} +24 -24
- package/dist/chunks/{location-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-6mr3pvkp.js → file-retention-63e4nz8m.js} +15 -15
- package/dist/chunks/{location-bccb6npm.js → file-retention-64kphnzf.js} +4 -4
- package/dist/chunks/{location-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{location-8k62qdcz.js → file-retention-66cwwmwe.js} +20 -20
- package/dist/chunks/{location-50hhjvx3.js → file-retention-675gk2e9.js} +4 -4
- package/dist/chunks/file-retention-6ekjhmbd.js +247 -0
- package/dist/chunks/{location-0h4w7d7c.js → file-retention-6haqad0x.js} +11 -11
- package/dist/chunks/{location-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-t89gs4p7.js → file-retention-6ppm5kn9.js} +2 -2
- package/dist/chunks/{location-kjg745n7.js → file-retention-6rx60a99.js} +6 -6
- package/dist/chunks/{location-an394p75.js → file-retention-6wys8vmt.js} +44 -44
- package/dist/chunks/{location-57ez7d0k.js → file-retention-6x0h2hvg.js} +9 -9
- package/dist/chunks/{location-ybr7evyj.js → file-retention-6x3t56ym.js} +17 -17
- package/dist/chunks/{location-r5x6zcsm.js → file-retention-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-96b9akrn.js → file-retention-76x0exek.js} +7 -7
- package/dist/chunks/{location-tsr2crch.js → file-retention-776x8tr7.js} +11 -11
- package/dist/chunks/{location-v1mb79rm.js → file-retention-78d0vfx8.js} +15 -15
- package/dist/chunks/{location-bajakh74.js → file-retention-7ac170kv.js} +4 -4
- package/dist/chunks/{location-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-2k8khapm.js → file-retention-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-b4frb2y3.js → file-retention-7et47hrm.js} +13 -13
- package/dist/chunks/{location-6ezq3ad5.js → file-retention-80z3br0b.js} +22 -22
- package/dist/chunks/{location-5n6xmq0y.js → file-retention-82zd9er4.js} +5 -5
- package/dist/chunks/file-retention-86f8k4a1.js +478 -0
- package/dist/chunks/{location-zvp4yy8h.js → file-retention-8bjpbq0k.js} +14 -14
- package/dist/chunks/{location-gaq06wk0.js → file-retention-8brgam58.js} +6 -6
- package/dist/chunks/{location-yjb6xngg.js → file-retention-8csq5jz1.js} +19 -19
- package/dist/chunks/{location-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-k0hm0ppj.js → file-retention-8htta391.js} +8 -8
- package/dist/chunks/{location-563gk52j.js → file-retention-9f77mvx3.js} +12 -12
- package/dist/chunks/{location-t4bxqr6c.js → file-retention-9jhw3ahb.js} +8 -8
- package/dist/chunks/{location-ptvmhbww.js → file-retention-9k6ah3ay.js} +37 -37
- package/dist/chunks/{location-j27ga05e.js → file-retention-9sbphxp7.js} +17 -17
- package/dist/chunks/{location-qa3qhgw8.js → file-retention-a2ew8a62.js} +4 -4
- package/dist/chunks/{location-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{location-f6y5ddnz.js → file-retention-abvna2sd.js} +11 -11
- package/dist/chunks/{location-hxr4ws4r.js → file-retention-am60j996.js} +8 -8
- package/dist/chunks/{location-d61der1w.js → file-retention-avg07sbv.js} +25 -25
- package/dist/chunks/{location-w27pm9me.js → file-retention-azpwskpm.js} +20 -20
- package/dist/chunks/{location-q8qvj88j.js → file-retention-b3d6gjgc.js} +52 -52
- package/dist/chunks/{location-dc2d58h7.js → file-retention-b3qge5m1.js} +25 -25
- package/dist/chunks/{location-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-84xgtnpg.js → file-retention-baspsnr0.js} +17 -17
- package/dist/chunks/{location-b8hzf7nw.js → file-retention-bb8wzrbb.js} +5 -5
- package/dist/chunks/{location-b80qvjyn.js → file-retention-bc5qqj72.js} +24 -24
- package/dist/chunks/{location-3qchzd5j.js → file-retention-bdyxy7dh.js} +10 -10
- package/dist/chunks/{location-an7cqtb7.js → file-retention-bf0ztrs3.js} +4 -4
- package/dist/chunks/{location-7a9xqb56.js → file-retention-bzb98473.js} +32 -32
- package/dist/chunks/{location-t0gchcch.js → file-retention-c1180j6r.js} +20 -20
- package/dist/chunks/{location-ez1qr559.js → file-retention-c917e1ye.js} +3 -3
- package/dist/chunks/{location-20m6xvm3.js → file-retention-c9ztkm9f.js} +7 -7
- package/dist/chunks/{location-dw6r0y9k.js → file-retention-cfejgvt1.js} +19 -19
- package/dist/chunks/{location-37ea9c2d.js → file-retention-cfv81dax.js} +8 -8
- package/dist/chunks/{location-2sm5km0b.js → file-retention-ched4952.js} +10 -10
- package/dist/chunks/{location-1ajx6rf5.js → file-retention-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-w0ejc12g.js → file-retention-cnfba84y.js} +18 -18
- package/dist/chunks/{location-cwa6csj7.js → file-retention-cwa6csj7.js} +2 -2
- package/dist/chunks/{location-r8apmgv6.js → file-retention-cwazgnkr.js} +8 -8
- package/dist/chunks/{location-avc8n21j.js → file-retention-d3dn9r6m.js} +9 -9
- package/dist/chunks/{location-et96cwk7.js → file-retention-d66a0nr4.js} +171 -171
- package/dist/chunks/{location-xa0zhpnz.js → file-retention-dbjfv9j1.js} +26 -26
- package/dist/chunks/{location-bk6zst5d.js → file-retention-dgfnmtzr.js} +21 -21
- package/dist/chunks/{location-1qxzdp14.js → file-retention-dgprnyba.js} +36 -36
- package/dist/chunks/{location-8p4f9s12.js → file-retention-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-2rphr397.js → file-retention-dj6gbf46.js} +11 -11
- package/dist/chunks/{location-hvab6fp8.js → file-retention-dk1ddre8.js} +27 -27
- package/dist/chunks/{location-s9swp5qq.js → file-retention-dn8nwevp.js} +17 -17
- package/dist/chunks/{location-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-bxf8tdej.js → file-retention-dt5xmw4k.js} +4 -4
- package/dist/chunks/{location-gfpndgpb.js → file-retention-dwda6jd0.js} +35 -35
- package/dist/chunks/{location-pyn48w4n.js → file-retention-e1j9zn8x.js} +17 -17
- package/dist/chunks/{location-e5nv3ght.js → file-retention-e5nv3ght.js} +2 -2
- package/dist/chunks/{location-nca7p386.js → file-retention-e6d6pdps.js} +4 -4
- package/dist/chunks/{location-jva4mgym.js → file-retention-ec8389mk.js} +4 -4
- package/dist/chunks/{location-sxzvkvgj.js → file-retention-edbfpfck.js} +6 -6
- package/dist/chunks/{location-pd1sw0zy.js → file-retention-eew5sq93.js} +25 -25
- package/dist/chunks/{location-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-y6y1fb4b.js → file-retention-efpr09yf.js} +20 -20
- package/dist/chunks/{location-wtyrbjce.js → file-retention-espmqh47.js} +5 -5
- package/dist/chunks/{location-3apyeffz.js → file-retention-esqa9h64.js} +18 -18
- package/dist/chunks/{location-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-j1wra8w6.js → file-retention-eyn7p3z3.js} +9 -9
- package/dist/chunks/{location-12wed8mm.js → file-retention-f0n97kr3.js} +11 -11
- package/dist/chunks/{location-4vzfa14d.js → file-retention-f11whwgg.js} +17 -17
- package/dist/chunks/{location-9m52ezb2.js → file-retention-f7tymrhk.js} +47 -47
- package/dist/chunks/{location-qv6dpkjj.js → file-retention-f97c0hvw.js} +4 -4
- package/dist/chunks/{location-f561ery6.js → file-retention-fa2c6m02.js} +9 -9
- package/dist/chunks/{location-wnen7h7y.js → file-retention-fphthhwy.js} +41 -41
- package/dist/chunks/{location-mx09shfg.js → file-retention-fvezrss0.js} +12 -12
- package/dist/chunks/{location-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-06jkk7ah.js → file-retention-fzsywmjq.js} +4 -4
- package/dist/chunks/{location-98agyze9.js → file-retention-g515c63b.js} +30 -30
- package/dist/chunks/{location-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-9r7xpw87.js → file-retention-grb17zcw.js} +76 -76
- package/dist/chunks/{location-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-rzkgkfj2.js → file-retention-gxh64nqm.js} +8 -8
- package/dist/chunks/{location-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-ebe9bak5.js → file-retention-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-5dx64r44.js → file-retention-h74ge2a2.js} +8 -8
- package/dist/chunks/{location-94etgqzd.js → file-retention-hb7wfmtw.js} +8 -8
- package/dist/chunks/{location-f828m53h.js → file-retention-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-6d9c79xp.js → file-retention-hekbvwg7.js} +38 -38
- package/dist/chunks/{location-tgks2w6d.js → file-retention-hr2j7280.js} +10 -10
- package/dist/chunks/{location-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{location-8710dda9.js → file-retention-j91djj78.js} +16 -16
- package/dist/chunks/{location-y3smxrvk.js → file-retention-jwztks0a.js} +17 -17
- package/dist/chunks/{location-pvrjs4yz.js → file-retention-k2fzxap7.js} +11 -11
- package/dist/chunks/{location-9mek4kv0.js → file-retention-k59erz6z.js} +24 -24
- package/dist/chunks/{location-rgtq0qy6.js → file-retention-k69na4ps.js} +22 -22
- package/dist/chunks/{location-ngy3nxrq.js → file-retention-kchqah57.js} +12 -12
- package/dist/chunks/{location-j0rfc03s.js → file-retention-kd4pdhg0.js} +3 -3
- package/dist/chunks/{location-ntaf7prd.js → file-retention-kenaddax.js} +18 -18
- package/dist/chunks/{location-7x2gvtfy.js → file-retention-kerhshr9.js} +5 -5
- package/dist/chunks/{location-2pnhn36q.js → file-retention-kk00bynn.js} +4 -4
- package/dist/chunks/{location-6sbe3e33.js → file-retention-krbv9b1e.js} +15 -15
- package/dist/chunks/{location-6e1xyr9h.js → file-retention-kvw3pn7b.js} +22 -22
- package/dist/chunks/{location-cfpkc3c9.js → file-retention-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-23e0sdpc.js → file-retention-mdp4tsk4.js} +3 -3
- package/dist/chunks/{location-5xjbzt31.js → file-retention-mg0hvqns.js} +22 -22
- package/dist/chunks/{location-3f9dyp3c.js → file-retention-mhfmqj3q.js} +11 -11
- package/dist/chunks/{location-mtft99cd.js → file-retention-mtft99cd.js} +2 -2
- package/dist/chunks/{location-ednp5hmx.js → file-retention-mw934p8z.js} +8 -8
- package/dist/chunks/{location-4wjrfpfr.js → file-retention-mytrx3qe.js} +23 -23
- package/dist/chunks/{location-a3ftg8j6.js → file-retention-n37c4crj.js} +9 -9
- package/dist/chunks/{location-k42bcvs9.js → file-retention-n7a1v19n.js} +25 -25
- package/dist/chunks/{location-nb3h35dd.js → file-retention-nefkn79j.js} +16 -16
- package/dist/chunks/{location-bm4d4wv8.js → file-retention-njct7pyc.js} +36 -36
- package/dist/chunks/{location-fjs5xx1d.js → file-retention-nvxqht09.js} +3 -3
- package/dist/chunks/{location-nq6ygtzk.js → file-retention-p17m87ch.js} +24 -24
- package/dist/chunks/{location-s988tmsk.js → file-retention-p4gp63td.js} +25 -25
- package/dist/chunks/{location-xv1g2w1w.js → file-retention-p9nbetk4.js} +39 -39
- package/dist/chunks/{location-wckfp198.js → file-retention-pay99sa2.js} +26 -26
- package/dist/chunks/{location-5zn0h1ac.js → file-retention-pdyjjwcd.js} +5 -5
- package/dist/chunks/{location-sg5fy40w.js → file-retention-pgstsa3r.js} +32 -32
- package/dist/chunks/{location-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{location-7r7r939x.js → file-retention-pr5bwn0j.js} +2 -2
- package/dist/chunks/{location-s6b4aker.js → file-retention-pwg06x6c.js} +7 -7
- package/dist/chunks/{location-q5gbzsgk.js → file-retention-q03excpa.js} +8 -8
- package/dist/chunks/{location-qq1336c3.js → file-retention-q0hqxkgm.js} +5 -5
- package/dist/chunks/{location-9kgqg1se.js → file-retention-q0qep26h.js} +5 -5
- package/dist/chunks/{location-5x5d8tg1.js → file-retention-q564kvp8.js} +31 -31
- package/dist/chunks/{location-0jv1ejcq.js → file-retention-q8h7q9dm.js} +32 -32
- package/dist/chunks/{location-ch13e4p5.js → file-retention-q9jzzx65.js} +90 -90
- package/dist/chunks/{location-q7tjfjkg.js → file-retention-qcssbjdb.js} +21 -21
- package/dist/chunks/{location-ywkfy99j.js → file-retention-qg0jgkcp.js} +9 -9
- package/dist/chunks/{location-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{location-vkjtt5mp.js → file-retention-qsr32hwm.js} +12 -12
- package/dist/chunks/{location-510m7gjw.js → file-retention-qte5z7bc.js} +5 -5
- package/dist/chunks/{location-aqbbe05p.js → file-retention-r1eewcm5.js} +6 -6
- package/dist/chunks/{location-sx9refc1.js → file-retention-r4d7c6cg.js} +4 -4
- package/dist/chunks/{location-pzs0ev6d.js → file-retention-r4wafeyv.js} +12 -12
- package/dist/chunks/{location-j3qk5xq3.js → file-retention-r5ck68vt.js} +9 -9
- package/dist/chunks/{location-5kgdvgf5.js → file-retention-r70effxe.js} +15 -15
- package/dist/chunks/{location-yp2x3t23.js → file-retention-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-r9mregkx.js → file-retention-r9mregkx.js} +2 -2
- package/dist/chunks/{location-rap9a73h.js → file-retention-rap9a73h.js} +1 -1
- package/dist/chunks/{location-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-06x8he3q.js → file-retention-rpg9c19m.js} +4 -4
- package/dist/chunks/{location-kw8thyfa.js → file-retention-rs1yzs7v.js} +54 -54
- package/dist/chunks/{location-gdfwdqg1.js → file-retention-s1g5cvt5.js} +20 -20
- package/dist/chunks/{location-s4enseaf.js → file-retention-s4enseaf.js} +2 -2
- package/dist/chunks/{location-t550f9t1.js → file-retention-s8d7rejh.js} +4 -4
- package/dist/chunks/{location-51eea56x.js → file-retention-s8s13gpy.js} +11 -11
- package/dist/chunks/{location-xsvdyt0s.js → file-retention-se8z0pj2.js} +13 -13
- package/dist/chunks/{location-2hr5nhwa.js → file-retention-sm965ndy.js} +8 -8
- package/dist/chunks/{location-9s1y3sqz.js → file-retention-spmz9ee0.js} +42 -42
- package/dist/chunks/{location-0560ktsj.js → file-retention-sq7pnv40.js} +13 -13
- package/dist/chunks/{location-cfqzvftk.js → file-retention-sr8h7cpq.js} +32 -32
- package/dist/chunks/{location-e5b7myd9.js → file-retention-t09drp0q.js} +4 -4
- package/dist/chunks/{location-vacs20e4.js → file-retention-t8tp1xd4.js} +19 -19
- package/dist/chunks/{location-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-m0y35jh4.js → file-retention-tbnbgk70.js} +15 -15
- package/dist/chunks/{location-89znhe33.js → file-retention-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-16jp76s9.js → file-retention-tdme3qvq.js} +4 -4
- package/dist/chunks/{location-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{location-mtj0w11y.js → file-retention-tfpy23zn.js} +4 -4
- package/dist/chunks/{location-jhq2w8nd.js → file-retention-tq30t05y.js} +16 -16
- package/dist/chunks/{location-r8ste1ck.js → file-retention-tqkrwgse.js} +2 -2
- package/dist/chunks/{location-yvmcjsry.js → file-retention-trpk0pwm.js} +1 -1
- package/dist/chunks/{location-m5970q9f.js → file-retention-ts7n5m5a.js} +7 -7
- package/dist/chunks/{location-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{location-hxm7e6ac.js → file-retention-ty00y7c1.js} +13 -13
- package/dist/chunks/{location-ymez039j.js → file-retention-v8q046s9.js} +10 -10
- package/dist/chunks/{location-vc4e6k4r.js → file-retention-vc4e6k4r.js} +1 -1
- package/dist/chunks/{location-vanjjjrm.js → file-retention-vchtbmsk.js} +8 -8
- package/dist/chunks/{location-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{location-apya2hza.js → file-retention-vf1prd4j.js} +19 -19
- package/dist/chunks/file-retention-vpz3zhr4.js +26 -0
- package/dist/chunks/{location-yqm0cks0.js → file-retention-vsecdp8k.js} +46 -46
- package/dist/chunks/{location-1v2ecy8h.js → file-retention-vyjdy1t4.js} +11 -11
- package/dist/chunks/{location-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-z5r1kv61.js → file-retention-w0ay8c0v.js} +16 -16
- package/dist/chunks/{location-4mjrf905.js → file-retention-w3pg4pjy.js} +6 -6
- package/dist/chunks/{location-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-k5jjywx3.js → file-retention-w8y9a79x.js} +41 -41
- package/dist/chunks/{location-gwhebp1x.js → file-retention-wcxyx4rr.js} +23 -23
- package/dist/chunks/{location-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{location-njekgcg0.js → file-retention-wfqqa7gf.js} +23 -23
- package/dist/chunks/{location-3w83s82x.js → file-retention-wjx4xhr2.js} +43 -43
- package/dist/chunks/{location-5trsz9mg.js → file-retention-wqnexqmt.js} +11 -11
- package/dist/chunks/{location-2czyrpcs.js → file-retention-ws2pr6e8.js} +15 -15
- package/dist/chunks/{location-wbakrcvj.js → file-retention-wv3yzfnj.js} +10 -10
- package/dist/chunks/{location-7hqq4yr5.js → file-retention-wwc60ycd.js} +5 -5
- package/dist/chunks/{location-7zebv8z5.js → file-retention-wy0sms8q.js} +13 -13
- package/dist/chunks/{location-ryt7pzqc.js → file-retention-wy8b5sm2.js} +1 -1
- package/dist/chunks/{location-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-43yrs188.js → file-retention-x5hkbppd.js} +32 -32
- package/dist/chunks/{location-sz52d1qk.js → file-retention-x8xkwwsf.js} +37 -37
- package/dist/chunks/{location-3tq5qxbk.js → file-retention-xfdrc2qg.js} +6 -6
- package/dist/chunks/{location-qc88351s.js → file-retention-xm1fs24h.js} +23 -23
- package/dist/chunks/{location-aet9ygne.js → file-retention-xvy8f8fg.js} +18 -18
- package/dist/chunks/{location-87deq66t.js → file-retention-xxk5ry2v.js} +6 -6
- package/dist/chunks/{location-5cxtm7bs.js → file-retention-y180wre1.js} +15 -15
- package/dist/chunks/{location-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-xj4s9w93.js → file-retention-y49m3jq5.js} +12 -12
- package/dist/chunks/{location-2kdpwj1f.js → file-retention-yf52dd19.js} +6 -6
- package/dist/chunks/{location-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-evrvk863.js → file-retention-yzmh6vm3.js} +3 -3
- package/dist/chunks/{location-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-3w2b2yj4.js → file-retention-z3pw5915.js} +5 -5
- package/dist/chunks/{location-bnfttzv1.js → file-retention-z79d5grv.js} +33 -33
- package/dist/chunks/{location-2faw5ef7.js → file-retention-zcv4gjfc.js} +17 -17
- package/dist/chunks/{location-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-ataz063g.js → file-retention-zgqrnz3r.js} +16 -16
- package/dist/chunks/{location-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- package/dist/session/diff.js +87 -87
- 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 +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +72 -72
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/location-70h1mw8z.js +0 -478
- package/dist/chunks/location-8pz1rfxz.js +0 -26
- package/dist/chunks/location-jbw61t34.js +0 -247
- /package/dist/chunks/{location-0mesazry.js → file-retention-0mesazry.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e3qxr5gk.js → file-retention-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-tfpy23zn.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event21,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID18,
|
|
20
|
+
Info: () => Info34,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service80,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node84,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event21 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID18 = Form.ID;
|
|
39
|
+
var Info34 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID18
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID18
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID18
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID18,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service80 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer25 = Layer.effect(Service80, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service81;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID18.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer23 = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service80.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node84 = makeLocationNode({ service: Service80, layer: layer25, deps: [node85] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID18, Info34, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service80, layer25, node84, validateAnswer2, validateFields2, exports_form, Event21 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-tfpy23zn.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./file-retention-0n2dkqex.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-p17m87ch.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event18,
|
|
35
|
+
ID: () => ID14,
|
|
36
|
+
Info: () => Info29,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service75,
|
|
44
|
+
node: () => node79
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
66
|
+
var ID14 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info29 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -88,19 +88,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
91
|
-
integrationID:
|
|
91
|
+
integrationID: ID14,
|
|
92
92
|
attemptID: AttemptID2
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
var Ref3 = Integration.Ref;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service75 extends Context.Service()("@opencode/Integration") {
|
|
98
98
|
}
|
|
99
99
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
100
100
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
101
101
|
var scrubInterval = Duration.seconds(30);
|
|
102
|
-
var layer = Layer.effect(
|
|
103
|
-
const credentials = yield*
|
|
102
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
103
|
+
const credentials = yield* Service79;
|
|
104
104
|
const bus = yield* Service81;
|
|
105
105
|
const processes = yield* AppProcess.Service;
|
|
106
106
|
const scope = yield* Scope.Scope;
|
|
@@ -194,7 +194,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
194
194
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
195
195
|
return [...credentials, ...env];
|
|
196
196
|
};
|
|
197
|
-
const project = (entry, connections) =>
|
|
197
|
+
const project = (entry, connections) => Info29.make({
|
|
198
198
|
id: entry.ref.id,
|
|
199
199
|
name: entry.ref.name,
|
|
200
200
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -424,7 +424,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
424
424
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
425
425
|
return CommandAttempt2.make({ attemptID, time });
|
|
426
426
|
});
|
|
427
|
-
return
|
|
427
|
+
return Service75.of({
|
|
428
428
|
transform: state.transform,
|
|
429
429
|
reload: state.reload,
|
|
430
430
|
revision: state.revision,
|
|
@@ -573,10 +573,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
573
573
|
}
|
|
574
574
|
});
|
|
575
575
|
}));
|
|
576
|
-
var
|
|
577
|
-
service:
|
|
576
|
+
var node79 = makeLocationNode({
|
|
577
|
+
service: Service75,
|
|
578
578
|
layer,
|
|
579
|
-
deps: [
|
|
579
|
+
deps: [node83, node85, AppProcess.node]
|
|
580
580
|
});
|
|
581
581
|
|
|
582
|
-
export {
|
|
582
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node79, exports_integration, Event18 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service61
|
|
4
|
+
} from "./file-retention-qcssbjdb.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service69
|
|
8
|
+
} from "./file-retention-38pjs6q7.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-nvxqht09.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service56
|
|
14
|
+
} from "./file-retention-1ctxmpem.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service58
|
|
18
|
+
} from "./file-retention-spmz9ee0.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service24
|
|
21
|
+
} from "./file-retention-q9jzzx65.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
26
|
make6
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-retention-vchtbmsk.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input10,
|
|
36
|
+
Output: () => Output7,
|
|
37
|
+
Plugin: () => Plugin29,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description4,
|
|
40
|
+
name: () => name10
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name10 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input10 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,12 +63,12 @@ var Input2 = Schema.Struct({
|
|
|
63
63
|
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."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output7 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description4 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description2 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin29 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
83
|
+
const sessions = yield* Service24;
|
|
84
|
+
const jobs = yield* Service56;
|
|
85
|
+
const agents = yield* Service61;
|
|
86
|
+
const config = yield* Service69;
|
|
87
|
+
const permission = yield* Service58;
|
|
88
88
|
const subagents = yield* make6;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name10,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description4,
|
|
93
|
+
input: Input10,
|
|
94
|
+
output: Output7,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin21 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name10,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin21 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID10.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
const hook = (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name10];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -207,4 +207,4 @@ ${output.output}
|
|
|
207
207
|
})
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
export {
|
|
210
|
+
export { name10, Input10, Output7, description4, Plugin29, exports_subagent };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-tfpy23zn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service67,
|
|
17
|
+
node71
|
|
18
|
+
} from "./file-retention-4gde0705.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event12,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info15,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service66,
|
|
35
35
|
Source: () => Source5,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node70
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event12 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source5 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info15 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service66 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service81;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service67;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info15.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info15.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service66.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node70 = makeLocationNode({
|
|
116
|
+
service: Service66,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node85,
|
|
118
|
+
deps: [Global.node, node85, node71]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source5,
|
|
121
|
+
export { LocalSource2, GitSource2, Source5, Info15, Service66, node70, exports_reference2, Event12 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./file-retention-g515c63b.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|