chore(python): audit providers kimi grok qwen letta
Move the four providers onto _runtime and _shell_command; expected runtime scripts take the runtime config; add unique_preconditions. Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
This commit is contained in:
1 parent
37e8289510
commit
407e4628a0
24 files changed
+297
-1920
No files matched your search
@@ -205,13 +205,17 @@ def require_hooks_enabled(sources: CopilotSources) -> None:
|
||||
)
|
||||
|
||||
|
||||
def _expected_scripts(agent_id: str, _config: JsonObject) -> Tuple[str, str]:
|
||||
return expected_runtime_scripts(AGENT_KEY, agent_id)
|
||||
|
||||
|
||||
def runtime_files_exist(contracts: List[RuntimeContract]) -> bool:
|
||||
return any(
|
||||
runtime_contract_exists(
|
||||
contract,
|
||||
AGENT_KEY,
|
||||
"Copilot",
|
||||
expected_runtime_scripts(AGENT_KEY, contract.agent_id),
|
||||
_expected_scripts,
|
||||
)
|
||||
for contract in contracts
|
||||
)
|
||||
Reference in new issue
Block a user