@darkhorseprojects/circuitry 0.3.1 → 0.3.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/dist/presets.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import type { CircuitryAgentPreset, CircuitryGraph } from "./graph";
2
2
  export declare const CIRCUITRY_AGENT_PRESET_DIRS: readonly [".agents/agents", ".circuitry/agents", "~/.agents/agents", "~/.circuitry/agents"];
3
- export declare const parseAgentPresetMarkdown: (text: string, fallbackName: string) => CircuitryAgentPreset;
3
+ export declare const parseAgentPresetMarkdown: (text: string, defaultName: string) => CircuitryAgentPreset;
4
4
  export declare const applyAgentPresets: (graph: CircuitryGraph, presets: Record<string, CircuitryAgentPreset>) => CircuitryGraph;
@@ -21,7 +21,7 @@ export declare const runCircuitryGraphExecution: ({ graph, selectedNodeId, execu
21
21
  inputNodeIds: Set<string>;
22
22
  graph: CircuitryGraph;
23
23
  }) => Promise<NodeContextInput[]> | NodeContextInput[];
24
- onNodeStart?: (nodeId: string, fallbackCycle: boolean) => void;
24
+ onNodeStart?: (nodeId: string, cycle: boolean) => void;
25
25
  onNodeComplete?: (nodeId: string, result: {
26
26
  output?: string;
27
27
  error?: string;
@@ -16,7 +16,7 @@ export type SimulationNode = {
16
16
  };
17
17
  export type SimulationRunItem = {
18
18
  nodeId: string;
19
- fallbackCycle: boolean;
19
+ cycle: boolean;
20
20
  inputNodeIds: string[];
21
21
  output: string;
22
22
  error?: string;
@@ -35,7 +35,6 @@ export type NodeExecutionRequest = {
35
35
  nodeId: string;
36
36
  model: string;
37
37
  tools: string[];
38
- thinkingLevel: "off" | "minimal" | "low" | "medium" | "high" | "xhigh";
39
38
  prompt: string;
40
39
  personality: string;
41
40
  instructions: string;
@@ -70,7 +69,7 @@ export declare const runGraphExecution: ({ elements, mode, selectedNodeId, execu
70
69
  incomingSourceIds: string[];
71
70
  elements: readonly SceneElement[];
72
71
  }) => Promise<NodeContextInput[]> | NodeContextInput[];
73
- onNodeStart?: (nodeId: string, fallbackCycle: boolean) => void;
72
+ onNodeStart?: (nodeId: string, cycle: boolean) => void;
74
73
  onNodeComplete?: (nodeId: string, result: {
75
74
  output?: string;
76
75
  error?: string;
@@ -80,7 +79,7 @@ export declare const runGraphExecution: ({ elements, mode, selectedNodeId, execu
80
79
  export declare const runDependencySimulation: ({ elements, executeNode, onNodeStart, onNodeComplete, maxParallelRuns, }: {
81
80
  elements: readonly SceneElement[];
82
81
  executeNode: (request: NodeExecutionRequest) => Promise<NodeExecutionResult>;
83
- onNodeStart?: (nodeId: string, fallbackCycle: boolean) => void;
82
+ onNodeStart?: (nodeId: string, cycle: boolean) => void;
84
83
  onNodeComplete?: (nodeId: string, result: {
85
84
  output?: string;
86
85
  error?: string;
package/dist/types.d.ts CHANGED
@@ -7,7 +7,6 @@ export type CircuitryNodeData = {
7
7
  label: string;
8
8
  model: string;
9
9
  tools: string[];
10
- thinkingLevel: "off" | "minimal" | "low" | "medium" | "high" | "xhigh";
11
10
  personality: string;
12
11
  instructions: string;
13
12
  context: string;
package/dist/yaml.d.ts CHANGED
@@ -1,9 +1,11 @@
1
1
  import { type CircuitryGraph, type CircuitryValidationStandard } from "./graph";
2
+ export declare const parseYamlData: (text: string) => unknown;
3
+ export declare const stringifyYamlData: (value: unknown) => string;
2
4
  export declare const parseCircuitryYaml: (text: string, standard?: CircuitryValidationStandard, options?: {
3
5
  validate?: boolean;
4
6
  }) => CircuitryGraph;
5
7
  export declare const stringifyCircuitryYaml: (graph: CircuitryGraph) => string;
6
- export declare const parseCircuitryText: (text: string, filename?: string, standard?: CircuitryValidationStandard, options?: {
8
+ export declare const parseCircuitryText: (text: string, standard?: CircuitryValidationStandard, options?: {
7
9
  validate?: boolean;
8
10
  }) => CircuitryGraph;
9
- export declare const stringifyCircuitryText: (graph: CircuitryGraph, filename?: string) => string;
11
+ export declare const stringifyCircuitryText: (graph: CircuitryGraph) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darkhorseprojects/circuitry",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -34,8 +34,8 @@
34
34
  "url": "git+https://github.com/darkhorseprojects/circuitry.git"
35
35
  },
36
36
  "dependencies": {
37
+ "@earendil-works/pi-coding-agent": "latest",
37
38
  "yaml": "^2.8.4",
38
- "zod": "^3.25.76",
39
- "@earendil-works/pi-coding-agent": "latest"
39
+ "zod": "^3.25.76"
40
40
  }
41
41
  }