thumbgate 1.6.0 → 1.8.0

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.
@@ -1041,6 +1041,45 @@ const TOOLS = [
1041
1041
  properties: {},
1042
1042
  },
1043
1043
  }),
1044
+ readOnlyTool({
1045
+ name: 'require_evidence_for_claim',
1046
+ description: 'Leader-Agent completion gate. Before any agent declares done/fixed/shipped/resolved, require tracked evidence. Blocking response when evidence missing; callers honor the blocking flag to stop completion claims.',
1047
+ inputSchema: {
1048
+ type: 'object',
1049
+ required: ['claim'],
1050
+ properties: {
1051
+ claim: { type: 'string', description: 'The completion claim text to verify (e.g. "Fix shipped", "Tests passing")' },
1052
+ mode: { type: 'string', enum: ['blocking', 'advisory'], description: 'blocking (default) returns blocking=true when evidence missing; advisory returns blocking=false' },
1053
+ sessionId: { type: 'string', description: 'Optional session id to associate with the gate decision' },
1054
+ },
1055
+ },
1056
+ }),
1057
+ destructiveTool({
1058
+ name: 'distribute_context_to_agents',
1059
+ description: 'Leader-Agent swarm coordinator. Constructs one context pack and distributes it to N worker agents (perplexity-bug-resolver, codex-reviewer, grok-x-intelligence, etc.), recording provenance per agent. Replaces N independent context derivations with a single shared pack.',
1060
+ inputSchema: {
1061
+ type: 'object',
1062
+ required: ['agents'],
1063
+ properties: {
1064
+ query: { type: 'string', description: 'Context query used to construct the pack' },
1065
+ agents: { type: 'array', items: { type: 'string' }, description: 'Agent names that should receive the pack' },
1066
+ maxItems: { type: 'number', description: 'Max items in the constructed pack (default 8)' },
1067
+ maxChars: { type: 'number', description: 'Max characters in the constructed pack (default 6000)' },
1068
+ namespaces: { type: 'array', items: { type: 'string' }, description: 'Optional contextfs namespaces to source from' },
1069
+ ttlMs: { type: 'number', description: 'Optional pack TTL in milliseconds (default 15 minutes)' },
1070
+ },
1071
+ },
1072
+ }),
1073
+ readOnlyTool({
1074
+ name: 'session_report',
1075
+ description: 'Unified observability rollup. Aggregates feedback stats, gate stats, and recent context/provenance events over a time window in one call. Replaces separate dashboard/gate_stats/feedback_stats calls with a single LangSmith-style report.',
1076
+ inputSchema: {
1077
+ type: 'object',
1078
+ properties: {
1079
+ windowHours: { type: 'number', description: 'Lookback window in hours (default 24, max 720)' },
1080
+ },
1081
+ },
1082
+ }),
1044
1083
  readOnlyTool({
1045
1084
  name: 'context_stuff_lessons',
1046
1085
  description: 'Dump ALL prevention lessons into a single text block for context-window injection. Bypasses RAG/search — returns every lesson sorted by confidence. For most projects (20-200 lessons), fits in 1K-10K tokens.',