@thingd/cli 0.52.3 → 0.52.4
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/interactive.d.ts.map +1 -1
- package/dist/interactive.js +13 -8
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interactive.d.ts","sourceRoot":"","sources":["../src/interactive.ts"],"names":[],"mappings":"AAilEA,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"interactive.d.ts","sourceRoot":"","sources":["../src/interactive.ts"],"names":[],"mappings":"AAilEA,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,CAyDvD"}
|
package/dist/interactive.js
CHANGED
|
@@ -1975,14 +1975,19 @@ export async function runInteractiveCli() {
|
|
|
1975
1975
|
// Background polling loop for real-time updates
|
|
1976
1976
|
pollTimer = setInterval(async () => {
|
|
1977
1977
|
if (connected && !formState?.active) {
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1978
|
+
try {
|
|
1979
|
+
const snapItemId = loadedItemId;
|
|
1980
|
+
await fetchResources();
|
|
1981
|
+
draw();
|
|
1982
|
+
const tree = buildTree();
|
|
1983
|
+
const n = tree[cursorIndex];
|
|
1984
|
+
// Silently reload content if the same node is still actively viewed
|
|
1985
|
+
if (n && snapItemId === n.id && n.type !== "category") {
|
|
1986
|
+
await loadContent(n).catch(() => { });
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
catch {
|
|
1990
|
+
// Prevent unhandled rejection from killing the process
|
|
1986
1991
|
}
|
|
1987
1992
|
}
|
|
1988
1993
|
}, 2000);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thingd/cli",
|
|
3
|
-
"version": "0.52.
|
|
3
|
+
"version": "0.52.4",
|
|
4
4
|
"description": "CLI, Interactive TUI Dashboard, and MCP server for thingd — a fast object-first data engine for applications and AI agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://engine.thingd.cloud",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"cli-table3": "^0.6.5",
|
|
46
46
|
"picocolors": "^1.1.1",
|
|
47
47
|
"zod": "^4.4.3",
|
|
48
|
-
"@thingd/sdk": "0.52.
|
|
48
|
+
"@thingd/sdk": "0.52.4"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=24.0.0"
|