@oh-my-pi/pi-tui 18.8.1 → 18.8.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [18.8.2] - 2026-10-07
6
+
7
+ ### Removed
8
+
9
+ - Removed per-call `model` fields from task parameter types.
10
+
5
11
  ## [18.8.1] - 2026-10-07
6
12
 
7
13
  ### Fixed
@@ -114,6 +114,8 @@ export declare class AgentHubOverlayComponent<TRecord extends AgentRecordLike =
114
114
  * was raised by that gesture.
115
115
  */
116
116
  armCloseTap(): void;
117
+ /** Show `section`, as a slash-command deep link into an already-open hub does. */
118
+ showSection(section: AgentHubSection): void;
117
119
  /**
118
120
  * Open the fullscreen transcript viewer for an agent id (public for table Enter
119
121
  * and tests). Mounts {@link AgentTranscriptViewer} as a `fullscreen` overlay so it
@@ -108,8 +108,6 @@ export interface TaskItem {
108
108
  solutionSpace?: string;
109
109
  /** Per-spawn thinking effort: lowest/middle/highest level the resolved model supports. Overrides the agent's default selector (e.g. `auto`). */
110
110
  effort?: "lo" | "med" | "hi";
111
- /** Per-spawn model selector or ordered selector array; overrides agent and settings preferences. */
112
- model?: string | string[];
113
111
  /** Caller-provided output schema; its presence overrides the selected agent's schema. */
114
112
  outputSchema?: unknown;
115
113
  /** Validation behavior for a caller-provided or inherited output schema. */
@@ -136,8 +134,6 @@ export interface TaskParams {
136
134
  solutionSpace?: string;
137
135
  /** Per-spawn thinking effort (flat form): lowest/middle/highest level the resolved model supports. */
138
136
  effort?: "lo" | "med" | "hi";
139
- /** Per-spawn model selector or ordered selector array; overrides agent and settings preferences. */
140
- model?: string | string[];
141
137
  /** Caller-provided output schema; its presence overrides the selected agent's schema. */
142
138
  outputSchema?: unknown;
143
139
  /** Validation behavior for a caller-provided or inherited output schema. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-tui",
4
- "version": "18.8.1",
4
+ "version": "18.8.3",
5
5
  "description": "Terminal User Interface library with differential rendering for efficient text-based applications",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": {
@@ -41,14 +41,14 @@
41
41
  "gen:glyphs": "bun scripts/gen-glyphs.ts"
42
42
  },
43
43
  "dependencies": {
44
- "@oh-my-pi/omptype": "18.8.1",
45
- "@oh-my-pi/pi-agent-core": "18.8.1",
46
- "@oh-my-pi/pi-ai": "18.8.1",
47
- "@oh-my-pi/pi-catalog": "18.8.1",
48
- "@oh-my-pi/pi-natives": "18.8.1",
49
- "@oh-my-pi/pi-utils": "18.8.1",
50
- "@oh-my-pi/pi-wire": "18.8.1",
51
- "@oh-my-pi/snapcompact": "18.8.1"
44
+ "@oh-my-pi/omptype": "18.8.3",
45
+ "@oh-my-pi/pi-agent-core": "18.8.3",
46
+ "@oh-my-pi/pi-ai": "18.8.3",
47
+ "@oh-my-pi/pi-catalog": "18.8.3",
48
+ "@oh-my-pi/pi-natives": "18.8.3",
49
+ "@oh-my-pi/pi-utils": "18.8.3",
50
+ "@oh-my-pi/pi-wire": "18.8.3",
51
+ "@oh-my-pi/snapcompact": "18.8.3"
52
52
  },
53
53
  "devDependencies": {
54
54
  "kitty-vt-wasm": "^0.2.0"
@@ -616,6 +616,11 @@ export class AgentHubOverlayComponent<TRecord extends AgentRecordLike = AgentRec
616
616
  this.#lastLeftTap = Date.now();
617
617
  }
618
618
 
619
+ /** Show `section`, as a slash-command deep link into an already-open hub does. */
620
+ showSection(section: AgentHubSection): void {
621
+ this.#switchSection(section);
622
+ }
623
+
619
624
  /**
620
625
  * Open the fullscreen transcript viewer for an agent id (public for table Enter
621
626
  * and tests). Mounts {@link AgentTranscriptViewer} as a `fullscreen` overlay so it
package/src/tools/task.ts CHANGED
@@ -1397,7 +1397,7 @@ export function renderResult(
1397
1397
  const aborted = abortedCount > 0;
1398
1398
  const failed = failCount > 0;
1399
1399
  const mergeFailed = mergeFailedCount > 0;
1400
- const isError = result.isError === true || aborted || failed;
1400
+ const isError = aborted || failed;
1401
1401
  const agentCount = hasResults ? details.results.length : (details.progress?.length ?? 0);
1402
1402
  const icon: ToolUIStatus = options.isPartial ? "running" : isError ? "error" : mergeFailed ? "warning" : "success";
1403
1403
  // Header meta is the spawn count only; each row carries its own ⟨agent⟩
@@ -2210,8 +2210,6 @@ export interface TaskItem {
2210
2210
  solutionSpace?: string;
2211
2211
  /** Per-spawn thinking effort: lowest/middle/highest level the resolved model supports. Overrides the agent's default selector (e.g. `auto`). */
2212
2212
  effort?: "lo" | "med" | "hi";
2213
- /** Per-spawn model selector or ordered selector array; overrides agent and settings preferences. */
2214
- model?: string | string[];
2215
2213
  /** Caller-provided output schema; its presence overrides the selected agent's schema. */
2216
2214
  outputSchema?: unknown;
2217
2215
  /** Validation behavior for a caller-provided or inherited output schema. */
@@ -2239,8 +2237,6 @@ export interface TaskParams {
2239
2237
  solutionSpace?: string;
2240
2238
  /** Per-spawn thinking effort (flat form): lowest/middle/highest level the resolved model supports. */
2241
2239
  effort?: "lo" | "med" | "hi";
2242
- /** Per-spawn model selector or ordered selector array; overrides agent and settings preferences. */
2243
- model?: string | string[];
2244
2240
  /** Caller-provided output schema; its presence overrides the selected agent's schema. */
2245
2241
  outputSchema?: unknown;
2246
2242
  /** Validation behavior for a caller-provided or inherited output schema. */