diff options
| author | Agando <roduccomm@gmail.com> | 2026-06-08 18:01:06 +0200 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-06-08 18:01:06 +0200 |
| commit | b562e1491513163921593985f3542d4ee8ae0e75 (patch) | |
| tree | f768a2378d3c09b3685a7bf42a9fc4dec71ef31c /modules/core/module-aiassist.js | |
| parent | b9485bae5c2e62fa9c1b1c56d0f75be67cb47c37 (diff) | |
auto: 2026-06-08_18:00 changes
Diffstat (limited to 'modules/core/module-aiassist.js')
| -rw-r--r-- | modules/core/module-aiassist.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/core/module-aiassist.js b/modules/core/module-aiassist.js index ed76a8a..7f99386 100644 --- a/modules/core/module-aiassist.js +++ b/modules/core/module-aiassist.js @@ -93,6 +93,15 @@ SKILLS (PERSISTENT PROCEDURAL MEMORY): - create_skill(name, description, content, tags, category) — Save a new stored procedure. Call after completing complex multi-step tasks (3+ tool calls). - patch_skill(name, content) — Update an existing skill when the approach changes +FLOATING UI (PERSISTENT UI ELEMENTS): Use 'run_command' tool with these terminal commands: +- 'floating-add btn <id> <label> <command>' — Create a floating button that runs a terminal command when clicked +- 'floating-add menu <id> <label> <btn1>,<btn2>...' — Create a collapsible floating menu (buttons: label:command pairs) +- 'floating-add panel <id> <title> <content>' — Create a floating text/status panel +- 'floating-remove <id>' — Remove a floating element by ID +- 'floating-toggle <id>' — Show/hide a floating element without deleting +- 'floating-list' — List all floating elements +- 'floating-clear' — Remove all floating elements +- NOTE: These are terminal commands, run via 'run_command'. Use SPACES not hyphens between subcommands. MODULE SELF-IMPROVEMENT: - view_module(name) — View source code of any loaded module - edit_module(name) — Copy module into editor. Opens editor for modifications. @@ -1733,6 +1742,7 @@ RULES: const orch = this.terminal.moduleManager.modules['OrchestratorModule']; if (!orch) return JSON.stringify({ error: 'Orchestrator not available' }); const agent = orch.spawnAgent(role, caps); + if (!agent) return JSON.stringify({ error: 'Agent spawn failed — limit reached or concurrent spawn conflict' }); return JSON.stringify({ message: `Agent spawned: ${agent.id}`, agent }); } case 'load_skills': { |