agent-recorder 0.0.8 → 0.0.10

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.
Files changed (101) hide show
  1. package/package.json +1 -1
  2. package/vendor/node_modules/@agent-recorder/cli/analytics/session-analytics.test.js +1 -0
  3. package/vendor/node_modules/@agent-recorder/cli/analytics/session-analytics.test.js.map +1 -1
  4. package/vendor/node_modules/@agent-recorder/cli/commands/configure-wrap.d.ts +15 -0
  5. package/vendor/node_modules/@agent-recorder/cli/commands/configure-wrap.d.ts.map +1 -0
  6. package/vendor/node_modules/@agent-recorder/cli/commands/configure-wrap.js +207 -0
  7. package/vendor/node_modules/@agent-recorder/cli/commands/configure-wrap.js.map +1 -0
  8. package/vendor/node_modules/@agent-recorder/cli/commands/configure.d.ts +2 -0
  9. package/vendor/node_modules/@agent-recorder/cli/commands/configure.d.ts.map +1 -1
  10. package/vendor/node_modules/@agent-recorder/cli/commands/configure.js +117 -1
  11. package/vendor/node_modules/@agent-recorder/cli/commands/configure.js.map +1 -1
  12. package/vendor/node_modules/@agent-recorder/cli/commands/doctor.d.ts.map +1 -1
  13. package/vendor/node_modules/@agent-recorder/cli/commands/doctor.js +113 -19
  14. package/vendor/node_modules/@agent-recorder/cli/commands/doctor.js.map +1 -1
  15. package/vendor/node_modules/@agent-recorder/cli/commands/doctor.test.d.ts +5 -0
  16. package/vendor/node_modules/@agent-recorder/cli/commands/doctor.test.d.ts.map +1 -0
  17. package/vendor/node_modules/@agent-recorder/cli/commands/doctor.test.js +152 -0
  18. package/vendor/node_modules/@agent-recorder/cli/commands/doctor.test.js.map +1 -0
  19. package/vendor/node_modules/@agent-recorder/cli/commands/install.d.ts +7 -1
  20. package/vendor/node_modules/@agent-recorder/cli/commands/install.d.ts.map +1 -1
  21. package/vendor/node_modules/@agent-recorder/cli/commands/install.js +98 -14
  22. package/vendor/node_modules/@agent-recorder/cli/commands/install.js.map +1 -1
  23. package/vendor/node_modules/@agent-recorder/cli/commands/install.test.d.ts +5 -0
  24. package/vendor/node_modules/@agent-recorder/cli/commands/install.test.d.ts.map +1 -0
  25. package/vendor/node_modules/@agent-recorder/cli/commands/install.test.js +173 -0
  26. package/vendor/node_modules/@agent-recorder/cli/commands/install.test.js.map +1 -0
  27. package/vendor/node_modules/@agent-recorder/cli/config/hubify.d.ts +51 -0
  28. package/vendor/node_modules/@agent-recorder/cli/config/hubify.d.ts.map +1 -0
  29. package/vendor/node_modules/@agent-recorder/cli/config/hubify.js +125 -0
  30. package/vendor/node_modules/@agent-recorder/cli/config/hubify.js.map +1 -0
  31. package/vendor/node_modules/@agent-recorder/cli/config/hubify.test.d.ts +5 -0
  32. package/vendor/node_modules/@agent-recorder/cli/config/hubify.test.d.ts.map +1 -0
  33. package/vendor/node_modules/@agent-recorder/cli/config/hubify.test.js +329 -0
  34. package/vendor/node_modules/@agent-recorder/cli/config/hubify.test.js.map +1 -0
  35. package/vendor/node_modules/@agent-recorder/cli/index.js +18 -3
  36. package/vendor/node_modules/@agent-recorder/cli/index.js.map +1 -1
  37. package/vendor/node_modules/@agent-recorder/core/claude-config.d.ts +32 -0
  38. package/vendor/node_modules/@agent-recorder/core/claude-config.d.ts.map +1 -0
  39. package/vendor/node_modules/@agent-recorder/core/claude-config.js +65 -0
  40. package/vendor/node_modules/@agent-recorder/core/claude-config.js.map +1 -0
  41. package/vendor/node_modules/@agent-recorder/core/config.d.ts +4 -0
  42. package/vendor/node_modules/@agent-recorder/core/config.d.ts.map +1 -1
  43. package/vendor/node_modules/@agent-recorder/core/config.js +6 -0
  44. package/vendor/node_modules/@agent-recorder/core/config.js.map +1 -1
  45. package/vendor/node_modules/@agent-recorder/core/db/events.d.ts +3 -0
  46. package/vendor/node_modules/@agent-recorder/core/db/events.d.ts.map +1 -1
  47. package/vendor/node_modules/@agent-recorder/core/db/events.js +8 -3
  48. package/vendor/node_modules/@agent-recorder/core/db/events.js.map +1 -1
  49. package/vendor/node_modules/@agent-recorder/core/db/events.test.js +34 -0
  50. package/vendor/node_modules/@agent-recorder/core/db/events.test.js.map +1 -1
  51. package/vendor/node_modules/@agent-recorder/core/index.d.ts +4 -1
  52. package/vendor/node_modules/@agent-recorder/core/index.d.ts.map +1 -1
  53. package/vendor/node_modules/@agent-recorder/core/index.js +4 -1
  54. package/vendor/node_modules/@agent-recorder/core/index.js.map +1 -1
  55. package/vendor/node_modules/@agent-recorder/core/migrations/006_add_upstream_key.sql +7 -0
  56. package/vendor/node_modules/@agent-recorder/core/providers/index.d.ts +9 -0
  57. package/vendor/node_modules/@agent-recorder/core/providers/index.d.ts.map +1 -0
  58. package/vendor/node_modules/@agent-recorder/core/providers/index.js +9 -0
  59. package/vendor/node_modules/@agent-recorder/core/providers/index.js.map +1 -0
  60. package/vendor/node_modules/@agent-recorder/core/providers/io.d.ts +36 -0
  61. package/vendor/node_modules/@agent-recorder/core/providers/io.d.ts.map +1 -0
  62. package/vendor/node_modules/@agent-recorder/core/providers/io.js +88 -0
  63. package/vendor/node_modules/@agent-recorder/core/providers/io.js.map +1 -0
  64. package/vendor/node_modules/@agent-recorder/core/providers/io.test.d.ts +5 -0
  65. package/vendor/node_modules/@agent-recorder/core/providers/io.test.d.ts.map +1 -0
  66. package/vendor/node_modules/@agent-recorder/core/providers/io.test.js +248 -0
  67. package/vendor/node_modules/@agent-recorder/core/providers/io.test.js.map +1 -0
  68. package/vendor/node_modules/@agent-recorder/core/providers/types.d.ts +36 -0
  69. package/vendor/node_modules/@agent-recorder/core/providers/types.d.ts.map +1 -0
  70. package/vendor/node_modules/@agent-recorder/core/providers/types.js +6 -0
  71. package/vendor/node_modules/@agent-recorder/core/providers/types.js.map +1 -0
  72. package/vendor/node_modules/@agent-recorder/core/types/events.d.ts +2 -0
  73. package/vendor/node_modules/@agent-recorder/core/types/events.d.ts.map +1 -1
  74. package/vendor/node_modules/@agent-recorder/core/wrap-utils.d.ts +42 -0
  75. package/vendor/node_modules/@agent-recorder/core/wrap-utils.d.ts.map +1 -0
  76. package/vendor/node_modules/@agent-recorder/core/wrap-utils.js +80 -0
  77. package/vendor/node_modules/@agent-recorder/core/wrap-utils.js.map +1 -0
  78. package/vendor/node_modules/@agent-recorder/service/index.d.ts.map +1 -1
  79. package/vendor/node_modules/@agent-recorder/service/index.js +19 -0
  80. package/vendor/node_modules/@agent-recorder/service/index.js.map +1 -1
  81. package/vendor/node_modules/@agent-recorder/service/mcp/auto-wrap-manager.d.ts +43 -0
  82. package/vendor/node_modules/@agent-recorder/service/mcp/auto-wrap-manager.d.ts.map +1 -0
  83. package/vendor/node_modules/@agent-recorder/service/mcp/auto-wrap-manager.js +221 -0
  84. package/vendor/node_modules/@agent-recorder/service/mcp/auto-wrap-manager.js.map +1 -0
  85. package/vendor/node_modules/@agent-recorder/service/mcp/hub.test.d.ts +6 -0
  86. package/vendor/node_modules/@agent-recorder/service/mcp/hub.test.d.ts.map +1 -0
  87. package/vendor/node_modules/@agent-recorder/service/mcp/hub.test.js +319 -0
  88. package/vendor/node_modules/@agent-recorder/service/mcp/hub.test.js.map +1 -0
  89. package/vendor/node_modules/@agent-recorder/service/mcp/proxy.d.ts +1 -0
  90. package/vendor/node_modules/@agent-recorder/service/mcp/proxy.d.ts.map +1 -1
  91. package/vendor/node_modules/@agent-recorder/service/mcp/proxy.js +267 -17
  92. package/vendor/node_modules/@agent-recorder/service/mcp/proxy.js.map +1 -1
  93. package/vendor/node_modules/@agent-recorder/service/mcp/proxy.test.js +165 -0
  94. package/vendor/node_modules/@agent-recorder/service/mcp/proxy.test.js.map +1 -1
  95. package/vendor/node_modules/@agent-recorder/service/mcp/recorder.d.ts +1 -0
  96. package/vendor/node_modules/@agent-recorder/service/mcp/recorder.d.ts.map +1 -1
  97. package/vendor/node_modules/@agent-recorder/service/mcp/recorder.js +5 -2
  98. package/vendor/node_modules/@agent-recorder/service/mcp/recorder.js.map +1 -1
  99. package/vendor/node_modules/@agent-recorder/service/routes/events.d.ts.map +1 -1
  100. package/vendor/node_modules/@agent-recorder/service/routes/events.js +1 -0
  101. package/vendor/node_modules/@agent-recorder/service/routes/events.js.map +1 -1
@@ -13,7 +13,7 @@ import { allocateSequence, deriveErrorCategory, insertEvent, redactAndTruncate,
13
13
  * @returns The event ID if successful, null if recording failed
14
14
  */
15
15
  export function recordToolCall(options) {
16
- const { db, sessionId, parentEventId, toolName, mcpMethod, input, output, status, startedAt, endedAt, redactKeys, debugProxy, } = options;
16
+ const { db, sessionId, parentEventId, toolName, mcpMethod, upstreamKey, input, output, status, startedAt, endedAt, redactKeys, debugProxy, } = options;
17
17
  try {
18
18
  // Allocate sequence atomically
19
19
  const sequence = allocateSequence(db, sessionId);
@@ -28,6 +28,7 @@ export function recordToolCall(options) {
28
28
  // - agentName = "claude-code" (stable identifier for the agent)
29
29
  // - toolName = actual tool name from params.name
30
30
  // - mcpMethod = "tools/call" (or whatever MCP method was invoked)
31
+ // - upstreamKey = server key from router mode (null for legacy single-upstream)
31
32
  insertEvent(db, {
32
33
  id: eventId,
33
34
  sessionId,
@@ -39,6 +40,7 @@ export function recordToolCall(options) {
39
40
  skillName: null,
40
41
  toolName,
41
42
  mcpMethod: mcpMethod ?? "tools/call",
43
+ upstreamKey: upstreamKey ?? null,
42
44
  startedAt,
43
45
  endedAt,
44
46
  status,
@@ -49,7 +51,8 @@ export function recordToolCall(options) {
49
51
  // Debug logging: metadata only, no payloads
50
52
  if (debugProxy) {
51
53
  const durationMs = new Date(endedAt).getTime() - new Date(startedAt).getTime();
52
- console.log(`[DEBUG] tool_call: session=${sessionId} seq=${sequence} tool=${toolName} status=${status} duration=${durationMs}ms`);
54
+ const upstreamInfo = upstreamKey ? ` upstream=${upstreamKey}` : "";
55
+ console.log(`[DEBUG] tool_call: session=${sessionId} seq=${sequence} tool=${toolName}${upstreamInfo} status=${status} duration=${durationMs}ms`);
53
56
  }
54
57
  return eventId;
55
58
  }
@@ -1 +1 @@
1
- {"version":3,"file":"recorder.js","sourceRoot":"","sources":["../../src/mcp/recorder.ts"],"names":[],"mappings":"AAAA;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,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAU3C,UAAU,mBAAmB;IAC3B,EAAE,EAAE,QAAQ,CAAC,QAAQ,CAAC;CACvB;AAED,wBAAsB,oBAAoB,CACxC,GAAG,EAAE,eAAe,EACpB,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,IAAI,CAAC,CA+Ef"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/routes/events.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAU3C,UAAU,mBAAmB;IAC3B,EAAE,EAAE,QAAQ,CAAC,QAAQ,CAAC;CACvB;AAED,wBAAsB,oBAAoB,CACxC,GAAG,EAAE,eAAe,EACpB,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,IAAI,CAAC,CAgFf"}
@@ -57,6 +57,7 @@ export async function registerEventsRoutes(app, options) {
57
57
  return {
58
58
  toolName: event.toolName,
59
59
  mcpMethod: event.mcpMethod,
60
+ upstreamKey: event.upstreamKey,
60
61
  startedAt: event.startedAt,
61
62
  };
62
63
  }
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/routes/events.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,2BAA2B,EAC3B,oBAAoB,EACpB,sBAAsB,GAEvB,MAAM,sBAAsB,CAAC;AAM9B,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,GAAoB,EACpB,OAA4B;IAE5B,MAAM,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC;IAEvB,qBAAqB;IACrB,GAAG,CAAC,IAAI,CACN,aAAa,EACb,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE;QACvB,IAAI,CAAC;YACH,MAA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