@sweny-ai/core 0.1.133 → 0.1.134

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/types.d.ts CHANGED
@@ -482,6 +482,13 @@ export interface NodeResult {
482
482
  * dry-run nodes that had no write tools.
483
483
  */
484
484
  skippedWrites?: string[];
485
+ /** Which harness ran this node (id + version). Set by harness adapters; absent for mocks. */
486
+ harness?: {
487
+ id: string;
488
+ version: string;
489
+ };
490
+ /** Opinions this run could not honor natively. Always empty for Claude Code. */
491
+ degraded?: string[];
485
492
  }
486
493
  export interface ToolCall {
487
494
  tool: string;
@@ -595,7 +602,14 @@ export interface ExecutionResult {
595
602
  /** Full execution trace including loops and routing decisions */
596
603
  trace: ExecutionTrace;
597
604
  }
605
+ /**
606
+ * @deprecated as the public seam: new code targets `AgentHarness`
607
+ * (harness/types.ts). This interface stays for back-compat;
608
+ * `claudeCompat()` wraps it into a harness.
609
+ */
598
610
  export interface Claude {
611
+ /** Default judge model when no evaluator, node or workflow names one. */
612
+ readonly defaultJudgeModel?: string;
599
613
  /** Run a node: give Claude an instruction, context, and tools */
600
614
  run(opts: {
601
615
  instruction: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sweny-ai/core",
3
- "version": "0.1.133",
3
+ "version": "0.1.134",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "sweny": "./dist/cli/main.js"