@peakflo/agent-harness 0.2.11-rc.1 → 0.2.11-rc.3

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 (2) hide show
  1. package/dist/harness.js +4 -1
  2. package/package.json +4 -2
package/dist/harness.js CHANGED
@@ -1577,7 +1577,10 @@ class Harness {
1577
1577
  if (this.options.runtime !== 'sandbox' ||
1578
1578
  typeof version !== 'string' ||
1579
1579
  version.length === 0 ||
1580
- version === (0, version_1.getHarnessVersion)() ||
1580
+ // A degraded harness is the warm fallback copy. It may report the same
1581
+ // version as the pin, but it was not installed from the verified pin,
1582
+ // so a same-version upgrade is still requested to reinstall it.
1583
+ (version === (0, version_1.getHarnessVersion)() && !this.options.degraded) ||
1581
1584
  this.pendingHarnessVersion) {
1582
1585
  return;
1583
1586
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peakflo/agent-harness",
3
- "version": "0.2.11-rc.1",
3
+ "version": "0.2.11-rc.3",
4
4
  "description": "Headless Peakflo coding-agent harness. One codebase, three hosting modes: a Daytona cloud sandbox, a customer VM, and the 20x desktop.",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -36,11 +36,13 @@
36
36
  "undici": "^7.21.0"
37
37
  },
38
38
  "dependencies": {
39
- "@anthropic-ai/claude-agent-sdk": "0.3.258",
40
39
  "@modelcontextprotocol/client": "2.0.0",
41
40
  "@peculiar/x509": "^2.1.0",
42
41
  "reflect-metadata": "^0.2.2"
43
42
  },
43
+ "optionalDependencies": {
44
+ "@anthropic-ai/claude-agent-sdk": "0.3.258"
45
+ },
44
46
  "repository": {
45
47
  "type": "git",
46
48
  "url": "https://github.com/peakflo/workflow-builder.git",