@wrongstack/core 0.301.0 → 0.302.0
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.
|
@@ -18243,7 +18243,7 @@ var DefaultMultiAgentCoordinator = class _DefaultMultiAgentCoordinator extends E
|
|
|
18243
18243
|
pendingTasks = [];
|
|
18244
18244
|
completedResults = [];
|
|
18245
18245
|
/** Prevents completedResults from growing unbounded in long-running coordinators. */
|
|
18246
|
-
static MAX_COMPLETED_RESULTS =
|
|
18246
|
+
static MAX_COMPLETED_RESULTS = 2e5;
|
|
18247
18247
|
/** Caps each subagent's retained task history (see assign()); bounds RAM + the recordCompletion lookup. */
|
|
18248
18248
|
static MAX_SUBAGENT_TASK_HISTORY = 64;
|
|
18249
18249
|
totalIterations = 0;
|
package/dist/defaults/index.js
CHANGED
|
@@ -17973,7 +17973,7 @@ var DefaultMultiAgentCoordinator = class _DefaultMultiAgentCoordinator extends E
|
|
|
17973
17973
|
pendingTasks = [];
|
|
17974
17974
|
completedResults = [];
|
|
17975
17975
|
/** Prevents completedResults from growing unbounded in long-running coordinators. */
|
|
17976
|
-
static MAX_COMPLETED_RESULTS =
|
|
17976
|
+
static MAX_COMPLETED_RESULTS = 2e5;
|
|
17977
17977
|
/** Caps each subagent's retained task history (see assign()); bounds RAM + the recordCompletion lookup. */
|
|
17978
17978
|
static MAX_SUBAGENT_TASK_HISTORY = 64;
|
|
17979
17979
|
totalIterations = 0;
|
package/dist/execution/index.js
CHANGED
|
@@ -16772,7 +16772,7 @@ var DefaultMultiAgentCoordinator = class _DefaultMultiAgentCoordinator extends E
|
|
|
16772
16772
|
pendingTasks = [];
|
|
16773
16773
|
completedResults = [];
|
|
16774
16774
|
/** Prevents completedResults from growing unbounded in long-running coordinators. */
|
|
16775
|
-
static MAX_COMPLETED_RESULTS =
|
|
16775
|
+
static MAX_COMPLETED_RESULTS = 2e5;
|
|
16776
16776
|
/** Caps each subagent's retained task history (see assign()); bounds RAM + the recordCompletion lookup. */
|
|
16777
16777
|
static MAX_SUBAGENT_TASK_HISTORY = 64;
|
|
16778
16778
|
totalIterations = 0;
|
package/dist/index.js
CHANGED
|
@@ -36331,7 +36331,7 @@ var DefaultMultiAgentCoordinator = class _DefaultMultiAgentCoordinator extends E
|
|
|
36331
36331
|
pendingTasks = [];
|
|
36332
36332
|
completedResults = [];
|
|
36333
36333
|
/** Prevents completedResults from growing unbounded in long-running coordinators. */
|
|
36334
|
-
static MAX_COMPLETED_RESULTS =
|
|
36334
|
+
static MAX_COMPLETED_RESULTS = 2e5;
|
|
36335
36335
|
/** Caps each subagent's retained task history (see assign()); bounds RAM + the recordCompletion lookup. */
|
|
36336
36336
|
static MAX_SUBAGENT_TASK_HISTORY = 64;
|
|
36337
36337
|
totalIterations = 0;
|
|
@@ -109,6 +109,21 @@ export interface AgentEntry {
|
|
|
109
109
|
lastActivityAt: string;
|
|
110
110
|
}
|
|
111
111
|
export type SessionLiveStatus = 'active' | 'idle' | 'closing' | 'stale' | 'lost';
|
|
112
|
+
export interface SessionWebUIEndpointHint {
|
|
113
|
+
role: 'standalone' | 'parent-shell' | 'session-child';
|
|
114
|
+
surface: 'webui' | 'simpleui' | string;
|
|
115
|
+
host: string;
|
|
116
|
+
httpPort: number;
|
|
117
|
+
url: string;
|
|
118
|
+
/** Redundant owner PID used to cross-check against WebUI instance records. */
|
|
119
|
+
pid: number;
|
|
120
|
+
parentPid?: number | undefined;
|
|
121
|
+
parentShellId?: string | undefined;
|
|
122
|
+
runtimeId?: string | undefined;
|
|
123
|
+
attachable?: boolean | undefined;
|
|
124
|
+
protocolVersion?: number | undefined;
|
|
125
|
+
capabilities?: string[] | undefined;
|
|
126
|
+
}
|
|
112
127
|
export interface SessionRegistryEntry {
|
|
113
128
|
sessionId: string;
|
|
114
129
|
projectSlug: string;
|
|
@@ -132,5 +147,7 @@ export interface SessionRegistryEntry {
|
|
|
132
147
|
/** Count of tracked agents */
|
|
133
148
|
agentCount: number;
|
|
134
149
|
agents: AgentEntry[];
|
|
150
|
+
/** Optional WebUI endpoint hint. Session ownership remains keyed by `sessionId` + `pid`. */
|
|
151
|
+
webuiEndpoint?: SessionWebUIEndpointHint | undefined;
|
|
135
152
|
}
|
|
136
153
|
//# sourceMappingURL=session-registry-types.d.ts.map
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* @module session-registry
|
|
14
14
|
*/
|
|
15
15
|
import type { AgentEntry, SessionRegistryEntry } from './session-registry-types.js';
|
|
16
|
-
export type { AgentActivityTotals, AgentEntry, AgentLiveStatus, AgentRecentMail, AgentRecentTool, AgentTodoItem, SessionLiveStatus, SessionRegistryEntry, } from './session-registry-types.js';
|
|
16
|
+
export type { AgentActivityTotals, AgentEntry, AgentLiveStatus, AgentRecentMail, AgentRecentTool, AgentTodoItem, SessionLiveStatus, SessionRegistryEntry, SessionWebUIEndpointHint, } from './session-registry-types.js';
|
|
17
17
|
export declare class SessionRegistry {
|
|
18
18
|
private readonly filePath;
|
|
19
19
|
private heartbeatTimer;
|
package/dist/storage/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export { ReplayLogStore, type ReplayEntry, type ReplayLogStoreOptions, } from '.
|
|
|
20
20
|
export { SessionRecovery, type StaleSession, type RecoveryPlan, } from './session-recovery.js';
|
|
21
21
|
export { ToolAuditLog, type AuditEntry, type ToolAuditLogOptions, type VerifyResult, } from './tool-audit-log.js';
|
|
22
22
|
export { SessionAnalyzer } from './session-analyzer.js';
|
|
23
|
-
export { SessionRegistry, getSessionRegistry, hasSessionRegistry, type SessionRegistryEntry, type AgentEntry, type AgentLiveStatus, type SessionLiveStatus, } from '../session-registry.js';
|
|
23
|
+
export { SessionRegistry, getSessionRegistry, hasSessionRegistry, type SessionRegistryEntry, type SessionWebUIEndpointHint, type AgentEntry, type AgentLiveStatus, type SessionLiveStatus, } from '../session-registry.js';
|
|
24
24
|
export { AgentStatusTracker, type AgentStatusTrackerOptions, } from '../agent-status-tracker.js';
|
|
25
25
|
export { FleetNotifier, type FleetNotifierOptions, } from '../fleet-notifier.js';
|
|
26
26
|
export { DefaultSessionRewinder, type SessionRewinderOptions, } from './session-rewinder.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wrongstack/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.302.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "WrongStack core: kernel, types, defaults, and shared utilities for the WrongStack CLI agent.",
|
|
6
6
|
"repository": {
|
|
@@ -173,8 +173,8 @@
|
|
|
173
173
|
"wrongstackApiVersion": "0.1.10",
|
|
174
174
|
"dependencies": {
|
|
175
175
|
"zod": "4.4.3",
|
|
176
|
-
"@wrongstack/kanban": "0.
|
|
177
|
-
"@wrongstack/persistence": "0.
|
|
176
|
+
"@wrongstack/kanban": "0.302.0",
|
|
177
|
+
"@wrongstack/persistence": "0.302.0"
|
|
178
178
|
},
|
|
179
179
|
"devDependencies": {
|
|
180
180
|
"@types/node": "^26.1.2",
|