@songsid/agend 2.4.0-beta.12 → 2.4.0-beta.13
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/auth-api.js +5 -0
- package/dist/auth-api.js.map +1 -1
- package/dist/backend/codex.js +11 -0
- package/dist/backend/codex.js.map +1 -1
- package/dist/backend/types.d.ts +1 -1
- package/dist/build-provenance.json +1 -1
- package/dist/daemon.d.ts +8 -1
- package/dist/daemon.js +34 -7
- package/dist/daemon.js.map +1 -1
- package/dist/dispatcher-liveness.js +2 -2
- package/dist/dispatcher-liveness.js.map +1 -1
- package/dist/fleet-manager.d.ts +5 -0
- package/dist/fleet-manager.js +21 -1
- package/dist/fleet-manager.js.map +1 -1
- package/dist/general-knowledge/skills/credential-profiles/SKILL.md +7 -0
- package/dist/instance-lifecycle.d.ts +3 -0
- package/dist/instance-lifecycle.js +7 -3
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/locale.js +6 -0
- package/dist/locale.js.map +1 -1
- package/dist/needs-you.d.ts +5 -1
- package/dist/needs-you.js +4 -0
- package/dist/needs-you.js.map +1 -1
- package/dist/office-share-page.js +1 -1
- package/dist/office-share-page.js.map +1 -1
- package/dist/outbound-handlers.js +2 -0
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/pause-marker.d.ts +1 -1
- package/dist/pause-marker.js +1 -1
- package/dist/pause-marker.js.map +1 -1
- package/dist/public-web-gateway.d.ts +20 -0
- package/dist/public-web-gateway.js +61 -4
- package/dist/public-web-gateway.js.map +1 -1
- package/dist/ui/accounts-keepalive.js +2 -1
- package/dist/ui/accounts-view.js +2 -1
- package/dist/ui/fleet-canvas.js +3 -1
- package/dist/ui/fleet-office-skin.js +4 -3
- package/dist/ui/fleet-route.js +44 -6
- package/dist/ui/fleet-task-view.js +2 -1
- package/dist/ui/host-install.js +5 -2
- package/dist/ui/hub-ai-apps.js +2 -1
- package/dist/ui/hub-chat-strings.js +2 -1
- package/dist/ui/hub-grant-picker.js +2 -1
- package/dist/ui/hub-group-strings.js +2 -1
- package/dist/ui/hub-my-agents.js +2 -1
- package/dist/ui/hub-owner-strings.js +2 -1
- package/dist/ui/hub-personal-agent.js +2 -1
- package/dist/ui/hub-quota.js +2 -1
- package/dist/ui/hub-roles-strings.js +2 -1
- package/dist/ui/hub-room-new-strings.js +2 -1
- package/dist/ui/hub-room-source.js +2 -1
- package/dist/ui/hub-strings.js +2 -1
- package/dist/ui/hub-teams.js +2 -1
- package/dist/ui/model-picker.js +3 -2
- package/dist/ui/panel-chat.js +6 -2
- package/dist/ui/panel-hub.js +7 -3
- package/dist/ui/panel-needs.js +3 -2
- package/dist/ui/panel-runtimes.js +2 -1
- package/dist/ui/reply-file-preview.js +2 -1
- package/dist/ui/settings-access-overview.js +2 -1
- package/dist/ui/settings-connector.js +2 -1
- package/dist/ui/shared/agent-sheet.js +2 -1
- package/dist/ui/shared/app-i18n.js +2 -2
- package/dist/ui/shared/app-shell.js +33 -9
- package/dist/ui/shared/app.css +11 -0
- package/dist/ui/shared/asset-url.d.ts +2 -0
- package/dist/ui/shared/asset-url.js +20 -0
- package/dist/ui/shared/chat-table-select.js +175 -0
- package/dist/ui/shared/image-annotate.js +2 -1
- package/dist/ui/shared/ui-states.js +3 -2
- package/dist/ui/shared/view-history.js +2 -1
- package/dist/ui/subagent-row.js +3 -2
- package/dist/ui/usage-pool.js +2 -1
- package/dist/ui/workspace-panel.js +2 -1
- package/dist/wake-coordinator.js +3 -2
- package/dist/wake-coordinator.js.map +1 -1
- package/dist/web-api.js +1 -1
- package/dist/web-api.js.map +1 -1
- package/dist/web-host-install.d.ts +1 -1
- package/package.json +1 -1
|
@@ -349,3 +349,10 @@ percentage or available capacity from the seat login. AWS calls the quota
|
|
|
349
349
|
10,000 agentic inference requests per month (IDE and CLI combined); a chat may
|
|
350
350
|
make multiple requests. No local chat count is a vendor balance.
|
|
351
351
|
Source: https://docs.aws.amazon.com/general/latest/gr/amazonqdev.html
|
|
352
|
+
|
|
353
|
+
### Codex asks to sign in again after an account switch
|
|
354
|
+
|
|
355
|
+
A running Codex agent can keep the previous sign-in in memory even though the current login file is valid.
|
|
356
|
+
If **Needs you** says **Codex needs a restart**, open that agent and restart it to load the current sign-in.
|
|
357
|
+
Only sign in again if Codex asks after restarting. AgEnD blocks further delivery and reports the affected agent;
|
|
358
|
+
this warning does not mean every agent using that account is signed out. It is separate from **Keep sign-in alive**.
|
|
@@ -259,6 +259,9 @@ type Daemon = InstanceType<typeof import("./daemon.js").Daemon>;
|
|
|
259
259
|
export declare function peerWorkingDirectories(fleetConfig: FleetConfig | null, name: string, backendName: string): string[];
|
|
260
260
|
/** What attachIncidentHandlers needs from a Daemon — the real one satisfies it. */
|
|
261
261
|
export interface IncidentEventSource {
|
|
262
|
+
staleAuthIssue?(): {
|
|
263
|
+
since: number;
|
|
264
|
+
} | null;
|
|
262
265
|
usesNativePane?(): boolean;
|
|
263
266
|
confirmAuthFailure?(): void;
|
|
264
267
|
on(event: string, handler: (...args: any[]) => void): unknown;
|
|
@@ -993,6 +993,8 @@ export class InstanceLifecycle {
|
|
|
993
993
|
this.notifyIncident(name, "muse_relay_exhausted", t("inst.muse_relay_exhausted", name));
|
|
994
994
|
}, this.ctx.logger, `daemon.muse_relay_exhausted[${name}]`));
|
|
995
995
|
daemon.on("mcp_died", safeHandler(async (data) => {
|
|
996
|
+
if (daemon.staleAuthIssue?.())
|
|
997
|
+
return; // The instance-specific restart notice already covers this symptom.
|
|
996
998
|
const stormAtDetection = this.ctx.stormWindow?.isActive() === true;
|
|
997
999
|
const incident = this.mcpIncident(name);
|
|
998
1000
|
const generation = ++incident.gen;
|
|
@@ -1008,7 +1010,7 @@ export class InstanceLifecycle {
|
|
|
1008
1010
|
// ask the cached token-free probe. Only a CONFIRMED invalid swaps the
|
|
1009
1011
|
// message — valid or uncertain keeps the accurate MCP report below.
|
|
1010
1012
|
const verdict = data.authSuspected ? "invalid" : await this.verifyAuthError(name);
|
|
1011
|
-
if (incident.gen !== generation) {
|
|
1013
|
+
if (incident.gen !== generation || daemon.staleAuthIssue?.()) {
|
|
1012
1014
|
// The server recovered (or a newer death superseded this one) while the
|
|
1013
1015
|
// probe ran. Anything we would say now is stale — say nothing.
|
|
1014
1016
|
this.ctx.logger.info({ name, pid: data.pid }, "MCP death report superseded during the auth probe — nothing sent");
|
|
@@ -1208,6 +1210,8 @@ export class InstanceLifecycle {
|
|
|
1208
1210
|
this.ctx.retireRemoteCard?.(name, data.identity);
|
|
1209
1211
|
}, this.ctx.logger, `daemon.remote_card_gone[${name}]`));
|
|
1210
1212
|
daemon.on("pty_error", safeHandler(async (data) => {
|
|
1213
|
+
if (data.type === "stale_auth" && this.daemons.get(name) !== daemon)
|
|
1214
|
+
return;
|
|
1211
1215
|
this.ctx.eventLog?.insert(name, "pty_error", { type: data.type, action: data.action });
|
|
1212
1216
|
this.ctx.logger.warn({ name, errorType: data.type, action: data.action }, `PTY error: ${data.message}`);
|
|
1213
1217
|
if (daemon.usesNativePane?.()) {
|
|
@@ -1221,7 +1225,7 @@ export class InstanceLifecycle {
|
|
|
1221
1225
|
daemon.requestPauseWhenIdle({ reconfirmAuth: true, reason: "auth" });
|
|
1222
1226
|
}
|
|
1223
1227
|
else
|
|
1224
|
-
daemon.requestPauseWhenIdle({ reason: data.type === "quota" ? "quota" : "error" });
|
|
1228
|
+
daemon.requestPauseWhenIdle({ reason: data.type === "stale_auth" ? "stale_auth" : data.type === "quota" ? "quota" : "error" });
|
|
1225
1229
|
}
|
|
1226
1230
|
return;
|
|
1227
1231
|
}
|
|
@@ -1463,7 +1467,7 @@ export class InstanceLifecycle {
|
|
|
1463
1467
|
else {
|
|
1464
1468
|
// The marker must say auth (2b never auto-wakes a login failure); any
|
|
1465
1469
|
// other pause-action error is an error pause, not an operator one.
|
|
1466
|
-
const reason = data.type === "auth_error" ? "auth" : data.type === "quota" ? "quota" : "error";
|
|
1470
|
+
const reason = data.type === "stale_auth" ? "stale_auth" : data.type === "auth_error" ? "auth" : data.type === "quota" ? "quota" : "error";
|
|
1467
1471
|
void this.pause(name, reason)
|
|
1468
1472
|
.catch(err => this.ctx.logger.warn({ err, name }, "auth-error pause failed"))
|
|
1469
1473
|
.finally(() => { if (!this.isPaused(name))
|