poe-code 3.0.181 → 3.0.183
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/bin/poe-agent.js +1 -1
- 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 -9
- package/dist/cli/commands/dashboard-loop-shared.js +16 -9
- 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/memory.d.ts +3 -0
- package/dist/cli/commands/memory.js +181 -0
- package/dist/cli/commands/memory.js.map +1 -0
- package/dist/cli/commands/pipeline-init.d.ts +17 -0
- package/dist/cli/commands/pipeline-init.js +166 -0
- package/dist/cli/commands/pipeline-init.js.map +1 -0
- package/dist/cli/commands/pipeline.js +187 -45
- package/dist/cli/commands/pipeline.js.map +1 -1
- package/dist/cli/commands/plan.d.ts +1 -0
- package/dist/cli/commands/plan.js +196 -39
- 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/poe-agent-main.d.ts +10 -1
- package/dist/cli/poe-agent-main.js +89 -47
- package/dist/cli/poe-agent-main.js.map +1 -1
- package/dist/cli/program.js +13 -1
- package/dist/cli/program.js.map +1 -1
- package/dist/corpus/001-archaeoastronomy.md +479 -0
- package/dist/corpus/002-magnetohydrodynamics.md +475 -0
- package/dist/corpus/003-biosemiotics.md +483 -0
- package/dist/corpus/004-cryopedology.md +483 -0
- package/dist/corpus/005-geomicrobiology.md +479 -0
- package/dist/corpus/006-aeronomy.md +487 -0
- package/dist/corpus/007-paleoclimatology.md +479 -0
- package/dist/corpus/008-hydrogeophysics.md +479 -0
- package/dist/corpus/009-magnetostratigraphy.md +475 -0
- package/dist/corpus/010-isotope-hydrology.md +481 -0
- package/dist/corpus/011-speleothem-geochemistry.md +474 -0
- package/dist/corpus/012-astrobiogeochemistry.md +475 -0
- package/dist/corpus/013-neuroethology.md +483 -0
- package/dist/corpus/014-chronophysiology.md +483 -0
- package/dist/corpus/015-limnogeochemistry.md +475 -0
- package/dist/corpus/016-palynology.md +483 -0
- package/dist/corpus/017-volcanotectonics.md +473 -0
- package/dist/corpus/018-seismotectonics.md +473 -0
- package/dist/corpus/019-biogeomorphology.md +475 -0
- package/dist/corpus/020-geobiophysics.md +479 -0
- package/dist/corpus/021-phytolith-analysis.md +481 -0
- package/dist/corpus/022-archaeometallurgy.md +479 -0
- package/dist/corpus/023-paleomagnetism.md +479 -0
- package/dist/corpus/024-biocalorimetry.md +475 -0
- package/dist/corpus/025-atmospheric-chemiluminescence.md +473 -0
- package/dist/corpus/026-cryoseismology.md +479 -0
- package/dist/corpus/027-extremophile-radiobiology.md +475 -0
- package/dist/corpus/028-heliophysics.md +479 -0
- package/dist/corpus/029-astroparticle-geophysics.md +474 -0
- package/dist/corpus/030-glaciohydrology.md +479 -0
- package/dist/corpus/031-permafrost-microbiology.md +477 -0
- package/dist/corpus/032-ecoacoustics.md +479 -0
- package/dist/corpus/033-dendroclimatology.md +473 -0
- package/dist/corpus/034-ionospheric-tomography.md +477 -0
- package/dist/corpus/035-marine-geodesy.md +481 -0
- package/dist/corpus/036-sedimentary-ancient-dna.md +481 -0
- package/dist/corpus/037-myrmecochory-dynamics.md +474 -0
- package/dist/corpus/038-chemosensory-ecology.md +477 -0
- package/dist/corpus/039-spintronics-materials.md +479 -0
- package/dist/corpus/040-nanotoxicology.md +483 -0
- package/dist/corpus/041-cosmochemistry.md +483 -0
- package/dist/corpus/042-quaternary-geochronology.md +471 -0
- package/dist/corpus/043-biophotonics.md +479 -0
- package/dist/corpus/044-evolutionary-morphometrics.md +481 -0
- package/dist/corpus/045-cryovolcanology.md +475 -0
- package/dist/corpus/046-exoplanet-atmospheric-dynamics.md +479 -0
- package/dist/corpus/047-microbial-electrosynthesis.md +477 -0
- package/dist/corpus/048-paleoseismology.md +479 -0
- package/dist/corpus/049-actinide-geochemistry.md +477 -0
- package/dist/corpus/050-quantum-biology.md +489 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +31666 -23440
- 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 +21214 -4016
- 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/pipeline.d.ts +27 -0
- package/dist/sdk/pipeline.js +91 -1
- package/dist/sdk/pipeline.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 +47 -33
- package/dist/services/config.js +22 -20
- 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/package.json +19 -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/index.d.ts +1 -0
- package/packages/design-system/dist/dashboard/index.js +1 -0
- package/packages/design-system/dist/dashboard/keymap.js +4 -19
- package/packages/design-system/dist/dashboard/should-use-dashboard.d.ts +10 -0
- package/packages/design-system/dist/dashboard/should-use-dashboard.js +7 -0
- 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/index.d.ts +1 -1
- package/packages/design-system/dist/index.js +1 -1
- 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
|
@@ -116,7 +116,7 @@ var FRONTIER_MODELS = [
|
|
|
116
116
|
"openai/gpt-5.4",
|
|
117
117
|
"google/gemini-3.1-pro"
|
|
118
118
|
];
|
|
119
|
-
var DEFAULT_FRONTIER_MODEL = "anthropic/claude-
|
|
119
|
+
var DEFAULT_FRONTIER_MODEL = "anthropic/claude-opus-4.7";
|
|
120
120
|
var CLAUDE_CODE_VARIANTS = {
|
|
121
121
|
haiku: "anthropic/claude-haiku-4.5",
|
|
122
122
|
sonnet: "anthropic/claude-sonnet-4.6",
|
|
@@ -255,6 +255,21 @@ var gooseAgent = {
|
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
257
|
|
|
258
|
+
// packages/agent-defs/src/agents/poe-agent.ts
|
|
259
|
+
var poeAgentAgent = {
|
|
260
|
+
id: "poe-agent",
|
|
261
|
+
name: "poe-agent",
|
|
262
|
+
label: "Poe Agent",
|
|
263
|
+
summary: "Run one-shot prompts with the built-in Poe agent runtime.",
|
|
264
|
+
configPath: "~/.poe-code/config.json",
|
|
265
|
+
branding: {
|
|
266
|
+
colors: {
|
|
267
|
+
dark: "#A465F7",
|
|
268
|
+
light: "#7A3FD3"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
|
|
258
273
|
// packages/agent-defs/src/registry.ts
|
|
259
274
|
var allAgents = [
|
|
260
275
|
claudeCodeAgent,
|
|
@@ -262,7 +277,8 @@ var allAgents = [
|
|
|
262
277
|
codexAgent,
|
|
263
278
|
openCodeAgent,
|
|
264
279
|
kimiAgent,
|
|
265
|
-
gooseAgent
|
|
280
|
+
gooseAgent,
|
|
281
|
+
poeAgentAgent
|
|
266
282
|
];
|
|
267
283
|
var lookup = /* @__PURE__ */ new Map();
|
|
268
284
|
for (const agent of allAgents) {
|
|
@@ -547,6 +563,8 @@ function listMcpSupportedAgents() {
|
|
|
547
563
|
|
|
548
564
|
// packages/agent-spawn/src/spawn.ts
|
|
549
565
|
import { spawn as spawnChildProcess } from "node:child_process";
|
|
566
|
+
import { mkdirSync, openSync, writeSync, closeSync } from "node:fs";
|
|
567
|
+
import path from "node:path";
|
|
550
568
|
|
|
551
569
|
// packages/agent-spawn/src/configs/resolve-config.ts
|
|
552
570
|
function resolveConfig(agentId) {
|
|
@@ -1098,7 +1116,7 @@ import chalk16 from "chalk";
|
|
|
1098
1116
|
var DEFAULT_ACTIVITY_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
1099
1117
|
|
|
1100
1118
|
// packages/agent-spawn/src/acp/replay.ts
|
|
1101
|
-
import
|
|
1119
|
+
import path2 from "node:path";
|
|
1102
1120
|
import { homedir as homedir2 } from "node:os";
|
|
1103
1121
|
import { open, readdir } from "node:fs/promises";
|
|
1104
1122
|
import { createInterface as createInterface2 } from "node:readline";
|
|
@@ -1120,7 +1138,7 @@ import { join } from "node:path";
|
|
|
1120
1138
|
import { spawn as spawnChildProcess4 } from "node:child_process";
|
|
1121
1139
|
|
|
1122
1140
|
// packages/agent-spawn/src/acp/middlewares/spawn-log.ts
|
|
1123
|
-
import
|
|
1141
|
+
import path3 from "node:path";
|
|
1124
1142
|
import { homedir as homedir3 } from "node:os";
|
|
1125
1143
|
import { mkdir, open as open2 } from "node:fs/promises";
|
|
1126
1144
|
|
|
@@ -1555,20 +1573,20 @@ function getConfigFormat(pathOrFormat) {
|
|
|
1555
1573
|
}
|
|
1556
1574
|
return formatRegistry[formatName];
|
|
1557
1575
|
}
|
|
1558
|
-
function detectFormat(
|
|
1559
|
-
const ext = getExtension(
|
|
1576
|
+
function detectFormat(path5) {
|
|
1577
|
+
const ext = getExtension(path5);
|
|
1560
1578
|
return extensionMap[ext];
|
|
1561
1579
|
}
|
|
1562
|
-
function getExtension(
|
|
1563
|
-
const lastDot =
|
|
1580
|
+
function getExtension(path5) {
|
|
1581
|
+
const lastDot = path5.lastIndexOf(".");
|
|
1564
1582
|
if (lastDot === -1) {
|
|
1565
1583
|
return "";
|
|
1566
1584
|
}
|
|
1567
|
-
return
|
|
1585
|
+
return path5.slice(lastDot).toLowerCase();
|
|
1568
1586
|
}
|
|
1569
1587
|
|
|
1570
1588
|
// packages/config-mutations/src/execution/path-utils.ts
|
|
1571
|
-
import
|
|
1589
|
+
import path4 from "node:path";
|
|
1572
1590
|
function expandHome(targetPath, homeDir) {
|
|
1573
1591
|
if (!targetPath?.startsWith("~")) {
|
|
1574
1592
|
return targetPath;
|
|
@@ -1585,7 +1603,7 @@ function expandHome(targetPath, homeDir) {
|
|
|
1585
1603
|
remainder = remainder.slice(1);
|
|
1586
1604
|
}
|
|
1587
1605
|
}
|
|
1588
|
-
return remainder.length === 0 ? homeDir :
|
|
1606
|
+
return remainder.length === 0 ? homeDir : path4.join(homeDir, remainder);
|
|
1589
1607
|
}
|
|
1590
1608
|
function validateHomePath(targetPath) {
|
|
1591
1609
|
if (typeof targetPath !== "string" || targetPath.length === 0) {
|
|
@@ -1603,12 +1621,12 @@ function resolvePath(rawPath, homeDir, pathMapper) {
|
|
|
1603
1621
|
if (!pathMapper) {
|
|
1604
1622
|
return expanded;
|
|
1605
1623
|
}
|
|
1606
|
-
const rawDirectory =
|
|
1624
|
+
const rawDirectory = path4.dirname(expanded);
|
|
1607
1625
|
const mappedDirectory = pathMapper.mapTargetDirectory({
|
|
1608
1626
|
targetDirectory: rawDirectory
|
|
1609
1627
|
});
|
|
1610
|
-
const filename =
|
|
1611
|
-
return filename.length === 0 ? mappedDirectory :
|
|
1628
|
+
const filename = path4.basename(expanded);
|
|
1629
|
+
return filename.length === 0 ? mappedDirectory : path4.join(mappedDirectory, filename);
|
|
1612
1630
|
}
|
|
1613
1631
|
|
|
1614
1632
|
// packages/config-mutations/src/fs-utils.ts
|