@zcy2nn/agent-forge 1.1.4 → 1.1.5
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 +7 -66
- package/agent-forge.schema.json +0 -132
- package/dist/agents/orchestrator.d.ts +1 -1
- package/dist/cli/index.js +5 -79
- package/dist/cli/types.d.ts +0 -2
- package/dist/config/constants.d.ts +0 -4
- package/dist/config/loader.d.ts +1 -1
- package/dist/config/schema.d.ts +0 -113
- package/dist/hooks/index.d.ts +0 -6
- package/dist/hooks/json-error-recovery/hook.d.ts +1 -1
- package/dist/hooks/todo-continuation/index.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7892 -31066
- package/dist/tools/index.d.ts +0 -2
- package/dist/tui.js +2 -45
- package/dist/utils/index.d.ts +0 -2
- package/package.json +5 -14
- package/dist/hooks/phase-reminder/index.d.ts +0 -26
- package/dist/hooks/post-file-tool-nudge/index.d.ts +0 -19
- package/src/skills/codemap/README.md +0 -59
- package/src/skills/codemap/SKILL.md +0 -163
- package/src/skills/codemap/codemap.md +0 -36
- package/src/skills/codemap/scripts/codemap.mjs +0 -483
- package/src/skills/codemap/scripts/codemap.test.ts +0 -129
- package/src/skills/codemap.md +0 -40
- package/src/skills/simplify/README.md +0 -19
- package/src/skills/simplify/SKILL.md +0 -138
- package/src/skills/simplify/codemap.md +0 -36
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PluginInput } from '@opencode-ai/plugin';
|
|
2
|
-
export declare const JSON_ERROR_TOOL_EXCLUDE_LIST: readonly ["bash", "read", "glob", "
|
|
2
|
+
export declare const JSON_ERROR_TOOL_EXCLUDE_LIST: readonly ["bash", "read", "glob", "grep_app_searchgithub", "websearch_web_search_exa"];
|
|
3
3
|
export declare const JSON_ERROR_PATTERNS: readonly [RegExp, RegExp, RegExp, RegExp, RegExp, RegExp, RegExp, RegExp];
|
|
4
4
|
export declare const JSON_ERROR_REMINDER = "\n[JSON PARSE ERROR - IMMEDIATE ACTION REQUIRED]\n\nYou sent invalid JSON arguments. The system could not parse your tool call.\nSTOP and do this NOW:\n\n1. LOOK at the error message above to see what was expected vs what you sent.\n2. CORRECT your JSON syntax (missing braces, unescaped quotes, trailing commas, etc).\n3. RETRY the tool call with valid JSON.\n\nDO NOT repeat the exact same invalid call.\n";
|
|
5
5
|
interface ToolExecuteAfterInput {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PluginInput } from '@opencode-ai/plugin';
|
|
2
|
+
import { type ToolDefinition } from '@opencode-ai/plugin/tool';
|
|
2
3
|
interface MessagePart {
|
|
3
4
|
type?: string;
|
|
4
5
|
text?: string;
|
|
@@ -19,7 +20,7 @@ export declare function createTodoContinuationHook(ctx: PluginInput, config?: {
|
|
|
19
20
|
autoEnable?: boolean;
|
|
20
21
|
autoEnableThreshold?: number;
|
|
21
22
|
}): {
|
|
22
|
-
tool: Record<string,
|
|
23
|
+
tool: Record<string, ToolDefinition>;
|
|
23
24
|
handleToolExecuteAfter: (input: {
|
|
24
25
|
tool: string;
|
|
25
26
|
sessionID?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Plugin } from '@opencode-ai/plugin';
|
|
2
2
|
declare const OhMyOpenCodeLite: Plugin;
|
|
3
3
|
export default OhMyOpenCodeLite;
|
|
4
|
-
export type { AgentName, AgentOverrideConfig, McpName,
|
|
4
|
+
export type { AgentName, AgentOverrideConfig, McpName, PluginConfig, } from './config';
|
|
5
5
|
export type { RemoteMcpConfig } from './mcp';
|