poe-code 3.0.176 → 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/README.md +1 -1
- 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`,
|
|
@@ -110,7 +110,7 @@ var require_config_toml = __commonJS({
|
|
|
110
110
|
|
|
111
111
|
// src/cli/constants.ts
|
|
112
112
|
var FRONTIER_MODELS = [
|
|
113
|
-
"anthropic/claude-opus-4.
|
|
113
|
+
"anthropic/claude-opus-4.7",
|
|
114
114
|
"anthropic/claude-sonnet-4.6",
|
|
115
115
|
"openai/gpt-5.3-codex",
|
|
116
116
|
"openai/gpt-5.4",
|
|
@@ -120,7 +120,7 @@ var DEFAULT_FRONTIER_MODEL = "anthropic/claude-sonnet-4.6";
|
|
|
120
120
|
var CLAUDE_CODE_VARIANTS = {
|
|
121
121
|
haiku: "anthropic/claude-haiku-4.5",
|
|
122
122
|
sonnet: "anthropic/claude-sonnet-4.6",
|
|
123
|
-
opus: "anthropic/claude-opus-4.
|
|
123
|
+
opus: "anthropic/claude-opus-4.7"
|
|
124
124
|
};
|
|
125
125
|
var DEFAULT_CLAUDE_CODE_MODEL = CLAUDE_CODE_VARIANTS.sonnet;
|
|
126
126
|
var CODEX_MODELS = [
|
|
@@ -133,7 +133,7 @@ var CODEX_MODELS = [
|
|
|
133
133
|
"openai/gpt-5.2-pro",
|
|
134
134
|
"openai/gpt-5.1",
|
|
135
135
|
"openai/gpt-5.1-codex-mini",
|
|
136
|
-
"anthropic/claude-opus-4.
|
|
136
|
+
"anthropic/claude-opus-4.7"
|
|
137
137
|
];
|
|
138
138
|
var DEFAULT_CODEX_MODEL = CODEX_MODELS[0];
|
|
139
139
|
var KIMI_MODELS = [
|
|
@@ -292,6 +292,9 @@ function toJsonMcpServers(servers) {
|
|
|
292
292
|
if (server.env && Object.keys(server.env).length > 0) {
|
|
293
293
|
mapped.env = server.env;
|
|
294
294
|
}
|
|
295
|
+
if (server.timeout !== void 0) {
|
|
296
|
+
mapped.timeout = server.timeout;
|
|
297
|
+
}
|
|
295
298
|
out[name] = mapped;
|
|
296
299
|
}
|
|
297
300
|
return out;
|
|
@@ -335,6 +338,9 @@ function serializeCodexMcpArgs(servers) {
|
|
|
335
338
|
if (server.env && Object.keys(server.env).length > 0) {
|
|
336
339
|
args.push("-c", `${prefix}.env=${toTomlInlineTable(server.env)}`);
|
|
337
340
|
}
|
|
341
|
+
if (server.timeout !== void 0) {
|
|
342
|
+
args.push("-c", `${prefix}.timeout=${server.timeout}`);
|
|
343
|
+
}
|
|
338
344
|
}
|
|
339
345
|
return args;
|
|
340
346
|
}
|
|
@@ -1029,6 +1035,12 @@ import { Table } from "console-table-printer";
|
|
|
1029
1035
|
|
|
1030
1036
|
// packages/design-system/src/acp/components.ts
|
|
1031
1037
|
import chalk7 from "chalk";
|
|
1038
|
+
|
|
1039
|
+
// packages/design-system/src/acp/writer.ts
|
|
1040
|
+
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
1041
|
+
var storage = new AsyncLocalStorage2();
|
|
1042
|
+
|
|
1043
|
+
// packages/design-system/src/acp/components.ts
|
|
1032
1044
|
var AGENT_PREFIX = `${chalk7.green.bold("\u2713")} agent: `;
|
|
1033
1045
|
|
|
1034
1046
|
// packages/design-system/src/dashboard/buffer.ts
|
|
@@ -1045,30 +1057,24 @@ import * as clack from "@clack/prompts";
|
|
|
1045
1057
|
// packages/design-system/src/prompts/primitives/cancel.ts
|
|
1046
1058
|
import chalk9 from "chalk";
|
|
1047
1059
|
|
|
1048
|
-
// node_modules/@clack/core/dist/index.mjs
|
|
1049
|
-
import { styleText as y } from "node:util";
|
|
1050
|
-
import { stdout as S, stdin as $ } from "node:process";
|
|
1051
|
-
import * as _ from "node:readline";
|
|
1052
|
-
import P from "node:readline";
|
|
1053
|
-
|
|
1054
|
-
// node_modules/fast-string-truncated-width/dist/index.js
|
|
1055
|
-
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");
|
|
1056
|
-
var MODIFIER_RE = new RegExp("\\p{M}+", "gu");
|
|
1057
|
-
|
|
1058
|
-
// node_modules/fast-wrap-ansi/lib/main.js
|
|
1059
|
-
var ANSI_ESCAPE_BELL = "\x07";
|
|
1060
|
-
var ANSI_CSI = "[";
|
|
1061
|
-
var ANSI_OSC = "]";
|
|
1062
|
-
var ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
|
|
1063
|
-
var GROUP_REGEX = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`, "y");
|
|
1064
|
-
|
|
1065
1060
|
// node_modules/@clack/core/dist/index.mjs
|
|
1066
1061
|
var import_sisteransi = __toESM(require_src(), 1);
|
|
1067
|
-
import {
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
var
|
|
1062
|
+
import { stdout as R, stdin as q } from "node:process";
|
|
1063
|
+
import * as k from "node:readline";
|
|
1064
|
+
import ot from "node:readline";
|
|
1065
|
+
import { ReadStream as J } from "node:tty";
|
|
1066
|
+
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");
|
|
1067
|
+
var ct = new RegExp("\\p{M}+", "gu");
|
|
1068
|
+
var pt = { limit: 1 / 0, ellipsis: "" };
|
|
1069
|
+
var ft = { limit: 1 / 0, ellipsis: "", ellipsisWidth: 0 };
|
|
1070
|
+
var j = "\x07";
|
|
1071
|
+
var Q = "[";
|
|
1072
|
+
var dt = "]";
|
|
1073
|
+
var U = `${dt}8;;`;
|
|
1074
|
+
var et = new RegExp(`(?:\\${Q}(?<code>\\d+)m|\\${U}(?<uri>.*)${j})`, "y");
|
|
1075
|
+
var At = ["up", "down", "left", "right", "space", "enter", "cancel"];
|
|
1076
|
+
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 };
|
|
1077
|
+
var bt = globalThis.process.platform.startsWith("win");
|
|
1072
1078
|
|
|
1073
1079
|
// packages/design-system/src/prompts/primitives/intro.ts
|
|
1074
1080
|
import chalk10 from "chalk";
|
|
@@ -1088,6 +1094,9 @@ import chalk13 from "chalk";
|
|
|
1088
1094
|
// packages/design-system/src/static/menu.ts
|
|
1089
1095
|
import chalk16 from "chalk";
|
|
1090
1096
|
|
|
1097
|
+
// packages/agent-spawn/src/autonomous.ts
|
|
1098
|
+
var DEFAULT_ACTIVITY_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
1099
|
+
|
|
1091
1100
|
// packages/agent-spawn/src/acp/replay.ts
|
|
1092
1101
|
import path from "node:path";
|
|
1093
1102
|
import { homedir as homedir2 } from "node:os";
|