opencode-miniterm 1.0.4 → 1.0.5
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/bun.lock +3 -3
- package/package.json +2 -2
- package/src/index.ts +1 -1
package/bun.lock
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"": {
|
|
6
6
|
"name": "opencode-miniterm",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@opencode-ai/sdk": "^1.2.
|
|
9
|
-
"allmark": "^1.0.
|
|
8
|
+
"@opencode-ai/sdk": "^1.2.15",
|
|
9
|
+
"allmark": "^1.0.2",
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
|
|
72
72
|
"@typescript/native-preview-win32-x64": ["@typescript/native-preview-win32-x64@7.0.0-dev.20260122.2", "", { "os": "win32", "cpu": "x64" }, "sha512-TJH+sSn7vxcGvaSm+fhcpW//dfSGBZGHrxoy0edAbE7UpFf8ub/3cILL5V1pCsF7w3aLNNgVKRpUkowdUgYcPQ=="],
|
|
73
73
|
|
|
74
|
-
"allmark": ["allmark@1.0.
|
|
74
|
+
"allmark": ["allmark@1.0.2", "", { "bin": { "allmark": "dist/bin/index.mjs" } }, "sha512-aOhwGPDyqiuyqC24tNAcxkvlNEYWJSSTNC7l0BEJiTg1pItf5ipsQHEQMF92tPgfloRgBm88Li1+21VTkBp4VQ=="],
|
|
75
75
|
|
|
76
76
|
"balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
|
|
77
77
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-miniterm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "A small front-end terminal UI for OpenCode",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"bin": {
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@opencode-ai/sdk": "^1.2.15",
|
|
32
|
-
"allmark": "^1.0.
|
|
32
|
+
"allmark": "^1.0.2"
|
|
33
33
|
}
|
|
34
34
|
}
|
package/src/index.ts
CHANGED
|
@@ -799,7 +799,7 @@ async function processToolUse(part: Part) {
|
|
|
799
799
|
const toolPart = part as ToolPart;
|
|
800
800
|
const toolName = toolPart.tool || "unknown";
|
|
801
801
|
const toolInput = toolPart.state.input["description"] || toolPart.state.input["filePath"] || {};
|
|
802
|
-
const toolText = `$
|
|
802
|
+
const toolText = `$ ${toolName}: ${ansi.BRIGHT_BLACK}${toolInput}${ansi.RESET}`;
|
|
803
803
|
|
|
804
804
|
if (state.accumulatedResponse[state.accumulatedResponse.length - 1]?.title === "tool") {
|
|
805
805
|
state.accumulatedResponse[state.accumulatedResponse.length - 1]!.text = toolText;
|