poe-code 3.0.91 → 3.0.93
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/pipeline.d.ts +3 -0
- package/dist/cli/commands/pipeline.js +356 -0
- package/dist/cli/commands/pipeline.js.map +1 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +2 -2
- package/dist/sdk/pipeline.d.ts +4 -0
- package/dist/sdk/pipeline.js +19 -0
- package/dist/sdk/pipeline.js.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type PipelineRunOptions, type PipelineRunResult } from "@poe-code/pipeline";
|
|
2
|
+
export type { AgentRunInput, AgentRunResult, PipelineConfig, PipelinePlan, PipelineStatus, PipelineTask, ResolvedStepDefinitions, StepDefinition, StepMode, TaskProgress, PlanSummary } from "@poe-code/pipeline";
|
|
3
|
+
export type { PipelineRunOptions, PipelineRunResult };
|
|
4
|
+
export declare function runPipeline(options: PipelineRunOptions): Promise<PipelineRunResult>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { runPipeline as runWorkspacePipeline } from "@poe-code/pipeline";
|
|
2
|
+
import { renderAcpStream } from "@poe-code/agent-spawn";
|
|
3
|
+
import { spawn as sdkSpawn } from "./spawn.js";
|
|
4
|
+
export async function runPipeline(options) {
|
|
5
|
+
return runWorkspacePipeline({
|
|
6
|
+
...options,
|
|
7
|
+
runAgent: async (input) => {
|
|
8
|
+
const { events, result } = sdkSpawn(input.agent, {
|
|
9
|
+
prompt: input.prompt,
|
|
10
|
+
cwd: input.cwd,
|
|
11
|
+
model: input.model,
|
|
12
|
+
mode: input.mode
|
|
13
|
+
});
|
|
14
|
+
await renderAcpStream(events);
|
|
15
|
+
return result;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=pipeline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../src/sdk/pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,IAAI,oBAAoB,EAGpC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,KAAK,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AAiB/C,MAAM,CAAC,KAAK,UAAU,WAAW,CAC/B,OAA2B;IAE3B,OAAO,oBAAoB,CAAC;QAC1B,GAAG,OAAO;QACV,QAAQ,EAAE,KAAK,EAAE,KAAiE,EAAE,EAAE;YACpF,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE;gBAC/C,MAAM,EAAE,KAAK,CAAC,MAAM;gBACpB,GAAG,EAAE,KAAK,CAAC,GAAG;gBACd,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,IAAI,EAAE,KAAK,CAAC,IAAI;aACjB,CAAC,CAAC;YACH,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;YAC9B,OAAO,MAAM,CAAC;QAChB,CAAC;KACF,CAAC,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "poe-code",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.93",
|
|
4
4
|
"description": "CLI tool to configure Poe API for developer workflows.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -89,6 +89,7 @@
|
|
|
89
89
|
"@poe-code/design-system": "*",
|
|
90
90
|
"@poe-code/e2e-docker-test-runner": "*",
|
|
91
91
|
"@poe-code/freeze-cli": "*",
|
|
92
|
+
"@poe-code/pipeline": "*",
|
|
92
93
|
"@poe-code/poe-acp-client": "*",
|
|
93
94
|
"@types/mustache": "^4.2.6",
|
|
94
95
|
"@types/node": "^25.2.2",
|