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/goose.js
CHANGED
|
@@ -208,6 +208,21 @@ var gooseAgent = {
|
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
+
// packages/agent-defs/src/agents/poe-agent.ts
|
|
212
|
+
var poeAgentAgent = {
|
|
213
|
+
id: "poe-agent",
|
|
214
|
+
name: "poe-agent",
|
|
215
|
+
label: "Poe Agent",
|
|
216
|
+
summary: "Run one-shot prompts with the built-in Poe agent runtime.",
|
|
217
|
+
configPath: "~/.poe-code/config.json",
|
|
218
|
+
branding: {
|
|
219
|
+
colors: {
|
|
220
|
+
dark: "#A465F7",
|
|
221
|
+
light: "#7A3FD3"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
|
|
211
226
|
// packages/agent-defs/src/registry.ts
|
|
212
227
|
var allAgents = [
|
|
213
228
|
claudeCodeAgent,
|
|
@@ -215,7 +230,8 @@ var allAgents = [
|
|
|
215
230
|
codexAgent,
|
|
216
231
|
openCodeAgent,
|
|
217
232
|
kimiAgent,
|
|
218
|
-
gooseAgent
|
|
233
|
+
gooseAgent,
|
|
234
|
+
poeAgentAgent
|
|
219
235
|
];
|
|
220
236
|
var lookup = /* @__PURE__ */ new Map();
|
|
221
237
|
for (const agent of allAgents) {
|
|
@@ -477,6 +493,8 @@ acpLookup.set(gooseAcpSpawnConfig.agentId, gooseAcpSpawnConfig);
|
|
|
477
493
|
|
|
478
494
|
// packages/agent-spawn/src/spawn.ts
|
|
479
495
|
import { spawn as spawnChildProcess } from "node:child_process";
|
|
496
|
+
import { mkdirSync, openSync, writeSync, closeSync } from "node:fs";
|
|
497
|
+
import path from "node:path";
|
|
480
498
|
|
|
481
499
|
// packages/agent-spawn/src/spawn-interactive.ts
|
|
482
500
|
import { spawn as spawnChildProcess2 } from "node:child_process";
|
|
@@ -906,7 +924,7 @@ import chalk16 from "chalk";
|
|
|
906
924
|
var DEFAULT_ACTIVITY_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
907
925
|
|
|
908
926
|
// packages/agent-spawn/src/acp/replay.ts
|
|
909
|
-
import
|
|
927
|
+
import path2 from "node:path";
|
|
910
928
|
import { homedir as homedir2 } from "node:os";
|
|
911
929
|
import { open, readdir } from "node:fs/promises";
|
|
912
930
|
import { createInterface as createInterface2 } from "node:readline";
|
|
@@ -928,7 +946,7 @@ import { join } from "node:path";
|
|
|
928
946
|
import { spawn as spawnChildProcess4 } from "node:child_process";
|
|
929
947
|
|
|
930
948
|
// packages/agent-spawn/src/acp/middlewares/spawn-log.ts
|
|
931
|
-
import
|
|
949
|
+
import path3 from "node:path";
|
|
932
950
|
import { homedir as homedir3 } from "node:os";
|
|
933
951
|
import { mkdir, open as open2 } from "node:fs/promises";
|
|
934
952
|
|
|
@@ -1411,20 +1429,20 @@ function getConfigFormat(pathOrFormat) {
|
|
|
1411
1429
|
}
|
|
1412
1430
|
return formatRegistry[formatName];
|
|
1413
1431
|
}
|
|
1414
|
-
function detectFormat(
|
|
1415
|
-
const ext = getExtension(
|
|
1432
|
+
function detectFormat(path5) {
|
|
1433
|
+
const ext = getExtension(path5);
|
|
1416
1434
|
return extensionMap[ext];
|
|
1417
1435
|
}
|
|
1418
|
-
function getExtension(
|
|
1419
|
-
const lastDot =
|
|
1436
|
+
function getExtension(path5) {
|
|
1437
|
+
const lastDot = path5.lastIndexOf(".");
|
|
1420
1438
|
if (lastDot === -1) {
|
|
1421
1439
|
return "";
|
|
1422
1440
|
}
|
|
1423
|
-
return
|
|
1441
|
+
return path5.slice(lastDot).toLowerCase();
|
|
1424
1442
|
}
|
|
1425
1443
|
|
|
1426
1444
|
// packages/config-mutations/src/execution/path-utils.ts
|
|
1427
|
-
import
|
|
1445
|
+
import path4 from "node:path";
|
|
1428
1446
|
function expandHome(targetPath, homeDir) {
|
|
1429
1447
|
if (!targetPath?.startsWith("~")) {
|
|
1430
1448
|
return targetPath;
|
|
@@ -1441,7 +1459,7 @@ function expandHome(targetPath, homeDir) {
|
|
|
1441
1459
|
remainder = remainder.slice(1);
|
|
1442
1460
|
}
|
|
1443
1461
|
}
|
|
1444
|
-
return remainder.length === 0 ? homeDir :
|
|
1462
|
+
return remainder.length === 0 ? homeDir : path4.join(homeDir, remainder);
|
|
1445
1463
|
}
|
|
1446
1464
|
function validateHomePath(targetPath) {
|
|
1447
1465
|
if (typeof targetPath !== "string" || targetPath.length === 0) {
|
|
@@ -1459,12 +1477,12 @@ function resolvePath(rawPath, homeDir, pathMapper) {
|
|
|
1459
1477
|
if (!pathMapper) {
|
|
1460
1478
|
return expanded;
|
|
1461
1479
|
}
|
|
1462
|
-
const rawDirectory =
|
|
1480
|
+
const rawDirectory = path4.dirname(expanded);
|
|
1463
1481
|
const mappedDirectory = pathMapper.mapTargetDirectory({
|
|
1464
1482
|
targetDirectory: rawDirectory
|
|
1465
1483
|
});
|
|
1466
|
-
const filename =
|
|
1467
|
-
return filename.length === 0 ? mappedDirectory :
|
|
1484
|
+
const filename = path4.basename(expanded);
|
|
1485
|
+
return filename.length === 0 ? mappedDirectory : path4.join(mappedDirectory, filename);
|
|
1468
1486
|
}
|
|
1469
1487
|
|
|
1470
1488
|
// packages/config-mutations/src/fs-utils.ts
|
|
@@ -2231,7 +2249,7 @@ var FRONTIER_MODELS = [
|
|
|
2231
2249
|
"openai/gpt-5.4",
|
|
2232
2250
|
"google/gemini-3.1-pro"
|
|
2233
2251
|
];
|
|
2234
|
-
var DEFAULT_FRONTIER_MODEL = "anthropic/claude-
|
|
2252
|
+
var DEFAULT_FRONTIER_MODEL = "anthropic/claude-opus-4.7";
|
|
2235
2253
|
var CLAUDE_CODE_VARIANTS = {
|
|
2236
2254
|
haiku: "anthropic/claude-haiku-4.5",
|
|
2237
2255
|
sonnet: "anthropic/claude-sonnet-4.6",
|