@dimi-agent/cli 0.6.0 → 0.6.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.
Files changed (2) hide show
  1. package/dist/main.mjs +2 -1
  2. package/package.json +9 -9
package/dist/main.mjs CHANGED
@@ -378352,6 +378352,7 @@ var init_tool_call = __esmMin((() => {
378352
378352
  const wait = this.waitState;
378353
378353
  if (wait === void 0 || wait.ended || wait.timedOut) return;
378354
378354
  wait.ended = true;
378355
+ wait.endedElapsedSeconds = Math.min(wait.maxSeconds, Math.max(0, Math.floor((Date.now() - wait.startedAtMs) / 1e3)));
378355
378356
  this.stopWaitTimer();
378356
378357
  this.headerText.setText(this.buildHeader());
378357
378358
  this.notifySnapshotChange();
@@ -378621,7 +378622,7 @@ var init_tool_call = __esmMin((() => {
378621
378622
  timerText = `${max} (timeout)`;
378622
378623
  } else if (wait.ended) {
378623
378624
  verb = currentTheme.boldFg("success", "Waited");
378624
- timerText = `${formatElapsed(elapsedSeconds)} / ${max}`;
378625
+ timerText = `${formatElapsed(wait.endedElapsedSeconds ?? elapsedSeconds)} / ${max}`;
378625
378626
  } else {
378626
378627
  verb = currentTheme.boldFg("primary", "Waiting");
378627
378628
  timerText = `${formatElapsed(elapsedSeconds)} / ${max}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimi-agent/cli",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "The Starting Point for Next-Gen Agents",
5
5
  "keywords": [
6
6
  "agent",
@@ -61,23 +61,23 @@
61
61
  "yazl": "^3.3.1",
62
62
  "zod": "^4.3.6",
63
63
  "@dimi-agent/agent-core-v2": "^0.1.0",
64
- "@dimi-agent/dimi-oauth": "^0.1.0",
65
- "@dimi-agent/dimi-sdk": "^0.2.0",
66
64
  "@dimi-agent/dimi-telemetry": "^0.1.0",
65
+ "@dimi-agent/dimi-sdk": "^0.2.0",
67
66
  "@dimi-agent/dimi-web": "^0.1.0",
68
67
  "@dimi-agent/kap-server": "^0.1.0",
69
- "@dimi-agent/remote": "^0.1.0",
70
- "@dimi-agent/pi-tui": "^0.1.0"
68
+ "@dimi-agent/dimi-oauth": "^0.1.0",
69
+ "@dimi-agent/pi-tui": "^0.1.0",
70
+ "@dimi-agent/remote": "^0.1.0"
71
71
  },
72
72
  "optionalDependencies": {
73
- "@mariozechner/clipboard": "^0.3.9",
74
- "node-pty": "^1.1.0",
75
73
  "@dimi-agent/dimi-native-darwin-arm64": ">=0.5.3 <1",
76
74
  "@dimi-agent/dimi-native-darwin-x64": ">=0.5.3 <1",
77
- "@dimi-agent/dimi-native-linux-x64": ">=0.5.3 <1",
78
75
  "@dimi-agent/dimi-native-linux-arm64": ">=0.5.3 <1",
76
+ "@dimi-agent/dimi-native-linux-x64": ">=0.5.3 <1",
77
+ "@dimi-agent/dimi-native-win32-arm64": ">=0.5.3 <1",
79
78
  "@dimi-agent/dimi-native-win32-x64": ">=0.5.3 <1",
80
- "@dimi-agent/dimi-native-win32-arm64": ">=0.5.3 <1"
79
+ "@mariozechner/clipboard": "^0.3.9",
80
+ "node-pty": "^1.1.0"
81
81
  },
82
82
  "engines": {
83
83
  "node": ">=22.19.0"