opencode-matrixx 2.6.13 → 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/keymaker.d.ts +1 -1
- 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 +11 -9
- package/dist/config/schema/experimental.d.ts +1 -1
- package/dist/config/schema/hooks.d.ts +2 -5
- package/dist/config/schema/matrixx-config.d.ts +4 -6
- package/dist/config/schema/tasks.d.ts +5 -1
- package/dist/create-hooks.d.ts +1 -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/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/index.d.ts +1 -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/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 +1545 -2092
- package/dist/matrixx.schema.json +31 -18
- package/dist/plugin/hooks/create-continuation-hooks.d.ts +1 -3
- package/dist/plugin/hooks/create-core-hooks.d.ts +1 -2
- package/dist/plugin/hooks/create-tool-guard-hooks.d.ts +2 -3
- package/dist/plugin-handlers/task-permissions.d.ts +48 -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/hooks/compaction-todo-preserver/hook.d.ts +0 -24
- package/dist/hooks/compaction-todo-preserver/index.d.ts +0 -2
- package/dist/hooks/session-todo-status.d.ts +0 -2
- 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/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/handler.d.ts +0 -15
- package/dist/hooks/todo-continuation-enforcer/idle-event.d.ts +0 -11
- 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
|
@@ -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,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,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
|
-
}
|