mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-02 02:07:25 +08:00
Preserve Claude ACP quota classification and reset time (#13651)
Typed Claude ACP quota failures lost their recovery classification and reset time when the runtime reduced provider metadata to a generic category error. Inspect terminal metadata in memory and retain only safe recovery labels and a parsed reset timestamp. Preserve the existing handling of other limits. Verified real child processes on both pinned ACPX runtimes, adapter and server recovery regressions, all PR CI gates, and Greptile 5/5. Also isolate a pre-existing chat regression from unrelated fixtures’ retry work. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -41,7 +41,7 @@ async function handleRequest(request) {
|
||||
const sessionFailure = {
|
||||
id: `${request.params.sessionId}:error`,
|
||||
revision: 1,
|
||||
category: "request",
|
||||
category: process.env.PAPERCLIP_ACPX_TYPED_FAILURE_CATEGORY ?? "request",
|
||||
severity: "error",
|
||||
title: typedFailureCanary,
|
||||
actions: [],
|
||||
|
||||
Reference in New Issue
Block a user