poe-code 3.0.139 → 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 +9 -4
- package/dist/index.js.map +2 -2
- package/dist/prompts/github-issue-opened.md +27 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14752,6 +14752,7 @@ function buildCommandEnv(env, secrets) {
|
|
|
14752
14752
|
"GITHUB_REPOSITORY",
|
|
14753
14753
|
"ISSUE_NUMBER",
|
|
14754
14754
|
"ISSUE_TITLE",
|
|
14755
|
+
"ISSUE_BODY",
|
|
14755
14756
|
"COMMENT_AUTHOR",
|
|
14756
14757
|
"COMMENT_BODY",
|
|
14757
14758
|
"PR_NUMBER",
|
|
@@ -14774,7 +14775,8 @@ function buildTemplateContext(env) {
|
|
|
14774
14775
|
...buildUrl(repo, issueNumber, prNumber) === void 0 ? {} : { url: buildUrl(repo, issueNumber, prNumber) },
|
|
14775
14776
|
issue: pruneUndefined({
|
|
14776
14777
|
number: issueNumber,
|
|
14777
|
-
title: env.get("ISSUE_TITLE")
|
|
14778
|
+
title: env.get("ISSUE_TITLE"),
|
|
14779
|
+
body: env.get("ISSUE_BODY")
|
|
14778
14780
|
}),
|
|
14779
14781
|
comment: pruneUndefined({
|
|
14780
14782
|
author: env.get("COMMENT_AUTHOR"),
|
|
@@ -15192,9 +15194,12 @@ var init_commands = __esm({
|
|
|
15192
15194
|
name: S2.String()
|
|
15193
15195
|
}),
|
|
15194
15196
|
scope: ["cli", "sdk"],
|
|
15195
|
-
handler: async ({ params }) => {
|
|
15197
|
+
handler: async ({ params, env }) => {
|
|
15196
15198
|
const automation = await loadNamedAutomation(params.name, resolveCwd());
|
|
15197
|
-
return {
|
|
15199
|
+
return {
|
|
15200
|
+
name: automation.name,
|
|
15201
|
+
prompt: renderPrompt(automation.prompt, buildTemplateContext(env))
|
|
15202
|
+
};
|
|
15198
15203
|
},
|
|
15199
15204
|
render: {
|
|
15200
15205
|
rich: (result, { logger: logger2 }) => {
|
|
@@ -28086,7 +28091,7 @@ var init_package = __esm({
|
|
|
28086
28091
|
"package.json"() {
|
|
28087
28092
|
package_default = {
|
|
28088
28093
|
name: "poe-code",
|
|
28089
|
-
version: "3.0.
|
|
28094
|
+
version: "3.0.141",
|
|
28090
28095
|
description: "CLI tool to configure Poe API for developer workflows.",
|
|
28091
28096
|
type: "module",
|
|
28092
28097
|
main: "./dist/index.js",
|