fix(catalog): align Letta and Grok facts with official documentation

Re-verified all fifteen provider hook contracts against first-party
documentation on 2026-07-21; thirteen match exactly.

Letta: the harness-hook page moved to /reference/deprecated/hooks and
is vendor-deprecated in favor of Mods. The shipped contract remains
live and functional; record the current URL and the documented
PostToolUseFailure event the SDK adapters already register.

Grok: xAI documents the hook stdin payload non-exhaustively with only
hookEventName, sessionId, cwd, workspaceRoot, toolName, and toolInput.
Drop the recorded toolUseId/toolResult field claims, which appear
nowhere in official documentation.
This commit is contained in:
ZacharyZhang-NY committed 2026-07-21 19:20:51 -04:00
1 parent f01fd92946
commit 060a072f1f
3 files changed
+12 -11

No files matched your search

+8 -7
View File
@@ -1,7 +1,7 @@
{
"$schema": "./catalog.schema.json",
"schema_version": 1,
"verified_on": "2026-07-19",
"verified_on": "2026-07-21",
"providers": [
{
"id": "augment",
@@ -297,10 +297,7 @@
"event_fields": {
"name": "toolName",
"input": "toolInput",
"session": "sessionId",
"call_id": "toolUseId",
"output": "toolResult",
"error": "toolResult"
"session": "sessionId"
},
"blocking": { "mechanism": "exit_code_2", "failure_mode": "fail_open" },
"adapters": { "node": true, "python": true, "go": true },
@@ -424,11 +421,15 @@
".letta/settings.json",
".letta/settings.local.json"
],
"events": { "before_tool": "PreToolUse", "after_tool": "PostToolUse" },
"events": {
"before_tool": "PreToolUse",
"after_tool": "PostToolUse",
"after_tool_failure": "PostToolUseFailure"
},
"blocking": { "mechanism": "exit_code_2", "failure_mode": "fail_open" },
"adapters": { "node": true, "python": true, "go": true },
"delivery_state": "available",
"source_url": "https://docs.letta.com/letta-agent/hooks"
"source_url": "https://docs.letta.com/reference/deprecated/hooks"
},
{
"id": "opencode",