@oh-my-pi/pi-coding-agent 5.7.68 → 5.7.69

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 (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -52,7 +52,7 @@ Works on Linux, macOS, and Windows (requires bash; see [Windows Setup](#windows-
52
52
  **npm (recommended):**
53
53
 
54
54
  ```bash
55
- npm install -g @oh-my-pi/omp-coding-agent
55
+ npm install -g @oh-my-pi/pi-coding-agent
56
56
  ```
57
57
 
58
58
  **Standalone binary:**
@@ -617,7 +617,7 @@ Select theme via `/settings` or set in `~/.omp/agent/settings.json`.
617
617
 
618
618
  ```bash
619
619
  mkdir -p ~/.omp/agent/themes
620
- cp $(npm root -g)/@oh-my-pi/omp-coding-agent/dist/theme/dark.json ~/.omp/agent/themes/my-theme.json
620
+ cp $(npm root -g)/@oh-my-pi/pi-coding-agent/dist/theme/dark.json ~/.omp/agent/themes/my-theme.json
621
621
  ```
622
622
 
623
623
  Select with `/settings`, then edit the file. Changes apply on save.
@@ -740,7 +740,7 @@ Hooks are TypeScript modules that extend omp's behavior by subscribing to lifecy
740
740
  **Quick example** (permission gate):
741
741
 
742
742
  ```typescript
743
- import type { HookAPI } from "@oh-my-pi/omp-coding-agent/hooks";
743
+ import type { HookAPI } from "@oh-my-pi/pi-coding-agent/hooks";
744
744
 
745
745
  export default function (omp: HookAPI) {
746
746
  omp.on("tool_call", async (event, ctx) => {
@@ -759,7 +759,7 @@ Use `omp.sendMessage(message, triggerTurn?)` to inject messages into the session
759
759
 
760
760
  ```typescript
761
761
  import * as fs from "node:fs";
762
- import type { HookAPI } from "@oh-my-pi/omp-coding-agent/hooks";
762
+ import type { HookAPI } from "@oh-my-pi/pi-coding-agent/hooks";
763
763
 
764
764
  export default function (omp: HookAPI) {
765
765
  omp.on("session_start", async () => {
@@ -802,7 +802,7 @@ Custom tools let you extend the built-in toolset (read, write, edit, bash, ...)
802
802
 
803
803
  ```typescript
804
804
  import { Type } from "@sinclair/typebox";
805
- import type { CustomToolFactory } from "@oh-my-pi/omp-coding-agent";
805
+ import type { CustomToolFactory } from "@oh-my-pi/pi-coding-agent";
806
806
 
807
807
  const factory: CustomToolFactory = (omp) => ({
808
808
  name: "greet",
@@ -970,7 +970,7 @@ For adding new tools, see [Custom Tools](#custom-tools) in the Configuration sec
970
970
  For embedding omp in Node.js/TypeScript applications, use the SDK:
971
971
 
972
972
  ```typescript
973
- import { createAgentSession, discoverAuthStorage, discoverModels, SessionManager } from "@oh-my-pi/omp-coding-agent";
973
+ import { createAgentSession, discoverAuthStorage, discoverModels, SessionManager } from "@oh-my-pi/pi-coding-agent";
974
974
 
975
975
  const authStorage = discoverAuthStorage();
976
976
  const modelRegistry = discoverModels(authStorage);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-coding-agent",
3
- "version": "5.7.68",
3
+ "version": "5.7.69",
4
4
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
5
5
  "type": "module",
6
6
  "ompConfig": {
@@ -40,10 +40,10 @@
40
40
  "prepublishOnly": "bun run generate-template && bun run clean && bun run build"
41
41
  },
42
42
  "dependencies": {
43
- "@oh-my-pi/pi-agent-core": "5.7.68",
44
- "@oh-my-pi/pi-ai": "5.7.68",
45
- "@oh-my-pi/pi-git-tool": "5.7.68",
46
- "@oh-my-pi/pi-tui": "5.7.68",
43
+ "@oh-my-pi/pi-agent-core": "5.7.69",
44
+ "@oh-my-pi/pi-ai": "5.7.69",
45
+ "@oh-my-pi/pi-git-tool": "5.7.69",
46
+ "@oh-my-pi/pi-tui": "5.7.69",
47
47
  "@openai/agents": "^0.3.7",
48
48
  "@sinclair/typebox": "^0.34.46",
49
49
  "ajv": "^8.17.1",