spets 0.1.83 → 0.1.86
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.
|
@@ -2,19 +2,22 @@ name: Spets Task
|
|
|
2
2
|
description: Start a Spets workflow
|
|
3
3
|
labels: ["spets"]
|
|
4
4
|
body:
|
|
5
|
-
- type: input
|
|
6
|
-
id: task
|
|
7
|
-
attributes:
|
|
8
|
-
label: Task Description
|
|
9
|
-
description: What do you want to accomplish?
|
|
10
|
-
placeholder: "Add user authentication"
|
|
11
|
-
validations:
|
|
12
|
-
required: true
|
|
13
5
|
- type: input
|
|
14
6
|
id: branch
|
|
15
7
|
attributes:
|
|
16
8
|
label: Branch Name
|
|
17
|
-
description:
|
|
9
|
+
description: Name for the feature branch
|
|
18
10
|
placeholder: "feature/my-feature"
|
|
19
11
|
validations:
|
|
20
|
-
required:
|
|
12
|
+
required: true
|
|
13
|
+
- type: textarea
|
|
14
|
+
id: requirements
|
|
15
|
+
attributes:
|
|
16
|
+
label: Requirements
|
|
17
|
+
description: What do you want to accomplish? (supports multi-line)
|
|
18
|
+
placeholder: |
|
|
19
|
+
Add user authentication
|
|
20
|
+
- Support email/password login
|
|
21
|
+
- Add JWT tokens
|
|
22
|
+
validations:
|
|
23
|
+
required: true
|
package/dist/index.js
CHANGED
|
@@ -5031,7 +5031,7 @@ async function callClaude(prompt) {
|
|
|
5031
5031
|
});
|
|
5032
5032
|
}
|
|
5033
5033
|
async function createOrUpdateIssue(config, taskId, userQuery, stepName) {
|
|
5034
|
-
const { owner, repo, issueNumber } = config;
|
|
5034
|
+
const { owner, repo, issueNumber, branch } = config;
|
|
5035
5035
|
const body = `## Spets Workflow Update
|
|
5036
5036
|
|
|
5037
5037
|
- Task ID: \`${taskId}\`
|
|
@@ -5056,7 +5056,7 @@ ${userQuery}`;
|
|
|
5056
5056
|
"--repo",
|
|
5057
5057
|
`${owner}/${repo}`,
|
|
5058
5058
|
"--title",
|
|
5059
|
-
userQuery.slice(0, 50),
|
|
5059
|
+
branch || userQuery.slice(0, 50),
|
|
5060
5060
|
"--body",
|
|
5061
5061
|
body,
|
|
5062
5062
|
"--label",
|