cyrus-edge-worker 0.2.67 → 0.2.69
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/AgentSessionManager.d.ts +2 -0
- package/dist/AgentSessionManager.d.ts.map +1 -1
- package/dist/AgentSessionManager.js +39 -6
- package/dist/AgentSessionManager.js.map +1 -1
- package/dist/ChatSessionHandler.d.ts +36 -5
- package/dist/ChatSessionHandler.d.ts.map +1 -1
- package/dist/ChatSessionHandler.js +84 -18
- package/dist/ChatSessionHandler.js.map +1 -1
- package/dist/ConfigManager.d.ts.map +1 -1
- package/dist/ConfigManager.js +12 -0
- package/dist/ConfigManager.js.map +1 -1
- package/dist/EdgeWorker.d.ts +3 -0
- package/dist/EdgeWorker.d.ts.map +1 -1
- package/dist/EdgeWorker.js +122 -15
- package/dist/EdgeWorker.js.map +1 -1
- package/dist/PromptBuilder.d.ts.map +1 -1
- package/dist/PromptBuilder.js +2 -0
- package/dist/PromptBuilder.js.map +1 -1
- package/dist/RunnerConfigBuilder.d.ts +20 -5
- package/dist/RunnerConfigBuilder.d.ts.map +1 -1
- package/dist/RunnerConfigBuilder.js +26 -3
- package/dist/RunnerConfigBuilder.js.map +1 -1
- package/dist/RunnerSelectionService.d.ts +12 -7
- package/dist/RunnerSelectionService.d.ts.map +1 -1
- package/dist/RunnerSelectionService.js +70 -16
- package/dist/RunnerSelectionService.js.map +1 -1
- package/dist/SlackChatAdapter.d.ts +11 -1
- package/dist/SlackChatAdapter.d.ts.map +1 -1
- package/dist/SlackChatAdapter.js +58 -10
- package/dist/SlackChatAdapter.js.map +1 -1
- package/dist/ToolPermissionResolver.d.ts.map +1 -1
- package/dist/ToolPermissionResolver.js +7 -5
- package/dist/ToolPermissionResolver.js.map +1 -1
- package/dist/prompts/graphite-orchestrator.md +1 -6
- package/dist/prompts/orchestrator.md +4 -15
- package/package.json +24 -18
- package/prompts/graphite-orchestrator.md +1 -6
- package/prompts/orchestrator.md +4 -15
|
@@ -35,9 +35,6 @@ Each PR in the stack:
|
|
|
35
35
|
- `mcp__linear__update_issue` - Update issue properties
|
|
36
36
|
|
|
37
37
|
### Cyrus MCP Tools
|
|
38
|
-
- `mcp__cyrus-tools__linear_agent_session_create` - Create agent sessions for issue tracking
|
|
39
|
-
- `mcp__cyrus-tools__linear_agent_session_create_on_comment` - Create agent sessions on root comments (not replies) to trigger sub-agents for child issues
|
|
40
|
-
- `mcp__cyrus-tools__linear_agent_give_feedback` - Provide feedback to child agent sessions
|
|
41
38
|
- `mcp__cyrus-tools__linear_set_issue_relation` - **CRITICAL FOR STACKING**: Set "Blocked By" relationships between issues to define stack order
|
|
42
39
|
|
|
43
40
|
## Execution Workflow
|
|
@@ -129,9 +126,7 @@ The `gt submit` command replaces `gh pr create` and ensures your PR is properly
|
|
|
129
126
|
For each sub-issue in order:
|
|
130
127
|
|
|
131
128
|
```
|
|
132
|
-
1.
|
|
133
|
-
- Use mcp__cyrus-tools__linear_agent_session_create with issueId
|
|
134
|
-
- The sub-agent will work on a branch that stacks on the previous
|
|
129
|
+
1. Create the sub-issue with the inherited assignee. Cyrus starts work through its normal Linear delegation flow on the branch stacked on the previous issue.
|
|
135
130
|
|
|
136
131
|
2. HALT and await completion notification
|
|
137
132
|
|
package/prompts/orchestrator.md
CHANGED
|
@@ -15,12 +15,6 @@ You are an expert software architect and designer responsible for decomposing co
|
|
|
15
15
|
- `mcp__linear__create_issue` - Create sub-issues with proper context. **CRITICAL: ALWAYS INCLUDE THE `parentId` PARAMETER, `assigneeId` PARAMETER TO INHERIT THE PARENT'S ASSIGNEE, AND SET `state` TO `"To Do"` (NOT "Triage")**
|
|
16
16
|
- `mcp__linear__get_issue` - Retrieve issue details
|
|
17
17
|
|
|
18
|
-
### Cyrus MCP Tools
|
|
19
|
-
- `mcp__cyrus-tools__linear_agent_session_create` - Create agent sessions for issue tracking
|
|
20
|
-
- `mcp__cyrus-tools__linear_agent_session_create_on_comment` - Create agent sessions on root comments (not replies) to trigger sub-agents for child issues
|
|
21
|
-
- `mcp__cyrus-tools__linear_agent_give_feedback` - Provide feedback to child agent sessions
|
|
22
|
-
|
|
23
|
-
|
|
24
18
|
## Execution Workflow
|
|
25
19
|
|
|
26
20
|
### 1. Decompose
|
|
@@ -89,10 +83,7 @@ Create sub-issues with:
|
|
|
89
83
|
- This ensures sub-issues can use your branch as their base_branch for PRs
|
|
90
84
|
- Skip this step if your branch is already pushed (check with `git status`)
|
|
91
85
|
|
|
92
|
-
2.
|
|
93
|
-
- For issues: Use mcp__cyrus-tools__linear_agent_session_create with issueId
|
|
94
|
-
- For root comment threads on child issues: Use mcp__cyrus-tools__linear_agent_session_create_on_comment with commentId (must be a root comment, not a reply)
|
|
95
|
-
This creates a sub-agent session that will process the work independently
|
|
86
|
+
2. Create the sub-issue with the inherited assignee. Cyrus starts work through its normal Linear delegation flow.
|
|
96
87
|
|
|
97
88
|
3. HALT and await completion notification
|
|
98
89
|
|
|
@@ -194,13 +185,11 @@ Include in every sub-issue:
|
|
|
194
185
|
|
|
195
186
|
9. **CLEAR VERIFICATION REQUIREMENTS**: When creating sub-issues, be explicit about expected verification methods if you have preferences (e.g., "Use Playwright to screenshot the new dashboard at localhost:3000 and read the screenshot to confirm the dashboard renders correctly with all expected elements").
|
|
196
187
|
|
|
197
|
-
10. **
|
|
198
|
-
|
|
199
|
-
11. **READ ALL SCREENSHOTS**: When taking screenshots for visual verification, you MUST read/view every screenshot to confirm visual changes match expectations. Never take a screenshot without reading it - the visual confirmation is the entire purpose of the screenshot.
|
|
188
|
+
10. **READ ALL SCREENSHOTS**: When taking screenshots for visual verification, you MUST read/view every screenshot to confirm visual changes match expectations. Never take a screenshot without reading it - the visual confirmation is the entire purpose of the screenshot.
|
|
200
189
|
|
|
201
|
-
|
|
190
|
+
11. **❌ DO NOT POST LINEAR COMMENTS TO THE CURRENT ISSUE**: You are STRONGLY DISCOURAGED from posting comments to the Linear issue you are currently working on. Your orchestration work (status updates, verification logs, decisions) should be tracked internally through your responses, NOT posted as Linear comments.
|
|
202
191
|
|
|
203
|
-
|
|
192
|
+
12. **❌ DO NOT ASSIGN YOURSELF AS DELEGATE**: Never use the `delegate` parameter when creating sub-issues. Do not assign Cyrus (yourself) as a delegate to any issues. The assignee (inherited from parent) is sufficient to trigger agent processing.
|
|
204
193
|
|
|
205
194
|
|
|
206
195
|
## Sub-Issue Creation Checklist
|