@cchistory/lite 0.8.3 → 0.9.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.
Files changed (297) hide show
  1. package/INSTALL.md +1 -1
  2. package/apps/lite-cli/dist/agent-contract.d.ts.map +1 -1
  3. package/apps/lite-cli/dist/agent-contract.js +41 -2
  4. package/apps/lite-cli/dist/agent-contract.js.map +1 -1
  5. package/apps/lite-cli/dist/help.js +5 -5
  6. package/apps/lite-cli/dist/index.d.ts.map +1 -1
  7. package/apps/lite-cli/dist/index.js +148 -17
  8. package/apps/lite-cli/dist/index.js.map +1 -1
  9. package/apps/lite-cli/dist/index.test.js +114 -95
  10. package/apps/lite-cli/dist/index.test.js.map +1 -1
  11. package/apps/lite-cli/dist/inventory-and-git.test.d.ts +7 -0
  12. package/apps/lite-cli/dist/inventory-and-git.test.d.ts.map +1 -0
  13. package/apps/lite-cli/dist/inventory-and-git.test.js +776 -0
  14. package/apps/lite-cli/dist/inventory-and-git.test.js.map +1 -0
  15. package/apps/lite-cli/dist/inventory-command.d.ts +30 -0
  16. package/apps/lite-cli/dist/inventory-command.d.ts.map +1 -0
  17. package/apps/lite-cli/dist/inventory-command.js +265 -0
  18. package/apps/lite-cli/dist/inventory-command.js.map +1 -0
  19. package/apps/lite-cli/dist/json-v2.d.ts +2 -2
  20. package/apps/lite-cli/dist/json-v2.d.ts.map +1 -1
  21. package/apps/lite-cli/dist/json-v2.js +9 -3
  22. package/apps/lite-cli/dist/json-v2.js.map +1 -1
  23. package/apps/lite-cli/dist/project-git-command.d.ts +28 -0
  24. package/apps/lite-cli/dist/project-git-command.d.ts.map +1 -0
  25. package/apps/lite-cli/dist/project-git-command.js +288 -0
  26. package/apps/lite-cli/dist/project-git-command.js.map +1 -0
  27. package/apps/lite-cli/dist/startup-render.d.ts +10 -0
  28. package/apps/lite-cli/dist/startup-render.d.ts.map +1 -0
  29. package/apps/lite-cli/dist/startup-render.js +335 -0
  30. package/apps/lite-cli/dist/startup-render.js.map +1 -0
  31. package/apps/lite-cli/dist/version.d.ts +1 -1
  32. package/apps/lite-cli/dist/version.js +1 -1
  33. package/apps/lite-tui/dist/render.d.ts +1 -1
  34. package/apps/lite-tui/dist/version.d.ts +1 -1
  35. package/apps/lite-tui/dist/version.js +1 -1
  36. package/docs/guide/for-agents.md +14 -0
  37. package/docs/guide/lite.md +53 -2
  38. package/node_modules/@cchistory/canonical/dist/agent-inventory.d.ts +25 -0
  39. package/node_modules/@cchistory/canonical/dist/agent-inventory.d.ts.map +1 -0
  40. package/node_modules/@cchistory/canonical/dist/agent-inventory.js +345 -0
  41. package/node_modules/@cchistory/canonical/dist/agent-inventory.js.map +1 -0
  42. package/node_modules/@cchistory/canonical/dist/agent-inventory.test.d.ts +7 -0
  43. package/node_modules/@cchistory/canonical/dist/agent-inventory.test.d.ts.map +1 -0
  44. package/node_modules/@cchistory/canonical/dist/agent-inventory.test.js +231 -0
  45. package/node_modules/@cchistory/canonical/dist/agent-inventory.test.js.map +1 -0
  46. package/node_modules/@cchistory/canonical/dist/directory-scope.d.ts.map +1 -1
  47. package/node_modules/@cchistory/canonical/dist/directory-scope.js +4 -1
  48. package/node_modules/@cchistory/canonical/dist/directory-scope.js.map +1 -1
  49. package/node_modules/@cchistory/canonical/dist/index.d.ts +2 -0
  50. package/node_modules/@cchistory/canonical/dist/index.d.ts.map +1 -1
  51. package/node_modules/@cchistory/canonical/dist/index.js +2 -0
  52. package/node_modules/@cchistory/canonical/dist/index.js.map +1 -1
  53. package/node_modules/@cchistory/canonical/dist/project-merge.d.ts +42 -0
  54. package/node_modules/@cchistory/canonical/dist/project-merge.d.ts.map +1 -0
  55. package/node_modules/@cchistory/canonical/dist/project-merge.js +396 -0
  56. package/node_modules/@cchistory/canonical/dist/project-merge.js.map +1 -0
  57. package/node_modules/@cchistory/canonical/dist/project-merge.test.d.ts +7 -0
  58. package/node_modules/@cchistory/canonical/dist/project-merge.test.d.ts.map +1 -0
  59. package/node_modules/@cchistory/canonical/dist/project-merge.test.js +319 -0
  60. package/node_modules/@cchistory/canonical/dist/project-merge.test.js.map +1 -0
  61. package/node_modules/@cchistory/canonical/dist/query.js +1 -1
  62. package/node_modules/@cchistory/canonical/dist/query.js.map +1 -1
  63. package/node_modules/@cchistory/canonical/dist/session-interpreter.d.ts.map +1 -1
  64. package/node_modules/@cchistory/canonical/dist/session-interpreter.js +38 -0
  65. package/node_modules/@cchistory/canonical/dist/session-interpreter.js.map +1 -1
  66. package/node_modules/@cchistory/canonical/dist/tool-call-summary.d.ts.map +1 -1
  67. package/node_modules/@cchistory/canonical/dist/tool-call-summary.js +18 -2
  68. package/node_modules/@cchistory/canonical/dist/tool-call-summary.js.map +1 -1
  69. package/node_modules/@cchistory/canonical/dist/usage-anomalies.d.ts.map +1 -1
  70. package/node_modules/@cchistory/canonical/dist/usage-anomalies.js +2 -0
  71. package/node_modules/@cchistory/canonical/dist/usage-anomalies.js.map +1 -1
  72. package/node_modules/@cchistory/canonical/dist/usage-call-evaluation.d.ts.map +1 -1
  73. package/node_modules/@cchistory/canonical/dist/usage-call-evaluation.js +4 -1
  74. package/node_modules/@cchistory/canonical/dist/usage-call-evaluation.js.map +1 -1
  75. package/node_modules/@cchistory/canonical/dist/usage-trace.d.ts.map +1 -1
  76. package/node_modules/@cchistory/canonical/dist/usage-trace.js +3 -1
  77. package/node_modules/@cchistory/canonical/dist/usage-trace.js.map +1 -1
  78. package/node_modules/@cchistory/canonical/dist/usage-trace.test.js +73 -0
  79. package/node_modules/@cchistory/canonical/dist/usage-trace.test.js.map +1 -1
  80. package/node_modules/@cchistory/canonical/dist/usage.d.ts +1 -0
  81. package/node_modules/@cchistory/canonical/dist/usage.d.ts.map +1 -1
  82. package/node_modules/@cchistory/canonical/dist/usage.js +23 -17
  83. package/node_modules/@cchistory/canonical/dist/usage.js.map +1 -1
  84. package/node_modules/@cchistory/canonical/package.json +1 -1
  85. package/node_modules/@cchistory/domain/dist/agent-inventory.d.ts +146 -0
  86. package/node_modules/@cchistory/domain/dist/agent-inventory.d.ts.map +1 -0
  87. package/node_modules/@cchistory/domain/dist/agent-inventory.js +9 -0
  88. package/node_modules/@cchistory/domain/dist/agent-inventory.js.map +1 -0
  89. package/node_modules/@cchistory/domain/dist/agent-startup.d.ts +362 -0
  90. package/node_modules/@cchistory/domain/dist/agent-startup.d.ts.map +1 -0
  91. package/node_modules/@cchistory/domain/dist/agent-startup.js +8 -0
  92. package/node_modules/@cchistory/domain/dist/agent-startup.js.map +1 -0
  93. package/node_modules/@cchistory/domain/dist/index.d.ts +8 -1
  94. package/node_modules/@cchistory/domain/dist/index.d.ts.map +1 -1
  95. package/node_modules/@cchistory/domain/dist/index.js +3 -0
  96. package/node_modules/@cchistory/domain/dist/index.js.map +1 -1
  97. package/node_modules/@cchistory/domain/dist/index.test.js +27 -1
  98. package/node_modules/@cchistory/domain/dist/index.test.js.map +1 -1
  99. package/node_modules/@cchistory/domain/dist/project-git.d.ts +121 -0
  100. package/node_modules/@cchistory/domain/dist/project-git.d.ts.map +1 -0
  101. package/node_modules/@cchistory/domain/dist/project-git.js +93 -0
  102. package/node_modules/@cchistory/domain/dist/project-git.js.map +1 -0
  103. package/node_modules/@cchistory/domain/dist/token-evidence.d.ts.map +1 -1
  104. package/node_modules/@cchistory/domain/dist/token-evidence.js +3 -1
  105. package/node_modules/@cchistory/domain/dist/token-evidence.js.map +1 -1
  106. package/node_modules/@cchistory/domain/package.json +1 -1
  107. package/node_modules/@cchistory/live-runtime/dist/index.d.ts +4 -1
  108. package/node_modules/@cchistory/live-runtime/dist/index.d.ts.map +1 -1
  109. package/node_modules/@cchistory/live-runtime/dist/index.js +3 -1
  110. package/node_modules/@cchistory/live-runtime/dist/index.js.map +1 -1
  111. package/node_modules/@cchistory/live-runtime/dist/index.test.js +266 -38
  112. package/node_modules/@cchistory/live-runtime/dist/index.test.js.map +1 -1
  113. package/node_modules/@cchistory/live-runtime/dist/inventory-and-git.d.ts +35 -0
  114. package/node_modules/@cchistory/live-runtime/dist/inventory-and-git.d.ts.map +1 -0
  115. package/node_modules/@cchistory/live-runtime/dist/inventory-and-git.js +68 -0
  116. package/node_modules/@cchistory/live-runtime/dist/inventory-and-git.js.map +1 -0
  117. package/node_modules/@cchistory/live-runtime/package.json +1 -1
  118. package/node_modules/@cchistory/source-adapters/dist/core/conversation-seeds.d.ts +3 -0
  119. package/node_modules/@cchistory/source-adapters/dist/core/conversation-seeds.d.ts.map +1 -1
  120. package/node_modules/@cchistory/source-adapters/dist/core/conversation-seeds.js.map +1 -1
  121. package/node_modules/@cchistory/source-adapters/dist/core/discovery.d.ts.map +1 -1
  122. package/node_modules/@cchistory/source-adapters/dist/core/discovery.js +60 -4
  123. package/node_modules/@cchistory/source-adapters/dist/core/discovery.js.map +1 -1
  124. package/node_modules/@cchistory/source-adapters/dist/core/git-project.d.ts +9 -0
  125. package/node_modules/@cchistory/source-adapters/dist/core/git-project.d.ts.map +1 -1
  126. package/node_modules/@cchistory/source-adapters/dist/core/git-project.js +130 -7
  127. package/node_modules/@cchistory/source-adapters/dist/core/git-project.js.map +1 -1
  128. package/node_modules/@cchistory/source-adapters/dist/core/parser.d.ts +1 -1
  129. package/node_modules/@cchistory/source-adapters/dist/core/parser.d.ts.map +1 -1
  130. package/node_modules/@cchistory/source-adapters/dist/core/parser.js +198 -1
  131. package/node_modules/@cchistory/source-adapters/dist/core/parser.js.map +1 -1
  132. package/node_modules/@cchistory/source-adapters/dist/core/probe.d.ts.map +1 -1
  133. package/node_modules/@cchistory/source-adapters/dist/core/probe.js +85 -5
  134. package/node_modules/@cchistory/source-adapters/dist/core/probe.js.map +1 -1
  135. package/node_modules/@cchistory/source-adapters/dist/core/registry.test.js +17 -1
  136. package/node_modules/@cchistory/source-adapters/dist/core/registry.test.js.map +1 -1
  137. package/node_modules/@cchistory/source-adapters/dist/core/session-grouping.d.ts.map +1 -1
  138. package/node_modules/@cchistory/source-adapters/dist/core/session-grouping.js +44 -0
  139. package/node_modules/@cchistory/source-adapters/dist/core/session-grouping.js.map +1 -1
  140. package/node_modules/@cchistory/source-adapters/dist/core/source-identity.d.ts.map +1 -1
  141. package/node_modules/@cchistory/source-adapters/dist/core/source-identity.js +12 -0
  142. package/node_modules/@cchistory/source-adapters/dist/core/source-identity.js.map +1 -1
  143. package/node_modules/@cchistory/source-adapters/dist/index.d.ts +5 -0
  144. package/node_modules/@cchistory/source-adapters/dist/index.d.ts.map +1 -1
  145. package/node_modules/@cchistory/source-adapters/dist/index.js +5 -0
  146. package/node_modules/@cchistory/source-adapters/dist/index.js.map +1 -1
  147. package/node_modules/@cchistory/source-adapters/dist/index.test.d.ts +6 -0
  148. package/node_modules/@cchistory/source-adapters/dist/index.test.d.ts.map +1 -1
  149. package/node_modules/@cchistory/source-adapters/dist/index.test.js +6 -0
  150. package/node_modules/@cchistory/source-adapters/dist/index.test.js.map +1 -1
  151. package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.d.ts +14 -0
  152. package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.d.ts.map +1 -0
  153. package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.js +397 -0
  154. package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.js.map +1 -0
  155. package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.test.d.ts +6 -0
  156. package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.test.d.ts.map +1 -0
  157. package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.test.js +106 -0
  158. package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.test.js.map +1 -0
  159. package/node_modules/@cchistory/source-adapters/dist/inventory/config-io.d.ts +42 -0
  160. package/node_modules/@cchistory/source-adapters/dist/inventory/config-io.d.ts.map +1 -0
  161. package/node_modules/@cchistory/source-adapters/dist/inventory/config-io.js +368 -0
  162. package/node_modules/@cchistory/source-adapters/dist/inventory/config-io.js.map +1 -0
  163. package/node_modules/@cchistory/source-adapters/dist/inventory/redaction.d.ts +22 -0
  164. package/node_modules/@cchistory/source-adapters/dist/inventory/redaction.d.ts.map +1 -0
  165. package/node_modules/@cchistory/source-adapters/dist/inventory/redaction.js +195 -0
  166. package/node_modules/@cchistory/source-adapters/dist/inventory/redaction.js.map +1 -0
  167. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity-helpers.d.ts +23 -0
  168. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity-helpers.d.ts.map +1 -0
  169. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity-helpers.js +147 -0
  170. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity-helpers.js.map +1 -0
  171. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity.d.ts +11 -0
  172. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity.d.ts.map +1 -0
  173. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity.js +339 -0
  174. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity.js.map +1 -0
  175. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code-helpers.d.ts +70 -0
  176. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code-helpers.d.ts.map +1 -0
  177. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code-helpers.js +257 -0
  178. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code-helpers.js.map +1 -0
  179. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code.d.ts +11 -0
  180. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code.d.ts.map +1 -0
  181. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code.js +321 -0
  182. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code.js.map +1 -0
  183. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/codex.d.ts +12 -0
  184. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/codex.d.ts.map +1 -0
  185. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/codex.js +363 -0
  186. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/codex.js.map +1 -0
  187. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/deepseek-harness.d.ts +20 -0
  188. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/deepseek-harness.d.ts.map +1 -0
  189. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/deepseek-harness.js +408 -0
  190. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/deepseek-harness.js.map +1 -0
  191. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/index.d.ts +24 -0
  192. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/index.d.ts.map +1 -0
  193. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/index.js +225 -0
  194. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/index.js.map +1 -0
  195. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/opencode.d.ts +12 -0
  196. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/opencode.d.ts.map +1 -0
  197. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/opencode.js +372 -0
  198. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/opencode.js.map +1 -0
  199. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/shared.d.ts +62 -0
  200. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/shared.d.ts.map +1 -0
  201. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/shared.js +428 -0
  202. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/shared.js.map +1 -0
  203. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/startup.test.d.ts +7 -0
  204. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/startup.test.d.ts.map +1 -0
  205. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/startup.test.js +399 -0
  206. package/node_modules/@cchistory/source-adapters/dist/inventory/startup/startup.test.js.map +1 -0
  207. package/node_modules/@cchistory/source-adapters/dist/inventory/toml.d.ts +16 -0
  208. package/node_modules/@cchistory/source-adapters/dist/inventory/toml.d.ts.map +1 -0
  209. package/node_modules/@cchistory/source-adapters/dist/inventory/toml.js +478 -0
  210. package/node_modules/@cchistory/source-adapters/dist/inventory/toml.js.map +1 -0
  211. package/node_modules/@cchistory/source-adapters/dist/platforms/cursor-agent.test.js +2 -0
  212. package/node_modules/@cchistory/source-adapters/dist/platforms/cursor-agent.test.js.map +1 -1
  213. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/reader.d.ts +28 -0
  214. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/reader.d.ts.map +1 -0
  215. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/reader.js +443 -0
  216. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/reader.js.map +1 -0
  217. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/runtime.d.ts +4 -0
  218. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/runtime.d.ts.map +1 -0
  219. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/runtime.js +370 -0
  220. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/runtime.js.map +1 -0
  221. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.d.ts +3 -0
  222. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.d.ts.map +1 -0
  223. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.js +78 -0
  224. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.js.map +1 -0
  225. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.test.d.ts +2 -0
  226. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.test.d.ts.map +1 -0
  227. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.test.js +313 -0
  228. package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.test.js.map +1 -0
  229. package/node_modules/@cchistory/source-adapters/dist/platforms/generic/runtime.d.ts.map +1 -1
  230. package/node_modules/@cchistory/source-adapters/dist/platforms/generic/runtime.js +14 -0
  231. package/node_modules/@cchistory/source-adapters/dist/platforms/generic/runtime.js.map +1 -1
  232. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/runtime.d.ts +4 -0
  233. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/runtime.d.ts.map +1 -0
  234. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/runtime.js +306 -0
  235. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/runtime.js.map +1 -0
  236. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/sqlite.d.ts +8 -0
  237. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/sqlite.d.ts.map +1 -0
  238. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/sqlite.js +499 -0
  239. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/sqlite.js.map +1 -0
  240. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.d.ts +9 -0
  241. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.d.ts.map +1 -0
  242. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.js +53 -0
  243. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.js.map +1 -0
  244. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.test.d.ts +2 -0
  245. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.test.d.ts.map +1 -0
  246. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.test.js +314 -0
  247. package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.test.js.map +1 -0
  248. package/node_modules/@cchistory/source-adapters/dist/platforms/oh-my-pi.d.ts +9 -0
  249. package/node_modules/@cchistory/source-adapters/dist/platforms/oh-my-pi.d.ts.map +1 -0
  250. package/node_modules/@cchistory/source-adapters/dist/platforms/oh-my-pi.js +84 -0
  251. package/node_modules/@cchistory/source-adapters/dist/platforms/oh-my-pi.js.map +1 -0
  252. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite-records.d.ts +50 -0
  253. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite-records.d.ts.map +1 -0
  254. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite-records.js +291 -0
  255. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite-records.js.map +1 -0
  256. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite.d.ts +8 -0
  257. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite.d.ts.map +1 -0
  258. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite.js +321 -0
  259. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite.js.map +1 -0
  260. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode-sqlite.test.d.ts +2 -0
  261. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode-sqlite.test.d.ts.map +1 -0
  262. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode-sqlite.test.js +245 -0
  263. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode-sqlite.test.js.map +1 -0
  264. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode.d.ts.map +1 -1
  265. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode.js +30 -7
  266. package/node_modules/@cchistory/source-adapters/dist/platforms/opencode.js.map +1 -1
  267. package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/reader.d.ts +44 -0
  268. package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/reader.d.ts.map +1 -0
  269. package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/reader.js +533 -0
  270. package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/reader.js.map +1 -0
  271. package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/runtime.d.ts +4 -0
  272. package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/runtime.d.ts.map +1 -0
  273. package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/runtime.js +375 -0
  274. package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/runtime.js.map +1 -0
  275. package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family.test.d.ts +2 -0
  276. package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family.test.d.ts.map +1 -0
  277. package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family.test.js +346 -0
  278. package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family.test.js.map +1 -0
  279. package/node_modules/@cchistory/source-adapters/dist/platforms/pi.d.ts +8 -0
  280. package/node_modules/@cchistory/source-adapters/dist/platforms/pi.d.ts.map +1 -0
  281. package/node_modules/@cchistory/source-adapters/dist/platforms/pi.js +60 -0
  282. package/node_modules/@cchistory/source-adapters/dist/platforms/pi.js.map +1 -0
  283. package/node_modules/@cchistory/source-adapters/dist/platforms/registry.d.ts.map +1 -1
  284. package/node_modules/@cchistory/source-adapters/dist/platforms/registry.js +8 -0
  285. package/node_modules/@cchistory/source-adapters/dist/platforms/registry.js.map +1 -1
  286. package/node_modules/@cchistory/source-adapters/dist/platforms/types.d.ts +3 -1
  287. package/node_modules/@cchistory/source-adapters/dist/platforms/types.d.ts.map +1 -1
  288. package/node_modules/@cchistory/source-adapters/dist/platforms/types.js +5 -1
  289. package/node_modules/@cchistory/source-adapters/dist/platforms/types.js.map +1 -1
  290. package/node_modules/@cchistory/source-adapters/package.json +1 -1
  291. package/package.json +5 -5
  292. package/schemas/cchistory-lite-agent-v1.schema.json +3 -1
  293. package/schemas/cchistory-lite-envelope-v1.schema.json +33 -0
  294. package/schemas/cchistory-lite-inventory-v1.schema.json +94 -0
  295. package/schemas/cchistory-lite-merged-projects-v1.schema.json +44 -0
  296. package/schemas/cchistory-lite-v2.schema.json +22 -1
  297. package/skills/using-cchistory-lite/SKILL.md +17 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startup-render.js","sourceRoot":"","sources":["../src/startup-render.ts"],"names":[],"mappings":"AAAA;;;;;;G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,IAAI,CAAC,OAAO,IAAI,GAAG,OAAO,GAAG,KAAK,GAAG,GAAG,EAAE,CAAC,CAAC;IACpD,CAAC;AACH,CAAC;AAED,SAAS,uBAAuB,CAAC,GAA2B;IAC1D,IAAI,CAAC,CAAC,WAAW,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,MAAM,KAAK,kBAAkB,EAAE,CAAC;QAC7E,OAAO,GAAG,CAAC,MAAM,CAAC,wBAAwB,IAAI,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;IAC/E,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,WAAW,CAAC,KAAa;IAChC,IAAI,KAAK,GAAG,IAAI;QAAE,OAAO,GAAG,KAAK,IAAI,CAAC;IACtC,MAAM,EAAE,GAAG,KAAK,GAAG,IAAI,CAAC;IACxB,OAAO,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;AAC3D,CAAC"}
@@ -7,5 +7,5 @@
7
7
  * package manifest so the two cannot drift; `release-prepare.mjs` rewrites
8
8
  * this literal when cutting a release.
9
9
  */
10
- export declare const VERSION = "0.8.3";
10
+ export declare const VERSION = "0.9.1";
11
11
  //# sourceMappingURL=version.d.ts.map
@@ -7,5 +7,5 @@
7
7
  * package manifest so the two cannot drift; `release-prepare.mjs` rewrites
8
8
  * this literal when cutting a release.
9
9
  */
10
- export const VERSION = "0.8.3";
10
+ export const VERSION = "0.9.1";
11
11
  //# sourceMappingURL=version.js.map
@@ -10,7 +10,7 @@ import type { TurnSearchResult } from "@cchistory/domain";
10
10
  import type { LiteBrowserModel } from "./model.js";
11
11
  import { type LiteBrowserState, type LiteSearchGroup } from "./state.js";
12
12
  /** Byte-identical to the pre-rewrite banner: release verifiers grep for both. */
13
- export declare const BANNER_TITLE = "CC History Lite TUI 0.8.3";
13
+ export declare const BANNER_TITLE = "CC History Lite TUI 0.9.1";
14
14
  export declare const BANNER_SUBTITLE = "Ephemeral live snapshot \u00B7 single machine \u00B7 no Full store";
15
15
  export declare const DEFAULT_WIDTH = 120;
16
16
  export declare const DEFAULT_HEIGHT = 40;
@@ -7,5 +7,5 @@
7
7
  * matches the package manifest so the two cannot drift; `release-prepare.mjs`
8
8
  * rewrites this literal when cutting a release.
9
9
  */
10
- export declare const VERSION = "0.8.3";
10
+ export declare const VERSION = "0.9.1";
11
11
  //# sourceMappingURL=version.d.ts.map
@@ -7,5 +7,5 @@
7
7
  * matches the package manifest so the two cannot drift; `release-prepare.mjs`
8
8
  * rewrites this literal when cutting a release.
9
9
  */
10
- export const VERSION = "0.8.3";
10
+ export const VERSION = "0.9.1";
11
11
  //# sourceMappingURL=version.js.map
@@ -125,6 +125,20 @@ error lines on stdout and leave the shell available for subsequent commands.
125
125
 
126
126
  ## Composition recipes
127
127
 
128
+ - **Audit local agent/MCP configs & pre-launch startup contexts**: run
129
+ `cchistory-lite inventory --json` (or `--envelope --host-id <name>`) for the
130
+ machine-wide overview, redacted MCP servers (key names only), extensions, and
131
+ 30-day tool activity. Add `--dir <path>` and/or `--agent <tool>`
132
+ (`claude_code`, `codex`, `antigravity`, `opencode`, `deepseek_harness`) to
133
+ resolve each tool's native pre-launch startup context (`CLAUDE.md` `@import`s,
134
+ Codex trust gates and 32 KiB doc budget, Antigravity rule caps/budgets and
135
+ plugin bundles, OpenCode JSONC cascade and `CLAUDE.md` fallback, DeepSeek
136
+ Harness Cordis YAML layers without reading `.credentials.yaml`). Pass
137
+ `--no-activity` for static inspection without a history scan.
138
+ - **Reconcile projects across hosts**: run `cchistory-lite ls projects --no-dir --all --with-git --host-id <host> --json`
139
+ (or `--no-dir --with-git --envelope --host-id <host>`, which exports all rows by default)
140
+ on each machine, then run `cchistory-lite merge-projects host-a.json host-b.json --json`
141
+ to compare canonical remotes, branches, commits, dirty/unpushed/behind/no-upstream status, and AI activity. Duplicate `host_id` inputs exit 2.
128
142
  - **Find an answer, then read**: in shell, send
129
143
  `{"kind":"search","query":"<q>","content":"conversation"}` and then
130
144
  `{"kind":"read","turn_ref":"<turn_id>"}`. If the hit has a null turn ID,
@@ -96,7 +96,7 @@ roots before probing them.
96
96
 
97
97
  ```text
98
98
  sources
99
- ls [projects|sessions|families|sources] [--limit <n>|--all] [--dir <path>]
99
+ ls [projects|sessions|families|sources] [--limit <n>|--all] [--with-git] [--envelope --host-id <name>] [--dir <path>]
100
100
  latest [sessions|turns] [N] [--dir <path>]
101
101
  sample [N] [--dir <path>] [--no-dir]
102
102
  tree [projects|project <ref>|session <ref>] [--dir <path>]
@@ -110,6 +110,9 @@ stats [--by source|project|model|session|family|tool|turn|hour|hour_of_day|day|w
110
110
  [--explain-pricing] [--export-pricing <file|->] [--dir <path>] [--no-dir]
111
111
  trace <session_ref|turn_ref> [--include-subagents] [--only-anomalies] [--limit <n>] [--offset <n>]
112
112
  [--pricing <file>] [--tz <zone>]
113
+ inventory [--home <path>] [--dir <path>] [--no-dir] [--since <window>] [--no-activity]
114
+ [--envelope --host-id <name>] [--json]
115
+ merge-projects <file1.json> <file2.json> [...] [--json] [--envelope --host-id <name>]
113
116
  query --request <file|-> | --sql <text> | --sql-file <file|-> [--params <JSON-array>] [--complete]
114
117
  [--dir <path>] [--no-dir]
115
118
  shell [--dir <path>] [--no-dir] [--idle-timeout <seconds>]
@@ -167,7 +170,55 @@ rates in rollup tables (adapting to terminal width and degrading cleanly under
167
170
  `efficiency` and `quota_pace` fields.
168
171
 
169
172
  `ls` shows 20 rows by default. Pass `--limit <n>` or `--all`; JSON collection
170
- payloads include the untruncated `total` and returned `shown` counts. `ls families`
173
+ payloads include the untruncated `total` and returned `shown` counts. Pass
174
+ `--with-git` on `ls projects` (opt-in, off by default) to run bounded,
175
+ offline-only, read-only Git inspection for each project with a local path:
176
+ canonicalized `repo_remote` (`host/owner/repo`, lowercase, `.git` and embedded
177
+ credentials stripped), `branch`, `head_sha`, `head_committed_at`, `dirty_files`,
178
+ and upstream `ahead`/`behind`. Combine with `--envelope --host-id <name>` to
179
+ emit the shared read-only v1 JSON envelope (`domain: "projects"`, `delta: null`;
180
+ exports all rows by default unless `--limit` is passed). When exporting plain
181
+ `--json` for `merge-projects`, pass `--no-dir --all --with-git --host-id <name>`.
182
+ `merge-projects <file1.json> <file2.json> [...]` is a pure file-input command
183
+ that reconciles project snapshots exported from multiple hosts by canonical
184
+ `repo_remote` (falling back to normalized directory name with
185
+ `match_kind: "directory_fallback"` for non-Git projects). It rejects duplicate
186
+ `host_id` inputs (exit 2), warns on truncated or non-`--with-git` snapshots, and
187
+ reports hosts carrying each project, latest-commit host(s), branch/commit
188
+ divergence, dirty/unpushed/behind/no-upstream status, and per-host AI activity.
189
+
190
+ `inventory` scans local AI coding-agent configurations read-only across Codex,
191
+ Claude Code, Grok CLI, Google Antigravity, OpenCode, DeepSeek Harness, and
192
+ Gemini CLI (defaults to whole machine; `--home <path>` overrides the home root
193
+ for fixture testing). Parameterless `inventory` reports the machine-wide
194
+ overview: configured agents, strictly redacted MCP servers (URL basic auth and
195
+ query token values stripped, command secrets redacted, and `env_keys` /
196
+ `header_keys` key names only), local extension entry names (skills, rules,
197
+ subagent definitions, plugins, and hooks), and `--since 30d` tool-call activity
198
+ correlation (`used_in_window`, `call_count`, `last_used_at`, and
199
+ `unused_mcp_servers`). Passing `--agent <tool>` (repeatable or comma-separated,
200
+ accepting aliases such as `claude`, `agy`, `dsh`) defaults `--dir` to `$PWD`
201
+ (pass `--no-dir` for global only) and focuses terminal output on the requested
202
+ tool(s)' native pre-launch startup context; passing `--dir <path>` resolves all
203
+ 5 native tools for that project. Each resolver preserves its native layers and
204
+ budgets without flattening them:
205
+ Claude Code (`CLAUDE.md` / `CLAUDE.local.md` recursive `@import` chains —
206
+ standalone `@path` lines outside fenced code blocks — `.claude/rules` YAML
207
+ `paths:` frontmatter, `settings.local.json` overrides, plugin bundles, and
208
+ 4-tier MCP precedence), Codex (`AGENTS.override.md` > `AGENTS.md` > fallbacks,
209
+ 32 KiB `project_doc_max_bytes` budget truncation, `[projects.<dir>].trust_level`
210
+ gating, and profiles), Google Antigravity (`.agents`/`.agent` hierarchy,
211
+ `skills.json`/`plugins.json` manifests, `config.json` plugin enablement, 24 KB
212
+ per-file cap, and 20,000-token rules budget demotion), OpenCode (3-tier
213
+ `opencode.json[c]` cascade, `CLAUDE.md` fallback, and v1/v2 MCP configs), and
214
+ DeepSeek Harness (`$DSH_HOME` profiles, Cordis YAML `@deepseek-ai/dsh-mcp-client`
215
+ blocks, and `.credentials.yaml` presence-only security boundary). Other
216
+ registered adapters report explicit `resolution_tier: "basic" | "unsupported"`,
217
+ and unknown `--agent` values exit 2. Pass `--no-activity` to skip the history
218
+ scan, or `--envelope --host-id <name>` for the shared read-only v1 JSON envelope
219
+ (`domain: "ai_agents"`, `stale_after_seconds: 86400`, `delta: null`).
220
+
221
+ `ls families`
171
222
  is a read-only inventory of parent sessions that have delegated subagents: combined
172
223
  native storage, per-child bytes, token totals, tool success/error counts, and
173
224
  input/output previews. Lite does not delete those files. `latest`
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Role: Pure canonical correlation of discovered AI agent configs, MCP servers, and
3
+ * extensions against native session tool-call activity over a configurable time window,
4
+ * plus read-only v1 JSON envelope construction.
5
+ * Excludes filesystem scanning, secret redaction, and CLI/TUI formatting.
6
+ */
7
+ import { type AgentInventoryEnvelopeItem, type AgentInventoryReport, type AgentInventorySummary, type AgentStartupResolution, type DiscoveredAgentInventory, type ReadOnlyEnvelopeV1, type SessionProjection } from "@cchistory/domain";
8
+ export declare const DEFAULT_INVENTORY_WINDOW = "30d";
9
+ export interface CorrelateAgentInventoryInput {
10
+ discovered: DiscoveredAgentInventory;
11
+ startupContexts?: readonly AgentStartupResolution[];
12
+ sessions?: readonly SessionProjection[];
13
+ window?: string;
14
+ nowMs?: number;
15
+ skipActivity?: boolean;
16
+ }
17
+ export interface BuildAgentInventoryEnvelopeOptions {
18
+ hostId: string;
19
+ staleAfterSeconds?: number;
20
+ activityError?: string | null;
21
+ }
22
+ export declare function correlateAgentInventory(input: CorrelateAgentInventoryInput): AgentInventoryReport;
23
+ export declare function buildAgentInventoryEnvelope(report: AgentInventoryReport, options: BuildAgentInventoryEnvelopeOptions): ReadOnlyEnvelopeV1<AgentInventorySummary, AgentInventoryEnvelopeItem>;
24
+ export declare function matchesMcpServer(toolName: string, targetSignature: string | undefined, rawServerId: string, normalizedServerId?: string): boolean;
25
+ //# sourceMappingURL=agent-inventory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-inventory.d.ts","sourceRoot":"","sources":["../src/agent-inventory.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAOL,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAG7B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACvB,MAAM,mBAAmB,CAAC;AAG3B,eAAO,MAAM,wBAAwB,QAAQ,CAAC;AAE9C,MAAM,WAAW,4BAA4B;IAC3C,UAAU,EAAE,wBAAwB,CAAC;IACrC,eAAe,CAAC,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACpD,QAAQ,CAAC,EAAE,SAAS,iBAAiB,EAAE,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,kCAAkC;IACjD,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAUD,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,GAAG,oBAAoB,CAiLjG;AAED,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EAAE,kCAAkC,GAC1C,kBAAkB,CAAC,qBAAqB,EAAE,0BAA0B,CAAC,CA0BvE;AA4DD,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,MAAM,EAChB,eAAe,EAAE,MAAM,GAAG,SAAS,EACnC,WAAW,EAAE,MAAM,EACnB,kBAAkB,SAAoC,GACrD,OAAO,CAyCT"}
@@ -0,0 +1,345 @@
1
+ /**
2
+ * Role: Pure canonical correlation of discovered AI agent configs, MCP servers, and
3
+ * extensions against native session tool-call activity over a configurable time window,
4
+ * plus read-only v1 JSON envelope construction.
5
+ * Excludes filesystem scanning, secret redaction, and CLI/TUI formatting.
6
+ */
7
+ import { AGENT_INVENTORY_SCHEMA, DEFAULT_ENVELOPE_STALE_AFTER_SECONDS, maxIso, } from "@cchistory/domain";
8
+ import { parseDateOrRelativeStart } from "./usage-time.js";
9
+ export const DEFAULT_INVENTORY_WINDOW = "30d";
10
+ export function correlateAgentInventory(input) {
11
+ const nowMs = input.nowMs ?? Date.now();
12
+ const generatedAt = new Date(nowMs).toISOString();
13
+ const windowLabel = (input.window?.trim() || DEFAULT_INVENTORY_WINDOW);
14
+ const bounds = parseDateOrRelativeStart(windowLabel, { now_ms: nowMs, timezone: "UTC" });
15
+ const afterTs = bounds.after_ts;
16
+ const sinceAt = afterTs !== undefined ? new Date(afterTs).toISOString() : null;
17
+ const mergedMcpConfigs = input.discovered.mcp_servers;
18
+ const mergedDiagnostics = mergeDiagnostics(input.discovered.diagnostics, input.startupContexts);
19
+ const startupContextsField = input.startupContexts !== undefined ? { startup_contexts: [...input.startupContexts] } : {};
20
+ const correlated = !input.skipActivity && input.sessions !== undefined;
21
+ if (!correlated) {
22
+ const agents = input.discovered.agents.map((agent) => ({
23
+ ...agent,
24
+ active_in_window: null,
25
+ session_count: null,
26
+ last_active_at: null,
27
+ }));
28
+ const mcpServers = mergedMcpConfigs.map((server) => ({
29
+ ...server,
30
+ used_in_window: null,
31
+ call_count: null,
32
+ last_used_at: null,
33
+ }));
34
+ return {
35
+ schema: AGENT_INVENTORY_SCHEMA,
36
+ kind: "agent_inventory",
37
+ generated_at: generatedAt,
38
+ home_dir: input.discovered.home_dir,
39
+ project_dir: input.discovered.project_dir,
40
+ summary: buildInventorySummary(agents, mcpServers, input.discovered.extensions, mergedDiagnostics, false),
41
+ activity: {
42
+ correlated: false,
43
+ window: windowLabel,
44
+ since_at: sinceAt,
45
+ until_at: generatedAt,
46
+ total_sessions: 0,
47
+ total_tool_calls: 0,
48
+ matched_mcp_calls: 0,
49
+ unmatched_mcp_tool_names: [],
50
+ },
51
+ agents,
52
+ mcp_servers: mcpServers,
53
+ extensions: [...input.discovered.extensions],
54
+ unused_mcp_servers: [],
55
+ diagnostics: mergedDiagnostics,
56
+ ...startupContextsField,
57
+ };
58
+ }
59
+ const sessions = input.sessions ?? [];
60
+ const platformSessions = new Map();
61
+ const toolEvents = [];
62
+ let totalSessionsInWindow = 0;
63
+ for (const session of sessions) {
64
+ const sessionToolEvents = collectSessionToolEventsInWindow(session, afterTs);
65
+ const sessionTsIso = session.updated_at || session.created_at;
66
+ const sessionTsMs = Date.parse(sessionTsIso);
67
+ const inWindow = afterTs === undefined ||
68
+ (Number.isFinite(sessionTsMs) && sessionTsMs >= afterTs) ||
69
+ sessionToolEvents.length > 0;
70
+ if (!inWindow)
71
+ continue;
72
+ totalSessionsInWindow += 1;
73
+ const prev = platformSessions.get(session.source_platform) ?? { count: 0, lastActiveAt: null };
74
+ prev.count += 1;
75
+ prev.lastActiveAt = maxIso(prev.lastActiveAt ?? undefined, sessionTsIso) ?? prev.lastActiveAt;
76
+ for (const ev of sessionToolEvents) {
77
+ prev.lastActiveAt = maxIso(prev.lastActiveAt ?? undefined, ev.lastUsedAt) ?? prev.lastActiveAt;
78
+ toolEvents.push(ev);
79
+ }
80
+ platformSessions.set(session.source_platform, prev);
81
+ }
82
+ const agents = input.discovered.agents.map((agent) => {
83
+ const stats = platformSessions.get(agent.client);
84
+ return {
85
+ ...agent,
86
+ active_in_window: Boolean(stats && stats.count > 0),
87
+ session_count: stats?.count ?? 0,
88
+ last_active_at: stats?.lastActiveAt ?? null,
89
+ };
90
+ });
91
+ const serverAccumulators = mergedMcpConfigs.map((server) => ({
92
+ server,
93
+ normalizedId: normalizeServerToken(server.server_id),
94
+ callCount: 0,
95
+ lastUsedAt: null,
96
+ matchedTools: new Set(),
97
+ }));
98
+ let totalToolCalls = 0;
99
+ let matchedMcpCalls = 0;
100
+ const unmatchedMcpTools = new Set();
101
+ for (const event of toolEvents) {
102
+ totalToolCalls += event.count;
103
+ const matchedIndices = [];
104
+ for (let idx = 0; idx < serverAccumulators.length; idx += 1) {
105
+ const acc = serverAccumulators[idx];
106
+ if (acc.server.client !== event.platform)
107
+ continue;
108
+ if (matchesMcpServer(event.toolName, event.targetSignature, acc.server.server_id, acc.normalizedId)) {
109
+ matchedIndices.push(idx);
110
+ }
111
+ }
112
+ if (matchedIndices.length > 0) {
113
+ matchedMcpCalls += event.count;
114
+ for (const idx of matchedIndices) {
115
+ const acc = serverAccumulators[idx];
116
+ acc.callCount += event.count;
117
+ acc.lastUsedAt = maxIso(acc.lastUsedAt ?? undefined, event.lastUsedAt) ?? acc.lastUsedAt;
118
+ acc.matchedTools.add(event.toolName);
119
+ }
120
+ }
121
+ else if (looksLikeMcpToolName(event.toolName)) {
122
+ unmatchedMcpTools.add(`${event.platform}:${event.toolName}`);
123
+ }
124
+ }
125
+ const mcpServers = serverAccumulators.map((acc) => ({
126
+ ...acc.server,
127
+ used_in_window: acc.callCount > 0,
128
+ call_count: acc.callCount,
129
+ last_used_at: acc.lastUsedAt,
130
+ ...(acc.matchedTools.size > 0
131
+ ? { matched_tool_names: [...acc.matchedTools].sort((a, b) => a.localeCompare(b)) }
132
+ : {}),
133
+ }));
134
+ const unusedMcpServers = mcpServers
135
+ .filter((server) => server.enabled && server.used_in_window === false)
136
+ .map((server) => ({
137
+ server_id: server.server_id,
138
+ client: server.client,
139
+ scope: server.scope,
140
+ source_path: server.source_path,
141
+ }));
142
+ const activity = {
143
+ correlated: true,
144
+ window: windowLabel,
145
+ since_at: sinceAt,
146
+ until_at: generatedAt,
147
+ total_sessions: totalSessionsInWindow,
148
+ total_tool_calls: totalToolCalls,
149
+ matched_mcp_calls: matchedMcpCalls,
150
+ unmatched_mcp_tool_names: [...unmatchedMcpTools].sort((a, b) => a.localeCompare(b)).slice(0, 50),
151
+ };
152
+ return {
153
+ schema: AGENT_INVENTORY_SCHEMA,
154
+ kind: "agent_inventory",
155
+ generated_at: generatedAt,
156
+ home_dir: input.discovered.home_dir,
157
+ project_dir: input.discovered.project_dir,
158
+ summary: buildInventorySummary(agents, mcpServers, input.discovered.extensions, mergedDiagnostics, true),
159
+ activity,
160
+ agents,
161
+ mcp_servers: mcpServers,
162
+ extensions: [...input.discovered.extensions],
163
+ unused_mcp_servers: unusedMcpServers,
164
+ diagnostics: mergedDiagnostics,
165
+ ...startupContextsField,
166
+ };
167
+ }
168
+ export function buildAgentInventoryEnvelope(report, options) {
169
+ const hasWarnOrError = report.diagnostics.some((d) => d.severity === "warning" || d.severity === "error");
170
+ let status = "ok";
171
+ if (options.activityError)
172
+ status = "partial";
173
+ else if (hasWarnOrError)
174
+ status = "partial";
175
+ const items = [
176
+ ...report.agents.map((agent) => ({ item_type: "agent", ...agent })),
177
+ ...report.mcp_servers.map((server) => ({ item_type: "mcp_server", ...server })),
178
+ ...report.extensions.map((ext) => ({ item_type: "extension", ...ext })),
179
+ ...(report.startup_contexts ?? []).map((ctx) => ({ item_type: "startup_context", ...ctx })),
180
+ ];
181
+ return {
182
+ schema_version: 1,
183
+ domain: "ai_agents",
184
+ owner: "cchistory-lite",
185
+ host_id: options.hostId,
186
+ generated_at: report.generated_at,
187
+ stale_after_seconds: options.staleAfterSeconds ?? DEFAULT_ENVELOPE_STALE_AFTER_SECONDS,
188
+ status,
189
+ error: options.activityError ?? null,
190
+ summary: report.summary,
191
+ delta: null,
192
+ items,
193
+ };
194
+ }
195
+ function collectSessionToolEventsInWindow(session, afterTs) {
196
+ const platform = session.source_platform;
197
+ const fromUsageEvents = new Map();
198
+ const toolCountsFromUsage = new Map();
199
+ for (const event of session.usage_events ?? []) {
200
+ const eventTsMs = Date.parse(event.created_at);
201
+ if (afterTs !== undefined && (!Number.isFinite(eventTsMs) || eventTsMs < afterTs)) {
202
+ continue;
203
+ }
204
+ for (const tool of event.emitted_tool_calls ?? []) {
205
+ const name = tool.tool_name.trim();
206
+ if (!name)
207
+ continue;
208
+ const key = `${name}\0${tool.target_signature ?? ""}`;
209
+ const existing = fromUsageEvents.get(key);
210
+ if (existing) {
211
+ existing.count += 1;
212
+ existing.lastUsedAt = maxIso(existing.lastUsedAt, event.created_at) ?? existing.lastUsedAt;
213
+ }
214
+ else {
215
+ fromUsageEvents.set(key, {
216
+ platform,
217
+ toolName: name,
218
+ targetSignature: tool.target_signature,
219
+ count: 1,
220
+ lastUsedAt: event.created_at,
221
+ });
222
+ }
223
+ toolCountsFromUsage.set(name, (toolCountsFromUsage.get(name) ?? 0) + 1);
224
+ }
225
+ }
226
+ const out = [...fromUsageEvents.values()];
227
+ // Include lightweight session-level tool counts for adapters without per-call usage events
228
+ // or when per-call tool summaries were capped.
229
+ for (const entry of session.tool_usage_summary ?? []) {
230
+ const tsMs = Date.parse(entry.last_used_at);
231
+ if (afterTs !== undefined && (!Number.isFinite(tsMs) || tsMs < afterTs)) {
232
+ continue;
233
+ }
234
+ const alreadyCounted = toolCountsFromUsage.get(entry.tool_name) ?? 0;
235
+ const remaining = entry.call_count - alreadyCounted;
236
+ if (remaining <= 0)
237
+ continue;
238
+ out.push({
239
+ platform,
240
+ toolName: entry.tool_name,
241
+ ...(entry.target_server ? { targetSignature: entry.target_server } : {}),
242
+ count: remaining,
243
+ lastUsedAt: entry.last_used_at,
244
+ });
245
+ }
246
+ return out;
247
+ }
248
+ export function matchesMcpServer(toolName, targetSignature, rawServerId, normalizedServerId = normalizeServerToken(rawServerId)) {
249
+ const trimmedTool = toolName.trim();
250
+ if (!trimmedTool || !normalizedServerId)
251
+ return false;
252
+ const lowerTool = trimmedTool.toLowerCase();
253
+ // Generic wrapper tools (e.g. Antigravity call_mcp_tool / use_mcp_tool) carry server name in targetSignature.
254
+ if (lowerTool === "call_mcp_tool" || lowerTool === "use_mcp_tool") {
255
+ if (!targetSignature)
256
+ return false;
257
+ const sigToken = normalizeServerToken(targetSignature.split(/[:/\s]/u, 1)[0] ?? targetSignature);
258
+ return sigToken === normalizedServerId;
259
+ }
260
+ // Standard double-underscore form: `mcp__<server>__<tool>` or `<server>__<tool>`
261
+ const mcpDouble = /^mcp__([^_](?:.*?))__.+$/iu.exec(trimmedTool);
262
+ if (mcpDouble) {
263
+ return normalizeServerToken(mcpDouble[1]) === normalizedServerId;
264
+ }
265
+ const plainDouble = /^([^_].*?)__.+$/u.exec(trimmedTool);
266
+ if (plainDouble) {
267
+ return normalizeServerToken(plainDouble[1]) === normalizedServerId;
268
+ }
269
+ // Colon or slash namespaced forms: `mcp:<server>:<tool>`, `<server>:<tool>`, `<server>/<tool>`
270
+ const mcpColon = /^mcp[:/]([^:/]+)[:/].+$/iu.exec(trimmedTool);
271
+ if (mcpColon) {
272
+ return normalizeServerToken(mcpColon[1]) === normalizedServerId;
273
+ }
274
+ const plainNamespace = /^([^:/]+)[:/].+$/u.exec(trimmedTool);
275
+ if (plainNamespace) {
276
+ return normalizeServerToken(plainNamespace[1]) === normalizedServerId;
277
+ }
278
+ // Single-underscore `mcp_<server>_<tool>` form (prefix match on normalized server id).
279
+ if (lowerTool.startsWith("mcp_")) {
280
+ const rest = lowerTool.slice(4).replace(/[^a-z0-9]+/gu, "_");
281
+ if (rest.startsWith(`${normalizedServerId}_`) && rest.length > normalizedServerId.length + 1) {
282
+ return true;
283
+ }
284
+ }
285
+ return false;
286
+ }
287
+ function looksLikeMcpToolName(toolName) {
288
+ const lower = toolName.trim().toLowerCase();
289
+ return lower.startsWith("mcp__") || lower.startsWith("mcp_") || lower.startsWith("mcp:") || lower === "call_mcp_tool";
290
+ }
291
+ function normalizeServerToken(value) {
292
+ return value.trim().toLowerCase().replace(/[^a-z0-9]+/gu, "_").replace(/^_+|_+$/gu, "");
293
+ }
294
+ function buildInventorySummary(agents, mcpServers, extensions, diagnostics, correlated) {
295
+ let skillCount = 0;
296
+ let ruleCount = 0;
297
+ let subagentCount = 0;
298
+ let pluginCount = 0;
299
+ let hookCount = 0;
300
+ for (const ext of extensions) {
301
+ if (ext.kind === "skill")
302
+ skillCount += 1;
303
+ else if (ext.kind === "rule")
304
+ ruleCount += 1;
305
+ else if (ext.kind === "subagent")
306
+ subagentCount += 1;
307
+ else if (ext.kind === "plugin")
308
+ pluginCount += 1;
309
+ else if (ext.kind === "hook")
310
+ hookCount += 1;
311
+ }
312
+ return {
313
+ agent_count: agents.length,
314
+ installed_agent_count: agents.filter((a) => a.installed).length,
315
+ configured_agent_count: agents.filter((a) => a.configured).length,
316
+ active_agent_count: correlated ? agents.filter((a) => a.active_in_window === true).length : null,
317
+ mcp_server_count: mcpServers.length,
318
+ used_mcp_server_count: correlated ? mcpServers.filter((s) => s.used_in_window === true).length : null,
319
+ unused_mcp_server_count: correlated ? mcpServers.filter((s) => s.enabled && s.used_in_window === false).length : null,
320
+ skill_count: skillCount,
321
+ rule_count: ruleCount,
322
+ subagent_count: subagentCount,
323
+ plugin_count: pluginCount,
324
+ hook_count: hookCount,
325
+ extension_count: extensions.length,
326
+ diagnostic_count: diagnostics.length,
327
+ };
328
+ }
329
+ function mergeDiagnostics(base, startupContexts) {
330
+ if (!startupContexts || startupContexts.length === 0)
331
+ return [...base];
332
+ const out = [...base];
333
+ const seen = new Set(base.map((d) => `${d.client}\0${d.code}\0${d.path}\0${d.detail}`));
334
+ for (const ctx of startupContexts) {
335
+ for (const diag of ctx.diagnostics) {
336
+ const key = `${diag.client}\0${diag.code}\0${diag.path}\0${diag.detail}`;
337
+ if (seen.has(key))
338
+ continue;
339
+ seen.add(key);
340
+ out.push(diag);
341
+ }
342
+ }
343
+ return out;
344
+ }
345
+ //# sourceMappingURL=agent-inventory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-inventory.js","sourceRoot":"","sources":["../src/agent-inventory.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,sBAAsB,EACtB,oCAAoC,EACpC,MAAM,GAaP,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAE3D,MAAM,CAAC,MAAM,wBAAwB,GAAG,KAAK,CAAC;AAyB9C,MAAM,UAAU,uBAAuB,CAAC,KAAmC;IACzE,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;IACxC,MAAM,WAAW,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;IAClD,MAAM,WAAW,GAAG,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,wBAAwB,CAAC,CAAC;IACvE,MAAM,MAAM,GAAG,wBAAwB,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC;IACzF,MAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,CAAC;IAChC,MAAM,OAAO,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAE/E,MAAM,gBAAgB,GAAG,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC;IACtD,MAAM,iBAAiB,GAAG,gBAAgB,CACxC,KAAK,CAAC,UAAU,CAAC,WAAW,EAC5B,KAAK,CAAC,eAAe,CACtB,CAAC;IACF,MAAM,oBAAoB,GACxB,KAAK,CAAC,eAAe,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,g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I,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IACxF,KAAK,MAAM,GAAG,IAAI,eAAe,EAAE,CAAC;QAClC,KAAK,MAAM,IAAI,IAAI,GAAG,CAAC,WAAW,EAAE,CAAC;YACnC,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,MAAM,EAAE,CAAC;YACzE,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;gBAAE,SAAS;YAC5B,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACd,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC;IACH,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Role: Unit tests for canonical AI agent / MCP / extension activity correlation
3
+ * and read-only v1 JSON envelope generation.
4
+ * Excludes filesystem scanning (tested in source-adapters) and CLI parsing.
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=agent-inventory.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-inventory.test.d.ts","sourceRoot":"","sources":["../src/agent-inventory.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}