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.
Files changed (38) hide show
  1. package/dist/AgentSessionManager.d.ts +2 -0
  2. package/dist/AgentSessionManager.d.ts.map +1 -1
  3. package/dist/AgentSessionManager.js +39 -6
  4. package/dist/AgentSessionManager.js.map +1 -1
  5. package/dist/ChatSessionHandler.d.ts +36 -5
  6. package/dist/ChatSessionHandler.d.ts.map +1 -1
  7. package/dist/ChatSessionHandler.js +84 -18
  8. package/dist/ChatSessionHandler.js.map +1 -1
  9. package/dist/ConfigManager.d.ts.map +1 -1
  10. package/dist/ConfigManager.js +12 -0
  11. package/dist/ConfigManager.js.map +1 -1
  12. package/dist/EdgeWorker.d.ts +3 -0
  13. package/dist/EdgeWorker.d.ts.map +1 -1
  14. package/dist/EdgeWorker.js +122 -15
  15. package/dist/EdgeWorker.js.map +1 -1
  16. package/dist/PromptBuilder.d.ts.map +1 -1
  17. package/dist/PromptBuilder.js +2 -0
  18. package/dist/PromptBuilder.js.map +1 -1
  19. package/dist/RunnerConfigBuilder.d.ts +20 -5
  20. package/dist/RunnerConfigBuilder.d.ts.map +1 -1
  21. package/dist/RunnerConfigBuilder.js +26 -3
  22. package/dist/RunnerConfigBuilder.js.map +1 -1
  23. package/dist/RunnerSelectionService.d.ts +12 -7
  24. package/dist/RunnerSelectionService.d.ts.map +1 -1
  25. package/dist/RunnerSelectionService.js +70 -16
  26. package/dist/RunnerSelectionService.js.map +1 -1
  27. package/dist/SlackChatAdapter.d.ts +11 -1
  28. package/dist/SlackChatAdapter.d.ts.map +1 -1
  29. package/dist/SlackChatAdapter.js +58 -10
  30. package/dist/SlackChatAdapter.js.map +1 -1
  31. package/dist/ToolPermissionResolver.d.ts.map +1 -1
  32. package/dist/ToolPermissionResolver.js +7 -5
  33. package/dist/ToolPermissionResolver.js.map +1 -1
  34. package/dist/prompts/graphite-orchestrator.md +1 -6
  35. package/dist/prompts/orchestrator.md +4 -15
  36. package/package.json +24 -18
  37. package/prompts/graphite-orchestrator.md +1 -6
  38. 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. Trigger sub-agent session:
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
 
@@ -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. Start first sub-issue by triggering a new working session:
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. **USE** `linear_agent_session_create_on_comment` when you need to trigger a sub-agent on an existing issue's root comment thread (not a reply) - this creates a new working session without reassigning the issue
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
- 12. **❌ 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. The ONLY acceptable use of Linear commenting is when preparing to trigger a sub-agent session using `mcp__cyrus-tools__linear_agent_session_create_on_comment` - in that case, create a root comment on a child issue to provide context for the sub-agent, then use the tool to create the session on that comment.
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
- 13. **❌ 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.
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