poe-code 3.0.140 → 3.0.141

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/index.js CHANGED
@@ -15194,9 +15194,12 @@ var init_commands = __esm({
15194
15194
  name: S2.String()
15195
15195
  }),
15196
15196
  scope: ["cli", "sdk"],
15197
- handler: async ({ params }) => {
15197
+ handler: async ({ params, env }) => {
15198
15198
  const automation = await loadNamedAutomation(params.name, resolveCwd());
15199
- return { name: automation.name, prompt: automation.prompt };
15199
+ return {
15200
+ name: automation.name,
15201
+ prompt: renderPrompt(automation.prompt, buildTemplateContext(env))
15202
+ };
15200
15203
  },
15201
15204
  render: {
15202
15205
  rich: (result, { logger: logger2 }) => {
@@ -28088,7 +28091,7 @@ var init_package = __esm({
28088
28091
  "package.json"() {
28089
28092
  package_default = {
28090
28093
  name: "poe-code",
28091
- version: "3.0.140",
28094
+ version: "3.0.141",
28092
28095
  description: "CLI tool to configure Poe API for developer workflows.",
28093
28096
  type: "module",
28094
28097
  main: "./dist/index.js",