@cueloop/daemon 0.1.0-alpha.101 → 0.1.0-alpha.102

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cueloop/daemon",
3
- "version": "0.1.0-alpha.101",
3
+ "version": "0.1.0-alpha.102",
4
4
  "description": "The cueloop session daemon and its client: socket protocol, atomic store, resumable waits",
5
5
  "homepage": "https://github.com/mmurakaru/cueloop#readme",
6
6
  "bugs": {
@@ -44,8 +44,8 @@
44
44
  "access": "public"
45
45
  },
46
46
  "dependencies": {
47
- "@cueloop/extension-api": "0.1.0-alpha.101",
48
- "@cueloop/schema": "0.1.0-alpha.101",
47
+ "@cueloop/extension-api": "0.1.0-alpha.102",
48
+ "@cueloop/schema": "0.1.0-alpha.102",
49
49
  "@pierre/diffs": "^1.5.1",
50
50
  "effect": "^4.0.0",
51
51
  "smol-toml": "^1.9.0",
@@ -152,7 +152,14 @@ export class ThreadAgentManager {
152
152
  this.enqueue(state, revision, input, promptMirrorIdentity(params));
153
153
 
154
154
  if (params.commentId) {
155
- this.enqueueComment(state, thread, params.commentId, enqueue, params);
155
+ // Shared requests carry an accepted discussion snapshot; local requests read the saved note.
156
+ this.enqueueComment(
157
+ state,
158
+ thread,
159
+ params.commentId,
160
+ enqueue,
161
+ params.discussion === undefined ? undefined : params,
162
+ );
156
163
  } else if (params.retry) {
157
164
  const submission = submissions.find((entry) => entry.id === params.retry);
158
165