@oh-my-pi/pi-coding-agent 12.11.2 → 12.12.0
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 +34 -0
- package/package.json +7 -7
- package/src/config/settings-schema.ts +8 -0
- package/src/modes/components/agent-dashboard.ts +1130 -0
- package/src/modes/components/assistant-message.ts +15 -7
- package/src/modes/components/model-selector.ts +5 -2
- package/src/modes/controllers/selector-controller.ts +35 -10
- package/src/modes/interactive-mode.ts +30 -0
- package/src/modes/theme/mermaid-cache.ts +33 -11
- package/src/modes/types.ts +1 -0
- package/src/prompts/system/agent-creation-architect.md +65 -0
- package/src/prompts/system/agent-creation-user.md +6 -0
- package/src/session/agent-session.ts +22 -6
- package/src/slash-commands/builtin-registry.ts +8 -0
- package/src/task/index.ts +48 -11
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Fixed Mermaid pre-render failures from repeatedly re-triggering background renders (freeze loop) and restored resilient rendering when diagram conversion/callbacks fail ([#109](https://github.com/can1357/oh-my-pi/issues/109)).
|
|
8
|
+
|
|
9
|
+
## [12.12.0] - 2026-02-19
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Display streaming text preview during agent specification generation to show real-time progress
|
|
14
|
+
- Added `onRequestRender` callback to agent dashboard for triggering UI updates during async operations
|
|
15
|
+
- Added agent creation flow (press N in dashboard) to generate custom agents from natural language descriptions
|
|
16
|
+
- Added ability to save generated agents to project or user scope with automatic identifier and system prompt generation
|
|
17
|
+
- Added scope toggle (Tab) during agent creation to choose between project-level and user-level agent storage
|
|
18
|
+
- Added agent regeneration (R key) to refine generated specifications without restarting the creation flow
|
|
19
|
+
- Added model suggestions in model override editor to help users discover available models
|
|
20
|
+
- Added success notices to confirm agent creation and model override updates
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- Updated agent creation flow to show review screen before generation completes, improving UX feedback
|
|
25
|
+
- Changed generation status hint to display "Generating..." while specification is being created
|
|
26
|
+
- Improved system prompt preview formatting with text wrapping and line truncation indicators
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- Fixed interactive-mode editor height to stay bounded and resize-aware, preventing off-screen cursor drift during long prompt/history navigation ([#99](https://github.com/can1357/oh-my-pi/issues/99)).
|
|
31
|
+
|
|
32
|
+
## [12.11.3] - 2026-02-19
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- Fixed model selector search initialization to apply the latest live query after asynchronous model loading.
|
|
37
|
+
- Fixed Codex provider session lifecycle on model switches and history rewrites to clear stale session metadata before continuing the conversation.
|
|
38
|
+
|
|
5
39
|
## [12.11.0] - 2026-02-19
|
|
6
40
|
|
|
7
41
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oh-my-pi/pi-coding-agent",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.12.0",
|
|
4
4
|
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
86
|
"@mozilla/readability": "0.6.0",
|
|
87
|
-
"@oh-my-pi/omp-stats": "12.
|
|
88
|
-
"@oh-my-pi/pi-agent-core": "12.
|
|
89
|
-
"@oh-my-pi/pi-ai": "12.
|
|
90
|
-
"@oh-my-pi/pi-natives": "12.
|
|
91
|
-
"@oh-my-pi/pi-tui": "12.
|
|
92
|
-
"@oh-my-pi/pi-utils": "12.
|
|
87
|
+
"@oh-my-pi/omp-stats": "12.12.0",
|
|
88
|
+
"@oh-my-pi/pi-agent-core": "12.12.0",
|
|
89
|
+
"@oh-my-pi/pi-ai": "12.12.0",
|
|
90
|
+
"@oh-my-pi/pi-natives": "12.12.0",
|
|
91
|
+
"@oh-my-pi/pi-tui": "12.12.0",
|
|
92
|
+
"@oh-my-pi/pi-utils": "12.12.0",
|
|
93
93
|
"@sinclair/typebox": "^0.34.48",
|
|
94
94
|
"@xterm/headless": "^6.0.0",
|
|
95
95
|
"ajv": "^8.18.0",
|
|
@@ -536,6 +536,14 @@ export const SETTINGS_SCHEMA = {
|
|
|
536
536
|
submenu: true,
|
|
537
537
|
},
|
|
538
538
|
},
|
|
539
|
+
"task.disabledAgents": {
|
|
540
|
+
type: "array",
|
|
541
|
+
default: [] as string[],
|
|
542
|
+
},
|
|
543
|
+
"task.agentModelOverrides": {
|
|
544
|
+
type: "record",
|
|
545
|
+
default: {} as Record<string, string>,
|
|
546
|
+
},
|
|
539
547
|
|
|
540
548
|
// ─────────────────────────────────────────────────────────────────────────
|
|
541
549
|
// Startup settings
|