conduct-cli 0.4.86__tar.gz → 0.4.87__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.86 → conduct_cli-0.4.87}/PKG-INFO +1 -1
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/pyproject.toml +1 -1
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli/memory.py +6 -1
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli.egg-info/PKG-INFO +1 -1
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/README.md +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/setup.cfg +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/setup.py +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli/__init__.py +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli/api.py +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli/guard.py +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli/guardmcp.py +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli/hook_precompact_template.py +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli/hook_session_start_template.py +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli/hook_stop_template.py +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli/hook_template.py +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli/main.py +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli/mcp_server.py +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli.egg-info/entry_points.txt +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli.egg-info/requires.txt +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/src/conduct_cli.egg-info/top_level.txt +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/tests/test_guard_policy.py +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/tests/test_guard_savings.py +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/tests/test_hook_syntax.py +0 -0
- {conduct_cli-0.4.86 → conduct_cli-0.4.87}/tests/test_switch.py +0 -0
|
@@ -47,7 +47,12 @@ def post_session_to_api(session_id: str, transcript_path: str | None, repo: str
|
|
|
47
47
|
msgs.append(f"{msg['role']}: {content[:500]}")
|
|
48
48
|
except Exception:
|
|
49
49
|
pass
|
|
50
|
-
|
|
50
|
+
if msgs:
|
|
51
|
+
# Take last 60 messages — end of session has the actual decisions/fixes
|
|
52
|
+
tail = msgs[-60:]
|
|
53
|
+
raw_transcript = "\n\n".join(tail)[:12000]
|
|
54
|
+
else:
|
|
55
|
+
raw_transcript = None
|
|
51
56
|
except Exception:
|
|
52
57
|
pass
|
|
53
58
|
|
|
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
|
|
File without changes
|