@peakflo/agent-harness 0.2.19-rc.1 → 0.2.20-rc.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.
@@ -13,7 +13,7 @@ export interface GitHubProxyOptions {
13
13
  certificates: GitHubProxyCertificates;
14
14
  findSession(sentinel: string): GitHubProxySession | undefined;
15
15
  isDirectHostAllowed?(hostname: string): boolean;
16
- /** Local runners use normal HTTPS egress for non-GitHub hosts. */
16
+ /** Tunnel non-GitHub HTTPS; the host network still enforces egress rules. */
17
17
  allowDirectHttps?: boolean;
18
18
  logger?: Pick<Console, 'warn'>;
19
19
  connectDirect?: (hostname: string, port: number) => Socket;
package/dist/harness.js CHANGED
@@ -329,7 +329,9 @@ class Harness {
329
329
  root: options.workspaceRoot,
330
330
  port: options.githubProxyPort,
331
331
  directUrls: [options.controlPlaneUrl],
332
- allowDirectHttps: options.runtime === 'desktop' || options.runtime === 'self-hosted'
332
+ // Package managers inherit HTTPS_PROXY too. Tunnel non-GitHub HTTPS
333
+ // in every runtime; Daytona owns any sandbox egress restrictions.
334
+ allowDirectHttps: true
333
335
  });
334
336
  this.secrets = deps.secrets ?? new ports_default_1.NoSecretProvider();
335
337
  this.events = deps.events ?? new ports_default_1.NullEventSink();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peakflo/agent-harness",
3
- "version": "0.2.19-rc.1",
3
+ "version": "0.2.20-rc.1",
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",