@chatpanel/bridge 0.10.35 → 0.10.36
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.
- package/package.json +1 -1
- package/src/engines/cli-agents.js +6 -1
- package/src/server.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chatpanel/bridge",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.36",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Local bridge that exposes the AI coding agents installed on your machine \u2014 Claude Code (CLI), Codex (CLI), and Antigravity CLI (formerly Gemini CLI, which remains available for business/enterprise) \u2014 to the ChatPanel Chrome extension over a localhost SSE endpoint. Bring your own agent.",
|
|
6
6
|
"keywords": [
|
|
@@ -264,7 +264,12 @@ export async function listDshModels(command = 'dsh', workingDir) {
|
|
|
264
264
|
export const hermes = makeCliAgent(
|
|
265
265
|
'hermes',
|
|
266
266
|
{
|
|
267
|
-
|
|
267
|
+
// `-z {prompt}`, NOT a bare `-z`: Hermes takes the prompt as the VALUE of -z (Python
|
|
268
|
+
// argparse), and the runner appends a trailing prompt only when no {prompt} placeholder
|
|
269
|
+
// exists — after the model flag. That produced `hermes -z -m <model> "<prompt>"`, where
|
|
270
|
+
// argparse saw -z followed by another flag: "expected one argument". The placeholder
|
|
271
|
+
// binds the prompt to the flag, so the model flag can sit anywhere after it.
|
|
272
|
+
args: '-z {prompt}',
|
|
268
273
|
promptVia: 'arg',
|
|
269
274
|
modelArg: '-m {model}',
|
|
270
275
|
requiresStableMcp: true,
|
package/src/server.js
CHANGED
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
// Hardcoded (not read from package.json) so it survives Bun's single-file
|
|
68
68
|
// --compile, where package.json isn't on a readable FS. CI fails the publish if
|
|
69
69
|
// this drifts from package.json, so the two can't silently diverge.
|
|
70
|
-
const VERSION = '0.10.
|
|
70
|
+
const VERSION = '0.10.36';
|
|
71
71
|
const HOST = process.env.CHATPANEL_BRIDGE_HOST || '127.0.0.1';
|
|
72
72
|
const PORT = Number(process.env.CHATPANEL_BRIDGE_PORT) || 4319;
|
|
73
73
|
|