@friendlyrobot/discord-pi-agent 0.7.7 → 0.8.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.
@@ -1,4 +1,4 @@
1
- import { type AgentSession } from "@mariozechner/pi-coding-agent";
1
+ import { type AgentSession } from "@earendil-works/pi-coding-agent";
2
2
  import type { AgentStatus, ResolvedDiscordPiBridgeConfig, ThinkingLevel } from "./types";
3
3
  export declare class AgentService {
4
4
  private readonly config;
@@ -1,4 +1,4 @@
1
- import type { AgentSession } from "@mariozechner/pi-coding-agent";
1
+ import type { AgentSession } from "@earendil-works/pi-coding-agent";
2
2
  import type { AgentService } from "./agent-service";
3
3
  import type { PromptQueue } from "./prompt-queue";
4
4
  export type CommandResult = {
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  ModelRegistry,
12
12
  SessionManager,
13
13
  SettingsManager
14
- } from "@mariozechner/pi-coding-agent";
14
+ } from "@earendil-works/pi-coding-agent";
15
15
 
16
16
  // src/logger.ts
17
17
  import pino from "pino";
@@ -163,6 +163,12 @@ async function collectReply(session, prompt, options = {}) {
163
163
  }
164
164
  if (finalText) {
165
165
  const transformed = await transformMarkdownTablesToCodeBlocks(finalText);
166
+ console.info(`========== reply-buffer BEFORE (${finalText.length} chars) ==========
167
+ ${finalText}
168
+ ========== reply-buffer BEFORE END ==========`);
169
+ console.info(`========== reply-buffer AFTER (${transformed.length} chars) ==========
170
+ ${transformed}
171
+ ========== reply-buffer AFTER END ==========`);
166
172
  logger3.debug({
167
173
  logPrefix,
168
174
  model,
@@ -1,4 +1,4 @@
1
- import type { AgentSession } from "@mariozechner/pi-coding-agent";
1
+ import type { AgentSession } from "@earendil-works/pi-coding-agent";
2
2
  type CollectReplyOptions = {
3
3
  logPrefix?: string;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { AgentSession } from "@mariozechner/pi-coding-agent";
1
+ import type { AgentSession } from "@earendil-works/pi-coding-agent";
2
2
  import type { AgentService } from "./agent-service";
3
3
  import { PromptQueue } from "./prompt-queue";
4
4
  export type SessionScope = string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@friendlyrobot/discord-pi-agent",
3
- "version": "0.7.7",
3
+ "version": "0.8.0",
4
4
  "description": "Reusable Discord gateway bridge for persistent pi agent sessions",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -35,8 +35,8 @@
35
35
  "typecheck": "tsgo --noEmit -p tsconfig.json"
36
36
  },
37
37
  "dependencies": {
38
- "@mariozechner/pi-ai": "^0.73.1",
39
- "@mariozechner/pi-coding-agent": "^0.73.1",
38
+ "@earendil-works/pi-ai": "^0.74.0",
39
+ "@earendil-works/pi-coding-agent": "^0.74.0",
40
40
  "discord.js": "^14.26.4",
41
41
  "dotenv": "^17.4.2",
42
42
  "marked": "^18.0.3",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/node": "^25.6.2",
49
- "@typescript/native-preview": "^7.0.0-dev.20260507.1",
49
+ "@typescript/native-preview": "^7.0.0-dev.20260508.1",
50
50
  "@vitest/ui": "^4.1.5",
51
51
  "vitest": "^4.1.5"
52
52
  }