diff options
| author | Dax Raad <[email protected]> | 2025-05-21 16:35:33 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-05-26 12:40:17 -0400 |
| commit | 59d43fa5da0619655c7ba3360e969bcbda1716ea (patch) | |
| tree | c250eb42038a0fa10f0094827c96160d677113bf | |
| parent | e01afb407c4b3eb50e85e7356b0be9489fb26eba (diff) | |
| download | opencode-59d43fa5da0619655c7ba3360e969bcbda1716ea.tar.gz opencode-59d43fa5da0619655c7ba3360e969bcbda1716ea.zip | |
add diagnostics meta
| -rw-r--r-- | js/example/ink.tsx | 1 | ||||
| -rw-r--r-- | js/src/tool/edit.ts | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/js/example/ink.tsx b/js/example/ink.tsx index 5eaab4d3b..2cd4aaa0c 100644 --- a/js/example/ink.tsx +++ b/js/example/ink.tsx @@ -38,6 +38,7 @@ function App() { const [state, setState] = useState(initial) const [input, setInput] = useState("") + useEffect(() => { fetch("http://localhost:16713/event") .then(stream => { diff --git a/js/src/tool/edit.ts b/js/src/tool/edit.ts index 56f31ad2e..96d8e0c54 100644 --- a/js/src/tool/edit.ts +++ b/js/src/tool/edit.ts @@ -132,6 +132,9 @@ export const edit = Tool.define({ } return { + metadata: { + diagnostics, + }, output, }; }, |
