@oh-my-pi/pi-coding-agent 9.2.5 → 9.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-coding-agent",
3
- "version": "9.2.5",
3
+ "version": "9.3.0",
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.2.5",
83
- "@oh-my-pi/pi-agent-core": "9.2.5",
84
- "@oh-my-pi/pi-ai": "9.2.5",
85
- "@oh-my-pi/pi-natives": "9.2.5",
86
- "@oh-my-pi/pi-tui": "9.2.5",
87
- "@oh-my-pi/pi-utils": "9.2.5",
82
+ "@oh-my-pi/omp-stats": "9.3.0",
83
+ "@oh-my-pi/pi-agent-core": "9.3.0",
84
+ "@oh-my-pi/pi-ai": "9.3.0",
85
+ "@oh-my-pi/pi-natives": "9.3.0",
86
+ "@oh-my-pi/pi-tui": "9.3.0",
87
+ "@oh-my-pi/pi-utils": "9.3.0",
88
88
  "@openai/agents": "^0.4.4",
89
89
  "@sinclair/typebox": "^0.34.48",
90
90
  "ajv": "^8.17.1",
@@ -11,7 +11,7 @@ import chalk from "chalk";
11
11
  import { contextFileCapability } from "./capability/context-file";
12
12
  import { systemPromptCapability } from "./capability/system-prompt";
13
13
  import { renderPromptTemplate } from "./config/prompt-templates";
14
- import type { SkillsSettings } from "./config/settings-manager";
14
+ import { SettingsManager, type SkillsSettings } from "./config/settings-manager";
15
15
  import { type ContextFile, loadCapability, type SystemPrompt as SystemPromptFile } from "./discovery";
16
16
  import { loadSkills, type Skill } from "./extensibility/skills";
17
17
  import customSystemPromptTemplate from "./prompts/system/custom-system-prompt.md" with { type: "text" };
@@ -573,11 +573,6 @@ async function getGpuModel(): Promise<string | null> {
573
573
  }
574
574
  }
575
575
 
576
- function getShellName(): string {
577
- const shell = firstNonEmpty([process.env.SHELL, process.env.ComSpec]);
578
- return shell ?? "unknown";
579
- }
580
-
581
576
  function getTerminalName(): string {
582
577
  const termProgram = process.env.TERM_PROGRAM;
583
578
  const termProgramVersion = process.env.TERM_PROGRAM_VERSION;
@@ -765,6 +760,9 @@ async function getEnvironmentInfo(): Promise<Array<{ label: string; value: strin
765
760
  await saveSystemInfoCache(sysInfo);
766
761
  }
767
762
 
763
+ // Get the actual shell used for command execution (not $SHELL)
764
+ const shellConfig = await SettingsManager.getGlobalShellConfig();
765
+
768
766
  return [
769
767
  { label: "OS", value: sysInfo.os },
770
768
  { label: "Distro", value: sysInfo.distro },
@@ -773,7 +771,7 @@ async function getEnvironmentInfo(): Promise<Array<{ label: string; value: strin
773
771
  { label: "CPU", value: sysInfo.cpu },
774
772
  { label: "GPU", value: sysInfo.gpu },
775
773
  { label: "Disk", value: sysInfo.disk },
776
- { label: "Shell", value: getShellName() },
774
+ { label: "Shell", value: shellConfig.shell },
777
775
  { label: "Terminal", value: getTerminalName() },
778
776
  { label: "DE", value: getDesktopEnvironment() },
779
777
  { label: "WM", value: getWindowManager() },