fix: remaining -v2 references in scripts, add v1 channels barrel

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
gavrielc
2026-04-09 11:44:06 +03:00
parent 2b64fec0e6
commit 320176e7e8
4 changed files with 4 additions and 3 deletions

View File

@@ -75,4 +75,4 @@ try {
}
}
console.log('Done! Run: npm run build && node dist/index-v2.js');
console.log('Done! Run: npm run build && node dist/index.js');

View File

@@ -67,7 +67,7 @@ console.log('✓ Central DB initialized');
// --- Step 2: Set up mock channel adapter + delivery ---
console.log('\n=== Step 2: Set up mock channel adapter & delivery ===');
import { routeInbound } from '../src/router-v2.js';
import { routeInbound } from '../src/router.js';
import { setDeliveryAdapter, startActiveDeliveryPoll, stopDeliveryPolls } from '../src/delivery.js';
import { getChannelAdapter, registerChannelAdapter, initChannelAdapters } from '../src/channels/channel-registry.js';
import { findSession } from '../src/db/sessions.js';

View File

@@ -69,7 +69,7 @@ console.log('✓ Central DB initialized');
// --- Step 2: Route inbound message (spawns container) ---
console.log('\n=== Step 2: Route inbound message ===');
import { routeInbound } from '../src/router-v2.js';
import { routeInbound } from '../src/router.js';
import { findSession } from '../src/db/sessions.js';
import { sessionDbPath } from '../src/session-manager.js';

1
src/v1/channels/index.ts Normal file
View File

@@ -0,0 +1 @@
// v1 channel barrel — no-op (channels registered via separate skill branches)