opencode-matrixx 2.6.12 → 2.6.14
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/README.md +25 -21
- package/dist/agents/architect/default.d.ts +1 -1
- package/dist/agents/architect/gpt.d.ts +1 -1
- package/dist/agents/builtin-agents/architect-agent.d.ts +0 -1
- package/dist/agents/builtin-agents/general-agents.d.ts +0 -1
- package/dist/agents/builtin-agents/keymaker-agent.d.ts +0 -1
- package/dist/agents/builtin-agents/morpheus-agent.d.ts +0 -1
- package/dist/agents/builtin-agents.d.ts +1 -1
- package/dist/agents/dynamic-agent-prompt-builder.d.ts +4 -4
- package/dist/agents/keymaker.d.ts +1 -1
- package/dist/agents/model-directives.d.ts +7 -0
- package/dist/agents/morpheus.d.ts +1 -1
- package/dist/agents/mouse/agent.d.ts +2 -2
- package/dist/agents/mouse/deepseek.d.ts +1 -1
- package/dist/agents/mouse/default.d.ts +1 -1
- package/dist/agents/mouse/gpt.d.ts +1 -1
- package/dist/agents/mouse/mimo.d.ts +1 -1
- package/dist/agents/mouse/qwen.d.ts +1 -1
- package/dist/agents/mouse/shared.d.ts +3 -3
- package/dist/agents/oracle/plan-generation.d.ts +1 -1
- package/dist/agents/seraph.d.ts +1 -1
- package/dist/cli.js +17 -10
- package/dist/config/schema/dcp.d.ts +15 -11
- package/dist/config/schema/experimental.d.ts +1 -1
- package/dist/config/schema/hooks.d.ts +4 -5
- package/dist/config/schema/matrixx-config.d.ts +8 -6
- package/dist/config/schema/tasks.d.ts +5 -1
- package/dist/create-hooks.d.ts +3 -4
- package/dist/features/background-agent/manager.d.ts +5 -2
- package/dist/features/background-agent/reconcile.d.ts +8 -1
- package/dist/features/builtin-commands/templates/handoff.d.ts +1 -1
- package/dist/features/builtin-commands/templates/init-deep.d.ts +1 -1
- package/dist/features/builtin-commands/templates/refactor.d.ts +1 -1
- package/dist/features/builtin-commands/templates/remove-deadcode.d.ts +1 -1
- package/dist/features/builtin-commands/templates/stop-continuation.d.ts +1 -1
- package/dist/features/session-state/state.d.ts +3 -0
- package/dist/features/task-session-scope/ancestry.d.ts +23 -0
- package/dist/features/task-session-scope/index.d.ts +2 -0
- package/dist/features/task-session-scope/session-task-pending.d.ts +83 -0
- package/dist/hooks/architect/system-reminder-templates.d.ts +1 -1
- package/dist/hooks/dcp-nudge-sanitizer/constants.d.ts +2 -0
- package/dist/hooks/dcp-nudge-sanitizer/hook.d.ts +25 -0
- package/dist/hooks/dcp-nudge-sanitizer/index.d.ts +1 -0
- package/dist/hooks/index.d.ts +3 -5
- package/dist/hooks/keyword-detector/ultrawork/deepseek.d.ts +1 -1
- package/dist/hooks/keyword-detector/ultrawork/default.d.ts +1 -1
- package/dist/hooks/keyword-detector/ultrawork/gemini.d.ts +1 -1
- package/dist/hooks/keyword-detector/ultrawork/glm.d.ts +1 -1
- package/dist/hooks/keyword-detector/ultrawork/mimo.d.ts +1 -1
- package/dist/hooks/nudge-loop-breaker/constants.d.ts +9 -0
- package/dist/hooks/nudge-loop-breaker/hook.d.ts +18 -0
- package/dist/hooks/nudge-loop-breaker/index.d.ts +1 -0
- package/dist/hooks/nudge-loop-breaker/session-state.d.ts +11 -0
- package/dist/hooks/plan-persister/hook.d.ts +1 -1
- package/dist/hooks/session-notification-scheduler.d.ts +1 -1
- package/dist/hooks/session-notification.d.ts +9 -2
- package/dist/hooks/task-continuation-enforcer/handler.d.ts +0 -1
- package/dist/hooks/task-continuation-enforcer/index.d.ts +0 -1
- package/dist/hooks/task-continuation-enforcer/staleness.d.ts +10 -0
- package/dist/hooks/task-continuation-enforcer/todo.d.ts +2 -1
- package/dist/hooks/task-continuation-enforcer/types.d.ts +0 -8
- package/dist/hooks/task-notepad-writer/constants.d.ts +42 -0
- package/dist/hooks/task-notepad-writer/hook.d.ts +14 -0
- package/dist/hooks/task-notepad-writer/index.d.ts +2 -0
- package/dist/hooks/task-notepad-writer/notepad-path.d.ts +36 -0
- package/dist/index.js +1834 -2138
- package/dist/matrixx.schema.json +69 -18
- package/dist/plugin/hooks/create-continuation-hooks.d.ts +2 -3
- package/dist/plugin/hooks/create-core-hooks.d.ts +2 -2
- package/dist/plugin/hooks/create-tool-guard-hooks.d.ts +2 -3
- package/dist/plugin/hooks/create-transform-hooks.d.ts +2 -0
- package/dist/plugin-handlers/task-permissions.d.ts +48 -0
- package/dist/shared/dcp-switch-profile.d.ts +12 -0
- package/dist/shared/logger.d.ts +1 -0
- package/dist/shared/system-directive.d.ts +0 -1
- package/dist/shared/task-system-gating.d.ts +24 -4
- package/dist/tools/session-manager/constants.d.ts +1 -1
- package/dist/tools/session-manager/storage.d.ts +44 -0
- package/dist/tools/session-manager/tools.d.ts +2 -1
- package/dist/tools/task/create-one.d.ts +21 -0
- package/dist/tools/task/types.d.ts +56 -1
- package/package.json +1 -1
- package/dist/cli/setup/config-writer.test.d.ts +0 -1
- package/dist/cli/setup/deps.test.d.ts +0 -1
- package/dist/cli/setup/index.test.d.ts +0 -1
- package/dist/cli/setup/opencode-sync.test.d.ts +0 -1
- package/dist/cli/setup/prompts.test.d.ts +0 -1
- package/dist/features/background-agent/handle-index.test.d.ts +0 -1
- package/dist/features/background-agent/manager-handles.test.d.ts +0 -1
- package/dist/features/knowledge-hub/loader.test.d.ts +0 -1
- package/dist/features/knowledge-hub/resolver.test.d.ts +0 -1
- package/dist/features/mission-state/plan-storage.test.d.ts +0 -1
- package/dist/features/mission-state/reconcile.test.d.ts +0 -1
- package/dist/features/session-state/state.test.d.ts +0 -1
- package/dist/hooks/compaction-todo-preserver/hook.d.ts +0 -24
- package/dist/hooks/compaction-todo-preserver/index.d.ts +0 -2
- package/dist/hooks/input-secret-guard/detector.test.d.ts +0 -1
- package/dist/hooks/input-secret-guard/hook.test.d.ts +0 -1
- package/dist/hooks/input-secret-guard/redactor.test.d.ts +0 -1
- package/dist/hooks/input-secret-guard/session-allow-cache.test.d.ts +0 -1
- package/dist/hooks/interactive-bash-session/hook.test.d.ts +0 -1
- package/dist/hooks/knowledge-hub-guard/hook.test.d.ts +0 -1
- package/dist/hooks/knowledge-hub-injector/hook.test.d.ts +0 -1
- package/dist/hooks/knowledge-hub-search-nudge/hook.test.d.ts +0 -1
- package/dist/hooks/plan-persister/task-sync.test.d.ts +0 -1
- package/dist/hooks/rtk-bash-rewriter/hook.test.d.ts +0 -1
- package/dist/hooks/session-todo-status.d.ts +0 -2
- package/dist/hooks/stop-continuation-guard/repro.test.d.ts +0 -1
- package/dist/hooks/task-continuation-enforcer/awaiting-user.test.d.ts +0 -1
- package/dist/hooks/task-continuation-enforcer/continuation-injection.test.d.ts +0 -1
- package/dist/hooks/task-continuation-enforcer/countdown.test.d.ts +0 -1
- package/dist/hooks/task-continuation-enforcer/idle-event.test.d.ts +0 -1
- package/dist/hooks/task-continuation-enforcer/staleness.test.d.ts +0 -1
- package/dist/hooks/task-continuation-enforcer/todo.test.d.ts +0 -1
- package/dist/hooks/task-continuation-enforcer/ulw-bootstrap.test.d.ts +0 -1
- package/dist/hooks/task-notepad/constants.d.ts +0 -10
- package/dist/hooks/task-notepad/hook.d.ts +0 -12
- package/dist/hooks/task-notepad/index.d.ts +0 -3
- package/dist/hooks/task-notepad/types.d.ts +0 -16
- package/dist/hooks/tasks-todowrite-disabler/constants.d.ts +0 -3
- package/dist/hooks/tasks-todowrite-disabler/hook.d.ts +0 -14
- package/dist/hooks/tasks-todowrite-disabler/index.d.ts +0 -2
- package/dist/hooks/todo-continuation-enforcer/abort-detection.d.ts +0 -4
- package/dist/hooks/todo-continuation-enforcer/awaiting-user.test.d.ts +0 -1
- package/dist/hooks/todo-continuation-enforcer/constants.d.ts +0 -10
- package/dist/hooks/todo-continuation-enforcer/continuation-injection.d.ts +0 -12
- package/dist/hooks/todo-continuation-enforcer/countdown.d.ts +0 -14
- package/dist/hooks/todo-continuation-enforcer/countdown.test.d.ts +0 -1
- package/dist/hooks/todo-continuation-enforcer/handler.d.ts +0 -15
- package/dist/hooks/todo-continuation-enforcer/idle-event.d.ts +0 -11
- package/dist/hooks/todo-continuation-enforcer/idle-event.test.d.ts +0 -1
- package/dist/hooks/todo-continuation-enforcer/index.d.ts +0 -4
- package/dist/hooks/todo-continuation-enforcer/message-directory.d.ts +0 -1
- package/dist/hooks/todo-continuation-enforcer/non-idle-events.d.ts +0 -6
- package/dist/hooks/todo-continuation-enforcer/session-state.d.ts +0 -10
- package/dist/hooks/todo-continuation-enforcer/todo.d.ts +0 -2
- package/dist/hooks/todo-continuation-enforcer/types.d.ts +0 -61
- package/dist/shared/format-bytes.test.d.ts +0 -1
- package/dist/shared/is-abort-error.test.d.ts +0 -1
- package/dist/shared/task-system-gating.test.d.ts +0 -1
- package/dist/shared/with-timeout.test.d.ts +0 -1
- package/dist/tools/delegate-task/poll-timeout-outcome.test.d.ts +0 -1
- package/dist/tools/delegate-task/prompt-builder.tdd.test.d.ts +0 -1
- package/dist/tools/delegate-task/sync-task.test.d.ts +0 -1
- package/dist/tools/delegate-task/tdd-enforcement.test.d.ts +0 -1
- package/dist/tools/delegate-task/timing.test.d.ts +0 -1
- package/dist/tools/evolution/query-actions.test.d.ts +0 -1
- package/dist/tools/evolution/tools.test.d.ts +0 -1
- package/dist/tools/github-search/result-formatter.test.d.ts +0 -1
- package/dist/tools/knowledge-hub-confirm/tools.test.d.ts +0 -1
- package/dist/tools/task/task-cleanup.test.d.ts +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const HOOK_NAME = "task-notepad";
|
|
2
|
-
export declare const PLAN_DIR_NAME = ".matrixx";
|
|
3
|
-
export declare const PLANS_SUBDIR = "plans";
|
|
4
|
-
export declare const NOTEPAD_DIR_NAME = "notepads";
|
|
5
|
-
export declare const TASKS_SUBDIR = "tasks";
|
|
6
|
-
export declare const PLAN_EXTENSION = ".md";
|
|
7
|
-
export declare const NOTEPAD_EXTENSION = ".md";
|
|
8
|
-
export declare const TODO_TOOL_NAMES: Set<string>;
|
|
9
|
-
export declare const TASK_NOTEPAD_FRAGMENT = "task-notepad";
|
|
10
|
-
export declare const TODO_FETCH_ERROR_FRAGMENT = "Failed to fetch todos for task-notepad";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { TaskNotepadContext } from "./types";
|
|
2
|
-
export declare function createTaskNotepadHook(ctx: TaskNotepadContext): {
|
|
3
|
-
"tool.execute.after": (input: {
|
|
4
|
-
tool: string;
|
|
5
|
-
sessionID: string;
|
|
6
|
-
callID: string;
|
|
7
|
-
}, output: {
|
|
8
|
-
title: string;
|
|
9
|
-
output: string;
|
|
10
|
-
metadata: Record<string, unknown>;
|
|
11
|
-
} | undefined) => Promise<void>;
|
|
12
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { PluginInput } from "@opencode-ai/plugin";
|
|
2
|
-
type TodoStatus = "pending" | "in_progress" | "completed" | "cancelled";
|
|
3
|
-
type TodoPriority = "low" | "medium" | "high";
|
|
4
|
-
export interface TodoSnapshot {
|
|
5
|
-
id: string;
|
|
6
|
-
content: string;
|
|
7
|
-
status: TodoStatus;
|
|
8
|
-
priority?: TodoPriority;
|
|
9
|
-
}
|
|
10
|
-
export interface PlanFile {
|
|
11
|
-
name: string;
|
|
12
|
-
path: string;
|
|
13
|
-
mtimeMs: number;
|
|
14
|
-
}
|
|
15
|
-
export type TaskNotepadContext = Pick<PluginInput, "client" | "directory">;
|
|
16
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const HOOK_NAME = "tasks-todowrite-disabler";
|
|
2
|
-
export declare const BLOCKED_TOOLS: string[];
|
|
3
|
-
export declare const REPLACEMENT_MESSAGE = "TodoRead/TodoWrite are DISABLED because tasks.enabled is true.\n\n**ACTION REQUIRED**: RE-REGISTER what you were about to write as Todo using Task tools NOW. Then ASSIGN yourself and START WORKING immediately.\n\n**Use these tools instead:**\n- TaskCreate: Create new task with auto-generated ID\n- TaskUpdate: Update status, assign owner, add dependencies\n- TaskList: List active tasks with dependency info\n- TaskGet: Get full task details\n\n**Workflow:**\n1. TaskCreate({ subject: \"your task description\" })\n2. TaskUpdate({ id: \"T-xxx\", status: \"in_progress\", owner: \"your-thread-id\" })\n3. DO THE WORK\n4. TaskUpdate({ id: \"T-xxx\", status: \"completed\" })\n\nCRITICAL: 1 task = 1 task. Fire independent tasks concurrently.\n\n**STOP! DO NOT START WORKING DIRECTLY - NO MATTER HOW SMALL THE TASK!**\nEven if the task seems trivial (1 line fix, simple edit, quick change), you MUST:\n1. FIRST register it with TaskCreate\n2. THEN mark it in_progress\n3. ONLY THEN do the actual work\n4. FINALLY mark it completed\n\n**WHY?** Task tracking = visibility = accountability. Skipping registration = invisible work = chaos.\n\nDO NOT retry TodoWrite. Convert to TaskCreate NOW.";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface TasksTodowriteDisablerConfig {
|
|
2
|
-
experimental?: {
|
|
3
|
-
task_system?: boolean;
|
|
4
|
-
};
|
|
5
|
-
}
|
|
6
|
-
export declare function createTasksTodowriteDisablerHook(config: TasksTodowriteDisablerConfig): {
|
|
7
|
-
"tool.execute.before": (input: {
|
|
8
|
-
tool: string;
|
|
9
|
-
sessionID: string;
|
|
10
|
-
callID: string;
|
|
11
|
-
}, _output: {
|
|
12
|
-
args: Record<string, unknown>;
|
|
13
|
-
}) => Promise<void>;
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const HOOK_NAME = "todo-continuation-enforcer";
|
|
2
|
-
export declare const DEFAULT_SKIP_AGENTS: string[];
|
|
3
|
-
export declare const CONTINUATION_PROMPT: string;
|
|
4
|
-
export declare const COUNTDOWN_SECONDS = 2;
|
|
5
|
-
export declare const TOAST_DURATION_MS = 900;
|
|
6
|
-
export declare const COUNTDOWN_GRACE_PERIOD_MS = 500;
|
|
7
|
-
export declare const ABORT_WINDOW_MS = 3000;
|
|
8
|
-
export declare const CONTINUATION_COOLDOWN_MS = 30000;
|
|
9
|
-
export declare const MAX_CONSECUTIVE_FAILURES = 5;
|
|
10
|
-
export declare const FAILURE_RESET_WINDOW_MS: number;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { PluginInput } from "@opencode-ai/plugin";
|
|
2
|
-
import type { BackgroundManager } from "../../features/background-agent";
|
|
3
|
-
import type { SessionStateStore } from "./session-state";
|
|
4
|
-
import type { ResolvedMessageInfo } from "./types";
|
|
5
|
-
export declare function injectContinuation(args: {
|
|
6
|
-
ctx: PluginInput;
|
|
7
|
-
sessionID: string;
|
|
8
|
-
backgroundManager?: BackgroundManager;
|
|
9
|
-
skipAgents?: string[];
|
|
10
|
-
resolvedInfo?: ResolvedMessageInfo;
|
|
11
|
-
sessionStateStore: SessionStateStore;
|
|
12
|
-
}): Promise<void>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { PluginInput } from "@opencode-ai/plugin";
|
|
2
|
-
import type { BackgroundManager } from "../../features/background-agent";
|
|
3
|
-
import type { SessionStateStore } from "./session-state";
|
|
4
|
-
import type { ResolvedMessageInfo } from "./types";
|
|
5
|
-
export declare function startCountdown(args: {
|
|
6
|
-
ctx: PluginInput;
|
|
7
|
-
sessionID: string;
|
|
8
|
-
incompleteCount: number;
|
|
9
|
-
total: number;
|
|
10
|
-
resolvedInfo?: ResolvedMessageInfo;
|
|
11
|
-
backgroundManager?: BackgroundManager;
|
|
12
|
-
skipAgents: string[];
|
|
13
|
-
sessionStateStore: SessionStateStore;
|
|
14
|
-
}): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { PluginInput } from "@opencode-ai/plugin";
|
|
2
|
-
import type { BackgroundManager } from "../../features/background-agent";
|
|
3
|
-
import type { SessionStateStore } from "./session-state";
|
|
4
|
-
export declare function createTodoContinuationHandler(args: {
|
|
5
|
-
ctx: PluginInput;
|
|
6
|
-
sessionStateStore: SessionStateStore;
|
|
7
|
-
backgroundManager?: BackgroundManager;
|
|
8
|
-
skipAgents?: string[];
|
|
9
|
-
isContinuationStopped?: (sessionID: string) => boolean;
|
|
10
|
-
}): (input: {
|
|
11
|
-
event: {
|
|
12
|
-
type: string;
|
|
13
|
-
properties?: unknown;
|
|
14
|
-
};
|
|
15
|
-
}) => Promise<void>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { PluginInput } from "@opencode-ai/plugin";
|
|
2
|
-
import type { BackgroundManager } from "../../features/background-agent";
|
|
3
|
-
import type { SessionStateStore } from "./session-state";
|
|
4
|
-
export declare function handleSessionIdle(args: {
|
|
5
|
-
ctx: PluginInput;
|
|
6
|
-
sessionID: string;
|
|
7
|
-
sessionStateStore: SessionStateStore;
|
|
8
|
-
backgroundManager?: BackgroundManager;
|
|
9
|
-
skipAgents?: string[];
|
|
10
|
-
isContinuationStopped?: (sessionID: string) => boolean;
|
|
11
|
-
}): Promise<void>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { PluginInput } from "@opencode-ai/plugin";
|
|
2
|
-
import type { TodoContinuationEnforcer, TodoContinuationEnforcerOptions } from "./types";
|
|
3
|
-
export type { TodoContinuationEnforcer, TodoContinuationEnforcerOptions } from "./types";
|
|
4
|
-
export declare function createTodoContinuationEnforcer(ctx: PluginInput, options?: TodoContinuationEnforcerOptions): TodoContinuationEnforcer;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { getMessageDir } from "../../shared/opencode-message-dir";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { SessionState } from "./types";
|
|
2
|
-
export interface SessionStateStore {
|
|
3
|
-
getState: (sessionID: string) => SessionState;
|
|
4
|
-
getExistingState: (sessionID: string) => SessionState | undefined;
|
|
5
|
-
cancelCountdown: (sessionID: string) => void;
|
|
6
|
-
cleanup: (sessionID: string) => void;
|
|
7
|
-
cancelAllCountdowns: () => void;
|
|
8
|
-
shutdown: () => void;
|
|
9
|
-
}
|
|
10
|
-
export declare function createSessionStateStore(): SessionStateStore;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import type { BackgroundManager } from "../../features/background-agent";
|
|
2
|
-
import type { ToolPermission } from "../../features/hook-message-injector";
|
|
3
|
-
export interface TodoContinuationEnforcerOptions {
|
|
4
|
-
backgroundManager?: BackgroundManager;
|
|
5
|
-
skipAgents?: string[];
|
|
6
|
-
isContinuationStopped?: (sessionID: string) => boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface TodoContinuationEnforcer {
|
|
9
|
-
handler: (input: {
|
|
10
|
-
event: {
|
|
11
|
-
type: string;
|
|
12
|
-
properties?: unknown;
|
|
13
|
-
};
|
|
14
|
-
}) => Promise<void>;
|
|
15
|
-
markRecovering: (sessionID: string) => void;
|
|
16
|
-
markRecoveryComplete: (sessionID: string) => void;
|
|
17
|
-
cancelAllCountdowns: () => void;
|
|
18
|
-
isAwaitingUser: (sessionID: string) => boolean;
|
|
19
|
-
}
|
|
20
|
-
export interface Todo {
|
|
21
|
-
content: string;
|
|
22
|
-
status: string;
|
|
23
|
-
priority: string;
|
|
24
|
-
id?: string;
|
|
25
|
-
}
|
|
26
|
-
export interface SessionState {
|
|
27
|
-
countdownTimer?: ReturnType<typeof setTimeout>;
|
|
28
|
-
countdownInterval?: ReturnType<typeof setInterval>;
|
|
29
|
-
isRecovering?: boolean;
|
|
30
|
-
countdownStartedAt?: number;
|
|
31
|
-
abortDetectedAt?: number;
|
|
32
|
-
lastInjectedAt?: number;
|
|
33
|
-
inFlight?: boolean;
|
|
34
|
-
awaitingUser?: boolean;
|
|
35
|
-
awaitingUserSince?: number;
|
|
36
|
-
consecutiveFailures: number;
|
|
37
|
-
}
|
|
38
|
-
export interface MessageInfo {
|
|
39
|
-
id?: string;
|
|
40
|
-
role?: string;
|
|
41
|
-
error?: {
|
|
42
|
-
name?: string;
|
|
43
|
-
data?: unknown;
|
|
44
|
-
};
|
|
45
|
-
agent?: string;
|
|
46
|
-
model?: {
|
|
47
|
-
providerID: string;
|
|
48
|
-
modelID: string;
|
|
49
|
-
};
|
|
50
|
-
providerID?: string;
|
|
51
|
-
modelID?: string;
|
|
52
|
-
tools?: Record<string, ToolPermission>;
|
|
53
|
-
}
|
|
54
|
-
export interface ResolvedMessageInfo {
|
|
55
|
-
agent?: string;
|
|
56
|
-
model?: {
|
|
57
|
-
providerID: string;
|
|
58
|
-
modelID: string;
|
|
59
|
-
};
|
|
60
|
-
tools?: Record<string, ToolPermission>;
|
|
61
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|