feat: expose codex runtime lifecycle events

This commit is contained in:
AI Bot
2026-06-03 12:27:41 +08:00
parent f23ed9f188
commit b31238b6e2
12 changed files with 180 additions and 7 deletions

View File

@@ -175,6 +175,16 @@ function buildSupportMatrix({ helpText, methods }) {
toolRequestUserInput: methodSet.has("item/tool/requestUserInput"),
permissionRequestApproval: methodSet.has("item/permissions/requestApproval"),
guardianDeniedActionApproval: methodSet.has("thread/approveGuardianDeniedAction"),
processEvents: methodSet.has("process/outputDelta") || methodSet.has("process/exited"),
rawResponseCompleted: methodSet.has("rawResponseItem/completed"),
skillsChanged: methodSet.has("skills/changed"),
pluginInstalledNotification: methodSet.has("plugin/installed"),
threadLifecycleEvents:
methodSet.has("thread/started") ||
methodSet.has("thread/closed") ||
methodSet.has("thread/archived") ||
methodSet.has("thread/unarchived") ||
methodSet.has("thread/name/updated"),
};
}