@sweny-ai/core 0.1.147 → 0.1.149

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/dist/index.d.ts CHANGED
@@ -31,8 +31,8 @@ export { resolveNodePermissions, buildNodePolicy } from "./node-policy.js";
31
31
  export type { ResolvedPermissions } from "./node-policy.js";
32
32
  export { applySafeOutputs, createEmitOutputTool, resolveActor, EMIT_OUTPUT_TOOL } from "./safe-outputs.js";
33
33
  export type { SafeOutputIntent, ActorInfo, WriteStageState } from "./safe-outputs.js";
34
- export { createHarness, claudeCompat, asClaude, policyGate, ClaudeCodeHarness, CodexHarness, SUPPORTED_AGENTS, } from "./harness/index.js";
35
- export type { AgentHarness, HarnessCapabilities, HarnessId, HarnessInfo, HarnessRunRequest, HarnessRunResult, NodePolicy, PolicyGateResult, PolicyWrappers, ToolClass, ClaudeCodeHarnessOptions, CodexHarnessOptions, } from "./harness/index.js";
34
+ export { createHarness, claudeCompat, asClaude, policyGate, ClaudeCodeHarness, CodexHarness, PiHarness, SUPPORTED_AGENTS, } from "./harness/index.js";
35
+ export type { AgentHarness, HarnessCapabilities, HarnessId, HarnessInfo, HarnessRunRequest, HarnessRunResult, NodePolicy, PolicyGateResult, PolicyWrappers, ToolClass, ClaudeCodeHarnessOptions, CodexHarnessOptions, PiHarnessOptions, } from "./harness/index.js";
36
36
  export { ClaudeClient, resolveAuthEnv } from "./harness/claude-code.js";
37
37
  export type { ClaudeClientOptions, SwenyAuthMode, ResolveAuthEnvOpts } from "./harness/claude-code.js";
38
38
  export { resolveExecutionModel } from "./model.js";
package/dist/index.js CHANGED
@@ -30,8 +30,8 @@ export { execute, RouteEvaluationError } from "./executor.js";
30
30
  // Least-privilege nodes and safe outputs (#365)
31
31
  export { resolveNodePermissions, buildNodePolicy } from "./node-policy.js";
32
32
  export { applySafeOutputs, createEmitOutputTool, resolveActor, EMIT_OUTPUT_TOOL } from "./safe-outputs.js";
33
- // Agent harness (the seam) and its adapters: Claude Code and Codex
34
- export { createHarness, claudeCompat, asClaude, policyGate, ClaudeCodeHarness, CodexHarness, SUPPORTED_AGENTS, } from "./harness/index.js";
33
+ // Agent harness (the seam) and its adapters: Claude Code, Codex and pi
34
+ export { createHarness, claudeCompat, asClaude, policyGate, ClaudeCodeHarness, CodexHarness, PiHarness, SUPPORTED_AGENTS, } from "./harness/index.js";
35
35
  // Claude client (back-compat: ClaudeClient is ClaudeCodeHarness, @deprecated)
36
36
  export { ClaudeClient, resolveAuthEnv } from "./harness/claude-code.js";
37
37
  // Execution model resolution
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sweny-ai/core",
3
- "version": "0.1.147",
3
+ "version": "0.1.149",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "sweny": "./dist/cli/main.js"