@oyasmi/pipiclaw 0.6.7 → 0.6.8

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 (45) hide show
  1. package/dist/agent/channel-runner.js +10 -3
  2. package/dist/agent/command-extension.d.ts +4 -3
  3. package/dist/agent/command-extension.js +8 -4
  4. package/dist/agent/types.d.ts +1 -0
  5. package/dist/agent/workspace-resources.d.ts +1 -1
  6. package/dist/agent/workspace-resources.js +1 -1
  7. package/dist/memory/consolidation.d.ts +3 -3
  8. package/dist/memory/consolidation.js +1 -1
  9. package/dist/memory/lifecycle.d.ts +3 -3
  10. package/dist/memory/maintenance-jobs.d.ts +3 -3
  11. package/dist/memory/post-turn-review.d.ts +2 -2
  12. package/dist/memory/post-turn-review.js +1 -1
  13. package/dist/memory/recall.d.ts +1 -1
  14. package/dist/memory/scheduler.d.ts +3 -3
  15. package/dist/memory/session-search.d.ts +1 -1
  16. package/dist/memory/session.d.ts +2 -2
  17. package/dist/memory/session.js +1 -1
  18. package/dist/memory/sidecar-worker.d.ts +1 -1
  19. package/dist/memory/sidecar-worker.js +2 -2
  20. package/dist/models/api-keys.d.ts +2 -2
  21. package/dist/models/utils.d.ts +2 -2
  22. package/dist/models/utils.js +1 -1
  23. package/dist/settings.d.ts +1 -1
  24. package/dist/shared/text-utils.d.ts +1 -1
  25. package/dist/shared/type-guards.d.ts +2 -2
  26. package/dist/subagents/discovery.d.ts +1 -1
  27. package/dist/subagents/discovery.js +1 -1
  28. package/dist/subagents/tool.d.ts +2 -2
  29. package/dist/subagents/tool.js +2 -2
  30. package/dist/tools/attach.d.ts +1 -1
  31. package/dist/tools/bash.d.ts +1 -1
  32. package/dist/tools/edit.d.ts +1 -1
  33. package/dist/tools/edit.js +4 -1
  34. package/dist/tools/index.d.ts +2 -2
  35. package/dist/tools/read.d.ts +1 -1
  36. package/dist/tools/session-search.d.ts +2 -2
  37. package/dist/tools/skill-list.d.ts +1 -1
  38. package/dist/tools/skill-manage.d.ts +1 -1
  39. package/dist/tools/skill-view.d.ts +1 -1
  40. package/dist/tools/web-fetch.d.ts +1 -1
  41. package/dist/tools/web-search.d.ts +1 -1
  42. package/dist/tools/write.d.ts +1 -1
  43. package/dist/web/fetch.d.ts +1 -1
  44. package/dist/web/format.d.ts +1 -1
  45. package/package.json +5 -5
@@ -1,5 +1,5 @@
1
- import { Agent } from "@mariozechner/pi-agent-core";
2
- import { AgentSession, AgentSessionRuntime, AuthStorage, convertToLlm, createExtensionRuntime, DefaultResourceLoader, ModelRegistry, SessionManager, } from "@mariozechner/pi-coding-agent";
1
+ import { Agent } from "@earendil-works/pi-agent-core";
2
+ import { AgentSession, AgentSessionRuntime, AuthStorage, convertToLlm, createExtensionRuntime, DefaultResourceLoader, ModelRegistry, SessionManager, } from "@earendil-works/pi-coding-agent";
3
3
  import { mkdir, readFile, writeFile } from "fs/promises";
4
4
  import { dirname, join, resolve } from "path";
5
5
  import * as log from "../log.js";
@@ -10,7 +10,7 @@ import { MemoryLifecycle } from "../memory/lifecycle.js";
10
10
  import { applyMemoryActivityToState, updateMemoryMaintenanceState, } from "../memory/maintenance-state.js";
11
11
  import { recallRelevantMemory } from "../memory/recall.js";
12
12
  import { getApiKeyForModel } from "../models/api-keys.js";
13
- import { resolveInitialModel } from "../models/utils.js";
13
+ import { formatModelReference, resolveInitialModel } from "../models/utils.js";
14
14
  import { APP_HOME_DIR, AUTH_CONFIG_PATH, MODELS_CONFIG_PATH } from "../paths.js";
15
15
  import { createExecutor } from "../sandbox.js";
16
16
  import { loadSecurityConfigWithDiagnostics } from "../security/config.js";
@@ -292,6 +292,12 @@ export class ChannelRunner {
292
292
  const currentRunModel = this.session.model ?? this.activeModel;
293
293
  const contextWindow = currentRunModel.contextWindow || 200000;
294
294
  log.logUsageSummary(this.runState.logCtx, this.runState.totalUsage, contextTokens, contextWindow);
295
+ const responseModel = lastAssistantMessage?.responseModel;
296
+ if (responseModel &&
297
+ responseModel !== formatModelReference(currentRunModel) &&
298
+ responseModel !== currentRunModel.id) {
299
+ log.logInfo(`[${this.channelId}] Actual model: ${responseModel} (configured: ${formatModelReference(currentRunModel)})`);
300
+ }
295
301
  }
296
302
  // Clear run state
297
303
  this.runState.ctx = null;
@@ -540,6 +546,7 @@ export class ChannelRunner {
540
546
  },
541
547
  getSessionStats: () => this.session.getSessionStats(),
542
548
  getThinkingLevel: () => this.session.thinkingLevel,
549
+ getLastResponseModel: () => getLastAssistantUsage(this.session.messages)?.responseModel,
543
550
  switchModel: async (model) => {
544
551
  await this.session.setModel(model);
545
552
  this.activeModel = model;
@@ -1,12 +1,13 @@
1
- import type { ThinkingLevel } from "@mariozechner/pi-agent-core";
2
- import type { Api, Model } from "@mariozechner/pi-ai";
3
- import type { ExtensionFactory, SessionStats } from "@mariozechner/pi-coding-agent";
1
+ import type { ThinkingLevel } from "@earendil-works/pi-agent-core";
2
+ import type { Api, Model } from "@earendil-works/pi-ai";
3
+ import type { ExtensionFactory, SessionStats } from "@earendil-works/pi-coding-agent";
4
4
  export declare const COMMAND_RESULT_CUSTOM_TYPE = "pipiclaw.command_result";
5
5
  export interface PipiclawCommandExtensionOptions {
6
6
  getCurrentModel: () => Model<Api> | undefined;
7
7
  getAvailableModels: () => Promise<Model<Api>[]>;
8
8
  getSessionStats: () => SessionStats;
9
9
  getThinkingLevel: () => ThinkingLevel;
10
+ getLastResponseModel?: () => string | undefined;
10
11
  switchModel: (model: Model<Api>) => Promise<void>;
11
12
  refreshSessionResources: () => Promise<void>;
12
13
  }
@@ -1,14 +1,18 @@
1
1
  import { basename } from "path";
2
2
  import { findModelReferenceMatch, formatModelList, formatModelReference } from "../models/utils.js";
3
3
  export const COMMAND_RESULT_CUSTOM_TYPE = "pipiclaw.command_result";
4
- function buildSessionText(stats, currentModel, thinkingLevel) {
5
- const modelText = currentModel ? `\`${formatModelReference(currentModel)}\`` : "(none)";
4
+ function buildSessionText(stats, currentModel, thinkingLevel, lastResponseModel) {
5
+ const configuredRef = currentModel ? formatModelReference(currentModel) : null;
6
+ const modelText = configuredRef ? `\`${configuredRef}\`` : "(none)";
7
+ const actualText = lastResponseModel && configuredRef && lastResponseModel !== configuredRef
8
+ ? ` (actual: \`${lastResponseModel}\`)`
9
+ : "";
6
10
  const sessionFile = stats.sessionFile ? `\`${basename(stats.sessionFile)}\`` : "(none)";
7
11
  return `# Session
8
12
 
9
13
  - Session ID: \`${stats.sessionId}\`
10
14
  - Session file: ${sessionFile}
11
- - Model: ${modelText}
15
+ - Model: ${modelText}${actualText}
12
16
  - Thinking level: \`${thinkingLevel}\`
13
17
  - User messages: \`${stats.userMessages}\`
14
18
  - Assistant messages: \`${stats.assistantMessages}\`
@@ -39,7 +43,7 @@ export function createCommandExtension(options) {
39
43
  pi.registerCommand("session", {
40
44
  description: "Show current session state, usage, and model info",
41
45
  handler: async () => {
42
- sendCommandResult(pi, buildSessionText(options.getSessionStats(), options.getCurrentModel(), options.getThinkingLevel()));
46
+ sendCommandResult(pi, buildSessionText(options.getSessionStats(), options.getCurrentModel(), options.getThinkingLevel(), options.getLastResponseModel?.()));
43
47
  },
44
48
  });
45
49
  pi.registerCommand("model", {
@@ -88,6 +88,7 @@ export interface AssistantUsageMessage {
88
88
  role: "assistant";
89
89
  stopReason?: string;
90
90
  usage: AssistantUsage;
91
+ responseModel?: string;
91
92
  }
92
93
  export type SessionEvent = {
93
94
  type: "tool_execution_start";
@@ -2,7 +2,7 @@
2
2
  * Workspace resource loaders for pipiclaw:
3
3
  * SOUL.md, AGENTS.md, and workspace-level skills.
4
4
  */
5
- import { type Skill } from "@mariozechner/pi-coding-agent";
5
+ import { type Skill } from "@earendil-works/pi-coding-agent";
6
6
  /**
7
7
  * Load SOUL.md — defines the agent's identity, personality, and communication style.
8
8
  * Only loaded from workspace root (global).
@@ -2,7 +2,7 @@
2
2
  * Workspace resource loaders for pipiclaw:
3
3
  * SOUL.md, AGENTS.md, and workspace-level skills.
4
4
  */
5
- import { loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
5
+ import { loadSkillsFromDir } from "@earendil-works/pi-coding-agent";
6
6
  import { existsSync, readFileSync } from "fs";
7
7
  import { join } from "path";
8
8
  import * as log from "../log.js";
@@ -1,6 +1,6 @@
1
- import type { AgentMessage } from "@mariozechner/pi-agent-core";
2
- import type { Api, Model } from "@mariozechner/pi-ai";
3
- import { type SessionEntry } from "@mariozechner/pi-coding-agent";
1
+ import type { AgentMessage } from "@earendil-works/pi-agent-core";
2
+ import type { Api, Model } from "@earendil-works/pi-ai";
3
+ import { type SessionEntry } from "@earendil-works/pi-coding-agent";
4
4
  export type ConsolidationMode = "idle" | "boundary";
5
5
  export interface ConsolidationRunOptions {
6
6
  channelDir: string;
@@ -1,4 +1,4 @@
1
- import { getLatestCompactionEntry, serializeConversation, } from "@mariozechner/pi-coding-agent";
1
+ import { getLatestCompactionEntry, serializeConversation, } from "@earendil-works/pi-coding-agent";
2
2
  import { parseJsonObject } from "../shared/llm-json.js";
3
3
  import { splitH2Sections } from "../shared/markdown-sections.js";
4
4
  import { clipText } from "../shared/text-utils.js";
@@ -1,6 +1,6 @@
1
- import type { AgentMessage } from "@mariozechner/pi-agent-core";
2
- import type { Api, Model } from "@mariozechner/pi-ai";
3
- import type { ExtensionFactory, SessionEntry } from "@mariozechner/pi-coding-agent";
1
+ import type { AgentMessage } from "@earendil-works/pi-agent-core";
2
+ import type { Api, Model } from "@earendil-works/pi-ai";
3
+ import type { ExtensionFactory, SessionEntry } from "@earendil-works/pi-coding-agent";
4
4
  import type { PipiclawSessionMemorySettings } from "../settings.js";
5
5
  import { type ChannelMemoryQueue } from "./channel-maintenance-queue.js";
6
6
  import type { MemoryActivityEvent } from "./maintenance-state.js";
@@ -1,6 +1,6 @@
1
- import type { AgentMessage } from "@mariozechner/pi-agent-core";
2
- import type { Api, Model } from "@mariozechner/pi-ai";
3
- import type { SessionEntry } from "@mariozechner/pi-coding-agent";
1
+ import type { AgentMessage } from "@earendil-works/pi-agent-core";
2
+ import type { Api, Model } from "@earendil-works/pi-ai";
3
+ import type { SessionEntry } from "@earendil-works/pi-coding-agent";
4
4
  import type { PipiclawMemoryGrowthSettings, PipiclawMemoryMaintenanceSettings, PipiclawSessionMemorySettings } from "../settings.js";
5
5
  import { type ChannelMemoryQueue } from "./channel-maintenance-queue.js";
6
6
  import { type MaintenanceJobKind } from "./maintenance-gates.js";
@@ -1,5 +1,5 @@
1
- import type { AgentMessage } from "@mariozechner/pi-agent-core";
2
- import type { Api, Model } from "@mariozechner/pi-ai";
1
+ import type { AgentMessage } from "@earendil-works/pi-agent-core";
2
+ import type { Api, Model } from "@earendil-works/pi-ai";
3
3
  import { type PostTurnReviewResult } from "./promotion.js";
4
4
  export interface PostTurnReviewOptions {
5
5
  channelId: string;
@@ -1,4 +1,4 @@
1
- import { serializeConversation } from "@mariozechner/pi-coding-agent";
1
+ import { serializeConversation } from "@earendil-works/pi-coding-agent";
2
2
  import { parseJsonObject } from "../shared/llm-json.js";
3
3
  import { clipText } from "../shared/text-utils.js";
4
4
  import { buildStandardMessages, isRecord } from "../shared/type-guards.js";
@@ -1,4 +1,4 @@
1
- import type { Api, Model } from "@mariozechner/pi-ai";
1
+ import type { Api, Model } from "@earendil-works/pi-ai";
2
2
  import { type MemoryCandidate, type MemoryCandidateStore } from "./candidates.js";
3
3
  export interface RecallRequest {
4
4
  query: string;
@@ -1,6 +1,6 @@
1
- import type { AgentMessage } from "@mariozechner/pi-agent-core";
2
- import type { Api, Model } from "@mariozechner/pi-ai";
3
- import type { SessionEntry } from "@mariozechner/pi-coding-agent";
1
+ import type { AgentMessage } from "@earendil-works/pi-agent-core";
2
+ import type { Api, Model } from "@earendil-works/pi-ai";
3
+ import type { SessionEntry } from "@earendil-works/pi-coding-agent";
4
4
  import type { PipiclawMemoryGrowthSettings, PipiclawMemoryMaintenanceSettings, PipiclawSessionMemorySettings } from "../settings.js";
5
5
  export interface MemoryMaintenanceRuntimeContext {
6
6
  channelId: string;
@@ -1,4 +1,4 @@
1
- import type { Api, Model } from "@mariozechner/pi-ai";
1
+ import type { Api, Model } from "@earendil-works/pi-ai";
2
2
  import { type SessionSearchRole } from "./session-corpus.js";
3
3
  export interface SearchChannelSessionsRequest {
4
4
  channelDir: string;
@@ -1,5 +1,5 @@
1
- import type { AgentMessage } from "@mariozechner/pi-agent-core";
2
- import type { Api, Model } from "@mariozechner/pi-ai";
1
+ import type { AgentMessage } from "@earendil-works/pi-agent-core";
2
+ import type { Api, Model } from "@earendil-works/pi-ai";
3
3
  export interface SessionMemoryState {
4
4
  title: string;
5
5
  currentState: string[];
@@ -1,4 +1,4 @@
1
- import { serializeConversation } from "@mariozechner/pi-coding-agent";
1
+ import { serializeConversation } from "@earendil-works/pi-coding-agent";
2
2
  import { writeFile } from "fs/promises";
3
3
  import { join } from "path";
4
4
  import { parseJsonObject } from "../shared/llm-json.js";
@@ -1,4 +1,4 @@
1
- import type { Api, Model } from "@mariozechner/pi-ai";
1
+ import type { Api, Model } from "@earendil-works/pi-ai";
2
2
  export interface SidecarTask<T> {
3
3
  name: string;
4
4
  model: Model<Api>;
@@ -1,5 +1,5 @@
1
- import { Agent } from "@mariozechner/pi-agent-core";
2
- import { convertToLlm } from "@mariozechner/pi-coding-agent";
1
+ import { Agent } from "@earendil-works/pi-agent-core";
2
+ import { convertToLlm } from "@earendil-works/pi-coding-agent";
3
3
  import { extractAssistantText } from "../shared/text-utils.js";
4
4
  const SIDE_CAR_RETRY_DELAY_MS = 2_000;
5
5
  const SIDE_CAR_MAX_ATTEMPTS = 2;
@@ -1,5 +1,5 @@
1
- import type { Api, Model } from "@mariozechner/pi-ai";
2
- import type { ModelRegistry } from "@mariozechner/pi-coding-agent";
1
+ import type { Api, Model } from "@earendil-works/pi-ai";
2
+ import type { ModelRegistry } from "@earendil-works/pi-coding-agent";
3
3
  /**
4
4
  * Resolve an API key for the given model's provider.
5
5
  * Checks ModelRegistry first, then falls back to ANTHROPIC_API_KEY.
@@ -1,5 +1,5 @@
1
- import { type Api, type Model } from "@mariozechner/pi-ai";
2
- import type { ModelRegistry } from "@mariozechner/pi-coding-agent";
1
+ import { type Api, type Model } from "@earendil-works/pi-ai";
2
+ import type { ModelRegistry } from "@earendil-works/pi-coding-agent";
3
3
  import type { PipiclawSettingsManager } from "../settings.js";
4
4
  export declare function formatModelReference(model: Model<Api>): string;
5
5
  export declare function findExactModelReferenceMatch(modelReference: string, availableModels: Model<Api>[]): {
@@ -1,4 +1,4 @@
1
- import { getModel } from "@mariozechner/pi-ai";
1
+ import { getModel } from "@earendil-works/pi-ai";
2
2
  // Default model - will be overridden by ModelRegistry if custom models are configured
3
3
  const defaultModel = getModel("anthropic", "claude-sonnet-4-5");
4
4
  export function formatModelReference(model) {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This module currently provides only PipiclawSettingsManager.
8
8
  */
9
- import type { Transport } from "@mariozechner/pi-ai";
9
+ import type { Transport } from "@earendil-works/pi-ai";
10
10
  import type { ConfigDiagnostic } from "./shared/config-diagnostics.js";
11
11
  type PackageSource = string | {
12
12
  source: string;
@@ -1,4 +1,4 @@
1
- import type { AssistantMessage } from "@mariozechner/pi-ai";
1
+ import type { AssistantMessage } from "@earendil-works/pi-ai";
2
2
  export declare function clipText(text: string, maxChars: number, opts?: {
3
3
  headRatio?: number;
4
4
  omitHint?: string;
@@ -1,5 +1,5 @@
1
- import type { AgentMessage } from "@mariozechner/pi-agent-core";
2
- import type { Message } from "@mariozechner/pi-ai";
1
+ import type { AgentMessage } from "@earendil-works/pi-agent-core";
2
+ import type { Message } from "@earendil-works/pi-ai";
3
3
  export declare function isRecord(value: unknown): value is Record<string, unknown>;
4
4
  export declare function isStandardAgentMessage(message: AgentMessage): message is Message;
5
5
  export declare function buildStandardMessages(messages: AgentMessage[]): Message[];
@@ -1,4 +1,4 @@
1
- import type { Api, Model } from "@mariozechner/pi-ai";
1
+ import type { Api, Model } from "@earendil-works/pi-ai";
2
2
  declare const ALLOWED_SUB_AGENT_TOOLS: readonly ["read", "bash", "edit", "write", "web_search", "web_fetch"];
3
3
  declare const ALLOWED_CONTEXT_MODES: readonly ["isolated", "contextual"];
4
4
  declare const ALLOWED_MEMORY_MODES: readonly ["none", "session", "relevant"];
@@ -1,4 +1,4 @@
1
- import { parseFrontmatter } from "@mariozechner/pi-coding-agent";
1
+ import { parseFrontmatter } from "@earendil-works/pi-coding-agent";
2
2
  import { existsSync, readdirSync, readFileSync } from "fs";
3
3
  import { join } from "path";
4
4
  import { findExactModelReferenceMatch, formatModelReference } from "../models/utils.js";
@@ -1,5 +1,5 @@
1
- import { type AgentEvent, type AgentMessage, type AgentTool } from "@mariozechner/pi-agent-core";
2
- import type { Api, Model } from "@mariozechner/pi-ai";
1
+ import { type AgentEvent, type AgentMessage, type AgentTool } from "@earendil-works/pi-agent-core";
2
+ import type { Api, Model } from "@earendil-works/pi-ai";
3
3
  import { Type } from "typebox";
4
4
  import type { MemoryCandidateStore } from "../memory/candidates.js";
5
5
  import type { Executor } from "../sandbox.js";
@@ -1,5 +1,5 @@
1
- import { Agent } from "@mariozechner/pi-agent-core";
2
- import { convertToLlm } from "@mariozechner/pi-coding-agent";
1
+ import { Agent } from "@earendil-works/pi-agent-core";
2
+ import { convertToLlm } from "@earendil-works/pi-coding-agent";
3
3
  import { Type } from "typebox";
4
4
  import { readChannelSession } from "../memory/files.js";
5
5
  import { recallRelevantMemory } from "../memory/recall.js";
@@ -1,4 +1,4 @@
1
- import type { AgentTool } from "@mariozechner/pi-agent-core";
1
+ import type { AgentTool } from "@earendil-works/pi-agent-core";
2
2
  import { Type } from "typebox";
3
3
  import type { SecurityConfig, SecurityRuntimeContext } from "../security/types.js";
4
4
  declare const attachSchema: Type.TObject<{
@@ -1,4 +1,4 @@
1
- import type { AgentTool } from "@mariozechner/pi-agent-core";
1
+ import type { AgentTool } from "@earendil-works/pi-agent-core";
2
2
  import { Type } from "typebox";
3
3
  import type { Executor } from "../sandbox.js";
4
4
  import type { SecurityConfig, SecurityRuntimeContext } from "../security/types.js";
@@ -1,4 +1,4 @@
1
- import type { AgentTool } from "@mariozechner/pi-agent-core";
1
+ import type { AgentTool } from "@earendil-works/pi-agent-core";
2
2
  import { Type } from "typebox";
3
3
  import type { Executor } from "../sandbox.js";
4
4
  import type { SecurityConfig, SecurityRuntimeContext } from "../security/types.js";
@@ -157,7 +157,10 @@ export function createEditTool(executor, options = {}) {
157
157
  text: `Successfully replaced text in ${path}. Changed ${oldText.length} characters to ${newText.length} characters.`,
158
158
  },
159
159
  ],
160
- details: { diff: generateDiffString(content, newContent) },
160
+ details: {
161
+ diff: generateDiffString(content, newContent),
162
+ patch: Diff.createPatch(path, content, newContent),
163
+ },
161
164
  };
162
165
  },
163
166
  };
@@ -1,5 +1,5 @@
1
- import type { AgentTool } from "@mariozechner/pi-agent-core";
2
- import type { Api, Model } from "@mariozechner/pi-ai";
1
+ import type { AgentTool } from "@earendil-works/pi-agent-core";
2
+ import type { Api, Model } from "@earendil-works/pi-ai";
3
3
  import type { MemoryCandidateStore } from "../memory/candidates.js";
4
4
  import type { Executor, SandboxConfig } from "../sandbox.js";
5
5
  import type { SecurityConfig, SecurityRuntimeContext } from "../security/types.js";
@@ -1,4 +1,4 @@
1
- import type { AgentTool } from "@mariozechner/pi-agent-core";
1
+ import type { AgentTool } from "@earendil-works/pi-agent-core";
2
2
  import { Type } from "typebox";
3
3
  import type { Executor } from "../sandbox.js";
4
4
  import type { SecurityConfig, SecurityRuntimeContext } from "../security/types.js";
@@ -1,5 +1,5 @@
1
- import type { AgentTool } from "@mariozechner/pi-agent-core";
2
- import type { Api, Model } from "@mariozechner/pi-ai";
1
+ import type { AgentTool } from "@earendil-works/pi-agent-core";
2
+ import type { Api, Model } from "@earendil-works/pi-ai";
3
3
  import { Type } from "typebox";
4
4
  import type { PipiclawSessionSearchSettings } from "../settings.js";
5
5
  declare const sessionSearchSchema: Type.TObject<{
@@ -1,4 +1,4 @@
1
- import type { AgentTool } from "@mariozechner/pi-agent-core";
1
+ import type { AgentTool } from "@earendil-works/pi-agent-core";
2
2
  import { Type } from "typebox";
3
3
  declare const skillListSchema: Type.TObject<{
4
4
  label: Type.TString;
@@ -1,4 +1,4 @@
1
- import type { AgentTool } from "@mariozechner/pi-agent-core";
1
+ import type { AgentTool } from "@earendil-works/pi-agent-core";
2
2
  import { Type } from "typebox";
3
3
  declare const skillManageSchema: Type.TObject<{
4
4
  label: Type.TString;
@@ -1,4 +1,4 @@
1
- import type { AgentTool } from "@mariozechner/pi-agent-core";
1
+ import type { AgentTool } from "@earendil-works/pi-agent-core";
2
2
  import { Type } from "typebox";
3
3
  declare const skillViewSchema: Type.TObject<{
4
4
  label: Type.TString;
@@ -1,4 +1,4 @@
1
- import type { AgentTool } from "@mariozechner/pi-agent-core";
1
+ import type { AgentTool } from "@earendil-works/pi-agent-core";
2
2
  import { Type } from "typebox";
3
3
  import type { SecurityConfig } from "../security/types.js";
4
4
  import type { PipiclawWebToolsConfig } from "./config.js";
@@ -1,4 +1,4 @@
1
- import type { AgentTool } from "@mariozechner/pi-agent-core";
1
+ import type { AgentTool } from "@earendil-works/pi-agent-core";
2
2
  import { Type } from "typebox";
3
3
  import type { SecurityConfig } from "../security/types.js";
4
4
  import type { PipiclawWebToolsConfig } from "./config.js";
@@ -1,4 +1,4 @@
1
- import type { AgentTool } from "@mariozechner/pi-agent-core";
1
+ import type { AgentTool } from "@earendil-works/pi-agent-core";
2
2
  import { Type } from "typebox";
3
3
  import type { Executor } from "../sandbox.js";
4
4
  import type { SecurityConfig, SecurityRuntimeContext } from "../security/types.js";
@@ -1,4 +1,4 @@
1
- import type { ImageContent, TextContent } from "@mariozechner/pi-ai";
1
+ import type { ImageContent, TextContent } from "@earendil-works/pi-ai";
2
2
  import type { SecurityConfig } from "../security/types.js";
3
3
  import type { PipiclawWebToolsConfig } from "../tools/config.js";
4
4
  import { type FormattedFetchDetails } from "./format.js";
@@ -1,4 +1,4 @@
1
- import type { ImageContent, TextContent } from "@mariozechner/pi-ai";
1
+ import type { ImageContent, TextContent } from "@earendil-works/pi-ai";
2
2
  export interface WebSearchResultItem {
3
3
  title: string;
4
4
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oyasmi/pipiclaw",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "An AI assistant runtime for coding and team workflows, with DingTalk AI Cards, sub-agents, memory, and scheduled events.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -33,9 +33,9 @@
33
33
  "prepublishOnly": "npm run clean && npm run build && npm run check"
34
34
  },
35
35
  "dependencies": {
36
- "@mariozechner/pi-agent-core": "^0.70.2",
37
- "@mariozechner/pi-ai": "^0.70.2",
38
- "@mariozechner/pi-coding-agent": "^0.70.2",
36
+ "@earendil-works/pi-agent-core": "^0.75.5",
37
+ "@earendil-works/pi-ai": "^0.75.5",
38
+ "@earendil-works/pi-coding-agent": "^0.75.5",
39
39
  "@mozilla/readability": "^0.6.0",
40
40
  "axios": "^1.7.0",
41
41
  "croner": "^9.1.0",
@@ -78,6 +78,6 @@
78
78
  "access": "public"
79
79
  },
80
80
  "engines": {
81
- "node": ">=22.0.0"
81
+ "node": ">=22.19.0"
82
82
  }
83
83
  }