feat(coder): format expanded image references cleanly as [Image: path]
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
Not deployed through the forge lane
No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.
Changed files
-
modified
packages/openagents-cli/src/coder-image.ts -
modified
packages/openagents-cli/test/coder-image.test.ts
Diff
2 files changed, +5 -5
packages/openagents-cli/src/coder-image.ts modified +3 -2
@@ -166,7 +166,8 @@ export function mimeTypeForImage(filePath: string): string {
| 166 | 166 |
|
| 167 | 167 |
|
| 168 | 168 |
|
| 169 |
|
|
| 169 |
|
|
| 170 |
|
|
| 170 | 171 |
|
| 171 | 172 |
|
| 172 | 173 |
|
@@ -188,7 +189,7 @@ export function expandImageRefsForModel(
| 188 | 189 |
|
| 189 | 190 |
|
| 190 | 191 |
|
| 191 |
|
|
| 192 |
|
|
| 192 | 193 |
|
| 193 | 194 |
|
| 194 | 195 |
|
packages/openagents-cli/test/coder-image.test.ts modified +2 -3
@@ -5,7 +5,6 @@ import { describe, expect, it } from "vitest";
| 5 | 5 |
|
| 6 | 6 |
|
| 7 | 7 |
|
| 8 |
|
|
| 9 | 8 |
|
| 10 | 9 |
|
| 11 | 10 |
|
@@ -86,7 +85,7 @@ describe("coder-image utilities", () => {
| 86 | 85 |
|
| 87 | 86 |
|
| 88 | 87 |
|
| 89 |
|
|
| 88 |
|
|
| 90 | 89 |
|
| 91 | 90 |
|
| 92 | 91 |
|
@@ -110,7 +109,7 @@ describe("coder-image utilities", () => {
| 110 | 109 |
|
| 111 | 110 |
|
| 112 | 111 |
|
| 113 |
|
|
| 112 |
|
|
| 114 | 113 |
|
| 115 | 114 |
|
| 116 | 115 |
|