@1presence/bridge 0.37.0 → 0.38.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 +4 -0
  2. package/package.json +1 -1
package/dist/claude.js CHANGED
@@ -93,6 +93,10 @@ function summariseHistoryBlock(block) {
93
93
  if (block.type === 'tool_use') {
94
94
  return `→ ${block.name} ${formatPayload(block.input)}`;
95
95
  }
96
+ if (block.type === 'image') {
97
+ const bytes = Math.floor((block.source?.data?.length ?? 0) * 0.75);
98
+ return `🖼 image (${block.source?.media_type ?? 'unknown'}, ~${bytes} bytes)`;
99
+ }
96
100
  // tool_result
97
101
  const body = typeof block.content === 'string'
98
102
  ? block.content
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1presence/bridge",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "Run 1Presence on your Mac and use your Claude.ai Pro subscription from any device",
5
5
  "bin": {
6
6
  "1presence-bridge": "dist/index.js"