@abide/bridge 0.3.3 → 0.3.4
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/CHANGELOG.md +6 -0
- package/package.json +2 -2
- package/src/claudeTurn.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @abide/bridge
|
|
2
2
|
|
|
3
|
+
## 0.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 48cfc3e: multimodal transcripts — an `AssistantMessage`'s `content` is its words or its pieces in order, each `AssistantContent` text or an image as base64 with its type. `assistant` refuses an image a model can't take or one outside a user turn, and hands a `Provider` every turn as its pieces, words alone as one text piece. `claudeApi` shows each image to the model as an image block in its place, and `claudeCode` sends the one message Claude Code is sent as Messages API blocks, each image in its place. RULEBOOK 44.5, 44.36, 44.37, 44.38, 44.39
|
|
8
|
+
|
|
3
9
|
## 0.3.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abide/bridge",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Connects the Claude Code on your machine to the assistant on an abide site",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"CHANGELOG.md"
|
|
28
28
|
],
|
|
29
29
|
"engines": {
|
|
30
|
-
"bun": ">=1.4.
|
|
30
|
+
"bun": ">=1.4.4"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@abide/abide": "workspace:*"
|
package/src/claudeTurn.ts
CHANGED
|
@@ -19,10 +19,10 @@ const SERVER_NAME = 'app'
|
|
|
19
19
|
const SERVER_TOOLS = `mcp__${SERVER_NAME}`
|
|
20
20
|
const TOOL_PREFIX = `${SERVER_TOOLS}__`
|
|
21
21
|
|
|
22
|
-
/** What the site asks of one turn. */
|
|
22
|
+
/** What the site asks of one turn: its one message, as Messages API blocks. */
|
|
23
23
|
export type TurnRequest = {
|
|
24
24
|
id: string
|
|
25
|
-
prompt:
|
|
25
|
+
prompt: unknown[]
|
|
26
26
|
config: ClaudeCodeConfig
|
|
27
27
|
maxTurns: number
|
|
28
28
|
}
|