@atolis-hq/wake 0.4.93 → 0.4.94

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.
@@ -124,6 +124,6 @@ export function resolveWakeVersion(options = {}) {
124
124
  return `g${headHash.slice(0, 7)}`;
125
125
  return '0.1.0-dev';
126
126
  }
127
- export const wakeVersion = "v0.4.93";
127
+ export const wakeVersion = "v0.4.94";
128
128
  /** The registry-installable version used by packaged sandbox images. */
129
129
  export const wakePackageVersion = packageVersion(defaultRepoRoot) ?? wakeVersion;
@@ -72,7 +72,7 @@ async function applyExternalCommand(orchestration, feedback, event, input, conte
72
72
  const prior = (await feedback?.conversations.get(event.conversationId))?.entries.find((entry) => entry.entryId === entryId);
73
73
  // A recorded receipt fixes the result even if publication retries after the workflow changes.
74
74
  if (prior !== undefined && feedback !== undefined) {
75
- if (canPublish)
75
+ if (canPublish && prior.body !== 'Command applied.')
76
76
  await feedback.publish(event, prior.body, context);
77
77
  return;
78
78
  }
@@ -86,6 +86,6 @@ async function applyExternalCommand(orchestration, feedback, event, input, conte
86
86
  body,
87
87
  origin: { kind: ConversationOriginKind.ControlPlane, actorId: 'wake' },
88
88
  }, context);
89
- if (canPublish)
89
+ if (canPublish && !result.applied)
90
90
  await feedback.publish(event, body, context);
91
91
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atolis-hq/wake",
3
- "version": "0.4.93",
3
+ "version": "0.4.94",
4
4
  "description": "Local autonomous agent control plane for software development",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {