Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
Use the Windows Python launcher for Hermes contract tests
tt-a1i9cf5f313b540
diff --git a/integrations/hermes-agent/test/plugin-contract.test.mjs b/integrations/hermes-agent/test/plugin-contract.test.mjsindex 6380b9be..2dbecbe9 100644--- a/integrations/hermes-agent/test/plugin-contract.test.mjs+++ b/integrations/hermes-agent/test/plugin-contract.test.mjs@@ -8,6 +8,8 @@ import { fileURLToPath } from 'node:url';const here = path.dirname(fileURLToPath(import.meta.url));const integrationRoot = path.resolve(here, '..');const repoRoot = path.resolve(integrationRoot, '..', '..');+const python = process.env.PYTHON || (process.platform === 'win32' ? 'py' : 'python3');+const pythonArgs = !process.env.PYTHON && process.platform === 'win32' ? ['-3'] : [];function read(relativePath) {return fs.readFileSync(path.join(integrationRoot, relativePath), 'utf8');@@ -36,7 +38,7 @@ test('plugin is skill-only and does not declare native tools', () => {});test('register() registers the in-repo Skill without a packed copy', () => {- const result = spawnSync('python3', ['-c', `+ const result = spawnSync(python, [...pythonArgs, '-c', `import importlib.utilfrom pathlib import Pathplugin = Path(${JSON.stringify(path.join(integrationRoot, '__init__.py'))})@@ -102,7 +104,7 @@ test('Archify core does not import or branch on Hermes Agent', () => {test('standalone plugin resolves configured homes and fails when no Skill exists', () => {- const result = spawnSync('python3', ['-c', `+ const result = spawnSync(python, [...pythonArgs, '-c', `import importlib.util, os, shutil, tempfilefrom pathlib import Pathwith tempfile.TemporaryDirectory() as tmp: