@moondeck/station 1.0.12 → 1.0.13
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/lib/agent-cli-issue-attachments.ts +117 -0
- package/lib/agent-cli-issue-comments.ts +103 -0
- package/lib/agent-cli-issues.ts +416 -0
- package/lib/agent-cli.ts +94 -7
- package/lib/issue-markdown.generated.ts +658 -0
- package/lib/orchestrator.ts +6 -0
- package/package.json +1 -1
package/lib/orchestrator.ts
CHANGED
|
@@ -8127,6 +8127,12 @@ export function buildSystemPreamble(
|
|
|
8127
8127
|
"<command>` in the shell. Your permissions:",
|
|
8128
8128
|
`\`${(agent.permissions ?? []).join(", ")}\`. Commands: \`projects list\`,`,
|
|
8129
8129
|
"`people list`, `task list`" +
|
|
8130
|
+
(agent.permissions?.includes("issues.read")
|
|
8131
|
+
? ", `issue list`, `issue show KEY-N`, `issue current` (Issue reads; add --json for structured output)"
|
|
8132
|
+
: "") +
|
|
8133
|
+
(agent.permissions?.includes("issues.read") && agent.permissions?.includes("issues.write")
|
|
8134
|
+
? ", `issue create --title T`, `issue update KEY-N`, `issue link KEY-N`, `issue unlink KEY-N` (Issue writes; see the guide for flags)"
|
|
8135
|
+
: "") +
|
|
8130
8136
|
(agent.permissions?.includes("tasks.create")
|
|
8131
8137
|
? ", `task create --name <n> --prompt <p> [--projects id,id] [--agents handle,handle] [--astronaut engine/model/effort] [--start --request-id <logical-run-id>]`"
|
|
8132
8138
|
: "") +
|
package/package.json
CHANGED