opencode-top 3.3.5 → 3.3.6
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/package.json +2 -2
- package/bin/octop.mjs +0 -13
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-top",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.6",
|
|
4
4
|
"description": "Monitor OpenCode AI coding sessions - Token usage, costs, and agent analytics",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"opencode-top": "bin/octop.
|
|
7
|
+
"opencode-top": "bin/octop.js"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "node build.mjs",
|
package/bin/octop.mjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire } from "module";
|
|
3
|
-
import { fileURLToPath } from "url";
|
|
4
|
-
import { dirname, join } from "path";
|
|
5
|
-
|
|
6
|
-
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
7
|
-
const pkgRoot = join(__dirname, "..");
|
|
8
|
-
|
|
9
|
-
// Use tsx to run the TypeScript source
|
|
10
|
-
const { register } = await import("tsx/esm/api");
|
|
11
|
-
register();
|
|
12
|
-
|
|
13
|
-
await import(join(pkgRoot, "src", "cli.ts"));
|