@peakflo/agent-harness 0.2.9-rc.1 → 0.2.9-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.
- package/README.md +51 -5
- package/dist/adapter-resolver.d.ts +61 -0
- package/dist/adapter-resolver.js +243 -0
- package/dist/adapters/claude-code-adapter.js +5 -1
- package/dist/cli.js +26 -22
- package/dist/harness-discovery.d.ts +39 -8
- package/dist/harness-discovery.js +117 -32
- package/dist/harness.d.ts +54 -0
- package/dist/harness.js +173 -15
- package/dist/node-floor.d.ts +46 -0
- package/dist/node-floor.js +76 -0
- package/dist/runtime/session-runner.d.ts +27 -1
- package/dist/runtime/session-runner.js +66 -3
- package/dist/store/conversation-store.js +2 -0
- package/dist/store/sqlite-store.d.ts +17 -0
- package/dist/store/sqlite-store.js +26 -0
- package/dist/types.d.ts +14 -0
- package/dist/vendor-backends.d.ts +77 -0
- package/dist/vendor-backends.js +167 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.js +11 -0
- package/package.json +1 -1
package/dist/version.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getHarnessVersion = getHarnessVersion;
|
|
4
|
+
exports.getNodeFloor = getNodeFloor;
|
|
4
5
|
exports.getInstalledSandboxToolsVersion = getInstalledSandboxToolsVersion;
|
|
5
6
|
exports.getAttemptedSandboxToolsVersion = getAttemptedSandboxToolsVersion;
|
|
6
7
|
exports.getPiVersion = getPiVersion;
|
|
@@ -23,6 +24,16 @@ function getHarnessVersion() {
|
|
|
23
24
|
}
|
|
24
25
|
return cachedHarnessVersion;
|
|
25
26
|
}
|
|
27
|
+
/** `engines.node` of THIS package (e.g. `>=22.19`), or null when unreadable. */
|
|
28
|
+
function getNodeFloor() {
|
|
29
|
+
try {
|
|
30
|
+
const pkg = JSON.parse((0, node_fs_1.readFileSync)((0, node_path_1.join)(__dirname, '..', 'package.json'), 'utf8'));
|
|
31
|
+
return typeof pkg.engines?.node === 'string' ? pkg.engines.node : null;
|
|
32
|
+
}
|
|
33
|
+
catch {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
26
37
|
/**
|
|
27
38
|
* The version of the SANDBOX TOOLS layer (gh, @peculiar/x509, ...) currently
|
|
28
39
|
* installed, or null when nothing was ever synced — a self-hosted runner or
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peakflo/agent-harness",
|
|
3
|
-
"version": "0.2.9-rc.
|
|
3
|
+
"version": "0.2.9-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",
|