omnius 1.0.500 → 1.0.502

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
@@ -744794,6 +744794,7 @@ ${entry.fullContent}`
744794
744794
  writeToNeovimOutput(` ${prefix} ${preview}\r
744795
744795
  `);
744796
744796
  } else {
744797
+ stream?.renderer.flushPendingLine?.();
744797
744798
  contentWrite(() => {
744798
744799
  renderToolResult(
744799
744800
  event.toolName ?? "unknown",
@@ -745718,21 +745719,34 @@ SEED PROMPT:
745718
745719
  ${seedText}`
745719
745720
  ].filter(Boolean).join("\n");
745720
745721
  try {
745721
- const resp = await backend.chatCompletion({
745722
- messages: [
745723
- {
745724
- role: "system",
745725
- content: `You are a prompt-expansion engine. You rewrite a user's short seed prompt into a richer, unambiguous instruction that fully captures their intent. Return strict JSON only: {"enhancedPrompt": string}.`
745726
- },
745727
- { role: "user", content: userPrompt }
745728
- ],
745729
- tools: [],
745730
- temperature: 0.4,
745731
- maxTokens: 1400,
745732
- timeoutMs: 6e4,
745733
- think: false,
745734
- responseFormat: { type: "json_object" }
745735
- });
745722
+ const messages2 = [
745723
+ {
745724
+ role: "system",
745725
+ content: `You are a prompt-expansion engine. You rewrite a user's short seed prompt into a richer, unambiguous instruction that fully captures their intent. Return strict JSON only: {"enhancedPrompt": string}.`
745726
+ },
745727
+ { role: "user", content: userPrompt }
745728
+ ];
745729
+ let resp;
745730
+ try {
745731
+ resp = await backend.chatCompletion({
745732
+ messages: messages2,
745733
+ tools: [],
745734
+ temperature: 0.4,
745735
+ maxTokens: 1400,
745736
+ timeoutMs: 6e4,
745737
+ think: false,
745738
+ responseFormat: { type: "json_object" }
745739
+ });
745740
+ } catch {
745741
+ resp = await backend.chatCompletion({
745742
+ messages: messages2,
745743
+ tools: [],
745744
+ temperature: 0.4,
745745
+ maxTokens: 1400,
745746
+ timeoutMs: 6e4,
745747
+ think: false
745748
+ });
745749
+ }
745736
745750
  const rawContent2 = resp.choices?.[0]?.message?.content ?? "";
745737
745751
  if (!rawContent2) return null;
745738
745752
  const enhanced = extractEnhancedPrompt(rawContent2);
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.500",
3
+ "version": "1.0.502",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.500",
9
+ "version": "1.0.502",
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.500",
3
+ "version": "1.0.502",
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",