@cchistory/lite 0.9.0 → 0.9.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/INSTALL.md +1 -1
- package/apps/lite-cli/dist/agent-contract.d.ts.map +1 -1
- package/apps/lite-cli/dist/agent-contract.js +41 -2
- package/apps/lite-cli/dist/agent-contract.js.map +1 -1
- package/apps/lite-cli/dist/help.js +5 -5
- package/apps/lite-cli/dist/index.d.ts.map +1 -1
- package/apps/lite-cli/dist/index.js +148 -17
- package/apps/lite-cli/dist/index.js.map +1 -1
- package/apps/lite-cli/dist/index.test.js +114 -95
- package/apps/lite-cli/dist/index.test.js.map +1 -1
- package/apps/lite-cli/dist/inventory-and-git.test.d.ts +7 -0
- package/apps/lite-cli/dist/inventory-and-git.test.d.ts.map +1 -0
- package/apps/lite-cli/dist/inventory-and-git.test.js +776 -0
- package/apps/lite-cli/dist/inventory-and-git.test.js.map +1 -0
- package/apps/lite-cli/dist/inventory-command.d.ts +30 -0
- package/apps/lite-cli/dist/inventory-command.d.ts.map +1 -0
- package/apps/lite-cli/dist/inventory-command.js +265 -0
- package/apps/lite-cli/dist/inventory-command.js.map +1 -0
- package/apps/lite-cli/dist/json-v2.d.ts +2 -2
- package/apps/lite-cli/dist/json-v2.d.ts.map +1 -1
- package/apps/lite-cli/dist/json-v2.js +9 -3
- package/apps/lite-cli/dist/json-v2.js.map +1 -1
- package/apps/lite-cli/dist/project-git-command.d.ts +28 -0
- package/apps/lite-cli/dist/project-git-command.d.ts.map +1 -0
- package/apps/lite-cli/dist/project-git-command.js +288 -0
- package/apps/lite-cli/dist/project-git-command.js.map +1 -0
- package/apps/lite-cli/dist/startup-render.d.ts +10 -0
- package/apps/lite-cli/dist/startup-render.d.ts.map +1 -0
- package/apps/lite-cli/dist/startup-render.js +335 -0
- package/apps/lite-cli/dist/startup-render.js.map +1 -0
- package/apps/lite-cli/dist/version.d.ts +1 -1
- package/apps/lite-cli/dist/version.js +1 -1
- package/apps/lite-tui/dist/index.d.ts.map +1 -1
- package/apps/lite-tui/dist/index.js +40 -9
- package/apps/lite-tui/dist/index.js.map +1 -1
- package/apps/lite-tui/dist/input.js +2 -2
- package/apps/lite-tui/dist/input.js.map +1 -1
- package/apps/lite-tui/dist/keys.d.ts.map +1 -1
- package/apps/lite-tui/dist/keys.js +52 -14
- package/apps/lite-tui/dist/keys.js.map +1 -1
- package/apps/lite-tui/dist/keys.test.js +29 -0
- package/apps/lite-tui/dist/keys.test.js.map +1 -1
- package/apps/lite-tui/dist/model.d.ts +2 -0
- package/apps/lite-tui/dist/model.d.ts.map +1 -1
- package/apps/lite-tui/dist/model.js +59 -9
- package/apps/lite-tui/dist/model.js.map +1 -1
- package/apps/lite-tui/dist/render.d.ts +1 -1
- package/apps/lite-tui/dist/render.d.ts.map +1 -1
- package/apps/lite-tui/dist/render.js +10 -4
- package/apps/lite-tui/dist/render.js.map +1 -1
- package/apps/lite-tui/dist/render.test.js +31 -0
- package/apps/lite-tui/dist/render.test.js.map +1 -1
- package/apps/lite-tui/dist/state.js +1 -1
- package/apps/lite-tui/dist/state.js.map +1 -1
- package/apps/lite-tui/dist/state.test.js +54 -0
- package/apps/lite-tui/dist/state.test.js.map +1 -1
- package/apps/lite-tui/dist/stats-dashboard.test.js +130 -0
- package/apps/lite-tui/dist/stats-dashboard.test.js.map +1 -1
- package/apps/lite-tui/dist/stats-render.d.ts +1 -1
- package/apps/lite-tui/dist/stats-render.d.ts.map +1 -1
- package/apps/lite-tui/dist/stats-render.js +3 -0
- package/apps/lite-tui/dist/stats-render.js.map +1 -1
- package/apps/lite-tui/dist/stats-visuals.d.ts.map +1 -1
- package/apps/lite-tui/dist/stats-visuals.js +3 -1
- package/apps/lite-tui/dist/stats-visuals.js.map +1 -1
- package/apps/lite-tui/dist/version.d.ts +1 -1
- package/apps/lite-tui/dist/version.js +1 -1
- package/docs/guide/for-agents.md +14 -0
- package/docs/guide/lite.md +53 -2
- package/node_modules/@cchistory/canonical/dist/agent-inventory.d.ts +25 -0
- package/node_modules/@cchistory/canonical/dist/agent-inventory.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/agent-inventory.js +345 -0
- package/node_modules/@cchistory/canonical/dist/agent-inventory.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/agent-inventory.test.d.ts +7 -0
- package/node_modules/@cchistory/canonical/dist/agent-inventory.test.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/agent-inventory.test.js +231 -0
- package/node_modules/@cchistory/canonical/dist/agent-inventory.test.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/directory-scope.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/directory-scope.js +4 -1
- package/node_modules/@cchistory/canonical/dist/directory-scope.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/fallback-projects.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/fallback-projects.js +5 -2
- package/node_modules/@cchistory/canonical/dist/fallback-projects.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/index.d.ts +3 -1
- package/node_modules/@cchistory/canonical/dist/index.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/index.js +3 -1
- package/node_modules/@cchistory/canonical/dist/index.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/index.test.js +215 -1
- package/node_modules/@cchistory/canonical/dist/index.test.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/project-linker.d.ts +2 -1
- package/node_modules/@cchistory/canonical/dist/project-linker.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/project-linker.js +113 -6
- package/node_modules/@cchistory/canonical/dist/project-linker.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/project-merge.d.ts +42 -0
- package/node_modules/@cchistory/canonical/dist/project-merge.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/project-merge.js +396 -0
- package/node_modules/@cchistory/canonical/dist/project-merge.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/project-merge.test.d.ts +7 -0
- package/node_modules/@cchistory/canonical/dist/project-merge.test.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/project-merge.test.js +319 -0
- package/node_modules/@cchistory/canonical/dist/project-merge.test.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/session-interpreter.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/session-interpreter.js +38 -0
- package/node_modules/@cchistory/canonical/dist/session-interpreter.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/tool-call-summary.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/tool-call-summary.js +8 -0
- package/node_modules/@cchistory/canonical/dist/tool-call-summary.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage-call-evaluation.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage-call-evaluation.js +5 -1
- package/node_modules/@cchistory/canonical/dist/usage-call-evaluation.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage-trace.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage-trace.js +10 -4
- package/node_modules/@cchistory/canonical/dist/usage-trace.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage.d.ts +2 -0
- package/node_modules/@cchistory/canonical/dist/usage.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage.js +44 -6
- package/node_modules/@cchistory/canonical/dist/usage.js.map +1 -1
- package/node_modules/@cchistory/canonical/package.json +1 -1
- package/node_modules/@cchistory/domain/dist/agent-inventory.d.ts +146 -0
- package/node_modules/@cchistory/domain/dist/agent-inventory.d.ts.map +1 -0
- package/node_modules/@cchistory/domain/dist/agent-inventory.js +9 -0
- package/node_modules/@cchistory/domain/dist/agent-inventory.js.map +1 -0
- package/node_modules/@cchistory/domain/dist/agent-startup.d.ts +362 -0
- package/node_modules/@cchistory/domain/dist/agent-startup.d.ts.map +1 -0
- package/node_modules/@cchistory/domain/dist/agent-startup.js +8 -0
- package/node_modules/@cchistory/domain/dist/agent-startup.js.map +1 -0
- package/node_modules/@cchistory/domain/dist/index.d.ts +5 -0
- package/node_modules/@cchistory/domain/dist/index.d.ts.map +1 -1
- package/node_modules/@cchistory/domain/dist/index.js +3 -0
- package/node_modules/@cchistory/domain/dist/index.js.map +1 -1
- package/node_modules/@cchistory/domain/dist/index.test.js +18 -1
- package/node_modules/@cchistory/domain/dist/index.test.js.map +1 -1
- package/node_modules/@cchistory/domain/dist/project-git.d.ts +121 -0
- package/node_modules/@cchistory/domain/dist/project-git.d.ts.map +1 -0
- package/node_modules/@cchistory/domain/dist/project-git.js +93 -0
- package/node_modules/@cchistory/domain/dist/project-git.js.map +1 -0
- package/node_modules/@cchistory/domain/package.json +1 -1
- package/node_modules/@cchistory/live-runtime/dist/antigravity.test.js +15 -1
- package/node_modules/@cchistory/live-runtime/dist/antigravity.test.js.map +1 -1
- package/node_modules/@cchistory/live-runtime/dist/index.d.ts +3 -1
- package/node_modules/@cchistory/live-runtime/dist/index.d.ts.map +1 -1
- package/node_modules/@cchistory/live-runtime/dist/index.js +14 -8
- package/node_modules/@cchistory/live-runtime/dist/index.js.map +1 -1
- package/node_modules/@cchistory/live-runtime/dist/inventory-and-git.d.ts +35 -0
- package/node_modules/@cchistory/live-runtime/dist/inventory-and-git.d.ts.map +1 -0
- package/node_modules/@cchistory/live-runtime/dist/inventory-and-git.js +68 -0
- package/node_modules/@cchistory/live-runtime/dist/inventory-and-git.js.map +1 -0
- package/node_modules/@cchistory/live-runtime/package.json +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/git-project.d.ts +9 -0
- package/node_modules/@cchistory/source-adapters/dist/core/git-project.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/git-project.js +130 -7
- package/node_modules/@cchistory/source-adapters/dist/core/git-project.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/index.d.ts +5 -0
- package/node_modules/@cchistory/source-adapters/dist/index.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/index.js +5 -0
- package/node_modules/@cchistory/source-adapters/dist/index.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/index.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/index.test.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/index.test.js +2 -0
- package/node_modules/@cchistory/source-adapters/dist/index.test.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.d.ts +14 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.js +397 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.test.d.ts +6 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.test.js +106 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/config-io.d.ts +42 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/config-io.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/config-io.js +368 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/config-io.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/redaction.d.ts +22 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/redaction.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/redaction.js +195 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/redaction.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity-helpers.d.ts +23 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity-helpers.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity-helpers.js +147 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity-helpers.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity.d.ts +11 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity.js +339 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code-helpers.d.ts +70 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code-helpers.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code-helpers.js +257 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code-helpers.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code.d.ts +11 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code.js +321 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/codex.d.ts +12 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/codex.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/codex.js +363 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/codex.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/deepseek-harness.d.ts +20 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/deepseek-harness.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/deepseek-harness.js +408 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/deepseek-harness.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/index.d.ts +24 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/index.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/index.js +225 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/index.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/opencode.d.ts +12 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/opencode.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/opencode.js +372 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/opencode.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/shared.d.ts +62 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/shared.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/shared.js +428 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/shared.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/startup.test.d.ts +7 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/startup.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/startup.test.js +399 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/startup.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/toml.d.ts +16 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/toml.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/toml.js +478 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/toml.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/package.json +1 -1
- package/package.json +5 -5
- package/schemas/cchistory-lite-agent-v1.schema.json +3 -1
- package/schemas/cchistory-lite-envelope-v1.schema.json +33 -0
- package/schemas/cchistory-lite-inventory-v1.schema.json +94 -0
- package/schemas/cchistory-lite-merged-projects-v1.schema.json +44 -0
- package/schemas/cchistory-lite-v2.schema.json +22 -1
- package/skills/using-cchistory-lite/SKILL.md +17 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://cchistory.dev/schemas/cchistory-lite-inventory-v1.schema.json",
|
|
4
|
+
"title": "CC History Lite read-only AI agent inventory report",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"schema",
|
|
8
|
+
"kind",
|
|
9
|
+
"generated_at",
|
|
10
|
+
"home_dir",
|
|
11
|
+
"project_dir",
|
|
12
|
+
"summary",
|
|
13
|
+
"activity",
|
|
14
|
+
"agents",
|
|
15
|
+
"mcp_servers",
|
|
16
|
+
"extensions",
|
|
17
|
+
"unused_mcp_servers",
|
|
18
|
+
"diagnostics"
|
|
19
|
+
],
|
|
20
|
+
"properties": {
|
|
21
|
+
"schema": { "const": "cchistory-lite-inventory/v1" },
|
|
22
|
+
"kind": { "const": "agent_inventory" },
|
|
23
|
+
"generated_at": { "type": "string" },
|
|
24
|
+
"home_dir": { "type": "string" },
|
|
25
|
+
"project_dir": { "type": ["string", "null"] },
|
|
26
|
+
"summary": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"required": [
|
|
29
|
+
"agent_count",
|
|
30
|
+
"installed_agent_count",
|
|
31
|
+
"configured_agent_count",
|
|
32
|
+
"active_agent_count",
|
|
33
|
+
"mcp_server_count",
|
|
34
|
+
"used_mcp_server_count",
|
|
35
|
+
"unused_mcp_server_count",
|
|
36
|
+
"skill_count",
|
|
37
|
+
"rule_count",
|
|
38
|
+
"subagent_count",
|
|
39
|
+
"plugin_count",
|
|
40
|
+
"hook_count",
|
|
41
|
+
"extension_count",
|
|
42
|
+
"diagnostic_count"
|
|
43
|
+
],
|
|
44
|
+
"additionalProperties": false,
|
|
45
|
+
"properties": {
|
|
46
|
+
"agent_count": { "type": "integer", "minimum": 0 },
|
|
47
|
+
"installed_agent_count": { "type": "integer", "minimum": 0 },
|
|
48
|
+
"configured_agent_count": { "type": "integer", "minimum": 0 },
|
|
49
|
+
"active_agent_count": { "type": ["integer", "null"], "minimum": 0 },
|
|
50
|
+
"mcp_server_count": { "type": "integer", "minimum": 0 },
|
|
51
|
+
"used_mcp_server_count": { "type": ["integer", "null"], "minimum": 0 },
|
|
52
|
+
"unused_mcp_server_count": { "type": ["integer", "null"], "minimum": 0 },
|
|
53
|
+
"skill_count": { "type": "integer", "minimum": 0 },
|
|
54
|
+
"rule_count": { "type": "integer", "minimum": 0 },
|
|
55
|
+
"subagent_count": { "type": "integer", "minimum": 0 },
|
|
56
|
+
"plugin_count": { "type": "integer", "minimum": 0 },
|
|
57
|
+
"hook_count": { "type": "integer", "minimum": 0 },
|
|
58
|
+
"extension_count": { "type": "integer", "minimum": 0 },
|
|
59
|
+
"diagnostic_count": { "type": "integer", "minimum": 0 }
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"activity": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"required": [
|
|
65
|
+
"correlated",
|
|
66
|
+
"window",
|
|
67
|
+
"since_at",
|
|
68
|
+
"until_at",
|
|
69
|
+
"total_sessions",
|
|
70
|
+
"total_tool_calls",
|
|
71
|
+
"matched_mcp_calls",
|
|
72
|
+
"unmatched_mcp_tool_names"
|
|
73
|
+
],
|
|
74
|
+
"additionalProperties": false,
|
|
75
|
+
"properties": {
|
|
76
|
+
"correlated": { "type": "boolean" },
|
|
77
|
+
"window": { "type": "string" },
|
|
78
|
+
"since_at": { "type": ["string", "null"] },
|
|
79
|
+
"until_at": { "type": "string" },
|
|
80
|
+
"total_sessions": { "type": "integer", "minimum": 0 },
|
|
81
|
+
"total_tool_calls": { "type": "integer", "minimum": 0 },
|
|
82
|
+
"matched_mcp_calls": { "type": "integer", "minimum": 0 },
|
|
83
|
+
"unmatched_mcp_tool_names": { "type": "array", "items": { "type": "string" } }
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"agents": { "type": "array", "items": { "type": "object" } },
|
|
87
|
+
"mcp_servers": { "type": "array", "items": { "type": "object" } },
|
|
88
|
+
"extensions": { "type": "array", "items": { "type": "object" } },
|
|
89
|
+
"unused_mcp_servers": { "type": "array", "items": { "type": "object" } },
|
|
90
|
+
"diagnostics": { "type": "array", "items": { "type": "object" } },
|
|
91
|
+
"startup_contexts": { "type": "array", "items": { "type": "object" } }
|
|
92
|
+
},
|
|
93
|
+
"additionalProperties": false
|
|
94
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://cchistory.dev/schemas/cchistory-lite-merged-projects-v1.schema.json",
|
|
4
|
+
"title": "CC History Lite multi-host project reconciliation report",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schema", "kind", "generated_at", "hosts", "summary", "projects"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": { "const": "cchistory-lite-merged-projects/v1" },
|
|
9
|
+
"kind": { "const": "merged_projects" },
|
|
10
|
+
"generated_at": { "type": "string" },
|
|
11
|
+
"hosts": { "type": "array", "items": { "type": "string" } },
|
|
12
|
+
"warnings": { "type": "array", "items": { "type": "string" } },
|
|
13
|
+
"summary": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [
|
|
16
|
+
"host_count",
|
|
17
|
+
"project_count",
|
|
18
|
+
"repo_remote_matched_count",
|
|
19
|
+
"directory_fallback_count",
|
|
20
|
+
"multi_host_project_count",
|
|
21
|
+
"diverged_project_count",
|
|
22
|
+
"dirty_project_count",
|
|
23
|
+
"unpushed_project_count",
|
|
24
|
+
"behind_project_count"
|
|
25
|
+
],
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"properties": {
|
|
28
|
+
"host_count": { "type": "integer", "minimum": 0 },
|
|
29
|
+
"project_count": { "type": "integer", "minimum": 0 },
|
|
30
|
+
"repo_remote_matched_count": { "type": "integer", "minimum": 0 },
|
|
31
|
+
"directory_fallback_count": { "type": "integer", "minimum": 0 },
|
|
32
|
+
"multi_host_project_count": { "type": "integer", "minimum": 0 },
|
|
33
|
+
"diverged_project_count": { "type": "integer", "minimum": 0 },
|
|
34
|
+
"dirty_project_count": { "type": "integer", "minimum": 0 },
|
|
35
|
+
"unpushed_project_count": { "type": "integer", "minimum": 0 },
|
|
36
|
+
"behind_project_count": { "type": "integer", "minimum": 0 },
|
|
37
|
+
"no_upstream_project_count": { "type": "integer", "minimum": 0 },
|
|
38
|
+
"git_not_collected_project_count": { "type": "integer", "minimum": 0 }
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"projects": { "type": "array", "items": { "type": "object" } }
|
|
42
|
+
},
|
|
43
|
+
"additionalProperties": false
|
|
44
|
+
}
|
|
@@ -96,6 +96,7 @@
|
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"projection_issues": { "type": "array", "items": { "$ref": "#/$defs/projectionIssue" } },
|
|
99
|
+
"host_id": { "$ref": "#/$defs/nullableString" },
|
|
99
100
|
"sources": { "type": "array", "items": { "$ref": "#/$defs/source" } },
|
|
100
101
|
"projects": { "type": "array", "items": { "$ref": "#/$defs/project" } },
|
|
101
102
|
"sessions": { "type": "array", "items": { "$ref": "#/$defs/session" } },
|
|
@@ -149,7 +150,27 @@
|
|
|
149
150
|
"source_platforms": { "type": "array", "items": { "type": "string" } },
|
|
150
151
|
"session_count": { "type": "integer", "minimum": 0 },
|
|
151
152
|
"turn_count": { "type": "integer", "minimum": 0 },
|
|
152
|
-
"last_activity_at": { "$ref": "#/$defs/nullableString" }
|
|
153
|
+
"last_activity_at": { "$ref": "#/$defs/nullableString" },
|
|
154
|
+
"git": { "$ref": "#/$defs/projectGit" }
|
|
155
|
+
},
|
|
156
|
+
"additionalProperties": false
|
|
157
|
+
},
|
|
158
|
+
"projectGit": {
|
|
159
|
+
"type": "object",
|
|
160
|
+
"required": ["status", "repo_root", "repo_remote", "branch", "head_sha", "head_committed_at", "dirty_files", "ahead", "behind"],
|
|
161
|
+
"properties": {
|
|
162
|
+
"status": { "enum": ["ok", "not_git", "missing_path", "timeout", "error"] },
|
|
163
|
+
"repo_root": { "$ref": "#/$defs/nullableString" },
|
|
164
|
+
"repo_remote": { "$ref": "#/$defs/nullableString" },
|
|
165
|
+
"branch": { "$ref": "#/$defs/nullableString" },
|
|
166
|
+
"detached": { "type": "boolean" },
|
|
167
|
+
"head_sha": { "$ref": "#/$defs/nullableString" },
|
|
168
|
+
"head_committed_at": { "$ref": "#/$defs/nullableString" },
|
|
169
|
+
"dirty_files": { "type": ["integer", "null"], "minimum": 0 },
|
|
170
|
+
"ahead": { "type": ["integer", "null"], "minimum": 0 },
|
|
171
|
+
"behind": { "type": ["integer", "null"], "minimum": 0 },
|
|
172
|
+
"upstream": { "$ref": "#/$defs/nullableString" },
|
|
173
|
+
"error": { "type": "string" }
|
|
153
174
|
},
|
|
154
175
|
"additionalProperties": false
|
|
155
176
|
},
|
|
@@ -118,6 +118,23 @@ stdout keeps its existing result format. Diagnostics contain no transcript bodie
|
|
|
118
118
|
or query text, but can include local paths. Do not
|
|
119
119
|
disable the guard or cycle through broader/sample reads to evade a failure.
|
|
120
120
|
|
|
121
|
+
For local AI agent / MCP / skills / subagent / plugin configuration inventory, 30-day usage correlation, and per-tool native pre-launch startup context resolution:
|
|
122
|
+
|
|
123
|
+
```sh
|
|
124
|
+
cchistory-lite inventory --json
|
|
125
|
+
cchistory-lite inventory --agent claude,codex --no-activity
|
|
126
|
+
cchistory-lite inventory --dir /path/to/project --agent claude_code --no-activity
|
|
127
|
+
cchistory-lite inventory --envelope --host-id "$(hostname)"
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
For opt-in local Git status per project and offline multi-host project reconciliation:
|
|
131
|
+
|
|
132
|
+
```sh
|
|
133
|
+
cchistory-lite ls projects --no-dir --all --with-git --host-id host-a --json > host-a.json
|
|
134
|
+
cchistory-lite ls projects --no-dir --with-git --envelope --host-id host-b > host-b.json
|
|
135
|
+
cchistory-lite merge-projects host-a.json host-b.json --json
|
|
136
|
+
```
|
|
137
|
+
|
|
121
138
|
## Optional details
|
|
122
139
|
|
|
123
140
|
No discovery or documentation command is required before a task query.
|