omnius 1.0.397 → 1.0.398

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/index.js CHANGED
@@ -723959,45 +723959,49 @@ ${entry.fullContent}`
723959
723959
  `
723960
723960
  );
723961
723961
  } else {
723962
- contentWrite(() => {
723963
- if (voice?.enabled && (voice.voiceMode === "action" || voice.voiceMode === "verbose")) {
723964
- const emoState = emotionEngine?.getState();
723965
- const emoCtx = emoState ? {
723966
- valence: emoState.valence,
723967
- arousal: emoState.arousal,
723968
- label: emoState.label,
723969
- emoji: emoState.emoji
723970
- } : void 0;
723971
- const desc = describeToolCall(
723972
- event.toolName ?? "unknown",
723973
- event.toolArgs ?? {},
723974
- vLevel,
723975
- emoCtx,
723976
- isStark
723977
- );
723978
- renderVoiceText(desc);
723979
- voice.speakSubordinate(desc, emoCtx);
723980
- }
723981
- renderToolCallStart(
723982
- event.toolName ?? "unknown",
723983
- event.toolArgs ?? {},
723984
- config.verbose
723985
- );
723986
- const liveShellStatusBar = statusBar;
723987
- if (event.toolName === "shell" && liveShellStatusBar?.isActive) {
723988
- const command = String(event.toolArgs?.command ?? "");
723989
- const state = createShellLiveBlockState(command);
723990
- const id = `shell-live-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`;
723991
- liveShellBlock = { id, state, repaintTimer: null };
723992
- lastLiveShellPaint = "";
723993
- liveShellStatusBar.registerDynamicBlock(
723994
- id,
723995
- (width) => buildShellLiveBlockLines(state, width)
723996
- );
723997
- liveShellStatusBar.appendDynamicBlock(id);
723998
- scheduleLiveShellRepaint();
723999
- }
724000
- });
723962
+ renderToolCallStart(
723963
+ event.toolName ?? "unknown",
723964
+ event.toolArgs ?? {},
723965
+ config.verbose
723966
+ );
723967
+ const wantsVoice = !!voice?.enabled && (voice.voiceMode === "action" || voice.voiceMode === "verbose");
723968
+ const wantsShellLive = event.toolName === "shell" && !!statusBar?.isActive;
723969
+ if (wantsVoice || wantsShellLive) {
723970
+ contentWrite(() => {
723971
+ if (wantsVoice && voice) {
723972
+ const emoState = emotionEngine?.getState();
723973
+ const emoCtx = emoState ? {
723974
+ valence: emoState.valence,
723975
+ arousal: emoState.arousal,
723976
+ label: emoState.label,
723977
+ emoji: emoState.emoji
723978
+ } : void 0;
723979
+ const desc = describeToolCall(
723980
+ event.toolName ?? "unknown",
723981
+ event.toolArgs ?? {},
723982
+ vLevel,
723983
+ emoCtx,
723984
+ isStark
723985
+ );
723986
+ renderVoiceText(desc);
723987
+ voice.speakSubordinate(desc, emoCtx);
723988
+ }
723989
+ const liveShellStatusBar = statusBar;
723990
+ if (wantsShellLive && liveShellStatusBar) {
723991
+ const command = String(event.toolArgs?.command ?? "");
723992
+ const state = createShellLiveBlockState(command);
723993
+ const id = `shell-live-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`;
723994
+ liveShellBlock = { id, state, repaintTimer: null };
723995
+ lastLiveShellPaint = "";
723996
+ liveShellStatusBar.registerDynamicBlock(
723997
+ id,
723998
+ (width) => buildShellLiveBlockLines(state, width)
723999
+ );
724000
+ liveShellStatusBar.appendDynamicBlock(id);
724001
+ scheduleLiveShellRepaint();
724002
+ }
724003
+ });
724004
+ }
724001
724005
  }
724002
724006
  if (event.toolName) sessionToolsUsed.add(event.toolName);
724003
724007
  break;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.397",
3
+ "version": "1.0.398",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.397",
9
+ "version": "1.0.398",
10
10
  "bundleDependencies": [
11
11
  "image-to-ascii"
12
12
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.397",
3
+ "version": "1.0.398",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",