poe-code 3.0.163 → 3.0.165

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.
@@ -940,12 +940,19 @@ import { Table } from "console-table-printer";
940
940
  import chalk7 from "chalk";
941
941
  var AGENT_PREFIX = `${chalk7.green.bold("\u2713")} agent: `;
942
942
 
943
+ // packages/design-system/src/dashboard/buffer.ts
944
+ import chalk8 from "chalk";
945
+
946
+ // packages/design-system/src/dashboard/terminal.ts
947
+ import readline from "node:readline";
948
+ import { PassThrough } from "node:stream";
949
+
943
950
  // packages/design-system/src/prompts/index.ts
944
- import chalk14 from "chalk";
951
+ import chalk15 from "chalk";
945
952
  import * as clack from "@clack/prompts";
946
953
 
947
954
  // packages/design-system/src/prompts/primitives/cancel.ts
948
- import chalk8 from "chalk";
955
+ import chalk9 from "chalk";
949
956
 
950
957
  // node_modules/@clack/core/dist/index.mjs
951
958
  var import_sisteransi = __toESM(require_src(), 1);
@@ -967,22 +974,28 @@ var _ = { actions: new Set(At), aliases: /* @__PURE__ */ new Map([["k", "up"], [
967
974
  var bt = globalThis.process.platform.startsWith("win");
968
975
 
969
976
  // packages/design-system/src/prompts/primitives/intro.ts
970
- import chalk9 from "chalk";
977
+ import chalk10 from "chalk";
971
978
 
972
979
  // packages/design-system/src/prompts/primitives/note.ts
973
- import chalk10 from "chalk";
980
+ import chalk11 from "chalk";
974
981
 
975
982
  // packages/design-system/src/prompts/primitives/outro.ts
976
- import chalk11 from "chalk";
983
+ import chalk12 from "chalk";
977
984
 
978
985
  // packages/design-system/src/prompts/primitives/spinner.ts
979
- import chalk13 from "chalk";
986
+ import chalk14 from "chalk";
980
987
 
981
988
  // packages/design-system/src/static/spinner.ts
982
- import chalk12 from "chalk";
989
+ import chalk13 from "chalk";
983
990
 
984
991
  // packages/design-system/src/static/menu.ts
985
- import chalk15 from "chalk";
992
+ import chalk16 from "chalk";
993
+
994
+ // packages/agent-spawn/src/acp/replay.ts
995
+ import path from "node:path";
996
+ import { homedir } from "node:os";
997
+ import { open, readdir } from "node:fs/promises";
998
+ import { createInterface as createInterface2 } from "node:readline";
986
999
 
987
1000
  // packages/agent-spawn/src/acp/spawn.ts
988
1001
  import { spawn as spawnChildProcess3 } from "node:child_process";
@@ -997,13 +1010,13 @@ import {
997
1010
 
998
1011
  // packages/poe-acp-client/src/run-report.ts
999
1012
  import * as fsPromises from "node:fs/promises";
1000
- import { homedir } from "node:os";
1013
+ import { homedir as homedir2 } from "node:os";
1001
1014
  import { join } from "node:path";
1002
1015
 
1003
1016
  // packages/agent-spawn/src/acp/middlewares/spawn-log.ts
1004
- import path from "node:path";
1005
- import { homedir as homedir2 } from "node:os";
1006
- import { mkdir, open } from "node:fs/promises";
1017
+ import path2 from "node:path";
1018
+ import { homedir as homedir3 } from "node:os";
1019
+ import { mkdir, open as open2 } from "node:fs/promises";
1007
1020
 
1008
1021
  // src/utils/command-checks.ts
1009
1022
  function formatCommandRunnerResult(result) {
@@ -1358,20 +1371,20 @@ function getConfigFormat(pathOrFormat) {
1358
1371
  }
1359
1372
  return formatRegistry[formatName];
1360
1373
  }
1361
- function detectFormat(path3) {
1362
- const ext = getExtension(path3);
1374
+ function detectFormat(path4) {
1375
+ const ext = getExtension(path4);
1363
1376
  return extensionMap[ext];
1364
1377
  }
1365
- function getExtension(path3) {
1366
- const lastDot = path3.lastIndexOf(".");
1378
+ function getExtension(path4) {
1379
+ const lastDot = path4.lastIndexOf(".");
1367
1380
  if (lastDot === -1) {
1368
1381
  return "";
1369
1382
  }
1370
- return path3.slice(lastDot).toLowerCase();
1383
+ return path4.slice(lastDot).toLowerCase();
1371
1384
  }
1372
1385
 
1373
1386
  // packages/config-mutations/src/execution/path-utils.ts
1374
- import path2 from "node:path";
1387
+ import path3 from "node:path";
1375
1388
  function expandHome(targetPath, homeDir) {
1376
1389
  if (!targetPath?.startsWith("~")) {
1377
1390
  return targetPath;
@@ -1388,7 +1401,7 @@ function expandHome(targetPath, homeDir) {
1388
1401
  remainder = remainder.slice(1);
1389
1402
  }
1390
1403
  }
1391
- return remainder.length === 0 ? homeDir : path2.join(homeDir, remainder);
1404
+ return remainder.length === 0 ? homeDir : path3.join(homeDir, remainder);
1392
1405
  }
1393
1406
  function validateHomePath(targetPath) {
1394
1407
  if (typeof targetPath !== "string" || targetPath.length === 0) {
@@ -1406,12 +1419,12 @@ function resolvePath(rawPath, homeDir, pathMapper) {
1406
1419
  if (!pathMapper) {
1407
1420
  return expanded;
1408
1421
  }
1409
- const rawDirectory = path2.dirname(expanded);
1422
+ const rawDirectory = path3.dirname(expanded);
1410
1423
  const mappedDirectory = pathMapper.mapTargetDirectory({
1411
1424
  targetDirectory: rawDirectory
1412
1425
  });
1413
- const filename = path2.basename(expanded);
1414
- return filename.length === 0 ? mappedDirectory : path2.join(mappedDirectory, filename);
1426
+ const filename = path3.basename(expanded);
1427
+ return filename.length === 0 ? mappedDirectory : path3.join(mappedDirectory, filename);
1415
1428
  }
1416
1429
 
1417
1430
  // packages/config-mutations/src/fs-utils.ts