@orderful/droid 0.11.0 → 0.11.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @orderful/droid
2
2
 
3
+ ## 0.11.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#70](https://github.com/Orderful/droid/pull/70) [`1c0d6e1`](https://github.com/Orderful/droid/commit/1c0d6e134ecf906ae9a8cac4e738620536870530) Thanks [@frytyler](https://github.com/frytyler)! - feat(comments): add two-pass approach for coherent responses when addressing multiple @droid comments
8
+
3
9
  ## 0.11.0
4
10
 
5
11
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  name: comments
2
2
  description: "Enable inline conversations using @droid/@user markers. Tag @droid to ask the AI, AI responds with @{your-name}. Ideal for code review notes and async collaboration."
3
- version: 0.2.2
3
+ version: 0.2.3
4
4
  status: beta
5
5
 
6
6
  includes:
@@ -79,13 +79,22 @@ When you find a `@droid` marker:
79
79
 
80
80
  ### On `/comments check`:
81
81
 
82
+ **Use a two-pass approach for coherent responses:**
83
+
84
+ #### Pass 1: Read & Analyse
82
85
  1. **Read config first:** Check `~/.droid/skills/comments/overrides.yaml` for `preserve_comments` setting (default: `true`)
83
- 2. Search for `> @droid` (and any configured `ai_mentions`) in the specified scope
86
+ 2. Search for ALL `> @droid` comments (and any configured `ai_mentions`) in the specified scope
84
87
  3. If there's a `git diff`, check those files first for relevant context
85
- 4. For each comment, determine intent:
88
+ 4. **Read all comments before responding** - understand the full picture
89
+ 5. Look for connections between comments (one may inform another)
90
+ 6. Note any contradictions or tensions to address
91
+
92
+ #### Pass 2: Respond & Write
93
+ 1. For each comment, determine intent:
86
94
  - **Action request** ("do X", "add Y", "fix Z") → Execute the action
87
95
  - **Question** ("what do you think", "should we") → Respond with `> @{user_mention}`
88
- 5. **Handle original comment based on `preserve_comments`:**
96
+ 2. Ensure responses are coherent across all comments (don't contradict yourself)
97
+ 3. **Handle original comment based on `preserve_comments`:**
89
98
  - If `preserve_comments: true` → Keep the original `@droid` comment (add response below it)
90
99
  - If `preserve_comments: false` → Remove the original comment after addressing
91
100
 
@@ -1,6 +1,6 @@
1
1
  name: comments
2
2
  description: "Enable inline conversations using @droid/@user markers. Tag @droid to ask the AI, AI responds with @{your-name}. Use /comments check to address markers, /comments cleanup to remove resolved threads. Ideal for code review notes and async collaboration."
3
- version: 0.2.2
3
+ version: 0.2.3
4
4
  status: beta
5
5
  dependencies: []
6
6
  provides_output: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderful/droid",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "AI workflow toolkit for sharing skills, commands, and agents across the team",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  name: comments
2
2
  description: "Enable inline conversations using @droid/@user markers. Tag @droid to ask the AI, AI responds with @{your-name}. Ideal for code review notes and async collaboration."
3
- version: 0.2.2
3
+ version: 0.2.3
4
4
  status: beta
5
5
 
6
6
  includes:
@@ -79,13 +79,22 @@ When you find a `@droid` marker:
79
79
 
80
80
  ### On `/comments check`:
81
81
 
82
+ **Use a two-pass approach for coherent responses:**
83
+
84
+ #### Pass 1: Read & Analyse
82
85
  1. **Read config first:** Check `~/.droid/skills/comments/overrides.yaml` for `preserve_comments` setting (default: `true`)
83
- 2. Search for `> @droid` (and any configured `ai_mentions`) in the specified scope
86
+ 2. Search for ALL `> @droid` comments (and any configured `ai_mentions`) in the specified scope
84
87
  3. If there's a `git diff`, check those files first for relevant context
85
- 4. For each comment, determine intent:
88
+ 4. **Read all comments before responding** - understand the full picture
89
+ 5. Look for connections between comments (one may inform another)
90
+ 6. Note any contradictions or tensions to address
91
+
92
+ #### Pass 2: Respond & Write
93
+ 1. For each comment, determine intent:
86
94
  - **Action request** ("do X", "add Y", "fix Z") → Execute the action
87
95
  - **Question** ("what do you think", "should we") → Respond with `> @{user_mention}`
88
- 5. **Handle original comment based on `preserve_comments`:**
96
+ 2. Ensure responses are coherent across all comments (don't contradict yourself)
97
+ 3. **Handle original comment based on `preserve_comments`:**
89
98
  - If `preserve_comments: true` → Keep the original `@droid` comment (add response below it)
90
99
  - If `preserve_comments: false` → Remove the original comment after addressing
91
100
 
@@ -1,6 +1,6 @@
1
1
  name: comments
2
2
  description: "Enable inline conversations using @droid/@user markers. Tag @droid to ask the AI, AI responds with @{your-name}. Use /comments check to address markers, /comments cleanup to remove resolved threads. Ideal for code review notes and async collaboration."
3
- version: 0.2.2
3
+ version: 0.2.3
4
4
  status: beta
5
5
  dependencies: []
6
6
  provides_output: false