agent-knowledge-cli 0.2.2__tar.gz → 0.2.3__tar.gz

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 (110) hide show
  1. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/PKG-INFO +1 -1
  2. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/scripts/bootstrap-memory-tree.sh +0 -5
  3. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/scripts/install-project-links.sh +0 -9
  4. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/__init__.py +1 -1
  5. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/cli.py +15 -4
  6. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/.gitignore +0 -0
  7. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/LICENSE +0 -0
  8. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/README.md +0 -0
  9. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/claude/global.md +0 -0
  10. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/claude/project-template.md +0 -0
  11. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/claude/scripts/install.sh +0 -0
  12. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/commands/doctor.md +0 -0
  13. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/commands/global-knowledge-sync.md +0 -0
  14. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/commands/graphify-sync.md +0 -0
  15. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/commands/knowledge-sync.md +0 -0
  16. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/commands/ship.md +0 -0
  17. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/commands/system-update.md +0 -0
  18. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/rules/generate-architecture-doc.mdc +0 -0
  19. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/rules/history-backfill.mdc +0 -0
  20. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/rules/memory-bootstrap.mdc +0 -0
  21. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/rules/memory-writeback.mdc +0 -0
  22. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/rules/shared-memory.mdc +0 -0
  23. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/rules/workflow-orchestration.mdc +0 -0
  24. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/rules-global/action-first.mdc +0 -0
  25. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/rules-global/no-icons-emojis.mdc +0 -0
  26. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/rules-global/no-unsolicited-docs.mdc +0 -0
  27. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/scripts/compact-memory.sh +0 -0
  28. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/scripts/doctor.sh +0 -0
  29. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/scripts/global-knowledge-sync.sh +0 -0
  30. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/scripts/graphify-sync.sh +0 -0
  31. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/scripts/import-agent-history.sh +0 -0
  32. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/scripts/lib/knowledge-common.sh +0 -0
  33. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/scripts/measure-token-savings.py +0 -0
  34. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/scripts/ship.sh +0 -0
  35. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/scripts/update-knowledge.sh +0 -0
  36. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/scripts/validate-knowledge.sh +0 -0
  37. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills/SKILLS.md +0 -0
  38. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills/branch-note-convention/SKILL.md +0 -0
  39. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills/clean-web-import/SKILL.md +0 -0
  40. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills/decision-recording/SKILL.md +0 -0
  41. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills/evidence-handling/SKILL.md +0 -0
  42. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills/history-backfill/SKILL.md +0 -0
  43. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills/memory-compaction/SKILL.md +0 -0
  44. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills/memory-management/SKILL.md +0 -0
  45. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills/obsidian-compatible-writing/SKILL.md +0 -0
  46. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills/ontology-inference/SKILL.md +0 -0
  47. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills/project-memory-writing/SKILL.md +0 -0
  48. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills/project-ontology-bootstrap/SKILL.md +0 -0
  49. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills/session-management/SKILL.md +0 -0
  50. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills-cursor/create-rule/SKILL.md +0 -0
  51. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills-cursor/create-skill/SKILL.md +0 -0
  52. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills-cursor/create-subagent/SKILL.md +0 -0
  53. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills-cursor/migrate-to-skills/SKILL.md +0 -0
  54. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills-cursor/shell/SKILL.md +0 -0
  55. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/skills-cursor/update-cursor-settings/SKILL.md +0 -0
  56. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/dashboards/project-overview.template.md +0 -0
  57. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/dashboards/session-rollup.template.md +0 -0
  58. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/hooks/hooks.json.template +0 -0
  59. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/integrations/claude/CLAUDE.md +0 -0
  60. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/integrations/codex/AGENTS.md +0 -0
  61. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/integrations/cursor/agent-knowledge.mdc +0 -0
  62. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/integrations/cursor/commands/memory-update.md +0 -0
  63. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/integrations/cursor/commands/system-update.md +0 -0
  64. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/integrations/cursor/hooks.json +0 -0
  65. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/memory/MEMORY.root.template.md +0 -0
  66. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/memory/branch.template.md +0 -0
  67. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/memory/decision.template.md +0 -0
  68. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/memory/profile.hybrid.yaml +0 -0
  69. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/memory/profile.ml-platform.yaml +0 -0
  70. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/memory/profile.robotics.yaml +0 -0
  71. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/memory/profile.web-app.yaml +0 -0
  72. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/portfolio/.obsidian/README.md +0 -0
  73. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/portfolio/.obsidian/app.json +0 -0
  74. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/portfolio/.obsidian/core-plugins.json +0 -0
  75. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/.agent-project.yaml +0 -0
  76. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/.agentknowledgeignore +0 -0
  77. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/AGENTS.md +0 -0
  78. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/agent-knowledge/.obsidian/README.md +0 -0
  79. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/agent-knowledge/.obsidian/app.json +0 -0
  80. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/agent-knowledge/.obsidian/core-plugins.json +0 -0
  81. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/agent-knowledge/Evidence/README.md +0 -0
  82. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/agent-knowledge/Evidence/captures/README.md +0 -0
  83. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/agent-knowledge/Evidence/imports/README.md +0 -0
  84. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/agent-knowledge/Evidence/raw/README.md +0 -0
  85. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/agent-knowledge/Memory/MEMORY.md +0 -0
  86. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/agent-knowledge/Memory/decisions/decisions.md +0 -0
  87. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/agent-knowledge/Outputs/README.md +0 -0
  88. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/agent-knowledge/STATUS.md +0 -0
  89. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/agent-knowledge/Sessions/README.md +0 -0
  90. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/agent-knowledge/Templates/README.md +0 -0
  91. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/assets/templates/project/gitignore.agent-knowledge +0 -0
  92. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/pyproject.toml +0 -0
  93. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/__main__.py +0 -0
  94. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/assets/__init__.py +0 -0
  95. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/runtime/__init__.py +0 -0
  96. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/runtime/canvas.py +0 -0
  97. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/runtime/capture.py +0 -0
  98. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/runtime/history.py +0 -0
  99. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/runtime/importer.py +0 -0
  100. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/runtime/index.py +0 -0
  101. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/runtime/integrations.py +0 -0
  102. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/runtime/paths.py +0 -0
  103. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/runtime/refresh.py +0 -0
  104. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/runtime/shell.py +0 -0
  105. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/runtime/site.py +0 -0
  106. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/runtime/sync.py +0 -0
  107. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/src/agent_knowledge/runtime/viewer.py +0 -0
  108. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/tests/__init__.py +0 -0
  109. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/tests/test_cli.py +0 -0
  110. {agent_knowledge_cli-0.2.2 → agent_knowledge_cli-0.2.3}/tests/test_packaging.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agent-knowledge-cli
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Adaptive, file-based project knowledge for AI coding agents
5
5
  Author: agent-knowledge contributors
6
6
  License-Expression: MIT
@@ -385,9 +385,4 @@ if [ "$JSON_MODE" -ne 1 ]; then
385
385
  kc_log ""
386
386
  kc_log "Memory tree ready for: $PROJECT_NAME"
387
387
  kc_log "Profile hint: $PROFILE"
388
- kc_log ""
389
- kc_log "Next steps:"
390
- kc_log " 1. agent-knowledge import --project $TARGET_PROJECT"
391
- kc_log " 2. Agent inspects repo and creates initial branch notes in Memory/"
392
- kc_log " 3. agent-knowledge doctor --project $TARGET_PROJECT"
393
388
  fi
@@ -247,12 +247,3 @@ json_summary="$json_summary\"warnings\":$(kc_json_array "${WARNINGS[@]+"${WARNIN
247
247
  json_summary="$json_summary}"
248
248
  kc_write_json_output "$json_summary"
249
249
 
250
- if [ "$JSON_MODE" -ne 1 ]; then
251
- kc_log ""
252
- kc_log "Next steps:"
253
- kc_log " 1. agent-knowledge doctor --project $TARGET_PROJECT"
254
- kc_log " 2. Review $AGENT_PROJECT_FILE"
255
- if [ "$INSTALL_HOOKS" -eq 1 ]; then
256
- kc_log " 3. Review $CURSOR_HOOKS_FILE before enabling editor hooks"
257
- fi
258
- fi
@@ -1,3 +1,3 @@
1
1
  """agent-knowledge: adaptive, file-based project knowledge for AI coding agents."""
2
2
 
3
- __version__ = "0.2.2"
3
+ __version__ = "0.2.3"
@@ -99,6 +99,15 @@ def init(
99
99
  for action in actions:
100
100
  click.echo(action, err=True)
101
101
 
102
+ # Auto-import repo history into Evidence/
103
+ if not dry_run:
104
+ import_args = ["--project", str(repo_path)]
105
+ if json_mode:
106
+ import_args.append("--json")
107
+ rc_import = run_bash_script("import-agent-history.sh", import_args)
108
+ if not json_mode and rc_import == 0:
109
+ click.echo(" Import: repo history indexed into Evidence/", err=True)
110
+
102
111
  # Lightweight history backfill — runs automatically for existing repos
103
112
  if not dry_run:
104
113
  from agent_knowledge.runtime.history import run_backfill
@@ -120,12 +129,14 @@ def init(
120
129
 
121
130
  if not json_mode:
122
131
  prompt = "Read AGENTS.md and ./agent-knowledge/STATUS.md, then onboard this project."
123
- border = "+" + "-" * (len(prompt) + 2) + "+"
124
- click.echo("", err=True)
125
- click.secho("Ready. Open your agent and send:", bold=True, err=True)
132
+ header = "Paste in your agent chat:"
133
+ width = max(len(prompt), len(header)) + 2
134
+ border = "+" + "-" * width + "+"
126
135
  click.echo("", err=True)
127
136
  click.secho(border, fg="cyan", err=True)
128
- click.secho(f"| {prompt} |", fg="cyan", bold=True, err=True)
137
+ click.secho(f"| {header:<{width - 2}} |", fg="cyan", err=True)
138
+ click.secho(border, fg="cyan", err=True)
139
+ click.secho(f" {prompt}", bold=True, err=True)
129
140
  click.secho(border, fg="cyan", err=True)
130
141
  click.echo("", err=True)
131
142