conduct-cli 0.4.83__tar.gz → 0.4.85__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.
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/PKG-INFO +1 -1
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/pyproject.toml +1 -1
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli/main.py +4 -2
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli/memory.py +0 -8
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli.egg-info/PKG-INFO +1 -1
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/README.md +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/setup.cfg +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/setup.py +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli/__init__.py +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli/api.py +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli/guard.py +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli/guardmcp.py +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli/hook_precompact_template.py +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli/hook_session_start_template.py +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli/hook_stop_template.py +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli/hook_template.py +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli/mcp_server.py +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli.egg-info/entry_points.txt +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli.egg-info/requires.txt +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/src/conduct_cli.egg-info/top_level.txt +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/tests/test_guard_policy.py +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/tests/test_guard_savings.py +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/tests/test_hook_syntax.py +0 -0
- {conduct_cli-0.4.83 → conduct_cli-0.4.85}/tests/test_switch.py +0 -0
|
@@ -2724,11 +2724,13 @@ def cmd_memory(args):
|
|
|
2724
2724
|
print("No team memories found.")
|
|
2725
2725
|
return
|
|
2726
2726
|
for r in results:
|
|
2727
|
-
|
|
2727
|
+
dev = r.get("developer_id") or "unknown"
|
|
2728
|
+
repo = r.get("repo_full_name") or ""
|
|
2728
2729
|
summary = r.get("summary", "")
|
|
2729
2730
|
tags = ", ".join(r.get("topic_tags") or [])
|
|
2730
2731
|
created = r.get("created_at", "")[:10]
|
|
2731
|
-
|
|
2732
|
+
heading = f"{dev} {GRAY}{repo}{RESET}" if repo else dev
|
|
2733
|
+
print(f"\n{BOLD}{heading}{RESET} {GRAY}{created}{RESET}")
|
|
2732
2734
|
if tags:
|
|
2733
2735
|
print(f" Tags: {tags}")
|
|
2734
2736
|
print(f" {summary}")
|
|
@@ -37,14 +37,6 @@ def post_session_to_api(session_id: str, transcript_path: str | None, repo: str
|
|
|
37
37
|
pass
|
|
38
38
|
|
|
39
39
|
developer_id = cfg.get("user_id") or cfg.get("email") or cfg.get("member_email")
|
|
40
|
-
if not developer_id:
|
|
41
|
-
try:
|
|
42
|
-
import subprocess as _sp
|
|
43
|
-
developer_id = _sp.check_output(
|
|
44
|
-
["git", "config", "user.email"], stderr=_sp.DEVNULL, text=True
|
|
45
|
-
).strip() or None
|
|
46
|
-
except Exception:
|
|
47
|
-
pass
|
|
48
40
|
|
|
49
41
|
payload = json.dumps({
|
|
50
42
|
"session_id": session_id,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|