plan-manager-client 0.2.180__tar.gz → 0.2.181__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 (44) hide show
  1. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/PKG-INFO +1 -1
  2. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/facade_context_gate_mixin.py +4 -0
  3. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/facade_hrs_file_mixin.py +7 -2
  4. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/facade_plan_hrs_mixin.py +7 -1
  5. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/server_api.py +1 -0
  6. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client.egg-info/PKG-INFO +1 -1
  7. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/__init__.py +0 -0
  8. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/_version.py +0 -0
  9. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/authoring_diagnostics.py +0 -0
  10. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/client.py +0 -0
  11. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/config.py +0 -0
  12. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/delivery/__init__.py +0 -0
  13. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/delivery/archive.py +0 -0
  14. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/delivery/atomicity.py +0 -0
  15. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/delivery/commit.py +0 -0
  16. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/delivery/destination.py +0 -0
  17. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/delivery/provenance.py +0 -0
  18. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/delivery/upload.py +0 -0
  19. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/dispatch.py +0 -0
  20. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/export_fetch_chunks.py +0 -0
  21. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/export_fetch_request.py +0 -0
  22. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/export_fetch_unpack.py +0 -0
  23. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/export_fetch_verify.py +0 -0
  24. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/facade_agent_config_mixin.py +0 -0
  25. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/facade_bug_project_mixin.py +0 -0
  26. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/facade_entity_common_mixin.py +0 -0
  27. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/facade_runtime_mixin/__init__.py +0 -0
  28. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/facade_runtime_mixin/authoring_part.py +0 -0
  29. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/facade_runtime_mixin/facade.py +0 -0
  30. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/facade_runtime_mixin/overlay_part.py +0 -0
  31. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/facade_step_graph_mixin.py +0 -0
  32. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/id_rule.py +0 -0
  33. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/info_walker.py +0 -0
  34. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/scenario_runtime.py +0 -0
  35. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client/server_api_mutating.py +0 -0
  36. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client.egg-info/SOURCES.txt +0 -0
  37. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client.egg-info/dependency_links.txt +0 -0
  38. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client.egg-info/requires.txt +0 -0
  39. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/plan_manager_client.egg-info/top_level.txt +0 -0
  40. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/pyproject.toml +0 -0
  41. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/setup.cfg +0 -0
  42. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/tests/test_client_server_api_sync.py +0 -0
  43. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/tests/test_contract_facade_passthrough.py +0 -0
  44. {plan_manager_client-0.2.180 → plan_manager_client-0.2.181}/tests/test_dispatch_validation_error_classification.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plan-manager-client
3
- Version: 0.2.180
3
+ Version: 0.2.181
4
4
  Summary: First-class client library for the plan_manager JSON-RPC API: full command-surface facade plus export delivery module boundary.
5
5
  Requires-Python: >=3.12
6
6
  Requires-Dist: mcp-proxy-adapter==8.11.15
@@ -199,6 +199,10 @@ class ContextGateCommandsMixin:
199
199
  """Rank the plan's branches by ascending semantic index, refusing when the plan has not passed the mechanical gate."""
200
200
  return await self._call("branch_weak", params)
201
201
 
202
+ async def branch_readiness(self, **params: Any) -> Any:
203
+ """Show whether each branch of the plan is ready and the path from its G to its first blocker, from stored readiness flags in one query."""
204
+ return await self._call("branch_readiness", params)
205
+
202
206
  async def plan_validate(self, **params: Any) -> Any:
203
207
  """Run the mechanical gate over a plan or one branch and report PASS/FAIL findings."""
204
208
  return await self._call("plan_validate", params)
@@ -74,6 +74,10 @@ class HrsFileCommandsMixin:
74
74
  Validation (bare filename, readable non-empty file) happens before any
75
75
  request. The uploaded file's sha256 must match the transfer receipt
76
76
  before hrs_import is called. A server error result is returned as is.
77
+
78
+ dry_run=true (the default) validates and reports without storing anything; convert=true converts the file
79
+ into structured fields by the model, after the svo paragraph split. The other hrs_import sources, document_id
80
+ and paragraphs, are not used by this call.
77
81
  """
78
82
  if filename is None:
79
83
  filename = f"hrs-import-{uuid.uuid4()}.md"
@@ -120,8 +124,9 @@ class HrsFileCommandsMixin:
120
124
  ) -> Any:
121
125
  """Export a plan to a local file: hrs_export(target file), export_download_begin, download, sha256 check.
122
126
 
123
- The export file stays on the server until the sweep timer removes it after its lifetime (no confirm
124
- command). The download goes to a temporary file next to the destination; the destination is replaced
127
+ The export file stays on the server for its lifetime, by default 3600 s, and the sweep timer, which runs
128
+ every 300 s by default, removes it afterwards (both configurable on the server: hrs_export.file_ttl_s and
129
+ hrs_export.sweep_interval_s). The download goes to a temporary file next to the destination; the destination is replaced
125
130
  only by the final rename, after the sha256 of the downloaded bytes equals the export sha256. Without
126
131
  overwrite an existing destination is refused after the verified download. A server error reply is
127
132
  returned unchanged. A path that is empty or None is refused before any request.
@@ -95,7 +95,13 @@ class PlanHrsCommandsMixin:
95
95
  return await self._call("export_archive", params)
96
96
 
97
97
  async def hrs_import(self, **params: Any) -> Any:
98
- """Replace a plan's HRS text from a Markdown file under the configured export root or from inline source_text."""
98
+ """Replace a plan's HRS text from a Markdown file under the configured export root or from inline source_text.
99
+
100
+ Sources, mutually exclusive: source (bare file name under the export root), source_text (inline Markdown),
101
+ document_id (UUID4 of a doc-store document) and paragraphs (structured paragraph items). convert=true converts
102
+ the source into structured fields by the model, after the svo paragraph split. dry_run=true (the default)
103
+ validates and reports without storing anything.
104
+ """
99
105
  return await self._call("hrs_import", params)
100
106
 
101
107
  async def hrs_export(self, **params: Any) -> Any:
@@ -127,6 +127,7 @@ COMMAND_NAMES: frozenset[str] = frozenset(
127
127
  "block_list",
128
128
  "branch_dump",
129
129
  "branch_weak",
130
+ "branch_readiness",
130
131
  "plan_validate",
131
132
  "prompt_validate",
132
133
  "run_all_checks",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plan-manager-client
3
- Version: 0.2.180
3
+ Version: 0.2.181
4
4
  Summary: First-class client library for the plan_manager JSON-RPC API: full command-surface facade plus export delivery module boundary.
5
5
  Requires-Python: >=3.12
6
6
  Requires-Dist: mcp-proxy-adapter==8.11.15