machinaos 0.0.53 → 0.0.55
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/bin/cli.js +26 -0
- package/client/dist/assets/{index-BqiyQs_N.js → index-DnNQ7f4P.js} +130 -127
- package/client/dist/index.html +1 -1
- package/client/package.json +1 -1
- package/client/src/Dashboard.tsx +4 -0
- package/client/src/assets/icons/browser/chrome.svg +3 -0
- package/client/src/assets/icons/browser/index.ts +17 -0
- package/client/src/components/AIAgentNode.tsx +14 -15
- package/client/src/components/parameterPanel/InputSection.tsx +10 -0
- package/client/src/components/ui/OutputDisplayPanel.tsx +41 -0
- package/client/src/nodeDefinitions/browserNodes.ts +229 -0
- package/client/src/nodeDefinitions/toolNodes.ts +45 -1
- package/client/src/nodeDefinitions.ts +6 -0
- package/client/src/services/executionService.ts +6 -1
- package/install.ps1 +6 -0
- package/install.sh +6 -0
- package/package.json +12 -1
- package/scripts/build.js +5 -5
- package/scripts/dev.js +5 -5
- package/scripts/install.js +16 -0
- package/scripts/preinstall.js +14 -0
- package/scripts/start.js +6 -6
- package/server/config/model_registry.json +264 -110
- package/server/constants.py +13 -0
- package/server/core/database.py +3 -2
- package/server/services/ai.py +55 -0
- package/server/services/browser_service.py +122 -0
- package/server/services/handlers/__init__.py +9 -0
- package/server/services/handlers/browser.py +109 -0
- package/server/services/handlers/todo.py +73 -0
- package/server/services/handlers/tools.py +36 -0
- package/server/services/node_executor.py +6 -0
- package/server/services/status_broadcaster.py +33 -18
- package/server/services/todo_service.py +96 -0
- package/server/skills/task_agent/write-todos-skill/SKILL.md +93 -0
- package/server/skills/web_agent/browser-skill/SKILL.md +131 -0
- package/workflows/AI Employee[Experimental].json +1 -1
- package/workflows/Zeenie Agent.json +1 -1
- package/workflows/Zeenie Assistant.json +1 -1
- package/server/nodejs/package-lock.json +0 -1496
package/bin/cli.js
CHANGED
|
@@ -14,6 +14,7 @@ const COMMANDS = {
|
|
|
14
14
|
stop: 'Stop all running services',
|
|
15
15
|
build: 'Build the project for production',
|
|
16
16
|
clean: 'Clean build artifacts',
|
|
17
|
+
doctor: 'Check system dependencies and project health',
|
|
17
18
|
help: 'Show this help message',
|
|
18
19
|
version: 'Show version number',
|
|
19
20
|
};
|
|
@@ -102,6 +103,29 @@ function checkDeps() {
|
|
|
102
103
|
}
|
|
103
104
|
}
|
|
104
105
|
|
|
106
|
+
function doctor() {
|
|
107
|
+
console.log('\nMachinaOS Doctor\n');
|
|
108
|
+
try {
|
|
109
|
+
execSync('npx envinfo --system --binaries --npmPackages concurrently,edgymeow,temporal-server', {
|
|
110
|
+
cwd: ROOT, stdio: 'inherit', shell: true,
|
|
111
|
+
});
|
|
112
|
+
} catch { /* envinfo not available, continue with manual checks */ }
|
|
113
|
+
|
|
114
|
+
console.log(' Additional checks:');
|
|
115
|
+
const checks = [
|
|
116
|
+
['uv', getVersion('uv --version')],
|
|
117
|
+
['temporal-server', getVersion('temporal-server --version')],
|
|
118
|
+
];
|
|
119
|
+
for (const [name, ver] of checks) {
|
|
120
|
+
console.log(ver ? ` ${name}: ${ver}` : ` ${name}: Not Found`);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
const has = (f) => { try { readFileSync(resolve(ROOT, f)); return true; } catch { return false; } };
|
|
124
|
+
console.log(has('pnpm-lock.yaml') ? ' Lockfile: pnpm-lock.yaml' : has('package-lock.json') ? ' Lockfile: package-lock.json' : ' Lockfile: Not Found');
|
|
125
|
+
console.log(has('server/.venv/pyvenv.cfg') ? ' Python venv: OK' : ' Python venv: Missing (run machina build)');
|
|
126
|
+
console.log('');
|
|
127
|
+
}
|
|
128
|
+
|
|
105
129
|
function run(script, extraArgs = []) {
|
|
106
130
|
const npmArgs = ['run', script];
|
|
107
131
|
if (extraArgs.length) npmArgs.push('--', ...extraArgs);
|
|
@@ -123,6 +147,8 @@ if (cmd === 'help' || cmd === '--help' || cmd === '-h') {
|
|
|
123
147
|
printHelp();
|
|
124
148
|
} else if (cmd === 'version' || cmd === '--version' || cmd === '-v') {
|
|
125
149
|
console.log(`machina v${PKG.version}`);
|
|
150
|
+
} else if (cmd === 'doctor') {
|
|
151
|
+
doctor();
|
|
126
152
|
} else if (cmd === 'start' || cmd === 'dev' || cmd === 'build') {
|
|
127
153
|
checkDeps();
|
|
128
154
|
run(cmd, process.argv.slice(3));
|