@1presence/bridge 0.85.0 → 0.86.0

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.
Files changed (2) hide show
  1. package/dist/claude.js +6 -1
  2. package/package.json +1 -1
package/dist/claude.js CHANGED
@@ -543,6 +543,7 @@ export function spawnClaude(params) {
543
543
  .finally(() => { mcpReconnecting = false; });
544
544
  };
545
545
  try {
546
+ let lastSurfaceLog = '';
546
547
  const q = query({ prompt: input.stream, options });
547
548
  for await (const m of q) {
548
549
  if (m.isReplay)
@@ -556,7 +557,11 @@ export function spawnClaude(params) {
556
557
  if (handleEvent(event))
557
558
  onEvent(event);
558
559
  const surface = assessRemoteMcpSurface(m);
559
- process.stderr.write(paint(surface.usable ? SECTION_COLORS.system : SECTION_COLORS.error, `[bridge] mcp surface: ${REMOTE_MCP_SERVER_NAME}=${surface.status}, ${surface.toolCount} tool(s)`) + '\n');
560
+ const surfaceLine = `[bridge] mcp surface: ${REMOTE_MCP_SERVER_NAME}=${surface.status}, ${surface.toolCount} tool(s)`;
561
+ if (surfaceLine !== lastSurfaceLog) {
562
+ lastSurfaceLog = surfaceLine;
563
+ process.stderr.write(paint(surface.usable ? SECTION_COLORS.system : SECTION_COLORS.error, surfaceLine) + '\n');
564
+ }
560
565
  if (!surface.usable) {
561
566
  let detail = '';
562
567
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1presence/bridge",
3
- "version": "0.85.0",
3
+ "version": "0.86.0",
4
4
  "description": "Run 1Presence on your Mac and use your Claude.ai Pro subscription from any device",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",