@friendlyrobot/discord-pi-agent 0.19.17 → 0.19.18

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/dist/index.js +1 -9
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -327,8 +327,7 @@ async function runAgentTurn(session, prompt, options = {}) {
327
327
  debugPrint(input, "CMD");
328
328
  } else {
329
329
  logger4.debug({
330
- toolName: event.toolName,
331
- input
330
+ toolName: event.toolName
332
331
  }, `agent tool start: [${event.toolName}]`);
333
332
  }
334
333
  }
@@ -340,7 +339,6 @@ async function runAgentTurn(session, prompt, options = {}) {
340
339
  } else {
341
340
  logger4.debug({
342
341
  toolName: event.toolName,
343
- input: truncateForLog(extractToolOutput(input)),
344
342
  isError: event.isError
345
343
  }, `agent tool end: [${event.toolName}]`);
346
344
  }
@@ -365,12 +363,6 @@ async function runAgentTurn(session, prompt, options = {}) {
365
363
  }
366
364
  return "No response generated.";
367
365
  }
368
- function truncateForLog(value, maxLength = 400) {
369
- if (value.length <= maxLength) {
370
- return value;
371
- }
372
- return `${value.slice(0, maxLength)}...`;
373
- }
374
366
  function extractToolOutput(output) {
375
367
  if (typeof output === "object" && output !== null) {
376
368
  const obj = output;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@friendlyrobot/discord-pi-agent",
3
- "version": "0.19.17",
3
+ "version": "0.19.18",
4
4
  "description": "Reusable Discord gateway for persistent pi agent sessions",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -40,14 +40,14 @@
40
40
  "@earendil-works/pi-coding-agent": "^0.75.3",
41
41
  "discord.js": "^14.26.4",
42
42
  "dotenv": "^17.4.2",
43
- "marked": "^18.0.3",
43
+ "marked": "^18.0.4",
44
44
  "pino": "^10.3.1",
45
45
  "pino-pretty": "^13.1.3",
46
46
  "prettier": "^3.8.3"
47
47
  },
48
48
  "devDependencies": {
49
- "@types/node": "^25.8.0",
50
- "@typescript/native-preview": "^7.0.0-dev.20260518.1",
49
+ "@types/node": "^25.9.1",
50
+ "@typescript/native-preview": "^7.0.0-dev.20260519.1",
51
51
  "@vitest/coverage-v8": "^4.1.6",
52
52
  "@vitest/ui": "^4.1.6",
53
53
  "vitest": "^4.1.6"