Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ agent-orchestrator.yaml
# Agent-orchestrator / tooling scaffolding
.ao/
.serena/
tasks/
tasks/__pycache__/
*.pyc
2 changes: 1 addition & 1 deletion adapters/vscode/PixelAgentsViewProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export class PixelAgentsViewProvider implements vscode.WebviewViewProvider {
});

// Create shared runtime (owns timer Maps, scanners, hook handler, dismissal tracker)
this.runtime = new AgentRuntime(this.store, claudeProvider);
this.runtime = new AgentRuntime(this.store, [claudeProvider]);

this.initServer();
}
Expand Down
22 changes: 22 additions & 0 deletions esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ function buildHooks() {
console.log('✓ Built hooks/ → dist/hooks/');
}

/**
* Copy the Hermes plugin's Python source (not TypeScript -- no bundling needed,
* it runs inside Hermes's own venv) into dist/hooks/ alongside the compiled
* Claude hook script, so both ship in the npm tarball's dist/hooks/ allowlist entry.
*/
function copyHermesPlugin() {
const src = path.join(
__dirname,
'server',
'src',
'providers',
'hook',
'hermes',
'pixel_agents_bridge_plugin.py',
);
if (!fs.existsSync(src)) return;
fs.mkdirSync(path.join(__dirname, 'dist', 'hooks'), { recursive: true });
fs.copyFileSync(src, path.join(__dirname, 'dist', 'hooks', 'pixel_agents_bridge_plugin.py'));
console.log('✓ Copied hermes plugin → dist/hooks/pixel_agents_bridge_plugin.py');
}

/**
* @type {import('esbuild').Plugin}
*/
Expand Down Expand Up @@ -108,6 +129,7 @@ async function main() {
// Copy assets and hooks after build
copyAssets();
buildHooks();
copyHermesPlugin();
await buildCli();
}
}
Expand Down
92 changes: 1 addition & 91 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"dist/cli.js",
"dist/extension.js",
"dist/hooks/claude-hook.js",
"dist/hooks/pixel_agents_bridge_plugin.py",
"dist/assets/",
"dist/webview/",
"icon.png"
Expand Down
Loading
Loading