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 +43 -39
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -723959,45 +723959,49 @@ ${entry.fullContent}`
|
|
|
723959
723959
|
`
|
|
723960
723960
|
);
|
|
723961
723961
|
} else {
|
|
723962
|
-
|
|
723963
|
-
|
|
723964
|
-
|
|
723965
|
-
|
|
723966
|
-
|
|
723967
|
-
|
|
723968
|
-
|
|
723969
|
-
|
|
723970
|
-
|
|
723971
|
-
|
|
723972
|
-
|
|
723973
|
-
|
|
723974
|
-
|
|
723975
|
-
|
|
723976
|
-
|
|
723977
|
-
|
|
723978
|
-
|
|
723979
|
-
|
|
723980
|
-
|
|
723981
|
-
|
|
723982
|
-
|
|
723983
|
-
|
|
723984
|
-
|
|
723985
|
-
|
|
723986
|
-
|
|
723987
|
-
|
|
723988
|
-
|
|
723989
|
-
const
|
|
723990
|
-
|
|
723991
|
-
|
|
723992
|
-
|
|
723993
|
-
|
|
723994
|
-
id,
|
|
723995
|
-
|
|
723996
|
-
|
|
723997
|
-
|
|
723998
|
-
|
|
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;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
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.
|
|
9
|
+
"version": "1.0.398",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED