Merge remote-tracking branch 'origin/token-meter-service' into compact-post-step-overflow-recovery

# Conflicts:
#	docs/architecture.md
This commit is contained in:
Hypatia May
2026-07-16 10:14:33 +08:00
280 changed files with 17940 additions and 3212 deletions

View File

@@ -64,6 +64,8 @@ const GROUP_ORDER = [
'skill',
'compact',
'subagent',
'tasks',
'workflow',
'web',
'todo',
'cordis',
@@ -239,6 +241,14 @@ const SERVICE_ROLES: ServiceRole[] = [
consumers: ['tool-subagent'],
note: 'Providers implement transports; tool-subagent exposes one configured provider as a model-facing tool name.',
},
{
key: 'tasks',
pkg: 'tasks',
title: 'Background task registry',
mode: 'core',
consumers: ['tool-bash', 'tool-subagent', 'tool-tasks'],
note: 'Producers (tool-bash background commands, tool-subagent background delegations) register running work; tool-tasks is the model-facing control surface that reads, lists, and kills it.',
},
{
key: 'web',
pkg: 'web',