juno-code 1.0.40 → 1.0.41
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/cli.js +61 -10
- package/dist/bin/cli.js.map +1 -1
- package/dist/bin/cli.mjs +61 -10
- package/dist/bin/cli.mjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -14556,22 +14556,19 @@ and for each part create a seperate .md file under @.juno_task/spec/*
|
|
|
14556
14556
|
|
|
14557
14557
|
## ULTIMATE Goal
|
|
14558
14558
|
We want to achieve the main Task with respect to the Constraints section
|
|
14559
|
+
|
|
14560
|
+
Part 1)
|
|
14559
14561
|
Consider missing steps and plan. If the step is missing then author the specification at @.juno_task/spec/FILENAME.md (do NOT assume that it does not exist, search before creating). The naming of the module should be GenZ named and not conflict with another module name. If you create a new step then document the plan to implement in @.juno_task/plan.md
|
|
14560
14562
|
|
|
14561
14563
|
|
|
14564
|
+
Part 2) after completing the plan, and spec, create task for implementing each part on kanban './.juno_task/scripts/kanban.sh' You need to create a task for each step of implementation and testing. You need to go through the project, the spec and plan at the end to make sure you have covered all tasks on the kanban. We will later on implement tasks from kanban one by one.
|
|
14565
|
+
After completing the proccess an implementer agent would start the job and go through kanban tasks one by one.
|
|
14566
|
+
|
|
14567
|
+
|
|
14562
14568
|
### Constraints
|
|
14563
14569
|
**Preferred Subagent**: {{SUBAGENT}}
|
|
14564
14570
|
**Repository URL**: {{GIT_URL}}
|
|
14565
|
-
|
|
14566
|
-
|
|
14567
|
-
## Environment Setup
|
|
14568
|
-
[Empty]
|
|
14569
|
-
|
|
14570
|
-
### 2. Package Installation
|
|
14571
|
-
[Empty]
|
|
14572
|
-
|
|
14573
|
-
### 3. Test Installation
|
|
14574
|
-
[Empty]`,
|
|
14571
|
+
`,
|
|
14575
14572
|
variables: [
|
|
14576
14573
|
{
|
|
14577
14574
|
name: "main_task",
|
|
@@ -14916,6 +14913,23 @@ Items that have been resolved will be moved here.`,
|
|
|
14916
14913
|
**Git Repository:** {{GIT_URL}}
|
|
14917
14914
|
**Configuration Date:** {{CURRENT_DATE}}
|
|
14918
14915
|
|
|
14916
|
+
## Kanban Task Management
|
|
14917
|
+
|
|
14918
|
+
\`\`\`bash
|
|
14919
|
+
# List tasks
|
|
14920
|
+
./.juno_task/scripts/kanban.sh list --limit 5 --sort asc
|
|
14921
|
+
./.juno_task/scripts/kanban.sh list --status [backlog|todo|in_progress|done] --sort asc
|
|
14922
|
+
|
|
14923
|
+
# Task operations
|
|
14924
|
+
./.juno_task/scripts/kanban.sh get {TASK_ID}
|
|
14925
|
+
./.juno_task/scripts/kanban.sh mark [in_progress|done|todo] --id {TASK_ID} --response "message"
|
|
14926
|
+
./.juno_task/scripts/kanban.sh update {TASK_ID} --commit {COMMIT_HASH}
|
|
14927
|
+
\`\`\`
|
|
14928
|
+
|
|
14929
|
+
When a task on kanban, has related_tasks key, you need to get the task to understand the complete picture of tasks related to the current current task, you can get all the context through
|
|
14930
|
+
\`./.juno_task/scripts/kanban.sh get {TASK_ID}\`
|
|
14931
|
+
|
|
14932
|
+
|
|
14919
14933
|
## Agent-Specific Instructions
|
|
14920
14934
|
|
|
14921
14935
|
### {{SUBAGENT}} Configuration
|
|
@@ -15030,6 +15044,24 @@ python -m pytest tests/ --cov=src --cov-report=term-missing
|
|
|
15030
15044
|
- **Code Quality:** Focus on production-ready, well-documented code
|
|
15031
15045
|
- **Testing:** Comprehensive unit and integration tests required
|
|
15032
15046
|
|
|
15047
|
+
## Kanban Task Management
|
|
15048
|
+
|
|
15049
|
+
\`\`\`bash
|
|
15050
|
+
# List tasks
|
|
15051
|
+
./.juno_task/scripts/kanban.sh list --limit 5 --sort asc
|
|
15052
|
+
./.juno_task/scripts/kanban.sh list --status [backlog|todo|in_progress|done] --sort asc
|
|
15053
|
+
|
|
15054
|
+
# Task operations
|
|
15055
|
+
./.juno_task/scripts/kanban.sh get {TASK_ID}
|
|
15056
|
+
./.juno_task/scripts/kanban.sh mark [in_progress|done|todo] --id {TASK_ID} --response "message"
|
|
15057
|
+
./.juno_task/scripts/kanban.sh update {TASK_ID} --commit {COMMIT_HASH}
|
|
15058
|
+
\`\`\`
|
|
15059
|
+
|
|
15060
|
+
When a task on kanban, has related_tasks key, you need to get the task to understand the complete picture of tasks related to the current current task, you can get all the context through
|
|
15061
|
+
\`./.juno_task/scripts/kanban.sh get {TASK_ID}\`
|
|
15062
|
+
|
|
15063
|
+
|
|
15064
|
+
|
|
15033
15065
|
## Build & Test Commands
|
|
15034
15066
|
|
|
15035
15067
|
**Environment Setup:**
|
|
@@ -24363,10 +24395,29 @@ function setupMainCommand(program) {
|
|
|
24363
24395
|
stdio: "inherit",
|
|
24364
24396
|
cwd: process.cwd()
|
|
24365
24397
|
});
|
|
24398
|
+
process.removeAllListeners("SIGINT");
|
|
24399
|
+
process.removeAllListeners("SIGTERM");
|
|
24400
|
+
let childExited = false;
|
|
24401
|
+
const signalHandler = (signal) => {
|
|
24402
|
+
if (!childExited && child.pid) {
|
|
24403
|
+
try {
|
|
24404
|
+
process.kill(child.pid, signal);
|
|
24405
|
+
} catch (err) {
|
|
24406
|
+
}
|
|
24407
|
+
}
|
|
24408
|
+
};
|
|
24409
|
+
process.on("SIGINT", signalHandler);
|
|
24410
|
+
process.on("SIGTERM", signalHandler);
|
|
24366
24411
|
child.on("exit", (code) => {
|
|
24412
|
+
childExited = true;
|
|
24413
|
+
process.removeListener("SIGINT", signalHandler);
|
|
24414
|
+
process.removeListener("SIGTERM", signalHandler);
|
|
24367
24415
|
process.exit(code || 0);
|
|
24368
24416
|
});
|
|
24369
24417
|
child.on("error", (error) => {
|
|
24418
|
+
childExited = true;
|
|
24419
|
+
process.removeListener("SIGINT", signalHandler);
|
|
24420
|
+
process.removeListener("SIGTERM", signalHandler);
|
|
24370
24421
|
console.error(chalk15__default.default.red.bold("\n\u274C Error executing run_until_completion.sh"));
|
|
24371
24422
|
console.error(chalk15__default.default.red(` ${error.message}`));
|
|
24372
24423
|
process.exit(1);
|