opencode-top 3.2.0 → 3.2.1
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/dist/cli.mjs +3 -1
- package/package.json +2 -1
- package/patches/ink+5.2.1.patch +13 -0
package/dist/cli.mjs
CHANGED
|
@@ -17935,7 +17935,9 @@ var Ink = class {
|
|
|
17935
17935
|
this.fullStaticOutput += staticOutput;
|
|
17936
17936
|
}
|
|
17937
17937
|
if (outputHeight >= this.options.stdout.rows) {
|
|
17938
|
-
this.
|
|
17938
|
+
this.log.clear();
|
|
17939
|
+
if (this.fullStaticOutput) this.options.stdout.write(this.fullStaticOutput);
|
|
17940
|
+
this.log(output);
|
|
17939
17941
|
this.lastOutput = output;
|
|
17940
17942
|
return;
|
|
17941
17943
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-top",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "Monitor OpenCode AI coding sessions - Token usage, costs, and agent analytics",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"@types/node": "^22.10.5",
|
|
32
32
|
"@types/react": "^18.3.3",
|
|
33
33
|
"esbuild": "^0.27.4",
|
|
34
|
+
"patch-package": "^8.0.1",
|
|
34
35
|
"tsx": "^4.19.2",
|
|
35
36
|
"typescript": "^5.7.2",
|
|
36
37
|
"vitest": "^2.1.8"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
--- /tmp/ink.js.orig 2026-03-15 03:32:19.803923699 +0100
|
|
2
|
+
+++ node_modules/ink/build/ink.js 2026-03-15 03:32:24.220762248 +0100
|
|
3
|
+
@@ -119,7 +119,9 @@
|
|
4
|
+
this.fullStaticOutput += staticOutput;
|
|
5
|
+
}
|
|
6
|
+
if (outputHeight >= this.options.stdout.rows) {
|
|
7
|
+
- this.options.stdout.write(ansiEscapes.clearTerminal + this.fullStaticOutput + output);
|
|
8
|
+
+ this.log.clear();
|
|
9
|
+
+ if (this.fullStaticOutput) this.options.stdout.write(this.fullStaticOutput);
|
|
10
|
+
+ this.log(output);
|
|
11
|
+
this.lastOutput = output;
|
|
12
|
+
return;
|
|
13
|
+
}
|