@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.
- package/dist/agent-service.d.ts +1 -1
- package/dist/commands.d.ts +1 -1
- package/dist/index.js +7 -1
- package/dist/reply-buffer.d.ts +1 -1
- package/dist/session-registry.d.ts +1 -1
- package/package.json +4 -4
package/dist/agent-service.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AgentSession } from "@
|
|
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;
|
package/dist/commands.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgentSession } from "@
|
|
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 "@
|
|
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,
|
package/dist/reply-buffer.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgentSession } from "@
|
|
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.
|
|
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
|
-
"@
|
|
39
|
-
"@
|
|
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.
|
|
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
|
}
|