omnius 1.0.220 → 1.0.221

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
@@ -559587,6 +559587,7 @@ var init_agenticRunner = __esm({
559587
559587
  bruteForceMaxCycles: options2?.bruteForceMaxCycles ?? 100,
559588
559588
  allowTurnExtension: options2?.allowTurnExtension ?? true,
559589
559589
  completionProvenanceGuard: options2?.completionProvenanceGuard ?? true,
559590
+ backwardPassReview: options2?.backwardPassReview,
559590
559591
  disableAdversaryCritic,
559591
559592
  disableStepCritic: disableAdversaryCritic,
559592
559593
  modelTier: options2?.modelTier ?? "large",
@@ -561047,8 +561048,10 @@ ${recentVisualEvidence}` : `Recent structured visual evidence: none recorded.`,
561047
561048
  * a different path (eg. surface to user). max cycles enforced here.
561048
561049
  */
561049
561050
  async _runBackwardPassReview(turn) {
561051
+ const optOverride = this.options.backwardPassReview;
561050
561052
  const raw = (process.env["OMNIUS_BACKWARD_PASS"] || "off").toLowerCase();
561051
- const enabled2 = raw === "on" || raw === "1" || raw === "true";
561053
+ const envEnabled = raw === "on" || raw === "1" || raw === "true";
561054
+ const enabled2 = optOverride === true || optOverride !== false && envEnabled;
561052
561055
  if (!enabled2)
561053
561056
  return { proceed: true };
561054
561057
  const minWrites = parseInt(process.env["OMNIUS_BACKWARD_PASS_MIN_WRITES"] || "1", 10) || 1;
@@ -643437,7 +643440,7 @@ function renderTelegramSubAgentError(username, error) {
643437
643440
  process.stdout.write(` ${c3.dim("│")} ${c3.magenta("✘")} @${username}: ${c3.dim(preview)}
643438
643441
  `);
643439
643442
  }
643440
- var TELEGRAM_TOOL_ACTION_GROUPS, TELEGRAM_TOOL_ACTION_GROUP, TELEGRAM_TOOL_MUTATING_GROUPS, DEFAULT_TELEGRAM_TOOL_GROUP_POLICY, TELEGRAM_TOOL_BUTTON_LABELS, TELEGRAM_SAFETY_PROMPT, ADMIN_DM_PROMPT, ADMIN_GROUP_PROMPT, TELEGRAM_PUBLIC_SOUL_PROFILE, TELEGRAM_PUBLIC_ORCHESTRATOR_CONTRACT, TELEGRAM_PUBLIC_MEMORY_SCOPE_CONTRACT, TELEGRAM_PUBLIC_VISION_STACK_CONTRACT, GROUP_REPLY_DISCRETION_PROMPT, TELEGRAM_CHAT_MODE_PROMPT, ADMIN_CHAT_PROFILE_PROMPT, TELEGRAM_ACTION_RESPONSE_CONTRACT, TELEGRAM_EXTERNAL_ACQUISITION_CONTRACT, TELEGRAM_LINK_INTEGRITY_CONTRACT, TELEGRAM_INTERACTION_DECISION_RESPONSE_FORMAT, TELEGRAM_INTERACTION_DECISION_MINIMAL_SCHEMA, TELEGRAM_INTERACTION_DECISION_REPAIR_SCHEMA, TELEGRAM_CHAT_REPLY_RESPONSE_FORMAT, TELEGRAM_SPACED_URL_RE, TELEGRAM_HTTP_URL_RE, TELEGRAM_STUCK_SELF_TALK_PREFIXES, TELEGRAM_CHAT_HISTORY_LIMIT, TELEGRAM_CONTEXT_RECENT_DEFAULT, TELEGRAM_CONTEXT_LINE_LIMIT, TELEGRAM_CONTEXT_SAMPLE_LIMIT, TELEGRAM_MEMORY_CARD_LIMIT, TELEGRAM_MEMORY_NOTE_LIMIT, TELEGRAM_ASSOCIATIVE_FACT_LIMIT, TELEGRAM_ASSOCIATIVE_USER_FACT_LIMIT, TELEGRAM_ASSOCIATIVE_ACTION_LIMIT, TELEGRAM_ASSOCIATIVE_RELATION_LIMIT, TELEGRAM_MEMORY_STOPWORDS, TELEGRAM_MEMORY_GENERIC_QUERY_TOKENS, TELEGRAM_SUB_AGENT_BOUNDED_OPTIONS, TELEGRAM_SUB_AGENT_DEFAULT_LIMIT, TELEGRAM_SUB_AGENT_MAX_LIMIT, TELEGRAM_SUB_AGENT_BURST_CONTEXT_LIMIT, TELEGRAM_ADMIN_LIVE_PANEL_PAGES, TELEGRAM_ADMIN_LIVE_MUTATION_TOOLS, TELEGRAM_PUBLIC_HELP_COMMANDS2, TELEGRAM_REMINDER_SLASH_COMMANDS, TELEGRAM_REFLECTION_SLASH_COMMANDS, TELEGRAM_PUBLIC_BOT_COMMAND_NAMES, TELEGRAM_IMAGE_EXTENSIONS, MEDIA_CACHE_TTL_MS, TELEGRAM_CHANNEL_DMN_SWEEP_MS, TELEGRAM_CHANNEL_DMN_IDLE_AFTER_MS, TELEGRAM_CHANNEL_DMN_MIN_INTERVAL_MS, TELEGRAM_CHANNEL_DMN_MIN_MESSAGES, TELEGRAM_ALLOWED_UPDATES, TELEGRAM_DEFAULT_LONG_POLL_TIMEOUT_SECONDS, TELEGRAM_ROUTER_AUTO_MIN_PARAMETERS_B, TELEGRAM_PUBLIC_TOOL_QUOTAS, TelegramBridge;
643443
+ var TELEGRAM_TOOL_ACTION_GROUPS, TELEGRAM_TOOL_ACTION_GROUP, TELEGRAM_TOOL_MUTATING_GROUPS, DEFAULT_TELEGRAM_TOOL_GROUP_POLICY, TELEGRAM_TOOL_BUTTON_LABELS, TELEGRAM_SAFETY_PROMPT, ADMIN_DM_PROMPT, ADMIN_GROUP_PROMPT, TELEGRAM_PUBLIC_SOUL_PROFILE, TELEGRAM_PUBLIC_ORCHESTRATOR_CONTRACT, TELEGRAM_PUBLIC_MEMORY_SCOPE_CONTRACT, TELEGRAM_PUBLIC_VISION_STACK_CONTRACT, GROUP_REPLY_DISCRETION_PROMPT, TELEGRAM_CHAT_MODE_PROMPT, ADMIN_CHAT_PROFILE_PROMPT, TELEGRAM_ACTION_RESPONSE_CONTRACT, TELEGRAM_EXTERNAL_ACQUISITION_CONTRACT, TELEGRAM_LINK_INTEGRITY_CONTRACT, TELEGRAM_INTERACTION_DECISION_RESPONSE_FORMAT, TELEGRAM_INTERACTION_DECISION_MINIMAL_SCHEMA, TELEGRAM_INTERACTION_DECISION_REPAIR_SCHEMA, TELEGRAM_CHAT_REPLY_RESPONSE_FORMAT, TELEGRAM_SPACED_URL_RE, TELEGRAM_HTTP_URL_RE, TELEGRAM_STUCK_SELF_TALK_PREFIXES, TELEGRAM_CHAT_HISTORY_LIMIT, TELEGRAM_CONTEXT_RECENT_DEFAULT, TELEGRAM_CONTEXT_LINE_LIMIT, TELEGRAM_CONTEXT_SAMPLE_LIMIT, TELEGRAM_MEMORY_CARD_LIMIT, TELEGRAM_MEMORY_NOTE_LIMIT, TELEGRAM_ASSOCIATIVE_FACT_LIMIT, TELEGRAM_ASSOCIATIVE_USER_FACT_LIMIT, TELEGRAM_ASSOCIATIVE_ACTION_LIMIT, TELEGRAM_ASSOCIATIVE_RELATION_LIMIT, TELEGRAM_MEMORY_STOPWORDS, TELEGRAM_MEMORY_GENERIC_QUERY_TOKENS, TELEGRAM_SUB_AGENT_BOUNDED_OPTIONS, TELEGRAM_PUBLIC_FAST_OPTIONS, TELEGRAM_ADMIN_EVIDENCE_OPTIONS, TELEGRAM_SUB_AGENT_DEFAULT_LIMIT, TELEGRAM_SUB_AGENT_MAX_LIMIT, TELEGRAM_SUB_AGENT_BURST_CONTEXT_LIMIT, TELEGRAM_ADMIN_LIVE_PANEL_PAGES, TELEGRAM_ADMIN_LIVE_MUTATION_TOOLS, TELEGRAM_PUBLIC_HELP_COMMANDS2, TELEGRAM_REMINDER_SLASH_COMMANDS, TELEGRAM_REFLECTION_SLASH_COMMANDS, TELEGRAM_PUBLIC_BOT_COMMAND_NAMES, TELEGRAM_IMAGE_EXTENSIONS, MEDIA_CACHE_TTL_MS, TELEGRAM_CHANNEL_DMN_SWEEP_MS, TELEGRAM_CHANNEL_DMN_IDLE_AFTER_MS, TELEGRAM_CHANNEL_DMN_MIN_INTERVAL_MS, TELEGRAM_CHANNEL_DMN_MIN_MESSAGES, TELEGRAM_ALLOWED_UPDATES, TELEGRAM_DEFAULT_LONG_POLL_TIMEOUT_SECONDS, TELEGRAM_ROUTER_AUTO_MIN_PARAMETERS_B, TELEGRAM_PUBLIC_TOOL_QUOTAS, TelegramBridge;
643441
643444
  var init_telegram_bridge = __esm({
643442
643445
  "packages/cli/src/tui/telegram-bridge.ts"() {
643443
643446
  "use strict";
@@ -643874,6 +643877,18 @@ Telegram link integrity contract:
643874
643877
  bruteForceMaxCycles: 0,
643875
643878
  allowTurnExtension: false
643876
643879
  };
643880
+ TELEGRAM_PUBLIC_FAST_OPTIONS = {
643881
+ ...TELEGRAM_SUB_AGENT_BOUNDED_OPTIONS,
643882
+ completionProvenanceGuard: false,
643883
+ backwardPassReview: false
643884
+ };
643885
+ TELEGRAM_ADMIN_EVIDENCE_OPTIONS = {
643886
+ bruteForce: false,
643887
+ bruteForceMaxCycles: 0,
643888
+ allowTurnExtension: false,
643889
+ completionProvenanceGuard: true,
643890
+ backwardPassReview: true
643891
+ };
643877
643892
  TELEGRAM_SUB_AGENT_DEFAULT_LIMIT = 2;
643878
643893
  TELEGRAM_SUB_AGENT_MAX_LIMIT = 5;
643879
643894
  TELEGRAM_SUB_AGENT_BURST_CONTEXT_LIMIT = 20;
@@ -652235,17 +652250,6 @@ ${conversationStream}`
652235
652250
  modelTier,
652236
652251
  disableTodoCompletionGuard: true,
652237
652252
  disableTodoPlanningNudges: true,
652238
- // Public/group Telegram is a CONVERSATIONAL surface. The heavy
652239
- // action-heavy completion-provenance guard (which demands browser/desktop
652240
- // observations and an explicit "Evidence/Provenance" note before
652241
- // task_complete) is meant for deliverable-oriented coding sessions; on a
652242
- // social reply it misclassifies the task as action-heavy and blocks
652243
- // simple replies, burning the bounded turn budget until the agent never
652244
- // answers. Disable it for non-admin runs. The targeted fabricated-
652245
- // provenance audit (e.g. "computed via Python" with no execution) runs
652246
- // independently of this flag, so confident-but-fabricated answers are
652247
- // still caught. Admin DMs keep the full guard (they do real work).
652248
- completionProvenanceGuard: isAdminDM,
652249
652253
  streamEnabled: true,
652250
652254
  dynamicContext: sessionContext.context,
652251
652255
  captureContextFrame: true,
@@ -652263,11 +652267,14 @@ ${conversationStream}`
652263
652267
  // (compaction window, recovery prompt, watchdog probe) inherits the
652264
652268
  // off default rather than the global config's value.
652265
652269
  thinking: false,
652266
- // Telegram sub-agent runs must be bounded. Brute-force re-engagement and
652267
- // the Adversary near-cap turn extension are appropriate for the full TUI
652268
- // session but cause Telegram to silently outgrow its nominal maxTurns,
652269
- // which is how the Snow Crash PDF loop reached 60+ turns of self-talk.
652270
- ...TELEGRAM_SUB_AGENT_BOUNDED_OPTIONS
652270
+ // Surface-specific profile. PUBLIC/GROUP: bounded + fast + provenance
652271
+ // guard off (truthfulness still enforced by the independent fabricated-
652272
+ // provenance audit) so replies are quick and non-fabricated. ADMIN DM:
652273
+ // evidence-heavy provenance guard on + adversarial backward-pass
652274
+ // approval on, persistence via unlimited maxTurns above. Both keep
652275
+ // brute-force re-engagement and Adversary turn-extension OFF, which is
652276
+ // how Telegram avoids the 60+ turn self-talk loops.
652277
+ ...isAdminDM ? TELEGRAM_ADMIN_EVIDENCE_OPTIONS : TELEGRAM_PUBLIC_FAST_OPTIONS
652271
652278
  });
652272
652279
  runner.setWorkingDirectory(repoRoot);
652273
652280
  subAgent.runner = runner;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.220",
3
+ "version": "1.0.221",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.220",
9
+ "version": "1.0.221",
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.220",
3
+ "version": "1.0.221",
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",