omnius 1.0.227 → 1.0.229
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 +113 -43
- package/npm-shrinkwrap.json +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6420,6 +6420,22 @@ function buildCompactDiff(oldStr, newStr, maxLen = 200) {
|
|
|
6420
6420
|
return `- ${oldTrim}
|
|
6421
6421
|
+ ${newTrim}`;
|
|
6422
6422
|
}
|
|
6423
|
+
function buildLineNumberedDiff(oldStr, newStr, oldStartLine = 1, newStartLine = oldStartLine, maxLines = 400) {
|
|
6424
|
+
const oldLines = oldStr.length > 0 ? oldStr.split("\n") : [];
|
|
6425
|
+
const newLines = newStr.length > 0 ? newStr.split("\n") : [];
|
|
6426
|
+
const out = [];
|
|
6427
|
+
const pad = (n2) => String(n2).padStart(4, " ");
|
|
6428
|
+
for (let i2 = 0; i2 < oldLines.length && out.length < maxLines; i2++) {
|
|
6429
|
+
out.push(`${pad(oldStartLine + i2)} - ${oldLines[i2]}`);
|
|
6430
|
+
}
|
|
6431
|
+
for (let i2 = 0; i2 < newLines.length && out.length < maxLines; i2++) {
|
|
6432
|
+
out.push(`${pad(newStartLine + i2)} + ${newLines[i2]}`);
|
|
6433
|
+
}
|
|
6434
|
+
const omitted = oldLines.length + newLines.length - out.length;
|
|
6435
|
+
if (omitted > 0)
|
|
6436
|
+
out.push(` … ${omitted} more diff line(s)`);
|
|
6437
|
+
return out.join("\n");
|
|
6438
|
+
}
|
|
6423
6439
|
var _sessionId, _taskGoal;
|
|
6424
6440
|
var init_change_log = __esm({
|
|
6425
6441
|
"packages/execution/dist/tools/change-log.js"() {
|
|
@@ -12620,13 +12636,15 @@ ${diff}`,
|
|
|
12620
12636
|
diff
|
|
12621
12637
|
});
|
|
12622
12638
|
const linesInfo = editedLines.length === 1 ? `line ${editedLines[0]}` : `${editedLines.length} locations (lines ${editedLines.join(", ")})`;
|
|
12639
|
+
const lineNumberedDiff = buildLineNumberedDiff(oldString, newString, editedLines[0] ?? 1);
|
|
12623
12640
|
return {
|
|
12624
12641
|
success: true,
|
|
12625
|
-
output: `Edited ${filePath} at ${linesInfo} (sha256 ${beforeHash} → ${afterHash})
|
|
12642
|
+
output: `Edited ${filePath} at ${linesInfo} (sha256 ${beforeHash} → ${afterHash})
|
|
12643
|
+
${lineNumberedDiff}`,
|
|
12626
12644
|
durationMs: performance.now() - start2,
|
|
12627
12645
|
mutated: true,
|
|
12628
12646
|
mutatedFiles: [filePath],
|
|
12629
|
-
diff,
|
|
12647
|
+
diff: lineNumberedDiff,
|
|
12630
12648
|
noop: false,
|
|
12631
12649
|
beforeHash,
|
|
12632
12650
|
afterHash
|
|
@@ -25934,10 +25952,10 @@ Re-read the target range and retry with exact current content.`,
|
|
|
25934
25952
|
durationMs: performance.now() - start2
|
|
25935
25953
|
};
|
|
25936
25954
|
}
|
|
25937
|
-
const oldSection = lines.slice(Math.max(0, startIdx - 2), Math.min(totalLines, endIdx + 2)).map((l2, i2) =>
|
|
25955
|
+
const oldSection = lines.slice(Math.max(0, startIdx - 2), Math.min(totalLines, endIdx + 2)).map((l2, i2) => `${String(Math.max(1, startLine - 2) + i2).padStart(4)} - ${l2}`).join("\n");
|
|
25938
25956
|
const newSectionStart = Math.max(0, startIdx - 2);
|
|
25939
25957
|
const newSectionEnd = Math.min(resultLines.length, startIdx + newLines.length + 2);
|
|
25940
|
-
const newSection = resultLines.slice(newSectionStart, newSectionEnd).map((l2, i2) =>
|
|
25958
|
+
const newSection = resultLines.slice(newSectionStart, newSectionEnd).map((l2, i2) => `${String(newSectionStart + 1 + i2).padStart(4)} + ${l2}`).join("\n");
|
|
25941
25959
|
const diff = `${description}
|
|
25942
25960
|
|
|
25943
25961
|
Before:
|
|
@@ -548372,6 +548390,7 @@ __export(dist_exports2, {
|
|
|
548372
548390
|
buildEphemeralSkillPack: () => buildEphemeralSkillPack,
|
|
548373
548391
|
buildGeneratedArtifactProvenance: () => buildGeneratedArtifactProvenance,
|
|
548374
548392
|
buildGraph: () => buildGraph,
|
|
548393
|
+
buildLineNumberedDiff: () => buildLineNumberedDiff,
|
|
548375
548394
|
buildMcpAgentTools: () => buildMcpAgentTools,
|
|
548376
548395
|
buildMcpToolName: () => buildMcpToolName,
|
|
548377
548396
|
buildScaffoldedPrompt: () => buildScaffoldedPrompt,
|
|
@@ -587412,6 +587431,7 @@ var init_model_picker = __esm({
|
|
|
587412
587431
|
var render_exports = {};
|
|
587413
587432
|
__export(render_exports, {
|
|
587414
587433
|
SLASH_COMMANDS: () => SLASH_COMMANDS2,
|
|
587434
|
+
breakTelegramCoalesce: () => breakTelegramCoalesce,
|
|
587415
587435
|
c: () => c3,
|
|
587416
587436
|
fileLink: () => fileLink,
|
|
587417
587437
|
formatInlineMarkdown: () => formatInlineMarkdown,
|
|
@@ -587438,6 +587458,7 @@ __export(render_exports, {
|
|
|
587438
587458
|
renderTaskAborted: () => renderTaskAborted,
|
|
587439
587459
|
renderTaskComplete: () => renderTaskComplete,
|
|
587440
587460
|
renderTaskIncomplete: () => renderTaskIncomplete,
|
|
587461
|
+
renderTelegramCoalescedRow: () => renderTelegramCoalescedRow,
|
|
587441
587462
|
renderThinking: () => renderThinking,
|
|
587442
587463
|
renderToolCallStart: () => renderToolCallStart,
|
|
587443
587464
|
renderToolLine: () => renderToolLine,
|
|
@@ -587580,6 +587601,7 @@ ${accentFg()}▹\x1B[0m ${c3.bold(text)}
|
|
|
587580
587601
|
}
|
|
587581
587602
|
function renderAssistantText(text) {
|
|
587582
587603
|
if (!text.trim()) return;
|
|
587604
|
+
breakTelegramCoalesce();
|
|
587583
587605
|
const formatted = formatMarkdownBlock(text);
|
|
587584
587606
|
const lines = formatted.split("\n");
|
|
587585
587607
|
for (const line of lines) {
|
|
@@ -587842,6 +587864,44 @@ function renderToolDynamicBlock(kind, render2, opts) {
|
|
|
587842
587864
|
}
|
|
587843
587865
|
process.stdout.write(text);
|
|
587844
587866
|
}
|
|
587867
|
+
function breakTelegramCoalesce() {
|
|
587868
|
+
_telegramCoalesce = null;
|
|
587869
|
+
}
|
|
587870
|
+
function renderTelegramCoalescedRow(row, opts) {
|
|
587871
|
+
const colorCode = opts?.colorCode ?? 45;
|
|
587872
|
+
const title = opts?.title ?? "✈ Telegram";
|
|
587873
|
+
const redir = _contentWriteHook?.redirect?.();
|
|
587874
|
+
const host = _contentWriteHook?.dynamicBlockHost?.() ?? null;
|
|
587875
|
+
if (redir || !host || typeof host.refreshDynamicBlocks !== "function") {
|
|
587876
|
+
_telegramCoalesce = null;
|
|
587877
|
+
renderToolDynamicBlock(
|
|
587878
|
+
"tool-result",
|
|
587879
|
+
(width) => buildToolBoxLines({
|
|
587880
|
+
title,
|
|
587881
|
+
metrics: "",
|
|
587882
|
+
body: [{ text: row, mode: "wrap", kind: "plain" }],
|
|
587883
|
+
colorCode
|
|
587884
|
+
}, width),
|
|
587885
|
+
{}
|
|
587886
|
+
);
|
|
587887
|
+
return;
|
|
587888
|
+
}
|
|
587889
|
+
if (_telegramCoalesce) {
|
|
587890
|
+
_telegramCoalesce.lines.push(row);
|
|
587891
|
+
host.refreshDynamicBlocks();
|
|
587892
|
+
return;
|
|
587893
|
+
}
|
|
587894
|
+
const id = `tg-coalesce-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`;
|
|
587895
|
+
const state = { id, lines: [row], colorCode };
|
|
587896
|
+
_telegramCoalesce = state;
|
|
587897
|
+
host.registerDynamicBlock(id, (width) => buildToolBoxLines({
|
|
587898
|
+
title,
|
|
587899
|
+
metrics: state.lines.length > 1 ? `${state.lines.length} events` : "",
|
|
587900
|
+
body: state.lines.map((text) => ({ text, mode: "wrap", kind: "plain" })),
|
|
587901
|
+
colorCode: state.colorCode
|
|
587902
|
+
}, width));
|
|
587903
|
+
host.appendDynamicBlock(id);
|
|
587904
|
+
}
|
|
587845
587905
|
function appendContextBoxSection(body, label, value2) {
|
|
587846
587906
|
const text = String(value2 ?? "").trim();
|
|
587847
587907
|
if (!text) return;
|
|
@@ -587861,6 +587921,7 @@ function appendContextBoxList(body, label, values) {
|
|
|
587861
587921
|
}
|
|
587862
587922
|
}
|
|
587863
587923
|
function renderContextIntakeBox(opts) {
|
|
587924
|
+
breakTelegramCoalesce();
|
|
587864
587925
|
const body = [];
|
|
587865
587926
|
appendContextBoxSection(body, "Added context:", opts.rawText);
|
|
587866
587927
|
appendContextBoxSection(body, "Triage:", opts.inference);
|
|
@@ -587975,7 +588036,13 @@ function resolveToolOutputMaxLines(verbose) {
|
|
|
587975
588036
|
}
|
|
587976
588037
|
function buildToolResultBody(toolName, success, output, verbose) {
|
|
587977
588038
|
const debug = loadConfig()?.debug ?? false;
|
|
587978
|
-
if (toolName === "
|
|
588039
|
+
if (toolName === "file_edit" || toolName === "file_patch") {
|
|
588040
|
+
if (!success) {
|
|
588041
|
+
return [{ text: extractFirstLine(output, Number.MAX_SAFE_INTEGER), mode: "wrap", kind: "error" }];
|
|
588042
|
+
}
|
|
588043
|
+
return diffBodyLines(output, verbose);
|
|
588044
|
+
}
|
|
588045
|
+
if (toolName === "file_write") {
|
|
587979
588046
|
const summary = extractFirstLine(output, Number.MAX_SAFE_INTEGER);
|
|
587980
588047
|
return [{
|
|
587981
588048
|
text: summary,
|
|
@@ -588028,6 +588095,24 @@ function buildToolResultBody(toolName, success, output, verbose) {
|
|
|
588028
588095
|
}
|
|
588029
588096
|
return shown;
|
|
588030
588097
|
}
|
|
588098
|
+
function diffBodyLines(output, verbose) {
|
|
588099
|
+
const maxLines = resolveToolOutputMaxLines(verbose);
|
|
588100
|
+
const lines = output.split("\n");
|
|
588101
|
+
const body = [];
|
|
588102
|
+
for (const line of lines.slice(0, maxLines)) {
|
|
588103
|
+
const m2 = line.match(DIFF_LINE_RE);
|
|
588104
|
+
if (m2) {
|
|
588105
|
+
const colored = m2[1] === "+" ? c3.green(line) : c3.red(line);
|
|
588106
|
+
body.push({ text: colored, mode: "truncate", kind: "plain" });
|
|
588107
|
+
} else {
|
|
588108
|
+
body.push({ text: line, mode: "wrap", kind: "dim" });
|
|
588109
|
+
}
|
|
588110
|
+
}
|
|
588111
|
+
if (lines.length > maxLines) {
|
|
588112
|
+
body.push({ text: `... ${lines.length - maxLines} more lines`, mode: "wrap", kind: "dim" });
|
|
588113
|
+
}
|
|
588114
|
+
return body;
|
|
588115
|
+
}
|
|
588031
588116
|
function codePreviewLines(output, maxLines) {
|
|
588032
588117
|
const lines = output.split("\n");
|
|
588033
588118
|
let start2 = 0;
|
|
@@ -588068,6 +588153,7 @@ function detectToolArtifacts(output) {
|
|
|
588068
588153
|
return [...out].slice(0, 12);
|
|
588069
588154
|
}
|
|
588070
588155
|
function renderToolCallStart(toolName, args, verboseOrOpts) {
|
|
588156
|
+
breakTelegramCoalesce();
|
|
588071
588157
|
const opts = normalizeToolOpts(verboseOrOpts);
|
|
588072
588158
|
const frozenArgs = { ...args ?? {} };
|
|
588073
588159
|
renderToolDynamicBlock(
|
|
@@ -588082,6 +588168,7 @@ function renderToolLine(content, isLast = false) {
|
|
|
588082
588168
|
`);
|
|
588083
588169
|
}
|
|
588084
588170
|
function renderToolResult(toolName, success, output, verboseOrOpts) {
|
|
588171
|
+
breakTelegramCoalesce();
|
|
588085
588172
|
const opts = normalizeToolOpts(verboseOrOpts);
|
|
588086
588173
|
const frozenOutput = String(output ?? "");
|
|
588087
588174
|
renderToolDynamicBlock(
|
|
@@ -588091,6 +588178,7 @@ function renderToolResult(toolName, success, output, verboseOrOpts) {
|
|
|
588091
588178
|
);
|
|
588092
588179
|
}
|
|
588093
588180
|
function renderBoxedBlock(opts) {
|
|
588181
|
+
breakTelegramCoalesce();
|
|
588094
588182
|
const mode = opts.mode ?? "wrap";
|
|
588095
588183
|
const kind = opts.kind ?? "plain";
|
|
588096
588184
|
const body = (opts.lines.length > 0 ? opts.lines : [""]).map((text) => ({
|
|
@@ -588144,6 +588232,7 @@ function highlightToolOutput(line) {
|
|
|
588144
588232
|
return c3.dim(line);
|
|
588145
588233
|
}
|
|
588146
588234
|
function renderTaskComplete(arg1, turns, toolCalls, durationMs, tokens) {
|
|
588235
|
+
breakTelegramCoalesce();
|
|
588147
588236
|
const opts = typeof arg1 === "string" ? {
|
|
588148
588237
|
summary: arg1,
|
|
588149
588238
|
turns: turns ?? 0,
|
|
@@ -588255,6 +588344,7 @@ function setContentWriteHook(hook) {
|
|
|
588255
588344
|
_contentWriteHook = hook;
|
|
588256
588345
|
}
|
|
588257
588346
|
function renderError(message2) {
|
|
588347
|
+
breakTelegramCoalesce();
|
|
588258
588348
|
const redir = _contentWriteHook?.redirect?.();
|
|
588259
588349
|
const icon = _emojisEnabled ? "\x1B[38;5;198m✖\x1B[0m" : "\x1B[38;5;198mE\x1B[0m";
|
|
588260
588350
|
const text = `
|
|
@@ -588269,6 +588359,7 @@ ${icon} \x1B[38;5;198m${message2}\x1B[0m
|
|
|
588269
588359
|
_contentWriteHook?.end();
|
|
588270
588360
|
}
|
|
588271
588361
|
function renderInfo(message2) {
|
|
588362
|
+
breakTelegramCoalesce();
|
|
588272
588363
|
const redir = _contentWriteHook?.redirect?.();
|
|
588273
588364
|
const dim = dimFg();
|
|
588274
588365
|
const icon = `${dim}∙\x1B[0m`;
|
|
@@ -588283,6 +588374,7 @@ function renderInfo(message2) {
|
|
|
588283
588374
|
_contentWriteHook?.end();
|
|
588284
588375
|
}
|
|
588285
588376
|
function renderWarning(message2) {
|
|
588377
|
+
breakTelegramCoalesce();
|
|
588286
588378
|
const redir = _contentWriteHook?.redirect?.();
|
|
588287
588379
|
const icon = "\x1B[38;5;214m!\x1B[0m";
|
|
588288
588380
|
const text = `${icon} \x1B[38;5;214m${message2}\x1B[0m
|
|
@@ -588296,6 +588388,7 @@ function renderWarning(message2) {
|
|
|
588296
588388
|
_contentWriteHook?.end();
|
|
588297
588389
|
}
|
|
588298
588390
|
function renderVerbose(message2) {
|
|
588391
|
+
breakTelegramCoalesce();
|
|
588299
588392
|
const redir = _contentWriteHook?.redirect?.();
|
|
588300
588393
|
const text = ` ${accentFg()}▹\x1B[0m ${c3.dim(message2)}
|
|
588301
588394
|
`;
|
|
@@ -588444,7 +588537,7 @@ function formatDuration4(ms) {
|
|
|
588444
588537
|
const secs = Math.floor(totalSecs % 60);
|
|
588445
588538
|
return `${mins}m ${secs}s`;
|
|
588446
588539
|
}
|
|
588447
|
-
var c3, ui, pastel, _emojisEnabled, _colorsEnabled, MD, TOOL_ICONS, TOOL_LABELS, TOOL_COLOR_CODES, TOOL_ERROR_COLOR_CODE, BOX_TL2, BOX_TR2, BOX_BL2, BOX_BR2, BOX_H2, BOX_V2, BOX_TJ_L2, BOX_TJ_R2, RESET2, _contentWriteHook, HINTS, TOOL_NAMES, COMMAND_NAMES, SLASH_COMMANDS2;
|
|
588540
|
+
var c3, ui, pastel, _emojisEnabled, _colorsEnabled, MD, TOOL_ICONS, TOOL_LABELS, TOOL_COLOR_CODES, TOOL_ERROR_COLOR_CODE, BOX_TL2, BOX_TR2, BOX_BL2, BOX_BR2, BOX_H2, BOX_V2, BOX_TJ_L2, BOX_TJ_R2, RESET2, _telegramCoalesce, DIFF_LINE_RE, _contentWriteHook, HINTS, TOOL_NAMES, COMMAND_NAMES, SLASH_COMMANDS2;
|
|
588448
588541
|
var init_render = __esm({
|
|
588449
588542
|
"packages/cli/src/tui/render.ts"() {
|
|
588450
588543
|
"use strict";
|
|
@@ -588636,6 +588729,8 @@ var init_render = __esm({
|
|
|
588636
588729
|
BOX_TJ_L2 = "├";
|
|
588637
588730
|
BOX_TJ_R2 = "┤";
|
|
588638
588731
|
RESET2 = "\x1B[0m";
|
|
588732
|
+
_telegramCoalesce = null;
|
|
588733
|
+
DIFF_LINE_RE = /^\s*\d+\s([-+])\s/;
|
|
588639
588734
|
_contentWriteHook = null;
|
|
588640
588735
|
HINTS = [
|
|
588641
588736
|
"Ask the agent to connect to the Omnius Nexus for P2P agent networking",
|
|
@@ -644494,62 +644589,35 @@ function renderTelegramStop(state) {
|
|
|
644494
644589
|
}
|
|
644495
644590
|
function renderTelegramMessage(username, text) {
|
|
644496
644591
|
const preview = text.length > 80 ? text.slice(0, 77) + "..." : text;
|
|
644497
|
-
|
|
644498
|
-
`);
|
|
644592
|
+
renderTelegramCoalescedRow(`${c3.bold(`@${username}`)}: ${preview}`);
|
|
644499
644593
|
}
|
|
644500
644594
|
function renderTelegramIngressMessage(msg) {
|
|
644501
644595
|
const body = (msg.text || summarizeTelegramMessageAttachments(msg) || "[non-text Telegram message]").replace(/\s+/g, " ").trim();
|
|
644502
644596
|
const preview = body.length > 96 ? body.slice(0, 93) + "..." : body;
|
|
644503
644597
|
const chat = msg.chatType !== "private" ? ` ${c3.dim(`[${msg.chatTitle || msg.chatType}]`)}` : "";
|
|
644504
|
-
|
|
644505
|
-
|
|
644506
|
-
`
|
|
644598
|
+
renderTelegramCoalescedRow(
|
|
644599
|
+
`${c3.dim("heard")}${chat} ${c3.bold(`@${msg.username || "unknown"}`)} ${c3.dim(`[${telegramActorKindLabel(msg)}]`)}: ${preview}`
|
|
644507
644600
|
);
|
|
644508
644601
|
}
|
|
644509
644602
|
function renderTelegramSubAgentStart(username, text, isAdmin) {
|
|
644510
644603
|
const preview = text.length > 60 ? text.slice(0, 57) + "..." : text;
|
|
644511
644604
|
const mode = isAdmin ? c3.green("admin") : c3.yellow("public");
|
|
644512
|
-
|
|
644513
|
-
${c3.cyan("✈")} ${c3.bold(`Sub-agent`)} [${mode}] for @${username}
|
|
644514
|
-
`);
|
|
644515
|
-
process.stdout.write(` ${c3.dim("│")} ${preview}
|
|
644516
|
-
`);
|
|
644605
|
+
renderTelegramCoalescedRow(`${c3.bold("sub-agent")} [${mode}] ${c3.bold(`@${username}`)}: ${preview}`);
|
|
644517
644606
|
}
|
|
644518
644607
|
function renderTelegramSubAgentEvent(username, detail) {
|
|
644519
|
-
|
|
644520
|
-
title: `✈ @${username}`,
|
|
644521
|
-
lines: [detail],
|
|
644522
|
-
colorCode: 45
|
|
644523
|
-
});
|
|
644608
|
+
renderTelegramCoalescedRow(`${c3.bold(`@${username}`)}: ${detail}`);
|
|
644524
644609
|
}
|
|
644525
644610
|
function renderTelegramSubAgentToolCall(username, toolName, args) {
|
|
644526
644611
|
const preview = args.length > 50 ? args.slice(0, 47) + "..." : args;
|
|
644527
|
-
|
|
644528
|
-
title: `✈ @${username}`,
|
|
644529
|
-
metrics: toolName,
|
|
644530
|
-
lines: [`${c3.bold(toolName)}(${c3.dim(preview)})`],
|
|
644531
|
-
colorCode: 45
|
|
644532
|
-
});
|
|
644612
|
+
renderTelegramCoalescedRow(`${c3.bold(`@${username}`)} ${c3.bold(toolName)}(${c3.dim(preview)})`);
|
|
644533
644613
|
}
|
|
644534
644614
|
function renderTelegramSubAgentComplete(username, summary) {
|
|
644535
644615
|
const preview = summary.length > 80 ? summary.slice(0, 77) + "..." : summary;
|
|
644536
|
-
|
|
644537
|
-
title: `✔ @${username}`,
|
|
644538
|
-
lines: [preview],
|
|
644539
|
-
kind: "success",
|
|
644540
|
-
colorCode: 42
|
|
644541
|
-
// green
|
|
644542
|
-
});
|
|
644616
|
+
renderTelegramCoalescedRow(`${c3.green("✔")} ${c3.bold(`@${username}`)}: ${c3.dim(preview)}`);
|
|
644543
644617
|
}
|
|
644544
644618
|
function renderTelegramSubAgentError(username, error) {
|
|
644545
644619
|
const preview = error.length > 80 ? error.slice(0, 77) + "..." : error;
|
|
644546
|
-
|
|
644547
|
-
title: `✘ @${username}`,
|
|
644548
|
-
lines: [preview],
|
|
644549
|
-
kind: "error",
|
|
644550
|
-
colorCode: 198
|
|
644551
|
-
// magenta
|
|
644552
|
-
});
|
|
644620
|
+
renderTelegramCoalescedRow(`${c3.red("✘")} ${c3.bold(`@${username}`)}: ${c3.dim(preview)}`);
|
|
644553
644621
|
}
|
|
644554
644622
|
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;
|
|
644555
644623
|
var init_telegram_bridge = __esm({
|
|
@@ -687365,7 +687433,8 @@ ${result.summary}`
|
|
|
687365
687433
|
redirect: () => isOverlayActive() ? overlayWrite : isNeovimActive() ? writeToNeovimOutput : null,
|
|
687366
687434
|
dynamicBlockHost: () => statusBar.isActive && !isOverlayActive() && !isNeovimActive() ? {
|
|
687367
687435
|
registerDynamicBlock: (id, render2) => statusBar.registerDynamicBlock(id, render2),
|
|
687368
|
-
appendDynamicBlock: (id) => statusBar.appendDynamicBlock(id)
|
|
687436
|
+
appendDynamicBlock: (id) => statusBar.appendDynamicBlock(id),
|
|
687437
|
+
refreshDynamicBlocks: () => statusBar.refreshDisplay()
|
|
687369
687438
|
} : null
|
|
687370
687439
|
});
|
|
687371
687440
|
}
|
|
@@ -687375,7 +687444,8 @@ ${result.summary}`
|
|
|
687375
687444
|
redirect: () => isNeovimActive() ? writeToNeovimOutput : null,
|
|
687376
687445
|
dynamicBlockHost: () => statusBar.isActive && !isOverlayActive() && !isNeovimActive() ? {
|
|
687377
687446
|
registerDynamicBlock: (id, render2) => statusBar.registerDynamicBlock(id, render2),
|
|
687378
|
-
appendDynamicBlock: (id) => statusBar.appendDynamicBlock(id)
|
|
687447
|
+
appendDynamicBlock: (id) => statusBar.appendDynamicBlock(id),
|
|
687448
|
+
refreshDynamicBlocks: () => statusBar.refreshDisplay()
|
|
687379
687449
|
} : null
|
|
687380
687450
|
});
|
|
687381
687451
|
let resolvedContextWindowSize = 0;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.229",
|
|
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.229",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
|
@@ -2301,9 +2301,9 @@
|
|
|
2301
2301
|
"license": "MIT"
|
|
2302
2302
|
},
|
|
2303
2303
|
"node_modules/axios": {
|
|
2304
|
-
"version": "1.
|
|
2305
|
-
"resolved": "https://registry.npmjs.org/axios/-/axios-1.
|
|
2306
|
-
"integrity": "sha512-
|
|
2304
|
+
"version": "1.17.0",
|
|
2305
|
+
"resolved": "https://registry.npmjs.org/axios/-/axios-1.17.0.tgz",
|
|
2306
|
+
"integrity": "sha512-J8SwNxprqqpbfenehxWYXE7CW+wM1BB4w3+N+g+/Wx40xM4rsLrfPmHHxSWIxJLYDgSY/HqlFPIYb2/S3rxafw==",
|
|
2307
2307
|
"license": "MIT",
|
|
2308
2308
|
"dependencies": {
|
|
2309
2309
|
"follow-redirects": "^1.16.0",
|
package/package.json
CHANGED