packages/tm-bridge/README.md
⚠️ TEMPORARY PACKAGE - DELETE WHEN LEGACY CODE IS REMOVED ⚠️
This package exists solely as a bridge between legacy scripts (scripts/modules/task-manager/) and the new tm-core architecture. It provides shared functionality that both CLI and MCP direct functions can use during the migration period.
During the transition from legacy scripts to tm-core, we need a single source of truth for bridge logic that handles:
Delete this entire package when:
scripts/modules/task-manager/ are removedmcp-server/src/core/direct-functions/ are removedCurrent: CLI → legacy scripts → @tm/bridge → @tm/core
MCP → direct functions → legacy scripts → @tm/bridge → @tm/core
Future: CLI → @tm/core (TasksDomain)
MCP → @tm/core (TasksDomain)
DELETE: legacy scripts, direct functions, @tm/bridge
import { tryUpdateViaRemote } from '@tm/bridge';
const result = await tryUpdateViaRemote({
taskId: '1.2',
prompt: 'Update task...',
projectRoot: '/path/to/project',
// ... other params
});
update-bridge.ts - Shared update bridge logic for task/subtask updatesRemember: This package should NOT accumulate new features. It's a temporary migration aid only.