@oh-my-pi/pi-coding-agent 9.6.0 → 9.6.1
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 +4 -0
- package/package.json +7 -7
- package/src/ipy/kernel.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
|
+
|
|
5
|
+
## [9.6.1] - 2026-02-01
|
|
6
|
+
|
|
4
7
|
### Fixed
|
|
5
8
|
|
|
9
|
+
- Fixed output handling to prioritize text/markdown over text/plain when both are available, ensuring Markdown content is displayed correctly
|
|
6
10
|
- Fixed bash command normalization to preserve newlines in heredocs and multiline commands
|
|
7
11
|
|
|
8
12
|
## [9.6.0] - 2026-02-01
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oh-my-pi/pi-coding-agent",
|
|
3
|
-
"version": "9.6.
|
|
3
|
+
"version": "9.6.1",
|
|
4
4
|
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"ompConfig": {
|
|
@@ -79,12 +79,12 @@
|
|
|
79
79
|
"test": "bun test"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@oh-my-pi/omp-stats": "9.6.
|
|
83
|
-
"@oh-my-pi/pi-agent-core": "9.6.
|
|
84
|
-
"@oh-my-pi/pi-ai": "9.6.
|
|
85
|
-
"@oh-my-pi/pi-natives": "9.6.
|
|
86
|
-
"@oh-my-pi/pi-tui": "9.6.
|
|
87
|
-
"@oh-my-pi/pi-utils": "9.6.
|
|
82
|
+
"@oh-my-pi/omp-stats": "9.6.1",
|
|
83
|
+
"@oh-my-pi/pi-agent-core": "9.6.1",
|
|
84
|
+
"@oh-my-pi/pi-ai": "9.6.1",
|
|
85
|
+
"@oh-my-pi/pi-natives": "9.6.1",
|
|
86
|
+
"@oh-my-pi/pi-tui": "9.6.1",
|
|
87
|
+
"@oh-my-pi/pi-utils": "9.6.1",
|
|
88
88
|
"@openai/agents": "^0.4.4",
|
|
89
89
|
"@sinclair/typebox": "^0.34.48",
|
|
90
90
|
"ajv": "^8.17.1",
|
package/src/ipy/kernel.ts
CHANGED
|
@@ -984,6 +984,11 @@ export class PythonKernel {
|
|
|
984
984
|
outputs.push({ type: "json", data: data["application/json"] });
|
|
985
985
|
}
|
|
986
986
|
|
|
987
|
+
// Check text/markdown before text/plain since Markdown objects provide both
|
|
988
|
+
// (text/plain is just the repr)
|
|
989
|
+
if (typeof data["text/markdown"] === "string") {
|
|
990
|
+
return { text: normalizeDisplayText(String(data["text/markdown"])), outputs };
|
|
991
|
+
}
|
|
987
992
|
if (typeof data["text/plain"] === "string") {
|
|
988
993
|
return { text: normalizeDisplayText(String(data["text/plain"])), outputs };
|
|
989
994
|
}
|