plan-manager-client 0.2.176__tar.gz → 0.2.178__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.
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/PKG-INFO +1 -1
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/authoring_diagnostics.py +7 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/facade_runtime_mixin/authoring_part.py +99 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/facade_runtime_mixin/facade.py +41 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/server_api.py +7 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/server_api_mutating.py +2 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client.egg-info/PKG-INFO +1 -1
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/__init__.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/_version.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/client.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/config.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/delivery/__init__.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/delivery/archive.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/delivery/atomicity.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/delivery/commit.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/delivery/destination.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/delivery/provenance.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/delivery/upload.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/dispatch.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/export_fetch_chunks.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/export_fetch_request.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/export_fetch_unpack.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/export_fetch_verify.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/facade_agent_config_mixin.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/facade_bug_project_mixin.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/facade_context_gate_mixin.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/facade_entity_common_mixin.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/facade_hrs_file_mixin.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/facade_plan_hrs_mixin.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/facade_runtime_mixin/__init__.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/facade_runtime_mixin/overlay_part.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/facade_step_graph_mixin.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/id_rule.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/info_walker.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/scenario_runtime.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client.egg-info/SOURCES.txt +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client.egg-info/dependency_links.txt +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client.egg-info/requires.txt +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client.egg-info/top_level.txt +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/pyproject.toml +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/setup.cfg +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/tests/test_client_server_api_sync.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/tests/test_contract_facade_passthrough.py +0 -0
- {plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/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.
|
|
3
|
+
Version: 0.2.178
|
|
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
|
|
@@ -12,6 +12,10 @@ from uuid import uuid4
|
|
|
12
12
|
AUTHORING_DIAGNOSTIC_COMMANDS = frozenset(
|
|
13
13
|
{
|
|
14
14
|
"authoring_session_create",
|
|
15
|
+
"authoring_session_get",
|
|
16
|
+
"authoring_session_list",
|
|
17
|
+
"authoring_session_update",
|
|
18
|
+
"authoring_session_delete",
|
|
15
19
|
"authoring_job_start",
|
|
16
20
|
"authoring_job_status",
|
|
17
21
|
"authoring_job_resume",
|
|
@@ -20,6 +24,9 @@ AUTHORING_DIAGNOSTIC_COMMANDS = frozenset(
|
|
|
20
24
|
"authoring_job_get",
|
|
21
25
|
"authoring_job_update",
|
|
22
26
|
"authoring_child_list",
|
|
27
|
+
"authoring_context_read",
|
|
28
|
+
"authoring_child_write",
|
|
29
|
+
"authoring_child_start",
|
|
23
30
|
"authoring_step_submit",
|
|
24
31
|
"authoring_escalate",
|
|
25
32
|
"plan_prompt_create",
|
|
@@ -75,6 +75,75 @@ class RuntimeAuthoringPart:
|
|
|
75
75
|
params["executor_prompt_document_ids"] = executor_prompt_document_ids
|
|
76
76
|
return await self._call("authoring_session_create", params)
|
|
77
77
|
|
|
78
|
+
async def authoring_session_get(self, session_id: Any = ABSENT, **unknown: Any) -> Any:
|
|
79
|
+
"""Read one authoring session by its uuid4; a session marked for deletion carries deleted_at (AUTHORING_SESSION_NOT_FOUND when absent).
|
|
80
|
+
|
|
81
|
+
A missing session_id or an unknown field is passed to the server unchanged and refused there with -32602 (missing / unknown).
|
|
82
|
+
"""
|
|
83
|
+
params = supplied(session_id=session_id)
|
|
84
|
+
params.update(unknown)
|
|
85
|
+
return await self._call("authoring_session_get", params)
|
|
86
|
+
|
|
87
|
+
async def authoring_session_list(
|
|
88
|
+
self,
|
|
89
|
+
plan: Any = ABSENT,
|
|
90
|
+
include_deleted: Any = ABSENT,
|
|
91
|
+
limit: Any = ABSENT,
|
|
92
|
+
offset: Any = ABSENT,
|
|
93
|
+
**unknown: Any,
|
|
94
|
+
) -> Any:
|
|
95
|
+
"""List authoring sessions page by page (sessions, total, limit, offset); a marked session is shown with include_deleted=True.
|
|
96
|
+
|
|
97
|
+
Every argument is passed to the server unchanged; a wrong value is refused there (INVALID_PAGINATION, PLAN_NOT_FOUND, -32602).
|
|
98
|
+
"""
|
|
99
|
+
params = supplied(plan=plan, include_deleted=include_deleted, limit=limit, offset=offset)
|
|
100
|
+
params.update(unknown)
|
|
101
|
+
return await self._call("authoring_session_list", params)
|
|
102
|
+
|
|
103
|
+
async def authoring_session_update(
|
|
104
|
+
self,
|
|
105
|
+
session_id: Any = ABSENT,
|
|
106
|
+
changed_by: Any = ABSENT,
|
|
107
|
+
common_prompt_document_id: Any = ABSENT,
|
|
108
|
+
executor_prompt_document_ids: Any = ABSENT,
|
|
109
|
+
**unknown: Any,
|
|
110
|
+
) -> Any:
|
|
111
|
+
"""Always refused (AUTHORING_SESSION_IMMUTABLE): the binding of a session is fixed at create.
|
|
112
|
+
|
|
113
|
+
A missing session_id / changed_by, an empty patch or an unknown field is passed to the server unchanged and refused there with -32602.
|
|
114
|
+
"""
|
|
115
|
+
params = supplied(
|
|
116
|
+
session_id=session_id, changed_by=changed_by,
|
|
117
|
+
common_prompt_document_id=common_prompt_document_id, executor_prompt_document_ids=executor_prompt_document_ids,
|
|
118
|
+
)
|
|
119
|
+
params.update(unknown)
|
|
120
|
+
return await self._call("authoring_session_update", params)
|
|
121
|
+
|
|
122
|
+
async def authoring_session_delete(
|
|
123
|
+
self,
|
|
124
|
+
session_id: Any = ABSENT,
|
|
125
|
+
changed_by: Any = ABSENT,
|
|
126
|
+
hard: bool = False,
|
|
127
|
+
recursive: bool = False,
|
|
128
|
+
dry_run: bool = False,
|
|
129
|
+
drop_dialogue: Any = ABSENT,
|
|
130
|
+
**unknown: Any,
|
|
131
|
+
) -> Any:
|
|
132
|
+
"""Soft-delete (mark) one authoring session; hard=True removes an already marked one and deletes its CAS session without force.
|
|
133
|
+
|
|
134
|
+
drop_dialogue is accepted only together with hard=True. A missing session_id / changed_by or an unknown field is passed to the
|
|
135
|
+
server unchanged and refused there with -32602.
|
|
136
|
+
"""
|
|
137
|
+
params = supplied(session_id=session_id, changed_by=changed_by, drop_dialogue=drop_dialogue)
|
|
138
|
+
if hard:
|
|
139
|
+
params["hard"] = True
|
|
140
|
+
if recursive:
|
|
141
|
+
params["recursive"] = True
|
|
142
|
+
if dry_run:
|
|
143
|
+
params["dry_run"] = True
|
|
144
|
+
params.update(unknown)
|
|
145
|
+
return await self._call("authoring_session_delete", params)
|
|
146
|
+
|
|
78
147
|
async def authoring_job_start(
|
|
79
148
|
self,
|
|
80
149
|
plan: str,
|
|
@@ -178,6 +247,36 @@ class RuntimeAuthoringPart:
|
|
|
178
247
|
params["plan"] = plan
|
|
179
248
|
return await self._call("authoring_child_list", params)
|
|
180
249
|
|
|
250
|
+
async def authoring_context_read(self, section: Any = ABSENT, ids: Any = ABSENT, offset: Any = ABSENT, limit: Any = ABSENT, **unknown: Any) -> Any:
|
|
251
|
+
"""Model tool: read one section (common, specific, concepts, relations, names) of the calling job's step context.
|
|
252
|
+
|
|
253
|
+
Works only inside an authoring job (outside one the server answers AUTHORING_NO_CURRENT_JOB). A missing section or an unknown
|
|
254
|
+
field is passed to the server unchanged and refused there with -32602.
|
|
255
|
+
"""
|
|
256
|
+
params = supplied(section=section, ids=ids, offset=offset, limit=limit)
|
|
257
|
+
params.update(unknown)
|
|
258
|
+
return await self._call("authoring_context_read", params)
|
|
259
|
+
|
|
260
|
+
async def authoring_child_write(self, children: Any = ABSENT, **unknown: Any) -> Any:
|
|
261
|
+
"""Model tool: create (slug) and update (step) up to 12 direct children of the calling job's step in one transaction.
|
|
262
|
+
|
|
263
|
+
Works only inside an authoring job (outside one the server answers AUTHORING_NO_CURRENT_JOB). A missing children list or an
|
|
264
|
+
unknown field is passed to the server unchanged and refused there with -32602.
|
|
265
|
+
"""
|
|
266
|
+
params = supplied(children=children)
|
|
267
|
+
params.update(unknown)
|
|
268
|
+
return await self._call("authoring_child_write", params)
|
|
269
|
+
|
|
270
|
+
async def authoring_child_start(self, steps: Any = ABSENT, restart: Any = ABSENT, **unknown: Any) -> Any:
|
|
271
|
+
"""Model tool: start the jobs of up to 12 direct children of the calling job's step; restart=True restarts failed or stopped children.
|
|
272
|
+
|
|
273
|
+
Works only inside an authoring job (outside one the server answers AUTHORING_NO_CURRENT_JOB). A missing steps list, a wrongly typed
|
|
274
|
+
restart or an unknown field is passed to the server unchanged and refused there with -32602.
|
|
275
|
+
"""
|
|
276
|
+
params = supplied(steps=steps, restart=restart)
|
|
277
|
+
params.update(unknown)
|
|
278
|
+
return await self._call("authoring_child_start", params)
|
|
279
|
+
|
|
181
280
|
async def authoring_step_create(self, **params: Any) -> Any:
|
|
182
281
|
return await self._call("authoring_step_create", params)
|
|
183
282
|
|
|
@@ -177,6 +177,38 @@ class RuntimeCommandsMixin:
|
|
|
177
177
|
plan, common_prompt_document_id, executor_prompt_document_ids
|
|
178
178
|
)
|
|
179
179
|
|
|
180
|
+
async def authoring_session_get(self, session_id: Any = ABSENT, **unknown: Any) -> Any:
|
|
181
|
+
return await self.runtimeAuthoringPart.authoring_session_get(session_id, **unknown)
|
|
182
|
+
|
|
183
|
+
async def authoring_session_list(self, plan: Any = ABSENT, include_deleted: Any = ABSENT, limit: Any = ABSENT, offset: Any = ABSENT, **unknown: Any) -> Any:
|
|
184
|
+
return await self.runtimeAuthoringPart.authoring_session_list(plan, include_deleted, limit, offset, **unknown)
|
|
185
|
+
|
|
186
|
+
async def authoring_session_update(
|
|
187
|
+
self,
|
|
188
|
+
session_id: Any = ABSENT,
|
|
189
|
+
changed_by: Any = ABSENT,
|
|
190
|
+
common_prompt_document_id: Any = ABSENT,
|
|
191
|
+
executor_prompt_document_ids: Any = ABSENT,
|
|
192
|
+
**unknown: Any,
|
|
193
|
+
) -> Any:
|
|
194
|
+
return await self.runtimeAuthoringPart.authoring_session_update(
|
|
195
|
+
session_id, changed_by, common_prompt_document_id, executor_prompt_document_ids, **unknown
|
|
196
|
+
)
|
|
197
|
+
|
|
198
|
+
async def authoring_session_delete(
|
|
199
|
+
self,
|
|
200
|
+
session_id: Any = ABSENT,
|
|
201
|
+
changed_by: Any = ABSENT,
|
|
202
|
+
hard: bool = False,
|
|
203
|
+
recursive: bool = False,
|
|
204
|
+
dry_run: bool = False,
|
|
205
|
+
drop_dialogue: Any = ABSENT,
|
|
206
|
+
**unknown: Any,
|
|
207
|
+
) -> Any:
|
|
208
|
+
return await self.runtimeAuthoringPart.authoring_session_delete(
|
|
209
|
+
session_id, changed_by, hard=hard, recursive=recursive, dry_run=dry_run, drop_dialogue=drop_dialogue, **unknown
|
|
210
|
+
)
|
|
211
|
+
|
|
180
212
|
async def authoring_job_start(
|
|
181
213
|
self,
|
|
182
214
|
plan: str,
|
|
@@ -224,6 +256,15 @@ class RuntimeCommandsMixin:
|
|
|
224
256
|
async def authoring_child_list(self, step: str, plan: str | None = None) -> Any:
|
|
225
257
|
return await self.runtimeAuthoringPart.authoring_child_list(step, plan=plan)
|
|
226
258
|
|
|
259
|
+
async def authoring_context_read(self, section: Any = ABSENT, ids: Any = ABSENT, offset: Any = ABSENT, limit: Any = ABSENT, **unknown: Any) -> Any:
|
|
260
|
+
return await self.runtimeAuthoringPart.authoring_context_read(section, ids, offset, limit, **unknown)
|
|
261
|
+
|
|
262
|
+
async def authoring_child_write(self, children: Any = ABSENT, **unknown: Any) -> Any:
|
|
263
|
+
return await self.runtimeAuthoringPart.authoring_child_write(children, **unknown)
|
|
264
|
+
|
|
265
|
+
async def authoring_child_start(self, steps: Any = ABSENT, restart: Any = ABSENT, **unknown: Any) -> Any:
|
|
266
|
+
return await self.runtimeAuthoringPart.authoring_child_start(steps, restart, **unknown)
|
|
267
|
+
|
|
227
268
|
async def authoring_step_create(self, **params: Any) -> Any:
|
|
228
269
|
return await self.runtimeAuthoringPart.authoring_step_create(**params)
|
|
229
270
|
|
{plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/server_api.py
RENAMED
|
@@ -188,6 +188,10 @@ COMMAND_NAMES: frozenset[str] = frozenset(
|
|
|
188
188
|
"model_binding_remove",
|
|
189
189
|
"model_binding_resolve",
|
|
190
190
|
"authoring_session_create",
|
|
191
|
+
"authoring_session_get",
|
|
192
|
+
"authoring_session_list",
|
|
193
|
+
"authoring_session_update",
|
|
194
|
+
"authoring_session_delete",
|
|
191
195
|
"authoring_job_start",
|
|
192
196
|
"authoring_job_status",
|
|
193
197
|
"authoring_job_resume",
|
|
@@ -196,6 +200,9 @@ COMMAND_NAMES: frozenset[str] = frozenset(
|
|
|
196
200
|
"authoring_job_get",
|
|
197
201
|
"authoring_job_update",
|
|
198
202
|
"authoring_child_list",
|
|
203
|
+
"authoring_context_read",
|
|
204
|
+
"authoring_child_write",
|
|
205
|
+
"authoring_child_start",
|
|
199
206
|
"authoring_step_create",
|
|
200
207
|
"authoring_step_update",
|
|
201
208
|
"authoring_step_delete",
|
|
@@ -86,6 +86,8 @@ MUTATING_COMMAND_NAMES: frozenset[str] = frozenset(
|
|
|
86
86
|
"entity_copy",
|
|
87
87
|
"entity_restore",
|
|
88
88
|
"authoring_session_create",
|
|
89
|
+
"authoring_session_update",
|
|
90
|
+
"authoring_session_delete",
|
|
89
91
|
"authoring_job_start",
|
|
90
92
|
"authoring_job_resume",
|
|
91
93
|
"authoring_job_stop",
|
{plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: plan-manager-client
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.178
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/delivery/__init__.py
RENAMED
|
File without changes
|
{plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/delivery/archive.py
RENAMED
|
File without changes
|
|
File without changes
|
{plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/delivery/commit.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/delivery/upload.py
RENAMED
|
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
|
{plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/info_walker.py
RENAMED
|
File without changes
|
{plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client/scenario_runtime.py
RENAMED
|
File without changes
|
{plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/plan_manager_client.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{plan_manager_client-0.2.176 → plan_manager_client-0.2.178}/tests/test_client_server_api_sync.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|