@memgrafter/flatagents 2.1.0 → 2.2.0

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/MACHINES.md CHANGED
@@ -22,7 +22,7 @@
22
22
  ```yaml
23
23
  # profiles.yml — agents reference by name
24
24
  spec: flatprofiles
25
- spec_version: "2.1.0"
25
+ spec_version: "2.2.0"
26
26
  data:
27
27
  model_profiles:
28
28
  fast: { provider: cerebras, name: zai-glm-4.6, temperature: 0.6 }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memgrafter/flatagents",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "TypeScript SDK for FlatAgents - Declarative LLM orchestration with YAML",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -149,7 +149,7 @@
149
149
  * The profile field specifies which profile name to use as base.
150
150
  */
151
151
 
152
- export const SPEC_VERSION = "2.1.0";
152
+ export const SPEC_VERSION = "2.2.0";
153
153
 
154
154
  export interface AgentWrapper {
155
155
  spec: "flatagent";
@@ -1,4 +1,4 @@
1
- export const SPEC_VERSION = "2.1.0";
1
+ export const SPEC_VERSION = "2.2.0";
2
2
  export interface AgentWrapper {
3
3
  spec: "flatagent";
4
4
  spec_version: string;
@@ -800,7 +800,7 @@ export interface BackendConfig {
800
800
  aws_region?: string;
801
801
  }
802
802
 
803
- export const SPEC_VERSION = "2.1.0";
803
+ export const SPEC_VERSION = "2.2.0";
804
804
 
805
805
  export interface SDKRuntimeWrapper {
806
806
  spec: "flatagents-runtime";
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "spec_version": {
13
13
  "type": "string",
14
- "const": "2.1.0"
14
+ "const": "2.2.0"
15
15
  },
16
16
  "execution_lock": {
17
17
  "$ref": "#/definitions/ExecutionLock"
@@ -252,7 +252,7 @@ export interface BackendConfig {
252
252
  dynamodb_table?: string;
253
253
  aws_region?: string;
254
254
  }
255
- export const SPEC_VERSION = "2.1.0";
255
+ export const SPEC_VERSION = "2.2.0";
256
256
  export interface SDKRuntimeWrapper {
257
257
  spec: "flatagents-runtime";
258
258
  spec_version: typeof SPEC_VERSION;
@@ -316,9 +316,10 @@
316
316
  * parent_execution_id - Lineage tracking (v0.4.0)
317
317
  * pending_launches - Outbox pattern (v0.4.0)
318
318
  * waiting_channel - Signal channel this machine is blocked on (v1.2.0)
319
+ * config_hash - Content-addressed machine config key for cross-SDK resume (v2.1.0)
319
320
  */
320
321
 
321
- export const SPEC_VERSION = "2.1.0";
322
+ export const SPEC_VERSION = "2.2.0";
322
323
 
323
324
  export interface MachineWrapper {
324
325
  spec: "flatmachine";
@@ -461,6 +462,7 @@ export interface MachineSnapshot {
461
462
  tool_calls_count: number;
462
463
  loop_cost: number;
463
464
  };
465
+ config_hash?: string;
464
466
  }
465
467
 
466
468
  export interface PersistenceConfig {
@@ -1,4 +1,4 @@
1
- export const SPEC_VERSION = "2.1.0";
1
+ export const SPEC_VERSION = "2.2.0";
2
2
  export interface MachineWrapper {
3
3
  spec: "flatmachine";
4
4
  spec_version: string;
@@ -123,6 +123,7 @@ export interface MachineSnapshot {
123
123
  tool_calls_count: number;
124
124
  loop_cost: number;
125
125
  };
126
+ config_hash?: string;
126
127
  }
127
128
  export interface PersistenceConfig {
128
129
  enabled: boolean;
@@ -108,7 +108,7 @@
108
108
  * stream - Enable streaming responses (default: false)
109
109
  */
110
110
 
111
- export const SPEC_VERSION = "2.1.0";
111
+ export const SPEC_VERSION = "2.2.0";
112
112
 
113
113
  export interface ProfilesWrapper {
114
114
  spec: "flatprofiles";
@@ -1,4 +1,4 @@
1
- export const SPEC_VERSION = "2.1.0";
1
+ export const SPEC_VERSION = "2.2.0";
2
2
  export interface ProfilesWrapper {
3
3
  spec: "flatprofiles";
4
4
  spec_version: string;