poe-code 3.0.177 → 3.0.178
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/dashboard-loop-shared.d.ts +16 -0
- package/dist/cli/commands/dashboard-loop-shared.js +48 -0
- package/dist/cli/commands/dashboard-loop-shared.js.map +1 -0
- package/dist/cli/commands/experiment.js +211 -22
- package/dist/cli/commands/experiment.js.map +1 -1
- package/dist/cli/commands/models.js +1 -1
- package/dist/cli/commands/pipeline.js +353 -60
- package/dist/cli/commands/pipeline.js.map +1 -1
- package/dist/cli/commands/plan.d.ts +6 -0
- package/dist/cli/commands/plan.js +190 -3
- package/dist/cli/commands/plan.js.map +1 -1
- package/dist/cli/commands/ralph.js +184 -24
- package/dist/cli/commands/ralph.js.map +1 -1
- package/dist/cli/commands/spawn.js +9 -1
- package/dist/cli/commands/spawn.js.map +1 -1
- package/dist/cli/constants.d.ts +4 -4
- package/dist/cli/constants.js +3 -3
- package/dist/cli/program.js +25 -1
- package/dist/cli/program.js.map +1 -1
- package/dist/index.js +23183 -17380
- package/dist/index.js.map +4 -4
- package/dist/providers/claude-code.js +39 -30
- package/dist/providers/claude-code.js.map +4 -4
- package/dist/providers/codex.js +39 -30
- package/dist/providers/codex.js.map +4 -4
- package/dist/providers/goose.js +40 -31
- package/dist/providers/goose.js.map +4 -4
- package/dist/providers/kimi.js +39 -30
- package/dist/providers/kimi.js.map +4 -4
- package/dist/providers/opencode.js +40 -31
- package/dist/providers/opencode.js.map +4 -4
- package/dist/providers/poe-agent.js +2 -2
- package/dist/providers/poe-agent.js.map +1 -1
- package/dist/sdk/autonomous.js +2 -20
- package/dist/sdk/autonomous.js.map +1 -1
- package/dist/sdk/pipeline.js +12 -11
- package/dist/sdk/pipeline.js.map +1 -1
- package/dist/sdk/ralph.js +10 -9
- package/dist/sdk/ralph.js.map +1 -1
- package/dist/sdk/spawn.js +5 -3
- package/dist/sdk/spawn.js.map +1 -1
- package/dist/sdk/types.d.ts +11 -0
- package/dist/services/config.d.ts +58 -0
- package/dist/services/config.js +35 -1
- package/dist/services/config.js.map +1 -1
- package/package.json +3 -2
|
@@ -32,16 +32,16 @@ var require_src = __commonJS({
|
|
|
32
32
|
var CSI = `${ESC}[`;
|
|
33
33
|
var beep = "\x07";
|
|
34
34
|
var cursor = {
|
|
35
|
-
to(x,
|
|
36
|
-
if (!
|
|
37
|
-
return `${CSI}${
|
|
35
|
+
to(x, y) {
|
|
36
|
+
if (!y) return `${CSI}${x + 1}G`;
|
|
37
|
+
return `${CSI}${y + 1};${x + 1}H`;
|
|
38
38
|
},
|
|
39
|
-
move(x,
|
|
39
|
+
move(x, y) {
|
|
40
40
|
let ret = "";
|
|
41
41
|
if (x < 0) ret += `${CSI}${-x}D`;
|
|
42
42
|
else if (x > 0) ret += `${CSI}${x}C`;
|
|
43
|
-
if (
|
|
44
|
-
else if (
|
|
43
|
+
if (y < 0) ret += `${CSI}${-y}A`;
|
|
44
|
+
else if (y > 0) ret += `${CSI}${y}B`;
|
|
45
45
|
return ret;
|
|
46
46
|
},
|
|
47
47
|
up: (count = 1) => `${CSI}${count}A`,
|
|
@@ -256,6 +256,9 @@ function toJsonMcpServers(servers) {
|
|
|
256
256
|
if (server.env && Object.keys(server.env).length > 0) {
|
|
257
257
|
mapped.env = server.env;
|
|
258
258
|
}
|
|
259
|
+
if (server.timeout !== void 0) {
|
|
260
|
+
mapped.timeout = server.timeout;
|
|
261
|
+
}
|
|
259
262
|
out[name] = mapped;
|
|
260
263
|
}
|
|
261
264
|
return out;
|
|
@@ -299,6 +302,9 @@ function serializeCodexMcpArgs(servers) {
|
|
|
299
302
|
if (server.env && Object.keys(server.env).length > 0) {
|
|
300
303
|
args.push("-c", `${prefix}.env=${toTomlInlineTable(server.env)}`);
|
|
301
304
|
}
|
|
305
|
+
if (server.timeout !== void 0) {
|
|
306
|
+
args.push("-c", `${prefix}.timeout=${server.timeout}`);
|
|
307
|
+
}
|
|
302
308
|
}
|
|
303
309
|
return args;
|
|
304
310
|
}
|
|
@@ -993,6 +999,12 @@ import { Table } from "console-table-printer";
|
|
|
993
999
|
|
|
994
1000
|
// packages/design-system/src/acp/components.ts
|
|
995
1001
|
import chalk7 from "chalk";
|
|
1002
|
+
|
|
1003
|
+
// packages/design-system/src/acp/writer.ts
|
|
1004
|
+
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
1005
|
+
var storage = new AsyncLocalStorage2();
|
|
1006
|
+
|
|
1007
|
+
// packages/design-system/src/acp/components.ts
|
|
996
1008
|
var AGENT_PREFIX = `${chalk7.green.bold("\u2713")} agent: `;
|
|
997
1009
|
|
|
998
1010
|
// packages/design-system/src/dashboard/buffer.ts
|
|
@@ -1009,30 +1021,24 @@ import * as clack from "@clack/prompts";
|
|
|
1009
1021
|
// packages/design-system/src/prompts/primitives/cancel.ts
|
|
1010
1022
|
import chalk9 from "chalk";
|
|
1011
1023
|
|
|
1012
|
-
// node_modules/@clack/core/dist/index.mjs
|
|
1013
|
-
import { styleText as y } from "node:util";
|
|
1014
|
-
import { stdout as S, stdin as $ } from "node:process";
|
|
1015
|
-
import * as _ from "node:readline";
|
|
1016
|
-
import P from "node:readline";
|
|
1017
|
-
|
|
1018
|
-
// node_modules/fast-string-truncated-width/dist/index.js
|
|
1019
|
-
var EMOJI_RE = new RegExp("[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F\\u20E3?))*", "yu");
|
|
1020
|
-
var MODIFIER_RE = new RegExp("\\p{M}+", "gu");
|
|
1021
|
-
|
|
1022
|
-
// node_modules/fast-wrap-ansi/lib/main.js
|
|
1023
|
-
var ANSI_ESCAPE_BELL = "\x07";
|
|
1024
|
-
var ANSI_CSI = "[";
|
|
1025
|
-
var ANSI_OSC = "]";
|
|
1026
|
-
var ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
|
|
1027
|
-
var GROUP_REGEX = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`, "y");
|
|
1028
|
-
|
|
1029
1024
|
// node_modules/@clack/core/dist/index.mjs
|
|
1030
1025
|
var import_sisteransi = __toESM(require_src(), 1);
|
|
1031
|
-
import {
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
var
|
|
1026
|
+
import { stdout as R, stdin as q } from "node:process";
|
|
1027
|
+
import * as k from "node:readline";
|
|
1028
|
+
import ot from "node:readline";
|
|
1029
|
+
import { ReadStream as J } from "node:tty";
|
|
1030
|
+
var P = new RegExp("[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F\\u20E3?))*", "yu");
|
|
1031
|
+
var ct = new RegExp("\\p{M}+", "gu");
|
|
1032
|
+
var pt = { limit: 1 / 0, ellipsis: "" };
|
|
1033
|
+
var ft = { limit: 1 / 0, ellipsis: "", ellipsisWidth: 0 };
|
|
1034
|
+
var j = "\x07";
|
|
1035
|
+
var Q = "[";
|
|
1036
|
+
var dt = "]";
|
|
1037
|
+
var U = `${dt}8;;`;
|
|
1038
|
+
var et = new RegExp(`(?:\\${Q}(?<code>\\d+)m|\\${U}(?<uri>.*)${j})`, "y");
|
|
1039
|
+
var At = ["up", "down", "left", "right", "space", "enter", "cancel"];
|
|
1040
|
+
var _ = { actions: new Set(At), aliases: /* @__PURE__ */ new Map([["k", "up"], ["j", "down"], ["h", "left"], ["l", "right"], ["", "cancel"], ["escape", "cancel"]]), messages: { cancel: "Canceled", error: "Something went wrong" }, withGuide: true };
|
|
1041
|
+
var bt = globalThis.process.platform.startsWith("win");
|
|
1036
1042
|
|
|
1037
1043
|
// packages/design-system/src/prompts/primitives/intro.ts
|
|
1038
1044
|
import chalk10 from "chalk";
|
|
@@ -1052,6 +1058,9 @@ import chalk13 from "chalk";
|
|
|
1052
1058
|
// packages/design-system/src/static/menu.ts
|
|
1053
1059
|
import chalk16 from "chalk";
|
|
1054
1060
|
|
|
1061
|
+
// packages/agent-spawn/src/autonomous.ts
|
|
1062
|
+
var DEFAULT_ACTIVITY_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
1063
|
+
|
|
1055
1064
|
// packages/agent-spawn/src/acp/replay.ts
|
|
1056
1065
|
import path from "node:path";
|
|
1057
1066
|
import { homedir as homedir2 } from "node:os";
|
|
@@ -2173,7 +2182,7 @@ var originalEscape = Mustache2.escape;
|
|
|
2173
2182
|
var CLAUDE_CODE_VARIANTS = {
|
|
2174
2183
|
haiku: "anthropic/claude-haiku-4.5",
|
|
2175
2184
|
sonnet: "anthropic/claude-sonnet-4.6",
|
|
2176
|
-
opus: "anthropic/claude-opus-4.
|
|
2185
|
+
opus: "anthropic/claude-opus-4.7"
|
|
2177
2186
|
};
|
|
2178
2187
|
var DEFAULT_CLAUDE_CODE_MODEL = CLAUDE_CODE_VARIANTS.sonnet;
|
|
2179
2188
|
function stripModelNamespace2(model) {
|
|
@@ -2191,7 +2200,7 @@ var CODEX_MODELS = [
|
|
|
2191
2200
|
"openai/gpt-5.2-pro",
|
|
2192
2201
|
"openai/gpt-5.1",
|
|
2193
2202
|
"openai/gpt-5.1-codex-mini",
|
|
2194
|
-
"anthropic/claude-opus-4.
|
|
2203
|
+
"anthropic/claude-opus-4.7"
|
|
2195
2204
|
];
|
|
2196
2205
|
var DEFAULT_CODEX_MODEL = CODEX_MODELS[0];
|
|
2197
2206
|
var KIMI_MODELS = [
|