@sweny-ai/core 0.1.147 → 0.1.148
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/agent-env.d.ts +9 -0
- package/dist/agent-env.js +61 -0
- package/dist/cli/config-file.d.ts +1 -1
- package/dist/cli/config-file.js +1 -1
- package/dist/cli/config.js +6 -2
- package/dist/cli/run-output.js +1 -1
- package/dist/harness/agents.d.ts +1 -1
- package/dist/harness/agents.js +2 -2
- package/dist/harness/capabilities.d.ts +28 -0
- package/dist/harness/capabilities.js +40 -0
- package/dist/harness/index.d.ts +5 -1
- package/dist/harness/index.js +4 -0
- package/dist/harness/pi.d.ts +202 -0
- package/dist/harness/pi.js +966 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
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
|
|
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
|