poe-code 3.0.180 → 3.0.182
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/config.js +3 -4
- package/dist/cli/commands/config.js.map +1 -1
- package/dist/cli/commands/configure.js +12 -3
- package/dist/cli/commands/configure.js.map +1 -1
- package/dist/cli/commands/dashboard-loop-shared.d.ts +7 -0
- package/dist/cli/commands/dashboard-loop-shared.js +15 -0
- package/dist/cli/commands/dashboard-loop-shared.js.map +1 -1
- package/dist/cli/commands/experiment.js +41 -32
- package/dist/cli/commands/experiment.js.map +1 -1
- package/dist/cli/commands/mcp.js +7 -2
- package/dist/cli/commands/mcp.js.map +1 -1
- package/dist/cli/commands/pipeline.js +55 -44
- package/dist/cli/commands/pipeline.js.map +1 -1
- package/dist/cli/commands/plan.js +195 -38
- package/dist/cli/commands/plan.js.map +1 -1
- package/dist/cli/commands/ralph.js +24 -24
- package/dist/cli/commands/ralph.js.map +1 -1
- package/dist/cli/commands/shared.d.ts +3 -0
- package/dist/cli/commands/shared.js +27 -1
- package/dist/cli/commands/shared.js.map +1 -1
- package/dist/cli/commands/skill.js +21 -10
- package/dist/cli/commands/skill.js.map +1 -1
- package/dist/cli/commands/spawn-poe-agent.d.ts +2 -0
- package/dist/cli/commands/spawn-poe-agent.js +47 -0
- package/dist/cli/commands/spawn-poe-agent.js.map +1 -0
- package/dist/cli/commands/spawn.js +21 -1
- package/dist/cli/commands/spawn.js.map +1 -1
- package/dist/cli/commands/utils-symlink-agents.d.ts +6 -0
- package/dist/cli/commands/utils-symlink-agents.js +78 -0
- package/dist/cli/commands/utils-symlink-agents.js.map +1 -0
- package/dist/cli/commands/utils-symlink-ops.d.ts +29 -0
- package/dist/cli/commands/utils-symlink-ops.js +76 -0
- package/dist/cli/commands/utils-symlink-ops.js.map +1 -0
- package/dist/cli/commands/utils-symlink-skills.d.ts +15 -0
- package/dist/cli/commands/utils-symlink-skills.js +136 -0
- package/dist/cli/commands/utils-symlink-skills.js.map +1 -0
- package/dist/cli/commands/utils-symlink.d.ts +3 -0
- package/dist/cli/commands/utils-symlink.js +40 -0
- package/dist/cli/commands/utils-symlink.js.map +1 -0
- package/dist/cli/commands/utils.js +2 -0
- package/dist/cli/commands/utils.js.map +1 -1
- package/dist/cli/constants.d.ts +2 -2
- package/dist/cli/constants.js +1 -1
- package/dist/cli/constants.js.map +1 -1
- package/dist/cli/program.js +8 -1
- package/dist/cli/program.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +23173 -18054
- package/dist/index.js.map +4 -4
- package/dist/plan/document-schema.d.ts +21 -0
- package/dist/plan/document-schema.js +16 -0
- package/dist/plan/document-schema.js.map +1 -0
- package/dist/providers/claude-code.js +31 -13
- package/dist/providers/claude-code.js.map +4 -4
- package/dist/providers/codex.js +31 -13
- package/dist/providers/codex.js.map +4 -4
- package/dist/providers/goose.js +32 -14
- package/dist/providers/goose.js.map +4 -4
- package/dist/providers/kimi.js +31 -13
- package/dist/providers/kimi.js.map +4 -4
- package/dist/providers/opencode.js +32 -14
- package/dist/providers/opencode.js.map +4 -4
- package/dist/providers/poe-agent.d.ts +5 -0
- package/dist/providers/poe-agent.js +19812 -4438
- package/dist/providers/poe-agent.js.map +4 -4
- package/dist/sdk/container.js +4 -0
- package/dist/sdk/container.js.map +1 -1
- package/dist/sdk/spawn.js +8 -2
- package/dist/sdk/spawn.js.map +1 -1
- package/dist/sdk/types.d.ts +5 -1
- package/dist/services/config.d.ts +29 -44
- package/dist/services/config.js +16 -25
- package/dist/services/config.js.map +1 -1
- package/dist/templates/pipeline/SKILL_plan.md +22 -8
- package/dist/templates/pipeline/steps.yaml.mustache +1 -1
- package/dist/templates/skill/poe-generate.md +47 -0
- package/dist/templates/skill/terminal-pilot.md +45 -0
- package/dist/utils/dry-run.d.ts +8 -0
- package/dist/utils/dry-run.js +16 -0
- package/dist/utils/dry-run.js.map +1 -1
- package/dist/utils/file-system.d.ts +4 -0
- package/dist/workflow-templates/fix-vulnerabilities.ejected.yml +8 -0
- package/dist/workflow-templates/github-issue-comment-created.ejected.yml +8 -0
- package/dist/workflow-templates/github-issue-opened.ejected.yml +8 -0
- package/dist/workflow-templates/github-pull-request-comment-created.ejected.yml +8 -0
- package/dist/workflow-templates/github-pull-request-opened.ejected.yml +8 -0
- package/dist/workflow-templates/github-pull-request-synchronized.ejected.yml +8 -0
- package/dist/workflow-templates/update-dependencies.ejected.yml +8 -0
- package/dist/workflow-templates/update-documentation.ejected.yml +8 -0
- package/package.json +16 -9
- package/packages/cmdkit/dist/cli.js +42 -22
- package/packages/cmdkit/dist/cli.js.map +3 -3
- package/packages/cmdkit/dist/index.js +52 -9
- package/packages/cmdkit/dist/index.js.map +2 -2
- package/packages/cmdkit/dist/mcp.d.ts +15 -0
- package/packages/cmdkit/dist/mcp.js +121 -20
- package/packages/cmdkit/dist/mcp.js.map +3 -3
- package/packages/cmdkit/dist/number-schema.d.ts +3 -0
- package/packages/cmdkit/dist/number-schema.js +8 -0
- package/packages/cmdkit/dist/schema-scope.d.ts +4 -0
- package/packages/cmdkit/dist/schema-scope.js +34 -0
- package/packages/cmdkit/dist/sdk.js +58 -3
- package/packages/cmdkit/dist/sdk.js.map +3 -3
- package/packages/cmdkit-schema/dist/index.compile-check.js +1 -0
- package/packages/cmdkit-schema/dist/index.d.ts +59 -16
- package/packages/cmdkit-schema/dist/index.js +53 -8
- package/packages/design-system/dist/dashboard/components/footer.js +2 -3
- package/packages/design-system/dist/dashboard/components/output-pane.d.ts +1 -10
- package/packages/design-system/dist/dashboard/components/output-pane.js +5 -74
- package/packages/design-system/dist/dashboard/dashboard.js +6 -26
- package/packages/design-system/dist/dashboard/keymap.js +4 -19
- package/packages/design-system/dist/dashboard/snapshot.js +1 -5
- package/packages/design-system/dist/dashboard/store.d.ts +1 -2
- package/packages/design-system/dist/dashboard/store.js +6 -62
- package/packages/design-system/dist/dashboard/terminal.d.ts +2 -0
- package/packages/design-system/dist/dashboard/terminal.js +18 -0
- package/packages/design-system/dist/dashboard/types.d.ts +1 -11
- package/packages/design-system/dist/terminal-markdown/ast.d.ts +10 -2
- package/packages/design-system/dist/terminal-markdown/parser/block.d.ts +2 -1
- package/packages/design-system/dist/terminal-markdown/parser/block.js +400 -110
- package/packages/design-system/dist/terminal-markdown/parser/frontmatter.d.ts +2 -0
- package/packages/design-system/dist/terminal-markdown/parser/frontmatter.js +28 -11
- package/packages/design-system/dist/terminal-markdown/parser/inline.d.ts +4 -0
- package/packages/design-system/dist/terminal-markdown/parser/inline.js +134 -55
- package/packages/design-system/dist/terminal-markdown/parser.js +36 -7
package/dist/providers/kimi.js
CHANGED
|
@@ -219,6 +219,21 @@ var gooseAgent = {
|
|
|
219
219
|
}
|
|
220
220
|
};
|
|
221
221
|
|
|
222
|
+
// packages/agent-defs/src/agents/poe-agent.ts
|
|
223
|
+
var poeAgentAgent = {
|
|
224
|
+
id: "poe-agent",
|
|
225
|
+
name: "poe-agent",
|
|
226
|
+
label: "Poe Agent",
|
|
227
|
+
summary: "Run one-shot prompts with the built-in Poe agent runtime.",
|
|
228
|
+
configPath: "~/.poe-code/config.json",
|
|
229
|
+
branding: {
|
|
230
|
+
colors: {
|
|
231
|
+
dark: "#A465F7",
|
|
232
|
+
light: "#7A3FD3"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
|
|
222
237
|
// packages/agent-defs/src/registry.ts
|
|
223
238
|
var allAgents = [
|
|
224
239
|
claudeCodeAgent,
|
|
@@ -226,7 +241,8 @@ var allAgents = [
|
|
|
226
241
|
codexAgent,
|
|
227
242
|
openCodeAgent,
|
|
228
243
|
kimiAgent,
|
|
229
|
-
gooseAgent
|
|
244
|
+
gooseAgent,
|
|
245
|
+
poeAgentAgent
|
|
230
246
|
];
|
|
231
247
|
var lookup = /* @__PURE__ */ new Map();
|
|
232
248
|
for (const agent of allAgents) {
|
|
@@ -511,6 +527,8 @@ function listMcpSupportedAgents() {
|
|
|
511
527
|
|
|
512
528
|
// packages/agent-spawn/src/spawn.ts
|
|
513
529
|
import { spawn as spawnChildProcess } from "node:child_process";
|
|
530
|
+
import { mkdirSync, openSync, writeSync, closeSync } from "node:fs";
|
|
531
|
+
import path from "node:path";
|
|
514
532
|
|
|
515
533
|
// packages/agent-spawn/src/configs/resolve-config.ts
|
|
516
534
|
function resolveConfig(agentId) {
|
|
@@ -1062,7 +1080,7 @@ import chalk16 from "chalk";
|
|
|
1062
1080
|
var DEFAULT_ACTIVITY_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
1063
1081
|
|
|
1064
1082
|
// packages/agent-spawn/src/acp/replay.ts
|
|
1065
|
-
import
|
|
1083
|
+
import path2 from "node:path";
|
|
1066
1084
|
import { homedir as homedir2 } from "node:os";
|
|
1067
1085
|
import { open, readdir } from "node:fs/promises";
|
|
1068
1086
|
import { createInterface as createInterface2 } from "node:readline";
|
|
@@ -1084,7 +1102,7 @@ import { join } from "node:path";
|
|
|
1084
1102
|
import { spawn as spawnChildProcess4 } from "node:child_process";
|
|
1085
1103
|
|
|
1086
1104
|
// packages/agent-spawn/src/acp/middlewares/spawn-log.ts
|
|
1087
|
-
import
|
|
1105
|
+
import path3 from "node:path";
|
|
1088
1106
|
import { homedir as homedir3 } from "node:os";
|
|
1089
1107
|
import { mkdir, open as open2 } from "node:fs/promises";
|
|
1090
1108
|
|
|
@@ -1519,20 +1537,20 @@ function getConfigFormat(pathOrFormat) {
|
|
|
1519
1537
|
}
|
|
1520
1538
|
return formatRegistry[formatName];
|
|
1521
1539
|
}
|
|
1522
|
-
function detectFormat(
|
|
1523
|
-
const ext = getExtension(
|
|
1540
|
+
function detectFormat(path5) {
|
|
1541
|
+
const ext = getExtension(path5);
|
|
1524
1542
|
return extensionMap[ext];
|
|
1525
1543
|
}
|
|
1526
|
-
function getExtension(
|
|
1527
|
-
const lastDot =
|
|
1544
|
+
function getExtension(path5) {
|
|
1545
|
+
const lastDot = path5.lastIndexOf(".");
|
|
1528
1546
|
if (lastDot === -1) {
|
|
1529
1547
|
return "";
|
|
1530
1548
|
}
|
|
1531
|
-
return
|
|
1549
|
+
return path5.slice(lastDot).toLowerCase();
|
|
1532
1550
|
}
|
|
1533
1551
|
|
|
1534
1552
|
// packages/config-mutations/src/execution/path-utils.ts
|
|
1535
|
-
import
|
|
1553
|
+
import path4 from "node:path";
|
|
1536
1554
|
function expandHome(targetPath, homeDir) {
|
|
1537
1555
|
if (!targetPath?.startsWith("~")) {
|
|
1538
1556
|
return targetPath;
|
|
@@ -1549,7 +1567,7 @@ function expandHome(targetPath, homeDir) {
|
|
|
1549
1567
|
remainder = remainder.slice(1);
|
|
1550
1568
|
}
|
|
1551
1569
|
}
|
|
1552
|
-
return remainder.length === 0 ? homeDir :
|
|
1570
|
+
return remainder.length === 0 ? homeDir : path4.join(homeDir, remainder);
|
|
1553
1571
|
}
|
|
1554
1572
|
function validateHomePath(targetPath) {
|
|
1555
1573
|
if (typeof targetPath !== "string" || targetPath.length === 0) {
|
|
@@ -1567,12 +1585,12 @@ function resolvePath(rawPath, homeDir, pathMapper) {
|
|
|
1567
1585
|
if (!pathMapper) {
|
|
1568
1586
|
return expanded;
|
|
1569
1587
|
}
|
|
1570
|
-
const rawDirectory =
|
|
1588
|
+
const rawDirectory = path4.dirname(expanded);
|
|
1571
1589
|
const mappedDirectory = pathMapper.mapTargetDirectory({
|
|
1572
1590
|
targetDirectory: rawDirectory
|
|
1573
1591
|
});
|
|
1574
|
-
const filename =
|
|
1575
|
-
return filename.length === 0 ? mappedDirectory :
|
|
1592
|
+
const filename = path4.basename(expanded);
|
|
1593
|
+
return filename.length === 0 ? mappedDirectory : path4.join(mappedDirectory, filename);
|
|
1576
1594
|
}
|
|
1577
1595
|
|
|
1578
1596
|
// packages/config-mutations/src/fs-utils.ts
|