@dalmasonto/taskflow-mcp 1.0.23 → 1.0.24
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/dist/db.js +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/db.js
CHANGED
|
@@ -130,7 +130,6 @@ function initSchema(db) {
|
|
|
130
130
|
CREATE INDEX IF NOT EXISTS idx_notifications_created_at ON notifications(created_at);
|
|
131
131
|
CREATE INDEX IF NOT EXISTS idx_agent_messages_status ON agent_messages(status);
|
|
132
132
|
CREATE INDEX IF NOT EXISTS idx_agent_messages_project_id ON agent_messages(project_id);
|
|
133
|
-
CREATE INDEX IF NOT EXISTS idx_agent_messages_broadcast_id ON agent_messages(broadcast_id);
|
|
134
133
|
CREATE INDEX IF NOT EXISTS idx_agent_registry_status ON agent_registry(status);
|
|
135
134
|
CREATE INDEX IF NOT EXISTS idx_agent_registry_name ON agent_registry(name);
|
|
136
135
|
CREATE INDEX IF NOT EXISTS idx_agent_registry_project_path ON agent_registry(project_path);
|
|
@@ -166,8 +165,9 @@ function initSchema(db) {
|
|
|
166
165
|
}
|
|
167
166
|
if (!colNames.has('broadcast_id')) {
|
|
168
167
|
db.exec('ALTER TABLE agent_messages ADD COLUMN broadcast_id TEXT');
|
|
169
|
-
db.exec('CREATE INDEX IF NOT EXISTS idx_agent_messages_broadcast_id ON agent_messages(broadcast_id)');
|
|
170
168
|
}
|
|
169
|
+
// Always ensure the index exists (safe for both fresh and migrated databases)
|
|
170
|
+
db.exec('CREATE INDEX IF NOT EXISTS idx_agent_messages_broadcast_id ON agent_messages(broadcast_id)');
|
|
171
171
|
// Migration: make agent_messages.project_id nullable if it was NOT NULL
|
|
172
172
|
try {
|
|
173
173
|
const tableInfo = db.prepare("SELECT sql FROM sqlite_master WHERE name = 'agent_messages'").get();
|
package/dist/index.js
CHANGED
|
@@ -60,7 +60,7 @@ if (!httpOnly) {
|
|
|
60
60
|
const { registerTerminalTools } = await import('./tools/terminal.js');
|
|
61
61
|
const { registerResources } = await import('./resources.js');
|
|
62
62
|
const { registerCheckpointTools } = await import('./tools/checkpoint.js');
|
|
63
|
-
const server = new McpServer({ name: 'taskflow', version: '1.0.
|
|
63
|
+
const server = new McpServer({ name: 'taskflow', version: '1.0.24' }, {
|
|
64
64
|
instructions: [
|
|
65
65
|
'You MUST call bootstrap (preferred) or get_agent_instructions before doing any work. This loads your task management rules and project context.',
|
|
66
66
|
'You MUST create a task in TaskFlow before editing files or running commands. search_tasks first to avoid duplicates.',
|