claude-tempo 0.2.4 → 0.2.5-beta.1

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.
@@ -179,7 +179,7 @@ async function main() {
179
179
  `- terminate: Terminate a session\n\n` +
180
180
  `When you receive a message from another session, treat it like a coworker asking for help — respond promptly using your MCP tools.`,
181
181
  },
182
- excludedTools: ['powershell', 'shell'],
182
+ excludedTools: ['write_powershell', 'read_powershell', 'list_powershell'],
183
183
  ...(model ? { model } : {}),
184
184
  };
185
185
  log('Creating Copilot session...');
@@ -202,6 +202,18 @@ async function main() {
202
202
  const tools = data.toolRequests?.map((t) => t.name).join(', ') || 'none';
203
203
  log(`[event:${event.type}] content="${(data.content || '').substring(0, 200)}" tools=[${tools}]`);
204
204
  }
205
+ else if (event.type === 'session.info') {
206
+ log(`[session.info] ${JSON.stringify(event.data)}`);
207
+ }
208
+ else if (event.type === 'session.warning') {
209
+ log(`[session.warning] ${JSON.stringify(event.data)}`);
210
+ }
211
+ else if (event.type === 'session.mcp_servers_loaded') {
212
+ log(`[mcp_servers_loaded] ${JSON.stringify(event.data)}`);
213
+ }
214
+ else if (event.type === 'session.mcp_server_status_changed') {
215
+ log(`[mcp_server_status_changed] ${JSON.stringify(event.data)}`);
216
+ }
205
217
  else if (event.type === 'session.idle') {
206
218
  log(`[event:session.idle] Session is idle`);
207
219
  }
@@ -225,6 +237,14 @@ async function main() {
225
237
  const t0 = Date.now();
226
238
  const initResult = await session.sendAndWait({ prompt: 'Call the ensemble tool to list active sessions. Respond in one short sentence.' }, 120_000);
227
239
  log(`Initial prompt completed in ${Date.now() - t0}ms, result:`, JSON.stringify(initResult)?.substring(0, 300));
240
+ // Dump available tools for diagnostics
241
+ try {
242
+ const toolList = await session.rpc.tools.list({});
243
+ log('Available tools:', JSON.stringify(toolList.tools?.map((t) => t.name || t.namespacedName)));
244
+ }
245
+ catch (toolErr) {
246
+ log('Failed to list tools:', toolErr?.message);
247
+ }
228
248
  }
229
249
  catch (err) {
230
250
  log(`Initial prompt error after ${Date.now()}ms:`, err?.message, err?.stack?.substring(0, 300));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-tempo",
3
- "version": "0.2.4",
3
+ "version": "0.2.5-beta.1",
4
4
  "description": "MCP server for multi-session Claude Code coordination via Temporal",
5
5
  "repository": {
6
6
  "type": "git",