@atolis-hq/wake 0.2.71 → 0.2.72
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.
|
@@ -152,6 +152,9 @@ export function classifyCodexCliFailure(input) {
|
|
|
152
152
|
}
|
|
153
153
|
const structuredMessage = extractCodexErrorMessage(input.stdout);
|
|
154
154
|
const text = (structuredMessage ?? `${input.stderr}\n${input.stdout}`).toLowerCase();
|
|
155
|
+
if (text.includes('missing bearer or basic authentication')) {
|
|
156
|
+
return 'infra';
|
|
157
|
+
}
|
|
155
158
|
if (text.includes('usage limit') ||
|
|
156
159
|
text.includes('rate limit') ||
|
|
157
160
|
text.includes('quota') ||
|
|
@@ -159,7 +162,9 @@ export function classifyCodexCliFailure(input) {
|
|
|
159
162
|
text.includes('credit') ||
|
|
160
163
|
text.includes('too many requests') ||
|
|
161
164
|
text.includes('unauthorized') ||
|
|
162
|
-
text.includes('authentication')
|
|
165
|
+
text.includes('authentication') ||
|
|
166
|
+
text.includes('not logged in') ||
|
|
167
|
+
text.includes('login required')) {
|
|
163
168
|
return 'quota';
|
|
164
169
|
}
|
|
165
170
|
return 'infra';
|
package/dist/src/version.js
CHANGED