@noorm/marie-cli 0.1.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.
- package/JOY_ZONING.md +200 -0
- package/LICENSE.md +190 -0
- package/README.md +94 -0
- package/dist/cli-new/components/App.js +138 -0
- package/dist/cli-new/components/App.js.map +1 -0
- package/dist/cli-new/components/ApprovalDialog.js +31 -0
- package/dist/cli-new/components/ApprovalDialog.js.map +1 -0
- package/dist/cli-new/components/Banner.js +23 -0
- package/dist/cli-new/components/Banner.js.map +1 -0
- package/dist/cli-new/components/ChatArea.js +49 -0
- package/dist/cli-new/components/ChatArea.js.map +1 -0
- package/dist/cli-new/components/Header.js +20 -0
- package/dist/cli-new/components/Header.js.map +1 -0
- package/dist/cli-new/components/InputArea.js +97 -0
- package/dist/cli-new/components/InputArea.js.map +1 -0
- package/dist/cli-new/components/MessageBubble.js +114 -0
- package/dist/cli-new/components/MessageBubble.js.map +1 -0
- package/dist/cli-new/components/SessionSwitcher.js +46 -0
- package/dist/cli-new/components/SessionSwitcher.js.map +1 -0
- package/dist/cli-new/components/SetupWizard.js +283 -0
- package/dist/cli-new/components/SetupWizard.js.map +1 -0
- package/dist/cli-new/components/ToolCallDisplay.js +45 -0
- package/dist/cli-new/components/ToolCallDisplay.js.map +1 -0
- package/dist/cli-new/hooks/useGit.js +99 -0
- package/dist/cli-new/hooks/useGit.js.map +1 -0
- package/dist/cli-new/hooks/useMarie.js +249 -0
- package/dist/cli-new/hooks/useMarie.js.map +1 -0
- package/dist/cli-new/hooks/useSessions.js +75 -0
- package/dist/cli-new/hooks/useSessions.js.map +1 -0
- package/dist/cli-new/index.js +52 -0
- package/dist/cli-new/index.js.map +1 -0
- package/dist/cli-new/styles/theme.js +68 -0
- package/dist/cli-new/styles/theme.js.map +1 -0
- package/dist/cli-new/types/cli.js +2 -0
- package/dist/cli-new/types/cli.js.map +1 -0
- package/dist/extension.cjs +655 -0
- package/dist/monolith/adapters/CliMarieAdapter.js +72 -0
- package/dist/monolith/adapters/CliMarieAdapter.js.map +1 -0
- package/dist/monolith/adapters/VscodeMarieAdapter.js +81 -0
- package/dist/monolith/adapters/VscodeMarieAdapter.js.map +1 -0
- package/dist/monolith/cli/CliFileSystemPort.js +83 -0
- package/dist/monolith/cli/CliFileSystemPort.js.map +1 -0
- package/dist/monolith/cli/MarieToolDefinitionsCLI.js +438 -0
- package/dist/monolith/cli/MarieToolDefinitionsCLI.js.map +1 -0
- package/dist/monolith/cli/index.js +272 -0
- package/dist/monolith/cli/index.js.map +1 -0
- package/dist/monolith/cli/services/JoyAutomationServiceCLI.js +80 -0
- package/dist/monolith/cli/services/JoyAutomationServiceCLI.js.map +1 -0
- package/dist/monolith/cli/services/JoyServiceCLI.js +63 -0
- package/dist/monolith/cli/services/JoyServiceCLI.js.map +1 -0
- package/dist/monolith/cli/storage.js +119 -0
- package/dist/monolith/cli/storage.js.map +1 -0
- package/dist/monolith/domain/joy/JoyTools.js +513 -0
- package/dist/monolith/domain/joy/JoyTools.js.map +1 -0
- package/dist/monolith/domain/joy/RitualService.js +51 -0
- package/dist/monolith/domain/joy/RitualService.js.map +1 -0
- package/dist/monolith/domain/marie/MarieTypes.js +2 -0
- package/dist/monolith/domain/marie/MarieTypes.js.map +1 -0
- package/dist/monolith/infrastructure/ai/agents/MarieAscendant.js +230 -0
- package/dist/monolith/infrastructure/ai/agents/MarieAscendant.js.map +1 -0
- package/dist/monolith/infrastructure/ai/agents/MarieYOLO.js +207 -0
- package/dist/monolith/infrastructure/ai/agents/MarieYOLO.js.map +1 -0
- package/dist/monolith/infrastructure/ai/context/ContextArchiveService.js +129 -0
- package/dist/monolith/infrastructure/ai/context/ContextArchiveService.js.map +1 -0
- package/dist/monolith/infrastructure/ai/context/ContextManager.js +118 -0
- package/dist/monolith/infrastructure/ai/context/ContextManager.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/FileSystemPort.js +2 -0
- package/dist/monolith/infrastructure/ai/core/FileSystemPort.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/GhostPort.js +2 -0
- package/dist/monolith/infrastructure/ai/core/GhostPort.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/MarieAscensionTypes.js +2 -0
- package/dist/monolith/infrastructure/ai/core/MarieAscensionTypes.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/MarieEngine.js +590 -0
- package/dist/monolith/infrastructure/ai/core/MarieEngine.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/MarieEventDispatcher.js +161 -0
- package/dist/monolith/infrastructure/ai/core/MarieEventDispatcher.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/MarieLockManager.js +121 -0
- package/dist/monolith/infrastructure/ai/core/MarieLockManager.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/MarieProgressTracker.js +256 -0
- package/dist/monolith/infrastructure/ai/core/MarieProgressTracker.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/MariePulseService.js +67 -0
- package/dist/monolith/infrastructure/ai/core/MariePulseService.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/MarieResponse.js +101 -0
- package/dist/monolith/infrastructure/ai/core/MarieResponse.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/MarieSanitizer.js +86 -0
- package/dist/monolith/infrastructure/ai/core/MarieSanitizer.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/MarieSession.js +202 -0
- package/dist/monolith/infrastructure/ai/core/MarieSession.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/MarieStabilityMonitor.js +58 -0
- package/dist/monolith/infrastructure/ai/core/MarieStabilityMonitor.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/MarieToolMender.js +127 -0
- package/dist/monolith/infrastructure/ai/core/MarieToolMender.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/MarieToolProcessor.js +548 -0
- package/dist/monolith/infrastructure/ai/core/MarieToolProcessor.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/MarieYOLOTypes.js +2 -0
- package/dist/monolith/infrastructure/ai/core/MarieYOLOTypes.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/ReasoningBudget.js +125 -0
- package/dist/monolith/infrastructure/ai/core/ReasoningBudget.js.map +1 -0
- package/dist/monolith/infrastructure/ai/core/VscodeFileSystemPort.js +30 -0
- package/dist/monolith/infrastructure/ai/core/VscodeFileSystemPort.js.map +1 -0
- package/dist/monolith/infrastructure/ai/providers/AIProvider.js +2 -0
- package/dist/monolith/infrastructure/ai/providers/AIProvider.js.map +1 -0
- package/dist/monolith/infrastructure/ai/providers/AnthropicProvider.js +148 -0
- package/dist/monolith/infrastructure/ai/providers/AnthropicProvider.js.map +1 -0
- package/dist/monolith/infrastructure/ai/providers/CerebrasProvider.js +208 -0
- package/dist/monolith/infrastructure/ai/providers/CerebrasProvider.js.map +1 -0
- package/dist/monolith/infrastructure/ai/providers/OpenRouterProvider.js +404 -0
- package/dist/monolith/infrastructure/ai/providers/OpenRouterProvider.js.map +1 -0
- package/dist/monolith/infrastructure/ai/providers/OpenRouterStreamParser.js +283 -0
- package/dist/monolith/infrastructure/ai/providers/OpenRouterStreamParser.js.map +1 -0
- package/dist/monolith/infrastructure/config/ConfigService.js +398 -0
- package/dist/monolith/infrastructure/config/ConfigService.js.map +1 -0
- package/dist/monolith/infrastructure/services/MarieMemoryStore.js +140 -0
- package/dist/monolith/infrastructure/services/MarieMemoryStore.js.map +1 -0
- package/dist/monolith/infrastructure/tools/MarieToolDefinitions.js +1568 -0
- package/dist/monolith/infrastructure/tools/MarieToolDefinitions.js.map +1 -0
- package/dist/monolith/infrastructure/tools/PureStreamParser.js +147 -0
- package/dist/monolith/infrastructure/tools/PureStreamParser.js.map +1 -0
- package/dist/monolith/infrastructure/tools/SharedToolDefinitions.js +223 -0
- package/dist/monolith/infrastructure/tools/SharedToolDefinitions.js.map +1 -0
- package/dist/monolith/infrastructure/tools/ToolRegistry.js +29 -0
- package/dist/monolith/infrastructure/tools/ToolRegistry.js.map +1 -0
- package/dist/monolith/infrastructure/tools/ToolUtils.js +59 -0
- package/dist/monolith/infrastructure/tools/ToolUtils.js.map +1 -0
- package/dist/monolith/plumbing/analysis/CodeHealthService.js +146 -0
- package/dist/monolith/plumbing/analysis/CodeHealthService.js.map +1 -0
- package/dist/monolith/plumbing/analysis/ComplexityService.js +43 -0
- package/dist/monolith/plumbing/analysis/ComplexityService.js.map +1 -0
- package/dist/monolith/plumbing/analysis/DependencyService.js +51 -0
- package/dist/monolith/plumbing/analysis/DependencyService.js.map +1 -0
- package/dist/monolith/plumbing/analysis/DiscoveryService.js +49 -0
- package/dist/monolith/plumbing/analysis/DiscoveryService.js.map +1 -0
- package/dist/monolith/plumbing/analysis/JoyMapService.js +66 -0
- package/dist/monolith/plumbing/analysis/JoyMapService.js.map +1 -0
- package/dist/monolith/plumbing/analysis/LintService.js +132 -0
- package/dist/monolith/plumbing/analysis/LintService.js.map +1 -0
- package/dist/monolith/plumbing/analysis/MarieSentinelService.js +276 -0
- package/dist/monolith/plumbing/analysis/MarieSentinelService.js.map +1 -0
- package/dist/monolith/plumbing/analysis/QualityGuardrailService.js +119 -0
- package/dist/monolith/plumbing/analysis/QualityGuardrailService.js.map +1 -0
- package/dist/monolith/plumbing/analysis/SurgicalMender.js +70 -0
- package/dist/monolith/plumbing/analysis/SurgicalMender.js.map +1 -0
- package/dist/monolith/plumbing/analysis/TestService.js +104 -0
- package/dist/monolith/plumbing/analysis/TestService.js.map +1 -0
- package/dist/monolith/plumbing/filesystem/FileService.js +406 -0
- package/dist/monolith/plumbing/filesystem/FileService.js.map +1 -0
- package/dist/monolith/plumbing/filesystem/PathResolver.js +26 -0
- package/dist/monolith/plumbing/filesystem/PathResolver.js.map +1 -0
- package/dist/monolith/plumbing/git/GitService.js +71 -0
- package/dist/monolith/plumbing/git/GitService.js.map +1 -0
- package/dist/monolith/plumbing/lsp/SymbolService.js +36 -0
- package/dist/monolith/plumbing/lsp/SymbolService.js.map +1 -0
- package/dist/monolith/plumbing/terminal/ProcessRegistry.js +31 -0
- package/dist/monolith/plumbing/terminal/ProcessRegistry.js.map +1 -0
- package/dist/monolith/plumbing/terminal/TerminalService.js +180 -0
- package/dist/monolith/plumbing/terminal/TerminalService.js.map +1 -0
- package/dist/monolith/plumbing/ui/DecorationService.js +54 -0
- package/dist/monolith/plumbing/ui/DecorationService.js.map +1 -0
- package/dist/monolith/plumbing/utils/ErrorUtils.js +11 -0
- package/dist/monolith/plumbing/utils/ErrorUtils.js.map +1 -0
- package/dist/monolith/plumbing/utils/JsonUtils.js +360 -0
- package/dist/monolith/plumbing/utils/JsonUtils.js.map +1 -0
- package/dist/monolith/plumbing/utils/PrefixTree.js +153 -0
- package/dist/monolith/plumbing/utils/PrefixTree.js.map +1 -0
- package/dist/monolith/plumbing/utils/RetryUtils.js +141 -0
- package/dist/monolith/plumbing/utils/RetryUtils.js.map +1 -0
- package/dist/monolith/plumbing/utils/StreamTagDetector.js +128 -0
- package/dist/monolith/plumbing/utils/StreamTagDetector.js.map +1 -0
- package/dist/monolith/plumbing/utils/StringUtils.js +97 -0
- package/dist/monolith/plumbing/utils/StringUtils.js.map +1 -0
- package/dist/monolith/plumbing/utils/TimeoutUtils.js +21 -0
- package/dist/monolith/plumbing/utils/TimeoutUtils.js.map +1 -0
- package/dist/monolith/runtime/MarieRuntime.js +354 -0
- package/dist/monolith/runtime/MarieRuntime.js.map +1 -0
- package/dist/monolith/runtime/RuntimeAdapterBase.js +59 -0
- package/dist/monolith/runtime/RuntimeAdapterBase.js.map +1 -0
- package/dist/monolith/runtime/providerFactory.js +11 -0
- package/dist/monolith/runtime/providerFactory.js.map +1 -0
- package/dist/monolith/runtime/types.js +2 -0
- package/dist/monolith/runtime/types.js.map +1 -0
- package/dist/monolith/services/HealthService.js +38 -0
- package/dist/monolith/services/HealthService.js.map +1 -0
- package/dist/monolith/services/JoyAutomationService.js +131 -0
- package/dist/monolith/services/JoyAutomationService.js.map +1 -0
- package/dist/monolith/services/JoyLogService.js +48 -0
- package/dist/monolith/services/JoyLogService.js.map +1 -0
- package/dist/monolith/services/JoyService.js +190 -0
- package/dist/monolith/services/JoyService.js.map +1 -0
- package/dist/monolith/services/MarieGhostService.js +168 -0
- package/dist/monolith/services/MarieGhostService.js.map +1 -0
- package/dist/monolith/services/MarieSCMProvider.js +41 -0
- package/dist/monolith/services/MarieSCMProvider.js.map +1 -0
- package/package.json +168 -0
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
import * as fs from "fs/promises";
|
|
2
|
+
import * as path from "path";
|
|
3
|
+
import { getStringArg, getArrayArg, } from "../infrastructure/tools/ToolUtils.js";
|
|
4
|
+
import { exec } from "child_process";
|
|
5
|
+
import { promisify } from "util";
|
|
6
|
+
import { registerSharedToolDefinitions } from "../infrastructure/tools/SharedToolDefinitions.js";
|
|
7
|
+
import { cherishFile, generateJoyDashboard } from "../domain/joy/JoyTools.js";
|
|
8
|
+
import { checkCodeHealth } from "../plumbing/analysis/CodeHealthService.js";
|
|
9
|
+
import { LintService } from "../plumbing/analysis/LintService.js";
|
|
10
|
+
const execAsync = promisify(exec);
|
|
11
|
+
async function readFile(filePath, startLine, endLine) {
|
|
12
|
+
const content = await fs.readFile(filePath, "utf-8");
|
|
13
|
+
const lines = content.split("\n");
|
|
14
|
+
if (startLine && endLine) {
|
|
15
|
+
return lines.slice(startLine - 1, endLine).join("\n");
|
|
16
|
+
}
|
|
17
|
+
return content;
|
|
18
|
+
}
|
|
19
|
+
async function writeFile(filePath, content) {
|
|
20
|
+
if (process.env.MARIE_DEBUG) {
|
|
21
|
+
console.log(`[CLI Debug] Writing to file: ${filePath}`);
|
|
22
|
+
}
|
|
23
|
+
await fs.mkdir(path.dirname(filePath), { recursive: true });
|
|
24
|
+
await fs.writeFile(filePath, content, "utf-8");
|
|
25
|
+
}
|
|
26
|
+
async function deleteFile(filePath) {
|
|
27
|
+
await fs.unlink(filePath);
|
|
28
|
+
}
|
|
29
|
+
async function listFiles(dirPath) {
|
|
30
|
+
try {
|
|
31
|
+
const entries = await fs.readdir(dirPath, { withFileTypes: true });
|
|
32
|
+
const files = entries.map((e) => {
|
|
33
|
+
const icon = e.isDirectory() ? "📁" : "📄";
|
|
34
|
+
return `${icon} ${e.name}${e.isDirectory() ? "/" : ""}`;
|
|
35
|
+
});
|
|
36
|
+
return files.join("\n") || "(empty directory)";
|
|
37
|
+
}
|
|
38
|
+
catch (e) {
|
|
39
|
+
return `Error: ${e.message}`;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
async function searchFiles(query, searchPath) {
|
|
43
|
+
try {
|
|
44
|
+
const { stdout } = await execAsync(`grep -rn "${query.replace(/"/g, '\\"')}" "${searchPath}" --include="*.ts" --include="*.js" --include="*.tsx" --include="*.jsx" --include="*.json" --include="*.md" 2>/dev/null | head -50`);
|
|
45
|
+
return stdout || "No matches found";
|
|
46
|
+
}
|
|
47
|
+
catch {
|
|
48
|
+
return "No matches found";
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
async function getGitStatus(root) {
|
|
52
|
+
try {
|
|
53
|
+
const { stdout } = await execAsync("git status --short", { cwd: root });
|
|
54
|
+
return stdout || "Working tree clean";
|
|
55
|
+
}
|
|
56
|
+
catch {
|
|
57
|
+
return "Not a git repository";
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
async function getGitDiff(root, staged) {
|
|
61
|
+
try {
|
|
62
|
+
const cmd = staged ? "git diff --staged" : "git diff";
|
|
63
|
+
const { stdout } = await execAsync(cmd, { cwd: root });
|
|
64
|
+
return stdout || "No changes";
|
|
65
|
+
}
|
|
66
|
+
catch {
|
|
67
|
+
return "Unable to get diff";
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
async function runCommand(command, cwd) {
|
|
71
|
+
try {
|
|
72
|
+
const { stdout, stderr } = await execAsync(command, {
|
|
73
|
+
cwd,
|
|
74
|
+
timeout: 60000,
|
|
75
|
+
maxBuffer: 1024 * 1024,
|
|
76
|
+
});
|
|
77
|
+
return stdout + (stderr ? `\nstderr: ${stderr}` : "");
|
|
78
|
+
}
|
|
79
|
+
catch (e) {
|
|
80
|
+
return `Error: ${e.message}\n${e.stdout || ""}\n${e.stderr || ""}`;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
async function getFolderTree(dirPath, maxDepth = 3) {
|
|
84
|
+
async function buildTree(currentPath, depth, prefix) {
|
|
85
|
+
if (depth > maxDepth)
|
|
86
|
+
return "";
|
|
87
|
+
try {
|
|
88
|
+
const entries = await fs.readdir(currentPath, { withFileTypes: true });
|
|
89
|
+
const visible = entries.filter((e) => !e.name.startsWith(".") && !e.name.includes("node_modules"));
|
|
90
|
+
let result = "";
|
|
91
|
+
for (let i = 0; i < visible.length; i++) {
|
|
92
|
+
const e = visible[i];
|
|
93
|
+
const isLast = i === visible.length - 1;
|
|
94
|
+
const connector = isLast ? "└── " : "├── ";
|
|
95
|
+
result += `${prefix}${connector}${e.name}${e.isDirectory() ? "/" : ""}\n`;
|
|
96
|
+
if (e.isDirectory()) {
|
|
97
|
+
const newPrefix = prefix + (isLast ? " " : "│ ");
|
|
98
|
+
result += await buildTree(path.join(currentPath, e.name), depth + 1, newPrefix);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return result;
|
|
102
|
+
}
|
|
103
|
+
catch {
|
|
104
|
+
return "";
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
const name = path.basename(dirPath);
|
|
108
|
+
return `${name}/\n${await buildTree(dirPath, 1, "")}`;
|
|
109
|
+
}
|
|
110
|
+
async function foldCodeCLI(filePath) {
|
|
111
|
+
return `File '${path.basename(filePath)}' has been mentally folded. (CLI mode: structural formatting preserved)`;
|
|
112
|
+
}
|
|
113
|
+
export function registerMarieToolsCLI(registry, _automationService, workingDir) {
|
|
114
|
+
registerSharedToolDefinitions(registry, {
|
|
115
|
+
resolvePath: (p) => path.isAbsolute(p) ? p : path.join(workingDir, p),
|
|
116
|
+
writeFile: async (p, content) => await writeFile(p, content),
|
|
117
|
+
readFile: async (p, start, end) => await readFile(p, start, end),
|
|
118
|
+
listDir: async (p) => await listFiles(p),
|
|
119
|
+
grepSearch: async (q, p) => await searchFiles(q, p),
|
|
120
|
+
getGitContext: async () => {
|
|
121
|
+
const [status, staged, unstaged] = await Promise.all([
|
|
122
|
+
getGitStatus(workingDir),
|
|
123
|
+
getGitDiff(workingDir, true),
|
|
124
|
+
getGitDiff(workingDir, false),
|
|
125
|
+
]);
|
|
126
|
+
return `# Git Context\n\n## Status\n\`\`\`\n${status}\n\`\`\`\n\n## Staged Changes\n\`\`\`\n${staged}\n\`\`\`\n\n## Unstaged Changes\n\`\`\`\n${unstaged}\n\`\`\``;
|
|
127
|
+
},
|
|
128
|
+
runCommand: async (cmd) => await runCommand(cmd, workingDir),
|
|
129
|
+
getFolderStructure: async (p, depth) => await getFolderTree(p, depth),
|
|
130
|
+
replaceInFile: async (p, s, r) => {
|
|
131
|
+
if (process.env.MARIE_DEBUG) {
|
|
132
|
+
console.log(`[CLI Debug] Replacing in file: ${p}`);
|
|
133
|
+
}
|
|
134
|
+
const content = await fs.readFile(p, "utf-8");
|
|
135
|
+
if (!content.includes(s)) {
|
|
136
|
+
return `Error: Search text not found in file`;
|
|
137
|
+
}
|
|
138
|
+
const newContent = content.split(s).join(r);
|
|
139
|
+
await fs.writeFile(p, newContent, "utf-8");
|
|
140
|
+
return `Replaced ${content.split(s).length - 1} occurrence(s) in ${p}`;
|
|
141
|
+
},
|
|
142
|
+
}, { includeExtended: true });
|
|
143
|
+
registry.register({
|
|
144
|
+
name: "delete_file",
|
|
145
|
+
description: "Delete a file.",
|
|
146
|
+
isDestructive: true,
|
|
147
|
+
input_schema: {
|
|
148
|
+
type: "object",
|
|
149
|
+
properties: {
|
|
150
|
+
path: { type: "string", description: "The file path to delete" },
|
|
151
|
+
},
|
|
152
|
+
required: ["path"],
|
|
153
|
+
},
|
|
154
|
+
execute: async (args) => {
|
|
155
|
+
const p = getStringArg(args, "path");
|
|
156
|
+
const fullPath = path.isAbsolute(p) ? p : path.join(workingDir, p);
|
|
157
|
+
await deleteFile(fullPath);
|
|
158
|
+
return `Deleted ${fullPath}`;
|
|
159
|
+
},
|
|
160
|
+
});
|
|
161
|
+
registry.register({
|
|
162
|
+
name: "perform_strategic_planning",
|
|
163
|
+
description: "A mandatory planning ritual. Call this at the start of any complex task.",
|
|
164
|
+
input_schema: {
|
|
165
|
+
type: "object",
|
|
166
|
+
properties: {
|
|
167
|
+
intent: { type: "string" },
|
|
168
|
+
joyZone: { type: "string" },
|
|
169
|
+
projectName: { type: "string" },
|
|
170
|
+
lifecycleStage: { type: "string" },
|
|
171
|
+
objectives: { type: "array", items: { type: "object" } },
|
|
172
|
+
ritualChecked: { type: "boolean" },
|
|
173
|
+
gratitudeMoment: { type: "string" },
|
|
174
|
+
totalPasses: { type: "number" },
|
|
175
|
+
passFocus: { type: "string" },
|
|
176
|
+
},
|
|
177
|
+
required: ["intent", "totalPasses", "passFocus"],
|
|
178
|
+
},
|
|
179
|
+
execute: async (args, onProgress) => {
|
|
180
|
+
const intent = getStringArg(args, "intent");
|
|
181
|
+
const projectName = getStringArg(args, "projectName");
|
|
182
|
+
onProgress?.({
|
|
183
|
+
context: `Mindfulness: ${intent}`,
|
|
184
|
+
achieved: [`Planning for ${projectName}`],
|
|
185
|
+
ritualComplete: true,
|
|
186
|
+
currentPass: 1,
|
|
187
|
+
totalPasses: args.totalPasses || 1,
|
|
188
|
+
passFocus: getStringArg(args, "passFocus"),
|
|
189
|
+
});
|
|
190
|
+
return `Strategic Plan for '${projectName}' accepted in CLI. ✨`;
|
|
191
|
+
},
|
|
192
|
+
});
|
|
193
|
+
registry.register({
|
|
194
|
+
name: "checkpoint_pass",
|
|
195
|
+
description: "Explicitly end a pass, summarize achievements, and orient for the next pass.",
|
|
196
|
+
input_schema: {
|
|
197
|
+
type: "object",
|
|
198
|
+
properties: {
|
|
199
|
+
summary: { type: "string" },
|
|
200
|
+
reflection: { type: "string" },
|
|
201
|
+
nextPassFocus: { type: "string" },
|
|
202
|
+
isFinalPass: { type: "boolean" },
|
|
203
|
+
},
|
|
204
|
+
required: ["summary", "nextPassFocus", "isFinalPass"],
|
|
205
|
+
},
|
|
206
|
+
execute: async (args, onProgress) => {
|
|
207
|
+
const summary = getStringArg(args, "summary");
|
|
208
|
+
onProgress?.({
|
|
209
|
+
context: `Checkpoint: ${summary}`,
|
|
210
|
+
achieved: [`Completed Pass: ${summary}`],
|
|
211
|
+
currentPass: args.isFinalPass ? null : undefined,
|
|
212
|
+
passFocus: args.isFinalPass
|
|
213
|
+
? undefined
|
|
214
|
+
: getStringArg(args, "nextPassFocus"),
|
|
215
|
+
});
|
|
216
|
+
return `Pass internal checkpoint reached in CLI.`;
|
|
217
|
+
},
|
|
218
|
+
});
|
|
219
|
+
registry.register({
|
|
220
|
+
name: "complete_task_ritual",
|
|
221
|
+
description: "A final ritual to conclude a large task.",
|
|
222
|
+
input_schema: {
|
|
223
|
+
type: "object",
|
|
224
|
+
properties: {
|
|
225
|
+
finalSummary: { type: "string" },
|
|
226
|
+
gratitude: { type: "string" },
|
|
227
|
+
},
|
|
228
|
+
required: ["finalSummary"],
|
|
229
|
+
},
|
|
230
|
+
execute: async (args, onProgress) => {
|
|
231
|
+
const summary = getStringArg(args, "finalSummary");
|
|
232
|
+
onProgress?.({
|
|
233
|
+
context: `Bloom Ritual: ${summary}`,
|
|
234
|
+
achieved: [`Task Completed: ${summary}`],
|
|
235
|
+
ritualComplete: true,
|
|
236
|
+
});
|
|
237
|
+
return `Task Bloom Ritual complete in CLI. ✨`;
|
|
238
|
+
},
|
|
239
|
+
});
|
|
240
|
+
registry.register({
|
|
241
|
+
name: "update_run_objectives",
|
|
242
|
+
description: "Update the current run's objectives and progress context.",
|
|
243
|
+
input_schema: {
|
|
244
|
+
type: "object",
|
|
245
|
+
properties: {
|
|
246
|
+
context: { type: "string" },
|
|
247
|
+
completedObjectiveIds: { type: "array", items: { type: "string" } },
|
|
248
|
+
activeObjectiveId: { type: "string" },
|
|
249
|
+
},
|
|
250
|
+
required: ["context"],
|
|
251
|
+
},
|
|
252
|
+
execute: async (args, onProgress) => {
|
|
253
|
+
onProgress?.({
|
|
254
|
+
context: getStringArg(args, "context"),
|
|
255
|
+
completedObjectiveIds: getArrayArg(args, "completedObjectiveIds"),
|
|
256
|
+
activeObjectiveId: getStringArg(args, "activeObjectiveId"),
|
|
257
|
+
});
|
|
258
|
+
return `Progress updated in CLI.`;
|
|
259
|
+
},
|
|
260
|
+
});
|
|
261
|
+
const automation = _automationService;
|
|
262
|
+
registry.register({
|
|
263
|
+
name: "augment_roadmap",
|
|
264
|
+
description: "Insert a new pass into the current roadmap. Use this when significant unexpected complexity is discovered.",
|
|
265
|
+
input_schema: {
|
|
266
|
+
type: "object",
|
|
267
|
+
properties: {
|
|
268
|
+
addedPassCount: {
|
|
269
|
+
type: "number",
|
|
270
|
+
description: "How many passes to add (usually 1)",
|
|
271
|
+
},
|
|
272
|
+
newPassFocus: {
|
|
273
|
+
type: "string",
|
|
274
|
+
description: "The focus for the upcoming augmented pass",
|
|
275
|
+
},
|
|
276
|
+
reason: {
|
|
277
|
+
type: "string",
|
|
278
|
+
description: "Why is the roadmap being augmented? (Mindfulness discovery)",
|
|
279
|
+
},
|
|
280
|
+
},
|
|
281
|
+
required: ["addedPassCount", "newPassFocus", "reason"],
|
|
282
|
+
},
|
|
283
|
+
execute: async (args, onProgress) => {
|
|
284
|
+
const count = args.addedPassCount;
|
|
285
|
+
const focus = getStringArg(args, "newPassFocus");
|
|
286
|
+
const reason = getStringArg(args, "reason");
|
|
287
|
+
onProgress?.({
|
|
288
|
+
context: `Roadmap Augmented: ${reason}`,
|
|
289
|
+
achieved: [`Calibrated roadmap: +${count} pass(es)`],
|
|
290
|
+
totalPasses: count,
|
|
291
|
+
passFocus: focus,
|
|
292
|
+
});
|
|
293
|
+
return `Roadmap augmented with ${count} additional pass(es). Reason: ${reason}`;
|
|
294
|
+
},
|
|
295
|
+
});
|
|
296
|
+
registry.register({
|
|
297
|
+
name: "execute_genesis_ritual",
|
|
298
|
+
description: "Convert an entire project to the JOY structure.",
|
|
299
|
+
input_schema: { type: "object", properties: {} },
|
|
300
|
+
execute: async () => await automation.triggerGenesis(),
|
|
301
|
+
});
|
|
302
|
+
registry.register({
|
|
303
|
+
name: "sow_joy_feature",
|
|
304
|
+
description: "Scaffold a new feature structure across all JOY zones.",
|
|
305
|
+
input_schema: {
|
|
306
|
+
type: "object",
|
|
307
|
+
properties: {
|
|
308
|
+
name: { type: "string" },
|
|
309
|
+
intent: { type: "string" },
|
|
310
|
+
},
|
|
311
|
+
required: ["name", "intent"],
|
|
312
|
+
},
|
|
313
|
+
execute: async (args) => await automation.sowJoyFeature(getStringArg(args, "name"), getStringArg(args, "intent")),
|
|
314
|
+
});
|
|
315
|
+
registry.register({
|
|
316
|
+
name: "perform_garden_pulse",
|
|
317
|
+
description: "Deep audit of project structure and scaffolding.",
|
|
318
|
+
input_schema: { type: "object", properties: {} },
|
|
319
|
+
execute: async () => await automation.performGardenPulse(),
|
|
320
|
+
});
|
|
321
|
+
registry.register({
|
|
322
|
+
name: "execute_joy_maintenance",
|
|
323
|
+
description: "Perform autonomous maintenance on the garden structure (Restoration Ritual).",
|
|
324
|
+
isDestructive: true,
|
|
325
|
+
input_schema: { type: "object", properties: {} },
|
|
326
|
+
execute: async () => await automation.executeAutonomousRestoration(),
|
|
327
|
+
});
|
|
328
|
+
registry.register({
|
|
329
|
+
name: "fold_file",
|
|
330
|
+
description: "Format and organize imports in a file.",
|
|
331
|
+
input_schema: {
|
|
332
|
+
type: "object",
|
|
333
|
+
properties: { path: { type: "string" } },
|
|
334
|
+
required: ["path"],
|
|
335
|
+
},
|
|
336
|
+
execute: async (args) => {
|
|
337
|
+
const p = getStringArg(args, "path");
|
|
338
|
+
const fullPath = path.isAbsolute(p) ? p : path.join(workingDir, p);
|
|
339
|
+
return await foldCodeCLI(fullPath);
|
|
340
|
+
},
|
|
341
|
+
});
|
|
342
|
+
registry.register({
|
|
343
|
+
name: "cherish_file",
|
|
344
|
+
description: "Update the timestamp of a 'Sentimental' file.",
|
|
345
|
+
input_schema: {
|
|
346
|
+
type: "object",
|
|
347
|
+
properties: { path: { type: "string" } },
|
|
348
|
+
required: ["path"],
|
|
349
|
+
},
|
|
350
|
+
execute: async (args) => {
|
|
351
|
+
const p = getStringArg(args, "path");
|
|
352
|
+
const fullPath = path.isAbsolute(p) ? p : path.join(workingDir, p);
|
|
353
|
+
return await cherishFile(fullPath);
|
|
354
|
+
},
|
|
355
|
+
});
|
|
356
|
+
registry.register({
|
|
357
|
+
name: "check_code_health",
|
|
358
|
+
description: "Analyze a file for complexity and technical debt.",
|
|
359
|
+
input_schema: {
|
|
360
|
+
type: "object",
|
|
361
|
+
properties: { path: { type: "string" } },
|
|
362
|
+
required: ["path"],
|
|
363
|
+
},
|
|
364
|
+
execute: async (args) => {
|
|
365
|
+
const p = getStringArg(args, "path");
|
|
366
|
+
const fullPath = path.isAbsolute(p) ? p : path.join(workingDir, p);
|
|
367
|
+
return JSON.stringify(await checkCodeHealth(fullPath));
|
|
368
|
+
},
|
|
369
|
+
});
|
|
370
|
+
registry.register({
|
|
371
|
+
name: "generate_joy_dashboard",
|
|
372
|
+
description: "Generate a JOY.md dashboard for the workspace.",
|
|
373
|
+
input_schema: {
|
|
374
|
+
type: "object",
|
|
375
|
+
properties: { rootPath: { type: "string" } },
|
|
376
|
+
required: ["rootPath"],
|
|
377
|
+
},
|
|
378
|
+
execute: async (args) => {
|
|
379
|
+
const p = getStringArg(args, "rootPath");
|
|
380
|
+
const fullPath = path.isAbsolute(p) ? p : path.join(workingDir, p);
|
|
381
|
+
return await generateJoyDashboard(fullPath);
|
|
382
|
+
},
|
|
383
|
+
});
|
|
384
|
+
registry.register({
|
|
385
|
+
name: "resolve_lint_errors",
|
|
386
|
+
description: "Run linting and receive structured errors with suggested fixes for the entire project or specific files.",
|
|
387
|
+
input_schema: {
|
|
388
|
+
type: "object",
|
|
389
|
+
properties: {
|
|
390
|
+
command: {
|
|
391
|
+
type: "string",
|
|
392
|
+
description: "Optional custom lint command (defaults to npm run lint)",
|
|
393
|
+
},
|
|
394
|
+
},
|
|
395
|
+
},
|
|
396
|
+
execute: async (args) => {
|
|
397
|
+
const cmd = args.command || "npm run lint";
|
|
398
|
+
const errors = await LintService.runLint(workingDir, cmd);
|
|
399
|
+
if (errors.length === 0) {
|
|
400
|
+
return "No lint errors found. The codebase is healthy. ✨";
|
|
401
|
+
}
|
|
402
|
+
let result = `# Linting Report (${errors.length} errors found)
|
|
403
|
+
\n`;
|
|
404
|
+
errors.forEach((err, i) => {
|
|
405
|
+
const fix = LintService.suggestFix(err);
|
|
406
|
+
result += `### Error ${i + 1}: ${err.file}:${err.line}:${err.column}
|
|
407
|
+
- **Rule**: ${err.ruleId || "unknown"}
|
|
408
|
+
- **Message**: ${err.message}
|
|
409
|
+
- **Suggested Fix**: ${fix || "No automatic suggestion. Please investigate manually."}
|
|
410
|
+
\n`;
|
|
411
|
+
});
|
|
412
|
+
result += `\n**Instructions**: Use 'read_file' to examine the code around these locations and 'replace_file_content' to apply fixes surgically.`;
|
|
413
|
+
return result;
|
|
414
|
+
},
|
|
415
|
+
});
|
|
416
|
+
registry.register({
|
|
417
|
+
name: "self_heal",
|
|
418
|
+
description: "Autonomous systemic recovery. Marie will audit the project for errors and attempt to suggest or apply fixes.",
|
|
419
|
+
isDestructive: true,
|
|
420
|
+
input_schema: { type: "object", properties: {} },
|
|
421
|
+
execute: async () => {
|
|
422
|
+
const errors = await LintService.runLint(workingDir);
|
|
423
|
+
if (errors.length === 0) {
|
|
424
|
+
return "Marie's audit found no systemic issues. Structural harmony is maintained. ✨";
|
|
425
|
+
}
|
|
426
|
+
let result = `# 🧬 Autonomous Recovery Protocol Initiated
|
|
427
|
+
\nFound ${errors.length} stability alerts in the codebase.
|
|
428
|
+
\n`;
|
|
429
|
+
const files = Array.from(new Set(errors.map((e) => e.file)));
|
|
430
|
+
result += `**Impacted Files**:
|
|
431
|
+
${files.map((f) => `- ${f}`).join("\n")}
|
|
432
|
+
\n`;
|
|
433
|
+
result += `Please use 'resolve_lint_errors' to see the full triage report and begin surgical remediation.`;
|
|
434
|
+
return result;
|
|
435
|
+
},
|
|
436
|
+
});
|
|
437
|
+
}
|
|
438
|
+
//# sourceMappingURL=MarieToolDefinitionsCLI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarieToolDefinitionsCLI.js","sourceRoot":"","sources":["../../../src/monolith/cli/MarieToolDefinitionsCLI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,EACL,YAAY,EACZ,WAAW,GACZ,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAEjC,OAAO,EAAE,6BAA6B,EAAE,MAAM,kDAAkD,CAAC;AACjG,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAE5E,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAElE,MAAM,SAAS,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;AAElC,KAAK,UAAU,QAAQ,CACrB,QAAgB,EAChB,SAAkB,EAClB,OAAgB;IAEhB,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IACrD,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAElC,IAAI,SAAS,IAAI,OAAO,EAAE,CAAC;QACzB,OAAO,KAAK,CAAC,KAAK,CAAC,SAAS,GAAG,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;I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