@rubytech/taskmaster 1.0.14 → 1.0.16
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.
- package/dist/auto-reply/reply/agent-runner-execution.js +6 -2
- package/dist/build-info.json +3 -3
- package/dist/control-ui/assets/{index-Cdd801b1.js → index-CII8VIT3.js} +212 -186
- package/dist/control-ui/assets/index-CII8VIT3.js.map +1 -0
- package/dist/control-ui/assets/{index-dMMqL7A5.css → index-CJPjbUly.css} +1 -1
- package/dist/control-ui/index.html +2 -2
- package/dist/gateway/server-methods/update.js +63 -2
- package/dist/gateway/server-runtime-config.js +1 -1
- package/dist/gateway/server-startup.js +8 -3
- package/dist/gateway/test-helpers.server.js +1 -1
- package/dist/macos/gateway-daemon.js +1 -4
- package/package.json +1 -1
- package/dist/control-ui/assets/index-Cdd801b1.js.map +0 -1
|
@@ -5,7 +5,7 @@ import { getCliSessionId } from "../../agents/cli-session.js";
|
|
|
5
5
|
import { runWithModelFallback } from "../../agents/model-fallback.js";
|
|
6
6
|
import { isCliProvider } from "../../agents/model-selection.js";
|
|
7
7
|
import { runEmbeddedPiAgent } from "../../agents/pi-embedded.js";
|
|
8
|
-
import { isCompactionFailureError, isContextOverflowError, isLikelyContextOverflowError, sanitizeUserFacingText, } from "../../agents/pi-embedded-helpers.js";
|
|
8
|
+
import { isAuthErrorMessage, isBillingErrorMessage, isCompactionFailureError, isContextOverflowError, isLikelyContextOverflowError, sanitizeUserFacingText, } from "../../agents/pi-embedded-helpers.js";
|
|
9
9
|
import { resolveAgentIdFromSessionKey, resolveGroupSessionKey, } from "../../config/sessions.js";
|
|
10
10
|
import { logVerbose } from "../../globals.js";
|
|
11
11
|
import { emitAgentEvent, registerAgentRunContext } from "../../infra/agent-events.js";
|
|
@@ -458,7 +458,11 @@ export async function runAgentTurnWithFallback(params) {
|
|
|
458
458
|
? "⚠️ Context overflow — prompt too large for this model. Try a shorter message or a larger-context model."
|
|
459
459
|
: isRoleOrderingError
|
|
460
460
|
? "⚠️ Conversation got into a bad state. Use /new to start a fresh session."
|
|
461
|
-
:
|
|
461
|
+
: isAuthErrorMessage(message)
|
|
462
|
+
? "⚠️ Authentication failed — your AI provider credentials need to be refreshed. Go to Setup → API Keys to re-authenticate, or run /doctor for details."
|
|
463
|
+
: isBillingErrorMessage(message)
|
|
464
|
+
? "⚠️ Your AI provider reported a billing issue — check your API credits or subscription status."
|
|
465
|
+
: "Sorry, I'm having trouble right now. Please try again in a few minutes.";
|
|
462
466
|
return {
|
|
463
467
|
kind: "final",
|
|
464
468
|
payload: {
|
package/dist/build-info.json
CHANGED