Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

Merge remote-tracking branch 'origin/dev' into fix/701-stop-all-inject

AdamPlatin1230593b79b2b8c
diff --cc ds-bot/test/fake-ctx.js
index 095bcc57,fdb7a577..4a262b00
--- a/ds-bot/test/fake-ctx.js
+++ b/ds-bot/test/fake-ctx.js
@@@ -46,8 -46,8 +46,10 @@@ export function fakeContext({ services
sections,
logger: { warn() {}, info() {} },
get: name => services[name],
+ // As in real cordis: the plugin does not inject this service, so reading it throws.
+ get subagents() { throw new Error('cannot get property "subagents" without inject') },
+ // The real ctx guards plain access with `inject`; service() reads this.
+ reflect: { get: name => ctx.get(name) },
on(name, listener, options) {
calls.push(`on ${name}${options?.prepend ? ' (prepend)' : ''}`)
listeners.set(name, [...(listeners.get(name) ?? []), listener])