@timurproko/a1 0.2.4-dev.667 → 0.2.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.
Files changed (95) hide show
  1. package/README.md +50 -39
  2. package/bin/pinned-pi-public.js +20 -2
  3. package/dist/app/session-shell/session-shell-root.d.ts +0 -1
  4. package/dist/app/session-shell/session-shell-root.js +2 -7
  5. package/dist/app/session-shell/session-shell.js +2 -12
  6. package/dist/features/owned-ui/resources/release-notes.json +4 -0
  7. package/dist/foundation/release/progress-palette.generated.d.ts +5 -0
  8. package/dist/foundation/release/progress-palette.generated.js +5 -0
  9. package/dist/foundation/release/update.js +4 -5
  10. package/dist/foundation/startup/startup-descriptor.js +2 -2
  11. package/dist/integrations/pi/components/index.d.ts +1 -1
  12. package/dist/integrations/pi/components/index.js +1 -1
  13. package/dist/integrations/pi/components/resources/builtin-themes.d.ts +1 -1
  14. package/dist/integrations/pi/components/resources/builtin-themes.js +1 -1
  15. package/dist/integrations/pi/components/shell-presenters-transcript.js +10 -6
  16. package/dist/integrations/pi/components/shell-selectors-dialogs.d.ts +0 -1
  17. package/dist/integrations/pi/components/shell-selectors-dialogs.js +0 -5
  18. package/dist/integrations/pi/components/shell-shared-facade.d.ts +1 -1
  19. package/dist/integrations/pi/components/upstream/adjacent/core/keybindings.d.ts +1 -1
  20. package/dist/integrations/pi/components/upstream/adjacent/core/keybindings.js +1 -1
  21. package/dist/integrations/pi/components/upstream/assets/earendil-image.json +2 -2
  22. package/dist/integrations/pi/components/upstream/components/countdown-timer.d.ts +1 -1
  23. package/dist/integrations/pi/components/upstream/components/earendil-announcement.js +1 -1
  24. package/dist/integrations/pi/components/upstream/components/extension-editor.d.ts +1 -1
  25. package/dist/integrations/pi/components/upstream/components/extension-editor.js +1 -1
  26. package/dist/integrations/pi/components/upstream/components/extension-input.js +1 -1
  27. package/dist/integrations/pi/components/upstream/components/extension-selector.js +1 -1
  28. package/dist/integrations/pi/components/upstream/components/mermaid.js +1 -1
  29. package/dist/integrations/pi/components/upstream/components/owned-editor.d.ts +1 -1
  30. package/dist/integrations/pi/components/upstream/components/owned-editor.js +1 -1
  31. package/dist/integrations/pi/components/upstream/components/pi-logo.js +1 -1
  32. package/dist/integrations/pi/components/upstream/components/scoped-models-selector.d.ts +1 -1
  33. package/dist/integrations/pi/components/upstream/components/session-footer.js +1 -1
  34. package/dist/integrations/pi/components/upstream/components/session-selector-search.js +1 -1
  35. package/dist/integrations/pi/components/upstream/components/session-selector.js +1 -1
  36. package/dist/integrations/pi/components/upstream/components/skill-invocation-message.d.ts +1 -1
  37. package/dist/integrations/pi/components/upstream/components/skill-invocation-message.js +1 -1
  38. package/dist/integrations/pi/components/upstream/components/status-indicator.d.ts +1 -1
  39. package/dist/integrations/pi/components/upstream/components/status-indicator.js +1 -1
  40. package/dist/integrations/pi/components/upstream/components/themed-text.d.ts +1 -1
  41. package/dist/integrations/pi/components/upstream/components/themed-text.js +1 -1
  42. package/dist/integrations/pi/components/upstream/components/thinking-selector.d.ts +1 -1
  43. package/dist/integrations/pi/components/upstream/components/thinking-selector.js +1 -1
  44. package/dist/integrations/pi/components/upstream/components/tool-execution.d.ts +4 -3
  45. package/dist/integrations/pi/components/upstream/components/tool-execution.js +8 -7
  46. package/dist/integrations/pi/components/upstream/components/tree-selector.d.ts +1 -1
  47. package/dist/integrations/pi/components/upstream/components/tree-selector.js +1 -1
  48. package/dist/integrations/pi/components/upstream/components/trust-selector.js +1 -1
  49. package/dist/integrations/pi/components/upstream/external-editor.js +1 -1
  50. package/dist/integrations/pi/components/upstream/history/editor-core.d.ts +1 -1
  51. package/dist/integrations/pi/components/upstream/history/editor-core.js +1 -1
  52. package/dist/integrations/pi/components/upstream/history/kill-ring.d.ts +1 -1
  53. package/dist/integrations/pi/components/upstream/history/kill-ring.js +1 -1
  54. package/dist/integrations/pi/components/upstream/history/printable-key.js +1 -1
  55. package/dist/integrations/pi/components/upstream/history/text-helpers.js +1 -1
  56. package/dist/integrations/pi/components/upstream/history/undo-stack.d.ts +1 -1
  57. package/dist/integrations/pi/components/upstream/history/undo-stack.js +1 -1
  58. package/dist/integrations/pi/components/upstream/history/word-navigation.js +1 -1
  59. package/dist/integrations/pi/components/upstream/model-search.d.ts +1 -1
  60. package/dist/integrations/pi/components/upstream/theme/system-theme.d.ts +1 -1
  61. package/dist/integrations/pi/components/upstream/theme/system-theme.js +1 -1
  62. package/dist/integrations/pi/components/upstream/theme/theme-controller.d.ts +1 -1
  63. package/dist/integrations/pi/components/upstream/theme/theme.js +1 -1
  64. package/dist/integrations/pi/engine/adapter.d.ts +1 -1
  65. package/dist/integrations/pi/engine/adapter.js +8 -2
  66. package/dist/integrations/pi/engine/resources/changelog.json +4 -4
  67. package/dist/integrations/pi/startup-public.js +164 -166
  68. package/dist/integrations/pi/startup-public.manifest.json +3081 -3075
  69. package/dist/integrations/pi/tui-runtime/damage-aware-terminal.d.ts +1 -1
  70. package/dist/integrations/pi/tui-runtime/damage-aware-terminal.js +1 -1
  71. package/dist/native/darwin-arm64/manifest.json +1 -1
  72. package/dist/native/linux-x64/manifest.json +1 -1
  73. package/dist/native/win32-x64/manifest.json +2 -2
  74. package/dist/native/win32-x64/process-guardian.exe +0 -0
  75. package/dist/runtime-payload-inventory.json +37842 -29757
  76. package/dist/ui/components/transcript-viewport.js +10 -7
  77. package/docs/architecture/project-structure.md +3 -1
  78. package/docs/assets/readme/gears-dark.svg +56 -0
  79. package/docs/assets/readme/gears.svg +0 -1
  80. package/docs/assets/readme/plugins-dark.svg +76 -0
  81. package/docs/assets/readme/plugins.svg +0 -1
  82. package/docs/assets/readme/rocket-dark.svg +66 -0
  83. package/docs/assets/readme/rocket.svg +0 -1
  84. package/docs/assets/readme/separator-dark.svg +13 -0
  85. package/docs/assets/readme/separator.svg +13 -0
  86. package/docs/assets/readme/terminal-dark.svg +76 -0
  87. package/docs/assets/readme/terminal.svg +0 -1
  88. package/docs/assets/readme/waves-dark.svg +142 -0
  89. package/docs/assets/readme/waves.svg +0 -1
  90. package/docs/local-worktree-cleanup.md +4 -2
  91. package/docs/openspec-archive-automation.md +14 -5
  92. package/docs/releases/0.2.4.md +22 -0
  93. package/package.json +3 -3
  94. package/dist/integrations/pi/components/upstream/components/daxnuts.d.ts +0 -29
  95. package/dist/integrations/pi/components/upstream/components/daxnuts.js +0 -146
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/earendil-announcement.ts.
4
4
  * Modifications: Mechanical pinned source port with private imports remapped to public package-root
5
5
  * types/APIs and A1-owned theme boundaries. The unchanged image is loaded lazily from its attributed,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/extension-editor.ts.
4
4
  * Modifications: Mechanical port: remap pi-tui to the root public singleton, use owned
5
5
  * keybindings/theme and external-editor seams, preserve editor layout, hints, focus, submission,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/extension-editor.ts.
4
4
  * Modifications: Mechanical port: remap pi-tui to the root public singleton, use owned
5
5
  * keybindings/theme and external-editor seams, preserve editor layout, hints, focus, submission,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/extension-input.ts.
4
4
  * Modifications: Mechanical port: remap public imports, use ECMAScript private fields, and route the
5
5
  * bare-A1 instruction row and chrome through the shared semantic shortcut and compact padded
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/extension-selector.ts.
4
4
  * Modifications: Mechanical port: remap public imports, use ECMAScript private fields, and route the
5
5
  * bare-A1 instruction row and chrome through the shared semantic shortcut and compact padded
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/mermaid.ts.
4
4
  * Modifications: Mechanical pinned source port with private imports remapped to public package-root
5
5
  * types/APIs and A1-owned theme boundaries; behavior remains acceptance-tested.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/custom-editor.ts.
4
4
  * Modifications: A1-owned class name and synchronized A1 keybinding contract replace the nominal
5
5
  * private upstream keybinding constructor dependency; bare A1 injects the shared Settings/agent input
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/custom-editor.ts.
4
4
  * Modifications: A1-owned class name and synchronized A1 keybinding contract replace the nominal
5
5
  * private upstream keybinding constructor dependency; bare A1 injects the shared Settings/agent input
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/pi-logo.ts.
4
4
  * Modifications: Remapped the private theme import to A1's public-backed adapter and composed the
5
5
  * fixed-color logo into the owned startup header.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/scoped-models-selector.ts.
4
4
  * Modifications: Source-synchronized scoped-model selector port: preserve session-only toggles,
5
5
  * search, bulk/provider/reorder actions, dirty state, Ctrl+S persistence, refresh status,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/footer.ts.
4
4
  * Modifications: Consumes neutral owned-UI view data instead of a fabricated concrete AgentSession;
5
5
  * preserves the latest physical route for virtual models; an explicit bare-A1 profile colors the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/session-selector-search.ts.
4
4
  * Modifications: Source-synchronized session search port with only the public SessionInfo type import
5
5
  * remapped.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/session-selector.ts.
4
4
  * Modifications: Source-synchronized session selector port: preserve threaded/current/all scope,
5
5
  * search, sort, named/path filters, rename, delete confirmation, active-session protection, loading
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/skill-invocation-message.ts.
4
4
  * Modifications: Mechanical port uses A1's public pi-tui instance, owned theme boundary, and
5
5
  * root-instance keybinding registry because the public coding-agent component closes over a second
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/skill-invocation-message.ts.
4
4
  * Modifications: Mechanical port uses A1's public pi-tui instance, owned theme boundary, and
5
5
  * root-instance keybinding registry because the public coding-agent component closes over a second
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/status-indicator.ts.
4
4
  * Modifications: Mechanical source port with public package-root keybinding, Loader, and owned
5
5
  * theme/countdown imports plus ECMAScript private fields.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/status-indicator.ts.
4
4
  * Modifications: Mechanical source port with public package-root keybinding, Loader, and owned
5
5
  * theme/countdown imports plus ECMAScript private fields.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/themed-text.ts.
4
4
  * Modifications: Integrated invalidation-aware text into A1's owned startup header and notices;
5
5
  * repository formatting only.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/themed-text.ts.
4
4
  * Modifications: Integrated invalidation-aware text into A1's owned startup header and notices;
5
5
  * repository formatting only.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/thinking-selector.ts.
4
4
  * Modifications: Preserve the searchable thinking-level selector, current/default semantics,
5
5
  * selection, and focus while accepting the active bare-A1 cycle-key label from the shell, styling the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/thinking-selector.ts.
4
4
  * Modifications: Preserve the searchable thinking-level selector, current/default semantics,
5
5
  * selection, and focus while accepting the active bare-A1 cycle-key label from the shell, styling the
@@ -1,10 +1,11 @@
1
1
  import { Container, type TUI, type TuiMouseEvent } from "@earendil-works/pi-tui";
2
- import { type ToolDefinition } from "@earendil-works/pi-coding-agent";
2
+ import { type ToolDefinition, type ToolRenderers } from "@earendil-works/pi-coding-agent";
3
3
  type ToolPresentationResult = Parameters<NonNullable<ToolDefinition["renderResult"]>>[0] & {
4
4
  isError: boolean;
5
5
  };
6
6
  /** The caller-side merge 0.85.1 performs before handing a definition to the component: built-in renderers fill the gaps. */
7
- export declare function mergeBuiltInRenderers(definition: ToolDefinition<any, any, any> | undefined, builtIn: ToolDefinition<any, any, any> | undefined): ToolDefinition<any, any, any> | undefined;
7
+ type ToolRendererInput = ToolRenderers | ToolDefinition<any, any, any>;
8
+ export declare function mergeBuiltInRenderers(definition: ToolRendererInput | undefined, builtIn: ToolRendererInput | undefined): ToolRenderers | undefined;
8
9
  export interface ToolExecutionOptions {
9
10
  showImages?: boolean;
10
11
  imageWidthCells?: number;
@@ -38,7 +39,7 @@ export declare class ToolExecutionComponent extends Container {
38
39
  private argsComplete;
39
40
  private result;
40
41
  private hideComponent;
41
- constructor(toolName: string, toolCallId: string, args: any, options: ToolExecutionOptions | undefined, toolDefinition: ToolDefinition<any, any, any> | undefined, ui: TUI, cwd: string);
42
+ constructor(toolName: string, toolCallId: string, args: any, options: ToolExecutionOptions | undefined, toolDefinition: ToolRenderers | ToolDefinition<any, any, any> | undefined, ui: TUI, cwd: string);
42
43
  private getCallRenderer;
43
44
  private getResultRenderer;
44
45
  private hasRendererDefinition;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/tool-execution.ts.
4
4
  * Modifications: Retain pinned shell and actual public tool-definition renderers. Replace private
5
5
  * index-keyed image conversion with current-source ownership, serial conversion, visible fallback, and
@@ -13,17 +13,18 @@ import { Box, Container, getCapabilities, getImageDimensions, imageFallback, Mou
13
13
  import { createReadToolDefinition, createBashToolDefinition, createEditToolDefinition, createWriteToolDefinition, createGrepToolDefinition, createFindToolDefinition, createLsToolDefinition, keyHint, } from "../../../startup-public.js";
14
14
  import { piTheme } from "../theme/theme.js";
15
15
  import { ToolImagePresentation } from "../../tool-image-presentation.js";
16
- /** The caller-side merge 0.85.1 performs before handing a definition to the component: built-in renderers fill the gaps. */
17
16
  export function mergeBuiltInRenderers(definition, builtIn) {
18
17
  if (definition === undefined)
19
18
  return builtIn;
20
19
  if (builtIn === undefined)
21
20
  return definition;
22
- const merged = { ...definition };
23
- if (definition.renderCall === undefined && builtIn.renderCall !== undefined)
24
- merged.renderCall = builtIn.renderCall;
25
- if (definition.renderResult === undefined && builtIn.renderResult !== undefined)
26
- merged.renderResult = builtIn.renderResult;
21
+ const selected = definition;
22
+ const fallback = builtIn;
23
+ const merged = { ...selected };
24
+ if (selected.renderCall === undefined && fallback.renderCall !== undefined)
25
+ merged.renderCall = fallback.renderCall;
26
+ if (selected.renderResult === undefined && fallback.renderResult !== undefined)
27
+ merged.renderResult = fallback.renderResult;
27
28
  return merged;
28
29
  }
29
30
  const definitions = { read: createReadToolDefinition, bash: createBashToolDefinition, edit: createEditToolDefinition,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/tree-selector.ts.
4
4
  * Modifications: Source-synchronized tree selector port: preserve filtering, folding, labels, copying,
5
5
  * tree navigation, key hints, focus, and viewport behavior while remapping public types/components
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/tree-selector.ts.
4
4
  * Modifications: Source-synchronized tree selector port: preserve filtering, folding, labels, copying,
5
5
  * tree navigation, key hints, focus, and viewport behavior while remapping public types/components
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/components/trust-selector.ts.
4
4
  * Modifications: Mechanical source-synchronized trust selector port with injected public
5
5
  * ProjectTrustStore-derived options, remapped owned theme imports, and the shared bare-A1 modal
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/external-editor.ts.
4
4
  * Modifications: Mechanical port: retain temporary prompt file, asynchronous inherited-stdio editor
5
5
  * process, completion readback, and best-effort cleanup behind the owned extension-editor component.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-tui 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-tui 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/tui/src/components/editor.ts.
4
4
  * Modifications: Owned editor core or minimal editor-local helper subset; public imports, strict
5
5
  * types, typed persistent-history hooks, semantic border state with the user-approved numeric-only
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-tui 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-tui 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/tui/src/components/editor.ts.
4
4
  * Modifications: Owned editor core or minimal editor-local helper subset; public imports, strict
5
5
  * types, typed persistent-history hooks, semantic border state with the user-approved numeric-only
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-tui 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-tui 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/tui/src/kill-ring.ts.
4
4
  * Modifications: Owned editor core or minimal editor-local helper subset; public imports, strict
5
5
  * types, typed persistent-history hooks, and semantic border state. Public terminal runtime/exports
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-tui 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-tui 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/tui/src/kill-ring.ts.
4
4
  * Modifications: Owned editor core or minimal editor-local helper subset; public imports, strict
5
5
  * types, typed persistent-history hooks, and semantic border state. Public terminal runtime/exports
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-tui 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-tui 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/tui/src/keys.ts.
4
4
  * Modifications: Owned editor core or minimal editor-local helper subset; public imports, strict
5
5
  * types, typed persistent-history hooks, and semantic border state. Public terminal runtime/exports
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-tui 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-tui 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/tui/src/utils.ts.
4
4
  * Modifications: Owned editor core or minimal editor-local helper subset; public imports, strict
5
5
  * types, typed persistent-history hooks, and semantic border state. Public terminal runtime/exports
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-tui 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-tui 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/tui/src/undo-stack.ts.
4
4
  * Modifications: Owned editor core or minimal editor-local helper subset; public imports, strict
5
5
  * types, typed persistent-history hooks, and semantic border state. Public terminal runtime/exports
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-tui 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-tui 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/tui/src/undo-stack.ts.
4
4
  * Modifications: Owned editor core or minimal editor-local helper subset; public imports, strict
5
5
  * types, typed persistent-history hooks, and semantic border state. Public terminal runtime/exports
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-tui 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-tui 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/tui/src/word-navigation.ts.
4
4
  * Modifications: Owned editor core or minimal editor-local helper subset; public imports, strict
5
5
  * types, typed persistent-history hooks, and semantic border state. Public terminal runtime/exports
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/model-search.ts.
4
4
  * Modifications: Mechanical source-synchronized port preserving pinned model search terms for stateful
5
5
  * scoped-model filtering.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/theme/system-theme.ts.
4
4
  * Modifications: Copied the system palette generator with ESM import remapping and strict
5
5
  * indexed-access assertions; A1 retains explicit owned theme selection.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/theme/system-theme.ts.
4
4
  * Modifications: Copied the system palette generator with ESM import remapping and strict
5
5
  * indexed-access assertions; A1 retains explicit owned theme selection.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/theme/theme-controller.ts.
4
4
  * Modifications: Source-synchronized controller port: renamed owner class, injected dependency-free
5
5
  * settings/runtime ports, remapped private theme helpers to the public-backed A1 theme adapter, and
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provenance: @earendil-works/pi-coding-agent 1.0.0 (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32,
2
+ * Provenance: @earendil-works/pi-coding-agent 1.0.2 (MIT), commit cd32f7725fdbddbaecdff5b1e68491563394e0ca,
3
3
  * packages/coding-agent/src/modes/interactive/theme/theme.ts.
4
4
  * Modifications: Source-synchronized theme port: retain pinned theme schema, variable/color
5
5
  * resolution, built-in and custom loading, terminal detection, and layout defaults while constructing
@@ -144,7 +144,7 @@ export declare class PiEngineAdapter implements OwnedUiPromptSuggestionGenerator
144
144
  readonly key: string;
145
145
  readonly description: string;
146
146
  }[];
147
- pinnedToolDefinition(toolName: string): unknown;
147
+ pinnedToolRenderers(toolName: string): unknown;
148
148
  clearQueuedWorkflows(): readonly string[];
149
149
  view(): OwnedUiSessionViewModel;
150
150
  snapshot(): OwnedUiSnapshot;
@@ -420,8 +420,14 @@ export class PiEngineAdapter {
420
420
  const shortcuts = this.#requireWorkflowSession().extensionRunner?.getShortcuts?.(bindings);
421
421
  return shortcuts === undefined ? [] : [...shortcuts].map(([key, shortcut]) => ({ key, description: shortcut.description ?? shortcut.extensionPath }));
422
422
  }
423
- pinnedToolDefinition(toolName) {
424
- return this.#requireWorkflowSession().extensionRunner?.getToolDefinition?.(toolName);
423
+ pinnedToolRenderers(toolName) {
424
+ const runner = this.#requireWorkflowSession().extensionRunner;
425
+ if (runner === undefined)
426
+ return undefined;
427
+ if (typeof runner.resolveToolRenderers === "function") {
428
+ return runner.resolveToolRenderers(toolName, () => runner.getToolDefinition?.(toolName));
429
+ }
430
+ return runner.getToolDefinition?.(toolName);
425
431
  }
426
432
  clearQueuedWorkflows() {
427
433
  const session = this.#requireWorkflowSession();