open-agents-ai 0.187.126 → 0.187.128
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 +15 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -280522,6 +280522,16 @@ var init_status_bar = __esm({
|
|
|
280522
280522
|
if (!this.active) return;
|
|
280523
280523
|
this.writeDepth++;
|
|
280524
280524
|
if (this.writeDepth > 1) return;
|
|
280525
|
+
if (isOverlayActive()) {
|
|
280526
|
+
if (!this._origWrite) {
|
|
280527
|
+
this._origWrite = this._trueStdoutWrite;
|
|
280528
|
+
process.stdout.write = ((chunk) => {
|
|
280529
|
+
bufferIfOverlay("stdout", chunk);
|
|
280530
|
+
return true;
|
|
280531
|
+
});
|
|
280532
|
+
}
|
|
280533
|
+
return;
|
|
280534
|
+
}
|
|
280525
280535
|
this.updateFooterHeight();
|
|
280526
280536
|
if (this._currentFooterHeight < 4) this._currentFooterHeight = 4;
|
|
280527
280537
|
setTermSize(process.stdout.rows ?? 24, process.stdout.columns ?? 80);
|
|
@@ -285385,7 +285395,7 @@ async function startNeovimMode(opts) {
|
|
|
285385
285395
|
'local lp = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"',
|
|
285386
285396
|
'if not vim.loop.fs_stat(lp) then pcall(vim.fn.system, {"git", "clone", "--filter=blob:none", "--depth=1", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lp}) end',
|
|
285387
285397
|
"vim.opt.rtp:prepend(lp)",
|
|
285388
|
-
'pcall(function() require("lazy").setup({{"nvim-neo-tree/neo-tree.nvim", branch="v3.x", lazy=false, dependencies={"nvim-lua/plenary.nvim","MunifTanjim/nui.nvim","nvim-tree/nvim-web-devicons"},config=function() require("neo-tree").setup({close_if_last_window=true,enable_git_status=true,filesystem={follow_current_file={enabled=true},use_libuv_file_watcher=true,hijack_netrw_behavior="open_default",filtered_items={hide_dotfiles=false,hide_gitignored=false}},window={position="left",width=30,mappings={["<leftmouse>"]="
|
|
285398
|
+
'pcall(function() require("lazy").setup({{"nvim-neo-tree/neo-tree.nvim", branch="v3.x", lazy=false, dependencies={"nvim-lua/plenary.nvim","MunifTanjim/nui.nvim","nvim-tree/nvim-web-devicons"},config=function() require("neo-tree").setup({close_if_last_window=true,enable_git_status=true,filesystem={follow_current_file={enabled=true},use_libuv_file_watcher=true,hijack_netrw_behavior="open_default",filtered_items={hide_dotfiles=false,hide_gitignored=false}},window={position="left",width=30,mappings={["<leftmouse>"]="toggle_node",["<2-LeftMouse>"]="open"},mapping_options={noremap=true,nowait=true}}}) end}},{install={colorscheme={}},checker={enabled=false}}) end)',
|
|
285389
285399
|
// Open neo-tree sidebar after lazy.nvim finishes loading (needs short defer).
|
|
285390
285400
|
// Uses pcall so a missing/broken neo-tree doesn't block the editor.
|
|
285391
285401
|
'vim.defer_fn(function() pcall(vim.cmd, "Neotree show") end, 300)'
|
|
@@ -285546,15 +285556,17 @@ async function startNeovimMode(opts) {
|
|
|
285546
285556
|
normalized = normalized.replace(
|
|
285547
285557
|
/\x1B\[<(\d+);(\d+);(\d+)([Mm])/g,
|
|
285548
285558
|
(_m, btn, col, row, suffix) => {
|
|
285559
|
+
const b = parseInt(btn);
|
|
285560
|
+
if (suffix !== "M" || b !== 0) return "";
|
|
285549
285561
|
const L = layout();
|
|
285550
285562
|
const hostRow = parseInt(row);
|
|
285551
|
-
if (
|
|
285563
|
+
if (hostRow > L.contentBottom) {
|
|
285552
285564
|
toggleFocus(state);
|
|
285553
285565
|
return "";
|
|
285554
285566
|
}
|
|
285555
285567
|
if (hostRow < L.contentTop) return "";
|
|
285556
285568
|
const nvimRow = hostRow - (L.contentTop - 1);
|
|
285557
|
-
return `\x1B[<${
|
|
285569
|
+
return `\x1B[<${b};${col};${nvimRow}M`;
|
|
285558
285570
|
}
|
|
285559
285571
|
);
|
|
285560
285572
|
if (normalized) nvimPty.write(normalized);
|
package/package.json
CHANGED