poe-code 3.0.144 → 3.0.146
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 -8
- package/dist/cli/commands/experiment.js.map +1 -1
- package/dist/cli/commands/pipeline.js +15 -1
- package/dist/cli/commands/pipeline.js.map +1 -1
- package/dist/cli/commands/spawn.js +3 -3
- package/dist/cli/commands/spawn.js.map +1 -1
- package/dist/index.js +3660 -335
- package/dist/index.js.map +4 -4
- package/dist/providers/claude-code.js +27 -33
- package/dist/providers/claude-code.js.map +4 -4
- package/dist/providers/codex.js +27 -33
- package/dist/providers/codex.js.map +4 -4
- package/dist/providers/kimi.js +27 -33
- package/dist/providers/kimi.js.map +4 -4
- package/dist/providers/opencode.js +27 -33
- package/dist/providers/opencode.js.map +4 -4
- package/dist/workflow-templates/fix-vulnerabilities.caller.yml +18 -0
- package/dist/workflow-templates/fix-vulnerabilities.ejected.yml +36 -0
- package/dist/workflow-templates/github-issue-comment-created.caller.yml +25 -0
- package/dist/workflow-templates/github-issue-comment-created.ejected.yml +155 -0
- package/dist/workflow-templates/github-issue-opened.caller.yml +20 -0
- package/dist/workflow-templates/github-issue-opened.ejected.yml +42 -0
- package/dist/workflow-templates/github-pull-request-opened.caller.yml +19 -0
- package/dist/workflow-templates/github-pull-request-opened.ejected.yml +37 -0
- package/dist/workflow-templates/github-pull-request-synchronized.caller.yml +17 -0
- package/dist/workflow-templates/github-pull-request-synchronized.ejected.yml +35 -0
- package/dist/workflow-templates/update-dependencies.caller.yml +17 -0
- package/dist/workflow-templates/update-dependencies.ejected.yml +35 -0
- package/dist/workflow-templates/update-documentation.caller.yml +17 -0
- package/dist/workflow-templates/update-documentation.ejected.yml +36 -0
- package/package.json +1 -1
package/dist/providers/codex.js
CHANGED
|
@@ -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`,
|
|
@@ -626,7 +626,7 @@ function detectThemeFromEnv(env) {
|
|
|
626
626
|
return void 0;
|
|
627
627
|
}
|
|
628
628
|
function resolveThemeName(env = process.env) {
|
|
629
|
-
const raw = env.POE_CODE_THEME?.toLowerCase();
|
|
629
|
+
const raw = (env.POE_CODE_THEME ?? env.POE_THEME)?.toLowerCase();
|
|
630
630
|
if (raw === "light" || raw === "dark") {
|
|
631
631
|
return raw;
|
|
632
632
|
}
|
|
@@ -911,30 +911,24 @@ import * as clack from "@clack/prompts";
|
|
|
911
911
|
// packages/design-system/src/prompts/primitives/cancel.ts
|
|
912
912
|
import chalk8 from "chalk";
|
|
913
913
|
|
|
914
|
-
// node_modules/@clack/core/dist/index.mjs
|
|
915
|
-
import { styleText as y } from "node:util";
|
|
916
|
-
import { stdout as S, stdin as $ } from "node:process";
|
|
917
|
-
import * as _ from "node:readline";
|
|
918
|
-
import P from "node:readline";
|
|
919
|
-
|
|
920
|
-
// node_modules/fast-string-truncated-width/dist/index.js
|
|
921
|
-
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");
|
|
922
|
-
var MODIFIER_RE = new RegExp("\\p{M}+", "gu");
|
|
923
|
-
|
|
924
|
-
// node_modules/fast-wrap-ansi/lib/main.js
|
|
925
|
-
var ANSI_ESCAPE_BELL = "\x07";
|
|
926
|
-
var ANSI_CSI = "[";
|
|
927
|
-
var ANSI_OSC = "]";
|
|
928
|
-
var ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
|
|
929
|
-
var GROUP_REGEX = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`, "y");
|
|
930
|
-
|
|
931
914
|
// node_modules/@clack/core/dist/index.mjs
|
|
932
915
|
var import_sisteransi = __toESM(require_src(), 1);
|
|
933
|
-
import {
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
var
|
|
916
|
+
import { stdout as R, stdin as q } from "node:process";
|
|
917
|
+
import * as k from "node:readline";
|
|
918
|
+
import ot from "node:readline";
|
|
919
|
+
import { ReadStream as J } from "node:tty";
|
|
920
|
+
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");
|
|
921
|
+
var ct = new RegExp("\\p{M}+", "gu");
|
|
922
|
+
var pt = { limit: 1 / 0, ellipsis: "" };
|
|
923
|
+
var ft = { limit: 1 / 0, ellipsis: "", ellipsisWidth: 0 };
|
|
924
|
+
var j = "\x07";
|
|
925
|
+
var Q = "[";
|
|
926
|
+
var dt = "]";
|
|
927
|
+
var U = `${dt}8;;`;
|
|
928
|
+
var et = new RegExp(`(?:\\${Q}(?<code>\\d+)m|\\${U}(?<uri>.*)${j})`, "y");
|
|
929
|
+
var At = ["up", "down", "left", "right", "space", "enter", "cancel"];
|
|
930
|
+
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 };
|
|
931
|
+
var bt = globalThis.process.platform.startsWith("win");
|
|
938
932
|
|
|
939
933
|
// packages/design-system/src/prompts/primitives/intro.ts
|
|
940
934
|
import chalk9 from "chalk";
|
|
@@ -1186,7 +1180,7 @@ import * as jsonc from "jsonc-parser";
|
|
|
1186
1180
|
function isConfigObject(value) {
|
|
1187
1181
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
1188
1182
|
}
|
|
1189
|
-
function
|
|
1183
|
+
function parse3(content) {
|
|
1190
1184
|
if (!content || content.trim() === "") {
|
|
1191
1185
|
return {};
|
|
1192
1186
|
}
|
|
@@ -1259,7 +1253,7 @@ function prune2(obj, shape) {
|
|
|
1259
1253
|
return { changed, result };
|
|
1260
1254
|
}
|
|
1261
1255
|
var jsonFormat = {
|
|
1262
|
-
parse:
|
|
1256
|
+
parse: parse3,
|
|
1263
1257
|
serialize,
|
|
1264
1258
|
merge: merge2,
|
|
1265
1259
|
prune: prune2
|
|
@@ -1270,7 +1264,7 @@ import { parse as parseToml, stringify as stringifyToml } from "smol-toml";
|
|
|
1270
1264
|
function isConfigObject2(value) {
|
|
1271
1265
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
1272
1266
|
}
|
|
1273
|
-
function
|
|
1267
|
+
function parse4(content) {
|
|
1274
1268
|
if (!content || content.trim() === "") {
|
|
1275
1269
|
return {};
|
|
1276
1270
|
}
|
|
@@ -1334,7 +1328,7 @@ function prune3(obj, shape) {
|
|
|
1334
1328
|
return { changed, result };
|
|
1335
1329
|
}
|
|
1336
1330
|
var tomlFormat = {
|
|
1337
|
-
parse:
|
|
1331
|
+
parse: parse4,
|
|
1338
1332
|
serialize: serialize2,
|
|
1339
1333
|
merge: merge3,
|
|
1340
1334
|
prune: prune3
|