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.
- package/dist/cli/commands/experiment.js +9 -50
- package/dist/cli/commands/experiment.js.map +1 -1
- package/dist/cli/commands/pipeline.js +105 -92
- package/dist/cli/commands/pipeline.js.map +1 -1
- package/dist/cli/commands/spawn.js +4 -4
- package/dist/cli/commands/spawn.js.map +1 -1
- package/dist/index.js +1854 -1026
- package/dist/index.js.map +4 -4
- package/dist/providers/claude-code.js +35 -22
- package/dist/providers/claude-code.js.map +4 -4
- package/dist/providers/codex.js +35 -22
- package/dist/providers/codex.js.map +4 -4
- package/dist/providers/kimi.js +35 -22
- package/dist/providers/kimi.js.map +4 -4
- package/dist/providers/opencode.js +35 -22
- package/dist/providers/opencode.js.map +4 -4
- package/dist/sdk/autonomous.d.ts +11 -0
- package/dist/sdk/autonomous.js +23 -0
- package/dist/sdk/autonomous.js.map +1 -0
- package/dist/sdk/experiment.js +15 -32
- package/dist/sdk/experiment.js.map +1 -1
- package/dist/sdk/pipeline.js +9 -25
- package/dist/sdk/pipeline.js.map +1 -1
- package/dist/sdk/ralph.js +7 -23
- package/dist/sdk/ralph.js.map +1 -1
- package/dist/sdk/spawn.d.ts +2 -0
- package/dist/sdk/spawn.js +10 -0
- package/dist/sdk/spawn.js.map +1 -1
- package/dist/templates/pipeline/SKILL_plan.md +4 -1
- package/package.json +10 -9
|
@@ -904,12 +904,19 @@ import { Table } from "console-table-printer";
|
|
|
904
904
|
import chalk7 from "chalk";
|
|
905
905
|
var AGENT_PREFIX = `${chalk7.green.bold("\u2713")} agent: `;
|
|
906
906
|
|
|
907
|
+
// packages/design-system/src/dashboard/buffer.ts
|
|
908
|
+
import chalk8 from "chalk";
|
|
909
|
+
|
|
910
|
+
// packages/design-system/src/dashboard/terminal.ts
|
|
911
|
+
import readline from "node:readline";
|
|
912
|
+
import { PassThrough } from "node:stream";
|
|
913
|
+
|
|
907
914
|
// packages/design-system/src/prompts/index.ts
|
|
908
|
-
import
|
|
915
|
+
import chalk15 from "chalk";
|
|
909
916
|
import * as clack from "@clack/prompts";
|
|
910
917
|
|
|
911
918
|
// packages/design-system/src/prompts/primitives/cancel.ts
|
|
912
|
-
import
|
|
919
|
+
import chalk9 from "chalk";
|
|
913
920
|
|
|
914
921
|
// node_modules/@clack/core/dist/index.mjs
|
|
915
922
|
var import_sisteransi = __toESM(require_src(), 1);
|
|
@@ -931,22 +938,28 @@ var _ = { actions: new Set(At), aliases: /* @__PURE__ */ new Map([["k", "up"], [
|
|
|
931
938
|
var bt = globalThis.process.platform.startsWith("win");
|
|
932
939
|
|
|
933
940
|
// packages/design-system/src/prompts/primitives/intro.ts
|
|
934
|
-
import
|
|
941
|
+
import chalk10 from "chalk";
|
|
935
942
|
|
|
936
943
|
// packages/design-system/src/prompts/primitives/note.ts
|
|
937
|
-
import
|
|
944
|
+
import chalk11 from "chalk";
|
|
938
945
|
|
|
939
946
|
// packages/design-system/src/prompts/primitives/outro.ts
|
|
940
|
-
import
|
|
947
|
+
import chalk12 from "chalk";
|
|
941
948
|
|
|
942
949
|
// packages/design-system/src/prompts/primitives/spinner.ts
|
|
943
|
-
import
|
|
950
|
+
import chalk14 from "chalk";
|
|
944
951
|
|
|
945
952
|
// packages/design-system/src/static/spinner.ts
|
|
946
|
-
import
|
|
953
|
+
import chalk13 from "chalk";
|
|
947
954
|
|
|
948
955
|
// packages/design-system/src/static/menu.ts
|
|
949
|
-
import
|
|
956
|
+
import chalk16 from "chalk";
|
|
957
|
+
|
|
958
|
+
// packages/agent-spawn/src/acp/replay.ts
|
|
959
|
+
import path from "node:path";
|
|
960
|
+
import { homedir } from "node:os";
|
|
961
|
+
import { open, readdir } from "node:fs/promises";
|
|
962
|
+
import { createInterface as createInterface2 } from "node:readline";
|
|
950
963
|
|
|
951
964
|
// packages/agent-spawn/src/acp/spawn.ts
|
|
952
965
|
import { spawn as spawnChildProcess3 } from "node:child_process";
|
|
@@ -961,13 +974,13 @@ import {
|
|
|
961
974
|
|
|
962
975
|
// packages/poe-acp-client/src/run-report.ts
|
|
963
976
|
import * as fsPromises from "node:fs/promises";
|
|
964
|
-
import { homedir } from "node:os";
|
|
977
|
+
import { homedir as homedir2 } from "node:os";
|
|
965
978
|
import { join } from "node:path";
|
|
966
979
|
|
|
967
980
|
// packages/agent-spawn/src/acp/middlewares/spawn-log.ts
|
|
968
|
-
import
|
|
969
|
-
import { homedir as
|
|
970
|
-
import { mkdir, open } from "node:fs/promises";
|
|
981
|
+
import path2 from "node:path";
|
|
982
|
+
import { homedir as homedir3 } from "node:os";
|
|
983
|
+
import { mkdir, open as open2 } from "node:fs/promises";
|
|
971
984
|
|
|
972
985
|
// src/utils/command-checks.ts
|
|
973
986
|
function formatCommandRunnerResult(result) {
|
|
@@ -1322,20 +1335,20 @@ function getConfigFormat(pathOrFormat) {
|
|
|
1322
1335
|
}
|
|
1323
1336
|
return formatRegistry[formatName];
|
|
1324
1337
|
}
|
|
1325
|
-
function detectFormat(
|
|
1326
|
-
const ext = getExtension(
|
|
1338
|
+
function detectFormat(path4) {
|
|
1339
|
+
const ext = getExtension(path4);
|
|
1327
1340
|
return extensionMap[ext];
|
|
1328
1341
|
}
|
|
1329
|
-
function getExtension(
|
|
1330
|
-
const lastDot =
|
|
1342
|
+
function getExtension(path4) {
|
|
1343
|
+
const lastDot = path4.lastIndexOf(".");
|
|
1331
1344
|
if (lastDot === -1) {
|
|
1332
1345
|
return "";
|
|
1333
1346
|
}
|
|
1334
|
-
return
|
|
1347
|
+
return path4.slice(lastDot).toLowerCase();
|
|
1335
1348
|
}
|
|
1336
1349
|
|
|
1337
1350
|
// packages/config-mutations/src/execution/path-utils.ts
|
|
1338
|
-
import
|
|
1351
|
+
import path3 from "node:path";
|
|
1339
1352
|
function expandHome(targetPath, homeDir) {
|
|
1340
1353
|
if (!targetPath?.startsWith("~")) {
|
|
1341
1354
|
return targetPath;
|
|
@@ -1352,7 +1365,7 @@ function expandHome(targetPath, homeDir) {
|
|
|
1352
1365
|
remainder = remainder.slice(1);
|
|
1353
1366
|
}
|
|
1354
1367
|
}
|
|
1355
|
-
return remainder.length === 0 ? homeDir :
|
|
1368
|
+
return remainder.length === 0 ? homeDir : path3.join(homeDir, remainder);
|
|
1356
1369
|
}
|
|
1357
1370
|
function validateHomePath(targetPath) {
|
|
1358
1371
|
if (typeof targetPath !== "string" || targetPath.length === 0) {
|
|
@@ -1370,12 +1383,12 @@ function resolvePath(rawPath, homeDir, pathMapper) {
|
|
|
1370
1383
|
if (!pathMapper) {
|
|
1371
1384
|
return expanded;
|
|
1372
1385
|
}
|
|
1373
|
-
const rawDirectory =
|
|
1386
|
+
const rawDirectory = path3.dirname(expanded);
|
|
1374
1387
|
const mappedDirectory = pathMapper.mapTargetDirectory({
|
|
1375
1388
|
targetDirectory: rawDirectory
|
|
1376
1389
|
});
|
|
1377
|
-
const filename =
|
|
1378
|
-
return filename.length === 0 ? mappedDirectory :
|
|
1390
|
+
const filename = path3.basename(expanded);
|
|
1391
|
+
return filename.length === 0 ? mappedDirectory : path3.join(mappedDirectory, filename);
|
|
1379
1392
|
}
|
|
1380
1393
|
|
|
1381
1394
|
// packages/config-mutations/src/fs-utils.ts
|