MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / constructor

Method constructor

src/workspaces/service.ts:60–63  ·  view source on GitHub ↗
(public readonly limit: number)

Source from the content-addressed store, hash-verified

58/** Thrown by `dispatchHeadlessTask` when the concurrency cap is hit (→ HTTP 429). */
59export class HeadlessCapacityError extends Error {
60 constructor(public readonly limit: number) {
61 super(`headless capacity reached (${limit} tasks running)`);
62 this.name = 'HeadlessCapacityError';
63 }
64}
65import { ScrollbackStore } from './scrollback-store.js';
66import { SessionPool, type SessionFactoryContext } from './session-pool.js';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected