@wahack/pi-coding-agent 15.11.3 → 15.11.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@wahack/pi-coding-agent",
4
- "version": "15.11.3",
4
+ "version": "15.11.4",
5
5
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": "Can Boluk",
@@ -185,7 +185,7 @@ export async function loadCustomCommands(options: LoadCustomCommandsOptions = {}
185
185
  execCommand(command, args, execOptions?.cwd ?? cwd, execOptions),
186
186
  typebox,
187
187
  zod,
188
- pi: await import("@oh-my-pi/pi-coding-agent"),
188
+ pi: await import("@wahack/pi-coding-agent"),
189
189
  };
190
190
 
191
191
  // 1. Load bundled commands first (lowest priority - can be overridden)
@@ -88,7 +88,7 @@ export class CustomToolLoader {
88
88
  #seenNames: Set<string>;
89
89
 
90
90
  constructor(
91
- pi: typeof import("@oh-my-pi/pi-coding-agent"),
91
+ pi: typeof import("@wahack/pi-coding-agent"),
92
92
  cwd: string,
93
93
  builtInToolNames: string[],
94
94
  pushPendingAction?: (action: {
@@ -175,7 +175,7 @@ export async function loadCustomTools(
175
175
  }) => void,
176
176
  ) {
177
177
  const loader = new CustomToolLoader(
178
- await import("@oh-my-pi/pi-coding-agent"),
178
+ await import("@wahack/pi-coding-agent"),
179
179
  cwd,
180
180
  builtInToolNames,
181
181
  pushPendingAction,
@@ -6,7 +6,7 @@ import * as fs from "node:fs/promises";
6
6
  import * as path from "node:path";
7
7
  import type { ThinkingLevel } from "@oh-my-pi/pi-agent-core";
8
8
  import type { ImageContent, Model, TextContent, TSchema } from "@oh-my-pi/pi-ai";
9
- import * as PiCodingAgent from "@oh-my-pi/pi-coding-agent";
9
+ import * as PiCodingAgent from "@wahack/pi-coding-agent";
10
10
  import type { KeyId } from '../../stubs/tui/index.ts'
11
11
  import { hasFsCode, isEacces, isEnoent, logger } from "@oh-my-pi/pi-utils";
12
12
  import * as Zod from "zod/v4";
@@ -30,7 +30,7 @@ import type {
30
30
  TSchema,
31
31
  } from "@oh-my-pi/pi-ai";
32
32
  import type { OAuthCredentials, OAuthLoginCallbacks } from "@oh-my-pi/pi-ai/oauth/types";
33
- import type * as piCodingAgent from "@oh-my-pi/pi-coding-agent";
33
+ import type * as piCodingAgent from "@wahack/pi-coding-agent";
34
34
  import type { AutocompleteItem, Component, EditorTheme, KeyId, TUI } from '../../stubs/tui/index.ts'
35
35
  import type { logger as PiLogger } from "@oh-my-pi/pi-utils";
36
36
  import type * as Zod from "zod/v4";
@@ -138,7 +138,7 @@ async function createHookAPI(
138
138
  logger,
139
139
  typebox,
140
140
  zod,
141
- pi: await import("@oh-my-pi/pi-coding-agent"),
141
+ pi: await import("@wahack/pi-coding-agent"),
142
142
  } as HookAPI;
143
143
 
144
144
  return {
@@ -113,7 +113,7 @@ function bunfsPath(...segments: string[]): string {
113
113
  function resolveBundledSelfPackageRoot(): string | undefined {
114
114
  if (!process.env.PI_BUNDLED) return undefined;
115
115
  try {
116
- return path.dirname(Bun.resolveSync("@oh-my-pi/pi-coding-agent/package.json", import.meta.dir));
116
+ return path.dirname(Bun.resolveSync("@wahack/pi-coding-agent/package.json", import.meta.dir));
117
117
  } catch {
118
118
  return undefined;
119
119
  }