dynworkflow 0.1.1__tar.gz → 0.1.2__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.
- {dynworkflow-0.1.1 → dynworkflow-0.1.2}/PKG-INFO +1 -1
- {dynworkflow-0.1.1 → dynworkflow-0.1.2}/pyproject.toml +1 -1
- {dynworkflow-0.1.1 → dynworkflow-0.1.2}/src/dynworkflow/agent.py +3 -1
- {dynworkflow-0.1.1 → dynworkflow-0.1.2}/src/dynworkflow/flow.py +2 -0
- {dynworkflow-0.1.1 → dynworkflow-0.1.2}/README.md +0 -0
- {dynworkflow-0.1.1 → dynworkflow-0.1.2}/src/dynworkflow/__init__.py +0 -0
- {dynworkflow-0.1.1 → dynworkflow-0.1.2}/src/dynworkflow/cache.py +0 -0
- {dynworkflow-0.1.1 → dynworkflow-0.1.2}/src/dynworkflow/py.typed +0 -0
- {dynworkflow-0.1.1 → dynworkflow-0.1.2}/src/dynworkflow/reporter.py +0 -0
- {dynworkflow-0.1.1 → dynworkflow-0.1.2}/src/dynworkflow/schemas.py +0 -0
|
@@ -509,7 +509,7 @@ class AgentClient:
|
|
|
509
509
|
def _initialize(self, connection: _ACPConnection | _ACPWebSocketConnection) -> InitializeResult:
|
|
510
510
|
params: InitializeParams = {
|
|
511
511
|
"protocolVersion": self.protocol_version,
|
|
512
|
-
"capabilities": {},
|
|
512
|
+
"capabilities": {"dyn.cxykevin.top": {}},
|
|
513
513
|
"info": {"name": "dynworkflow", "title": "dynworkflow", "version": "0.1.0"},
|
|
514
514
|
}
|
|
515
515
|
result = connection.request("initialize", cast(JsonObject, params))
|
|
@@ -531,6 +531,8 @@ class AgentClient:
|
|
|
531
531
|
"cwd": str(pathlib.Path(cwd).expanduser().resolve()),
|
|
532
532
|
"mcpServers": [] if mcp_servers is None else mcp_servers,
|
|
533
533
|
}
|
|
534
|
+
# The extension field is ACP metadata at the session params root.
|
|
535
|
+
cast(JsonObject, params)["dyn.cxykevin.top/hidden"] = True
|
|
534
536
|
return params
|
|
535
537
|
|
|
536
538
|
@staticmethod
|
|
@@ -615,6 +615,8 @@ class Flow:
|
|
|
615
615
|
|
|
616
616
|
def run(self, *tasks: Execute) -> NoReturn:
|
|
617
617
|
"""Node.run() 在 fork 子进程执行工作流,主进程监听 stdin JSONL。"""
|
|
618
|
+
sys.stdout.write("\x1edynworkflow\x1f\n")
|
|
619
|
+
sys.stdout.flush()
|
|
618
620
|
self._report = True
|
|
619
621
|
if self._reporter is None:
|
|
620
622
|
self._reporter = optional_reporter(True)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|