@kradle/cli 0.0.13 → 0.0.15
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.
|
@@ -158,7 +158,9 @@ export class Runner {
|
|
|
158
158
|
catch (error) {
|
|
159
159
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
160
160
|
// Check for rate limiting
|
|
161
|
-
if (errorMessage.includes("429") ||
|
|
161
|
+
if (errorMessage.includes("429") ||
|
|
162
|
+
errorMessage.toLowerCase().includes("rate limit") ||
|
|
163
|
+
errorMessage.toLowerCase().includes("you may need to stop or wait")) {
|
|
162
164
|
// Re-queue for later
|
|
163
165
|
this.updateState(index, { status: "queued", error: undefined });
|
|
164
166
|
this.activeRuns.delete(index);
|
|
@@ -238,7 +240,7 @@ export class Runner {
|
|
|
238
240
|
// Don't await - run concurrently
|
|
239
241
|
this.startRun(index);
|
|
240
242
|
// Wait a bit to avoid overwhelming the API
|
|
241
|
-
await this.delay(
|
|
243
|
+
await this.delay(350);
|
|
242
244
|
}
|
|
243
245
|
// Wait a bit before checking again
|
|
244
246
|
await this.delay(500);
|
package/oclif.manifest.json
CHANGED