@wahack/pi-coding-agent 15.11.2 → 15.11.4
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/package.json +1 -1
- package/src/autoresearch/dashboard.ts +1 -1
- package/src/autoresearch/index.ts +1 -1
- package/src/autoresearch/tools/init-experiment.ts +1 -1
- package/src/autoresearch/tools/log-experiment.ts +1 -1
- package/src/autoresearch/tools/run-experiment.ts +1 -1
- package/src/autoresearch/tools/update-notes.ts +1 -1
- package/src/cli/claude-trace-cli.ts +1 -1
- package/src/cli/dry-balance-cli.ts +1 -1
- package/src/cli/gallery-cli.ts +1 -1
- package/src/cli/grep-cli.ts +1 -1
- package/src/cli/list-models.ts +1 -1
- package/src/cli/session-picker.ts +1 -1
- package/src/cli/shell-cli.ts +1 -1
- package/src/commands/grep.ts +1 -1
- package/src/commit/agentic/agent.ts +1 -1
- package/src/config/keybindings.ts +3 -5
- package/src/config/model-resolver.ts +1 -1
- package/src/config/resolve-config-value.ts +1 -1
- package/src/debug/index.ts +3 -5
- package/src/debug/log-viewer.ts +2 -4
- package/src/debug/protocol-probe.ts +2 -4
- package/src/debug/raw-sse.ts +2 -4
- package/src/debug/report-bundle.ts +1 -1
- package/src/debug/terminal-info.ts +2 -4
- package/src/discovery/helpers.ts +1 -1
- package/src/edit/hashline/block-resolver.ts +1 -1
- package/src/edit/normalize.ts +1 -1
- package/src/edit/renderer.ts +2 -2
- package/src/exec/bash-executor.ts +1 -1
- package/src/export/ttsr.ts +1 -1
- package/src/extensibility/custom-commands/loader.ts +1 -1
- package/src/extensibility/custom-tools/loader.ts +2 -2
- package/src/extensibility/custom-tools/types.ts +1 -1
- package/src/extensibility/extensions/loader.ts +2 -2
- package/src/extensibility/extensions/runner.ts +1 -1
- package/src/extensibility/extensions/types.ts +2 -2
- package/src/extensibility/hooks/loader.ts +1 -1
- package/src/extensibility/hooks/types.ts +1 -1
- package/src/extensibility/plugins/legacy-pi-compat.ts +1 -1
- package/src/extensibility/slash-commands.ts +1 -1
- package/src/goals/tools/goal-tool.ts +2 -2
- package/src/lsp/render.ts +2 -2
- package/src/mcp/render.ts +2 -2
- package/src/modes/components/agent-dashboard.ts +2 -4
- package/src/modes/components/agent-hub.ts +1 -1
- package/src/modes/components/assistant-message.ts +1 -1
- package/src/modes/components/bash-execution.ts +2 -4
- package/src/modes/components/bordered-loader.ts +1 -1
- package/src/modes/components/branch-summary-message.ts +1 -1
- package/src/modes/components/btw-panel.ts +1 -1
- package/src/modes/components/chat-block.ts +1 -1
- package/src/modes/components/compaction-summary-message.ts +1 -1
- package/src/modes/components/copy-selector.ts +1 -1
- package/src/modes/components/countdown-timer.ts +1 -1
- package/src/modes/components/custom-editor.ts +1 -1
- package/src/modes/components/custom-message.ts +2 -2
- package/src/modes/components/dynamic-border.ts +1 -1
- package/src/modes/components/error-banner.ts +1 -1
- package/src/modes/components/eval-execution.ts +1 -1
- package/src/modes/components/execution-shared.ts +1 -1
- package/src/modes/components/extensions/extension-dashboard.ts +2 -4
- package/src/modes/components/extensions/extension-list.ts +2 -4
- package/src/modes/components/extensions/inspector-panel.ts +1 -1
- package/src/modes/components/extensions/state-manager.ts +1 -1
- package/src/modes/components/footer.ts +1 -1
- package/src/modes/components/history-search.ts +2 -4
- package/src/modes/components/hook-editor.ts +1 -1
- package/src/modes/components/hook-input.ts +1 -1
- package/src/modes/components/hook-message.ts +2 -2
- package/src/modes/components/hook-selector.ts +2 -4
- package/src/modes/components/keybinding-hints.ts +1 -1
- package/src/modes/components/late-diagnostics-message.ts +1 -1
- package/src/modes/components/login-dialog.ts +1 -1
- package/src/modes/components/mcp-add-wizard.ts +2 -4
- package/src/modes/components/message-frame.ts +2 -2
- package/src/modes/components/model-selector.ts +2 -4
- package/src/modes/components/oauth-selector.ts +2 -4
- package/src/modes/components/omfg-panel.ts +1 -1
- package/src/modes/components/overlay-box.ts +1 -1
- package/src/modes/components/plan-review-overlay.ts +2 -4
- package/src/modes/components/plugin-selector.ts +1 -1
- package/src/modes/components/plugin-settings.ts +2 -4
- package/src/modes/components/queue-mode-selector.ts +1 -1
- package/src/modes/components/read-tool-group.ts +2 -2
- package/src/modes/components/session-selector.ts +2 -4
- package/src/modes/components/settings-defs.ts +1 -1
- package/src/modes/components/settings-selector.ts +2 -4
- package/src/modes/components/show-images-selector.ts +1 -1
- package/src/modes/components/skill-message.ts +2 -2
- package/src/modes/components/status-line/component.ts +1 -1
- package/src/modes/components/status-line/segments.ts +1 -1
- package/src/modes/components/theme-selector.ts +1 -1
- package/src/modes/components/thinking-selector.ts +1 -1
- package/src/modes/components/tiny-title-download-progress.ts +1 -1
- package/src/modes/components/todo-reminder.ts +1 -1
- package/src/modes/components/tool-execution.ts +2 -4
- package/src/modes/components/transcript-container.ts +1 -1
- package/src/modes/components/tree-selector.ts +2 -4
- package/src/modes/components/ttsr-notification.ts +1 -1
- package/src/modes/components/user-message-selector.ts +2 -4
- package/src/modes/components/user-message.ts +1 -1
- package/src/modes/components/visual-truncate.ts +1 -1
- package/src/modes/components/welcome.ts +2 -4
- package/src/modes/controllers/command-controller-shared.ts +1 -1
- package/src/modes/controllers/command-controller.ts +1 -1
- package/src/modes/controllers/event-controller.ts +1 -1
- package/src/modes/controllers/extension-ui-controller.ts +2 -2
- package/src/modes/controllers/input-controller.ts +1 -1
- package/src/modes/controllers/mcp-command-controller.ts +1 -1
- package/src/modes/controllers/selector-controller.ts +2 -2
- package/src/modes/controllers/streaming-reveal.ts +1 -1
- package/src/modes/emoji-autocomplete.ts +1 -1
- package/src/modes/interactive-mode.ts +3 -5
- package/src/modes/internal-url-autocomplete.ts +1 -1
- package/src/modes/prompt-action-autocomplete.ts +2 -4
- package/src/modes/setup-wizard/scenes/glyph.ts +1 -1
- package/src/modes/setup-wizard/scenes/outro.ts +1 -1
- package/src/modes/setup-wizard/scenes/providers.ts +1 -1
- package/src/modes/setup-wizard/scenes/sign-in.ts +1 -1
- package/src/modes/setup-wizard/scenes/splash.ts +1 -1
- package/src/modes/setup-wizard/scenes/theme.ts +1 -1
- package/src/modes/setup-wizard/scenes/types.ts +1 -1
- package/src/modes/setup-wizard/scenes/web-search.ts +1 -1
- package/src/modes/setup-wizard/wizard-overlay.ts +1 -1
- package/src/modes/shared.ts +1 -1
- package/src/modes/theme/theme.ts +3 -5
- package/src/modes/types.ts +1 -1
- package/src/modes/utils/context-usage.ts +1 -1
- package/src/modes/utils/keybinding-matchers.ts +1 -1
- package/src/modes/utils/ui-helpers.ts +1 -1
- package/src/session/agent-session.ts +1 -1
- package/src/session/session-manager.ts +1 -1
- package/src/task/render.ts +2 -2
- package/src/task/subprocess-tool-registry.ts +1 -1
- package/src/task/worktree.ts +1 -1
- package/src/tools/ask.ts +1 -1
- package/src/tools/ast-edit.ts +3 -3
- package/src/tools/ast-grep.ts +3 -3
- package/src/tools/bash-command-fixup.ts +1 -1
- package/src/tools/bash-interactive.ts +3 -5
- package/src/tools/bash.ts +2 -2
- package/src/tools/browser/attach.ts +1 -1
- package/src/tools/browser/render.ts +2 -2
- package/src/tools/debug.ts +1 -1
- package/src/tools/eval-render.ts +2 -2
- package/src/tools/fetch.ts +2 -2
- package/src/tools/find.ts +3 -3
- package/src/tools/fs-cache-invalidation.ts +1 -1
- package/src/tools/gh-renderer.ts +1 -1
- package/src/tools/inspect-image-renderer.ts +2 -2
- package/src/tools/irc.ts +1 -1
- package/src/tools/job.ts +2 -2
- package/src/tools/memory-render.ts +2 -2
- package/src/tools/read.ts +3 -3
- package/src/tools/render-utils.ts +5 -5
- package/src/tools/renderers.ts +1 -1
- package/src/tools/resolve.ts +2 -2
- package/src/tools/review.ts +2 -2
- package/src/tools/search-tool-bm25.ts +2 -2
- package/src/tools/search.ts +3 -3
- package/src/tools/ssh.ts +1 -1
- package/src/tools/todo.ts +2 -2
- package/src/tools/write.ts +1 -1
- package/src/tui/code-cell.ts +1 -1
- package/src/tui/hyperlink.ts +1 -1
- package/src/tui/output-block.ts +2 -2
- package/src/tui/tree-list.ts +1 -1
- package/src/tui/utils.ts +2 -2
- package/src/utils/block-context.ts +1 -1
- package/src/utils/clipboard.ts +2 -2
- package/src/web/search/render.ts +2 -2
- package/src/workspace-tree.ts +1 -1
package/src/tools/search.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { tmpdir } from "node:os";
|
|
|
3
3
|
import * as path from "node:path";
|
|
4
4
|
import { formatHashlineHeader } from "@oh-my-pi/hashline";
|
|
5
5
|
import type { AgentTool, AgentToolContext, AgentToolResult, AgentToolUpdateCallback } from "@oh-my-pi/pi-agent-core";
|
|
6
|
-
import { type GrepMatch, GrepOutputMode, type GrepResult, grep } from '
|
|
7
|
-
import type { Component } from '
|
|
8
|
-
import { Text } from '
|
|
6
|
+
import { type GrepMatch, GrepOutputMode, type GrepResult, grep } from '../../stubs/natives/index.ts'
|
|
7
|
+
import type { Component } from '../../stubs/tui/index.ts'
|
|
8
|
+
import { Text } from '../../stubs/tui/index.ts'
|
|
9
9
|
import { prompt, untilAborted } from "@oh-my-pi/pi-utils";
|
|
10
10
|
import * as z from "zod/v4";
|
|
11
11
|
import { recordFileSnapshot } from "../edit/file-snapshot-store";
|
package/src/tools/ssh.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AgentTool, AgentToolContext, AgentToolResult, AgentToolUpdateCallback } from "@oh-my-pi/pi-agent-core";
|
|
2
|
-
import type { Component } from '
|
|
2
|
+
import type { Component } from '../../stubs/tui/index.ts'
|
|
3
3
|
import { prompt } from "@oh-my-pi/pi-utils";
|
|
4
4
|
import * as z from "zod/v4";
|
|
5
5
|
import type { SSHHost } from "../capability/ssh";
|
package/src/tools/todo.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AgentTool, AgentToolContext, AgentToolResult, AgentToolUpdateCallback } from "@oh-my-pi/pi-agent-core";
|
|
2
|
-
import type { Component } from '
|
|
3
|
-
import { Text } from '
|
|
2
|
+
import type { Component } from '../../stubs/tui/index.ts'
|
|
3
|
+
import { Text } from '../../stubs/tui/index.ts'
|
|
4
4
|
import { prompt } from "@oh-my-pi/pi-utils";
|
|
5
5
|
import chalk from "chalk";
|
|
6
6
|
import * as z from "zod/v4";
|
package/src/tools/write.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as path from "node:path";
|
|
|
4
4
|
|
|
5
5
|
import { formatHashlineHeader, stripHashlinePrefixes } from "@oh-my-pi/hashline";
|
|
6
6
|
import type { AgentTool, AgentToolContext, AgentToolResult, AgentToolUpdateCallback } from "@oh-my-pi/pi-agent-core";
|
|
7
|
-
import type { Component } from '
|
|
7
|
+
import type { Component } from '../../stubs/tui/index.ts'
|
|
8
8
|
import { isEnoent, isRecord, prompt, untilAborted } from "@oh-my-pi/pi-utils";
|
|
9
9
|
import * as z from "zod/v4";
|
|
10
10
|
|
package/src/tui/code-cell.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Render a code or markdown cell with optional output section.
|
|
3
3
|
*/
|
|
4
|
-
import { Markdown } from '
|
|
4
|
+
import { Markdown } from '../../stubs/tui/index.ts'
|
|
5
5
|
import { getMarkdownTheme, highlightCode, type Theme } from "../modes/theme/theme";
|
|
6
6
|
import {
|
|
7
7
|
formatDuration,
|
package/src/tui/hyperlink.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* permits it. Falls back to plain text when disabled.
|
|
7
7
|
*/
|
|
8
8
|
import * as url from "node:url";
|
|
9
|
-
import { TERMINAL } from '
|
|
9
|
+
import { TERMINAL } from '../../stubs/tui/index.ts'
|
|
10
10
|
import { settings } from "../config/settings";
|
|
11
11
|
import {
|
|
12
12
|
LocalProtocolHandler,
|
package/src/tui/output-block.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Bordered output container with optional header and sections.
|
|
3
3
|
*/
|
|
4
|
-
import type { Component } from '
|
|
5
|
-
import { ImageProtocol, padding, TERMINAL, visibleWidth, wrapTextWithAnsi } from '
|
|
4
|
+
import type { Component } from '../../stubs/tui/index.ts'
|
|
5
|
+
import { ImageProtocol, padding, TERMINAL, visibleWidth, wrapTextWithAnsi } from '../../stubs/tui/index.ts'
|
|
6
6
|
import type { Theme, ThemeColor } from "../modes/theme/theme";
|
|
7
7
|
import { getSixelLineMask } from "../utils/sixel";
|
|
8
8
|
import type { State } from "./types";
|
package/src/tui/tree-list.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Hierarchical tree list rendering helper.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { replaceTabs } from '
|
|
5
|
+
import { replaceTabs } from '../../stubs/tui/index.ts'
|
|
6
6
|
import type { Theme } from "../modes/theme/theme";
|
|
7
7
|
import { formatMoreItems } from "../tools/render-utils";
|
|
8
8
|
import type { TreeContext } from "./types";
|
package/src/tui/utils.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shared helpers for tool-rendered UI components.
|
|
3
3
|
*/
|
|
4
|
-
import { padding, visibleWidth } from '
|
|
4
|
+
import { padding, visibleWidth } from '../../stubs/tui/index.ts'
|
|
5
5
|
import type { Theme, ThemeBg } from "../modes/theme/theme";
|
|
6
6
|
import type { State } from "./types";
|
|
7
7
|
|
|
8
|
-
export { Ellipsis, truncateToWidth } from '
|
|
8
|
+
export { Ellipsis, truncateToWidth } from '../../stubs/tui/index.ts';
|
|
9
9
|
|
|
10
10
|
/** Cached typed-array scratch space for hashing non-string primitives. */
|
|
11
11
|
const hashBuf = new ArrayBuffer(8);
|
package/src/utils/clipboard.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { execSync } from "node:child_process";
|
|
2
|
-
import type { ClipboardImage } from '
|
|
3
|
-
import * as native from '
|
|
2
|
+
import type { ClipboardImage } from '../../stubs/natives/index.ts'
|
|
3
|
+
import * as native from '../../stubs/natives/index.ts';
|
|
4
4
|
import { logger } from "@oh-my-pi/pi-utils";
|
|
5
5
|
|
|
6
6
|
function hasDisplay(): boolean {
|
package/src/web/search/render.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Tree-based rendering with collapsed/expanded states for web search results.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import type { Component } from '
|
|
8
|
-
import { Markdown, Text } from '
|
|
7
|
+
import type { Component } from '../../stubs/tui/index.ts'
|
|
8
|
+
import { Markdown, Text } from '../../stubs/tui/index.ts'
|
|
9
9
|
import type { RenderResultOptions } from "../../extensibility/custom-tools/types";
|
|
10
10
|
import { getMarkdownTheme, type Theme } from "../../modes/theme/theme";
|
|
11
11
|
import {
|
package/src/workspace-tree.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as path from "node:path";
|
|
2
|
-
import { FileType, type GlobMatch, listWorkspace } from '
|
|
2
|
+
import { FileType, type GlobMatch, listWorkspace } from '../../stubs/natives/index.ts'
|
|
3
3
|
import { formatAge, formatBytes } from "@oh-my-pi/pi-utils";
|
|
4
4
|
|
|
5
5
|
/** Defaults for the workspace tree shown in the system prompt. */
|