From 7ada62fd14e5a0c180cc9e30fc7812a7cdc4de99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Davor=20Raci=C4=87?= Date: Thu, 5 Feb 2026 15:42:56 +0100 Subject: [PATCH] fix: add task and tool command generation to kilo installer --- tools/cli/installers/lib/ide/kilo.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tools/cli/installers/lib/ide/kilo.js b/tools/cli/installers/lib/ide/kilo.js index e0362e470..52fd17c90 100644 --- a/tools/cli/installers/lib/ide/kilo.js +++ b/tools/cli/installers/lib/ide/kilo.js @@ -4,6 +4,7 @@ const chalk = require('chalk'); const yaml = require('yaml'); const { AgentCommandGenerator } = require('./shared/agent-command-generator'); const { WorkflowCommandGenerator } = require('./shared/workflow-command-generator'); +const { TaskToolCommandGenerator } = require('./shared/task-tool-command-generator'); /** * KiloCode IDE setup handler @@ -78,9 +79,20 @@ class KiloSetup extends BaseIdeSetup { // Write workflow files const workflowCount = await workflowGenerator.writeDashArtifacts(workflowsDir, workflowArtifacts); + // Generate task and tool commands + const taskToolGen = new TaskToolCommandGenerator(this.bmadFolderName); + const { artifacts: taskToolArtifacts, counts: taskToolCounts } = await taskToolGen.collectTaskToolArtifacts(bmadDir); + + // Write task/tool files to workflows directory (same location as workflows) + await taskToolGen.writeDashArtifacts(workflowsDir, taskToolArtifacts); + const taskCount = taskToolCounts.tasks || 0; + const toolCount = taskToolCounts.tools || 0; + console.log(chalk.green(`✓ ${this.name} configured:`)); console.log(chalk.dim(` - ${addedCount} modes added`)); console.log(chalk.dim(` - ${workflowCount} workflows exported`)); + console.log(chalk.dim(` - ${taskCount} tasks exported`)); + console.log(chalk.dim(` - ${toolCount} tools exported`)); console.log(chalk.dim(` - Configuration file: ${this.configFile}`)); console.log(chalk.dim(` - Workflows directory: .kilocode/workflows/`)); console.log(chalk.dim('\n Modes will be available when you open this project in KiloCode')); @@ -89,6 +101,8 @@ class KiloSetup extends BaseIdeSetup { success: true, modes: addedCount, workflows: workflowCount, + tasks: taskCount, + tools: toolCount, }; }