a2acalling 0.6.0 → 0.6.2

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/src/server.js CHANGED
@@ -11,6 +11,7 @@ const fs = require('fs');
11
11
  const path = require('path');
12
12
  const { createRoutes } = require('./routes/a2a');
13
13
  const { createDashboardApiRouter, createDashboardUiRouter } = require('./routes/dashboard');
14
+ const { createCallbookRouter } = require('./routes/callbook');
14
15
  const { TokenStore } = require('./lib/tokens');
15
16
  const { createRuntimeAdapter } = require('./lib/runtime-adapter');
16
17
  const { getTopicsForTier, formatTopicsForPrompt, loadManifest } = require('./lib/disclosure');
@@ -708,13 +709,18 @@ app.use(express.json());
708
709
  // Minimal owner dashboard (local by default unless A2A_ADMIN_TOKEN is provided)
709
710
  app.use('/api/a2a/dashboard', createDashboardApiRouter({
710
711
  tokenStore,
712
+ agentContext,
711
713
  logger: logger.child({ component: 'a2a.dashboard' })
712
714
  }));
713
715
  app.use('/dashboard', createDashboardUiRouter({
714
716
  tokenStore,
717
+ agentContext,
715
718
  logger: logger.child({ component: 'a2a.dashboard' })
716
719
  }));
717
720
 
721
+ // Callbook Remote pairing flow (public install page).
722
+ app.use('/callbook', createCallbookRouter());
723
+
718
724
  app.use('/api/a2a', createRoutes({
719
725
  tokenStore,
720
726
  logger: logger.child({ component: 'a2a.routes' }),