@treeseed/sdk 0.13.0-rc.38 → 0.13.0-rc.39

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.
@@ -94,12 +94,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
94
94
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
95
95
  }, "strict", z.ZodTypeAny, {
96
96
  system: string;
97
- task?: string | undefined;
98
97
  templates?: Record<string, string> | undefined;
98
+ task?: string | undefined;
99
99
  }, {
100
100
  system: string;
101
- task?: string | undefined;
102
101
  templates?: Record<string, string> | undefined;
102
+ task?: string | undefined;
103
103
  }>;
104
104
  branchPolicy: z.ZodObject<{
105
105
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -833,8 +833,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
833
833
  enabled: boolean;
834
834
  prompt: {
835
835
  system: string;
836
- task?: string | undefined;
837
836
  templates?: Record<string, string> | undefined;
837
+ task?: string | undefined;
838
838
  };
839
839
  branchPolicy: {
840
840
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -1006,8 +1006,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1006
1006
  enabled: boolean;
1007
1007
  prompt: {
1008
1008
  system: string;
1009
- task?: string | undefined;
1010
1009
  templates?: Record<string, string> | undefined;
1010
+ task?: string | undefined;
1011
1011
  };
1012
1012
  branchPolicy: {
1013
1013
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -1179,8 +1179,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1179
1179
  enabled: boolean;
1180
1180
  prompt: {
1181
1181
  system: string;
1182
- task?: string | undefined;
1183
1182
  templates?: Record<string, string> | undefined;
1183
+ task?: string | undefined;
1184
1184
  };
1185
1185
  branchPolicy: {
1186
1186
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -1352,8 +1352,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1352
1352
  enabled: boolean;
1353
1353
  prompt: {
1354
1354
  system: string;
1355
- task?: string | undefined;
1356
1355
  templates?: Record<string, string> | undefined;
1356
+ task?: string | undefined;
1357
1357
  };
1358
1358
  branchPolicy: {
1359
1359
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -1616,12 +1616,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1616
1616
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1617
1617
  }, "strict", z.ZodTypeAny, {
1618
1618
  system: string;
1619
- task?: string | undefined;
1620
1619
  templates?: Record<string, string> | undefined;
1620
+ task?: string | undefined;
1621
1621
  }, {
1622
1622
  system: string;
1623
- task?: string | undefined;
1624
1623
  templates?: Record<string, string> | undefined;
1624
+ task?: string | undefined;
1625
1625
  }>;
1626
1626
  branchPolicy: z.ZodObject<{
1627
1627
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -2355,8 +2355,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2355
2355
  enabled: boolean;
2356
2356
  prompt: {
2357
2357
  system: string;
2358
- task?: string | undefined;
2359
2358
  templates?: Record<string, string> | undefined;
2359
+ task?: string | undefined;
2360
2360
  };
2361
2361
  branchPolicy: {
2362
2362
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -2528,8 +2528,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2528
2528
  enabled: boolean;
2529
2529
  prompt: {
2530
2530
  system: string;
2531
- task?: string | undefined;
2532
2531
  templates?: Record<string, string> | undefined;
2532
+ task?: string | undefined;
2533
2533
  };
2534
2534
  branchPolicy: {
2535
2535
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -2701,8 +2701,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2701
2701
  enabled: boolean;
2702
2702
  prompt: {
2703
2703
  system: string;
2704
- task?: string | undefined;
2705
2704
  templates?: Record<string, string> | undefined;
2705
+ task?: string | undefined;
2706
2706
  };
2707
2707
  branchPolicy: {
2708
2708
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -2874,8 +2874,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2874
2874
  enabled: boolean;
2875
2875
  prompt: {
2876
2876
  system: string;
2877
- task?: string | undefined;
2878
2877
  templates?: Record<string, string> | undefined;
2878
+ task?: string | undefined;
2879
2879
  };
2880
2880
  branchPolicy: {
2881
2881
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -3138,12 +3138,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3138
3138
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3139
3139
  }, "strict", z.ZodTypeAny, {
3140
3140
  system: string;
3141
- task?: string | undefined;
3142
3141
  templates?: Record<string, string> | undefined;
3142
+ task?: string | undefined;
3143
3143
  }, {
3144
3144
  system: string;
3145
- task?: string | undefined;
3146
3145
  templates?: Record<string, string> | undefined;
3146
+ task?: string | undefined;
3147
3147
  }>;
3148
3148
  branchPolicy: z.ZodObject<{
3149
3149
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -3877,8 +3877,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3877
3877
  enabled: boolean;
3878
3878
  prompt: {
3879
3879
  system: string;
3880
- task?: string | undefined;
3881
3880
  templates?: Record<string, string> | undefined;
3881
+ task?: string | undefined;
3882
3882
  };
3883
3883
  branchPolicy: {
3884
3884
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -4050,8 +4050,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4050
4050
  enabled: boolean;
4051
4051
  prompt: {
4052
4052
  system: string;
4053
- task?: string | undefined;
4054
4053
  templates?: Record<string, string> | undefined;
4054
+ task?: string | undefined;
4055
4055
  };
4056
4056
  branchPolicy: {
4057
4057
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -4223,8 +4223,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4223
4223
  enabled: boolean;
4224
4224
  prompt: {
4225
4225
  system: string;
4226
- task?: string | undefined;
4227
4226
  templates?: Record<string, string> | undefined;
4227
+ task?: string | undefined;
4228
4228
  };
4229
4229
  branchPolicy: {
4230
4230
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -4396,8 +4396,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4396
4396
  enabled: boolean;
4397
4397
  prompt: {
4398
4398
  system: string;
4399
- task?: string | undefined;
4400
4399
  templates?: Record<string, string> | undefined;
4400
+ task?: string | undefined;
4401
4401
  };
4402
4402
  branchPolicy: {
4403
4403
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -4660,12 +4660,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4660
4660
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4661
4661
  }, "strict", z.ZodTypeAny, {
4662
4662
  system: string;
4663
- task?: string | undefined;
4664
4663
  templates?: Record<string, string> | undefined;
4664
+ task?: string | undefined;
4665
4665
  }, {
4666
4666
  system: string;
4667
- task?: string | undefined;
4668
4667
  templates?: Record<string, string> | undefined;
4668
+ task?: string | undefined;
4669
4669
  }>;
4670
4670
  branchPolicy: z.ZodObject<{
4671
4671
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -5399,8 +5399,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5399
5399
  enabled: boolean;
5400
5400
  prompt: {
5401
5401
  system: string;
5402
- task?: string | undefined;
5403
5402
  templates?: Record<string, string> | undefined;
5403
+ task?: string | undefined;
5404
5404
  };
5405
5405
  branchPolicy: {
5406
5406
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -5572,8 +5572,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5572
5572
  enabled: boolean;
5573
5573
  prompt: {
5574
5574
  system: string;
5575
- task?: string | undefined;
5576
5575
  templates?: Record<string, string> | undefined;
5576
+ task?: string | undefined;
5577
5577
  };
5578
5578
  branchPolicy: {
5579
5579
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -5745,8 +5745,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5745
5745
  enabled: boolean;
5746
5746
  prompt: {
5747
5747
  system: string;
5748
- task?: string | undefined;
5749
5748
  templates?: Record<string, string> | undefined;
5749
+ task?: string | undefined;
5750
5750
  };
5751
5751
  branchPolicy: {
5752
5752
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -5918,8 +5918,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5918
5918
  enabled: boolean;
5919
5919
  prompt: {
5920
5920
  system: string;
5921
- task?: string | undefined;
5922
5921
  templates?: Record<string, string> | undefined;
5922
+ task?: string | undefined;
5923
5923
  };
5924
5924
  branchPolicy: {
5925
5925
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -6182,12 +6182,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6182
6182
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6183
6183
  }, "strict", z.ZodTypeAny, {
6184
6184
  system: string;
6185
- task?: string | undefined;
6186
6185
  templates?: Record<string, string> | undefined;
6186
+ task?: string | undefined;
6187
6187
  }, {
6188
6188
  system: string;
6189
- task?: string | undefined;
6190
6189
  templates?: Record<string, string> | undefined;
6190
+ task?: string | undefined;
6191
6191
  }>;
6192
6192
  branchPolicy: z.ZodObject<{
6193
6193
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -6921,8 +6921,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6921
6921
  enabled: boolean;
6922
6922
  prompt: {
6923
6923
  system: string;
6924
- task?: string | undefined;
6925
6924
  templates?: Record<string, string> | undefined;
6925
+ task?: string | undefined;
6926
6926
  };
6927
6927
  branchPolicy: {
6928
6928
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -7094,8 +7094,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7094
7094
  enabled: boolean;
7095
7095
  prompt: {
7096
7096
  system: string;
7097
- task?: string | undefined;
7098
7097
  templates?: Record<string, string> | undefined;
7098
+ task?: string | undefined;
7099
7099
  };
7100
7100
  branchPolicy: {
7101
7101
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -7267,8 +7267,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7267
7267
  enabled: boolean;
7268
7268
  prompt: {
7269
7269
  system: string;
7270
- task?: string | undefined;
7271
7270
  templates?: Record<string, string> | undefined;
7271
+ task?: string | undefined;
7272
7272
  };
7273
7273
  branchPolicy: {
7274
7274
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -7440,8 +7440,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7440
7440
  enabled: boolean;
7441
7441
  prompt: {
7442
7442
  system: string;
7443
- task?: string | undefined;
7444
7443
  templates?: Record<string, string> | undefined;
7444
+ task?: string | undefined;
7445
7445
  };
7446
7446
  branchPolicy: {
7447
7447
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -7708,12 +7708,12 @@ export declare function validateAgentDefinitionModel(value: unknown): {
7708
7708
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7709
7709
  }, "strict", z.ZodTypeAny, {
7710
7710
  system: string;
7711
- task?: string | undefined;
7712
7711
  templates?: Record<string, string> | undefined;
7712
+ task?: string | undefined;
7713
7713
  }, {
7714
7714
  system: string;
7715
- task?: string | undefined;
7716
7715
  templates?: Record<string, string> | undefined;
7716
+ task?: string | undefined;
7717
7717
  }>;
7718
7718
  branchPolicy: z.ZodObject<{
7719
7719
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -8447,8 +8447,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8447
8447
  enabled: boolean;
8448
8448
  prompt: {
8449
8449
  system: string;
8450
- task?: string | undefined;
8451
8450
  templates?: Record<string, string> | undefined;
8451
+ task?: string | undefined;
8452
8452
  };
8453
8453
  branchPolicy: {
8454
8454
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -8620,8 +8620,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8620
8620
  enabled: boolean;
8621
8621
  prompt: {
8622
8622
  system: string;
8623
- task?: string | undefined;
8624
8623
  templates?: Record<string, string> | undefined;
8624
+ task?: string | undefined;
8625
8625
  };
8626
8626
  branchPolicy: {
8627
8627
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -8793,8 +8793,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8793
8793
  enabled: boolean;
8794
8794
  prompt: {
8795
8795
  system: string;
8796
- task?: string | undefined;
8797
8796
  templates?: Record<string, string> | undefined;
8797
+ task?: string | undefined;
8798
8798
  };
8799
8799
  branchPolicy: {
8800
8800
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -8966,8 +8966,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8966
8966
  enabled: boolean;
8967
8967
  prompt: {
8968
8968
  system: string;
8969
- task?: string | undefined;
8970
8969
  templates?: Record<string, string> | undefined;
8970
+ task?: string | undefined;
8971
8971
  };
8972
8972
  branchPolicy: {
8973
8973
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -157,14 +157,14 @@ export declare const agentForensicPayloadSchema: z.ZodObject<{
157
157
  severity: "error" | "warning" | "info";
158
158
  }>, "many">>;
159
159
  }, "strict", z.ZodTypeAny, {
160
- contract: "treeseed.agent-forensic-payload/v1";
161
- activity: AgentActivityEvent;
162
160
  diagnostics: {
163
161
  code: string;
164
162
  path: string;
165
163
  message: string;
166
164
  severity: "error" | "warning" | "info";
167
165
  }[];
166
+ contract: "treeseed.agent-forensic-payload/v1";
167
+ activity: AgentActivityEvent;
168
168
  payload?: Record<string, unknown> | undefined;
169
169
  transcript?: {
170
170
  entries: Record<string, unknown>[];
@@ -180,6 +180,12 @@ export declare const agentForensicPayloadSchema: z.ZodObject<{
180
180
  contract: "treeseed.agent-forensic-payload/v1";
181
181
  activity: AgentActivityEvent;
182
182
  payload?: Record<string, unknown> | undefined;
183
+ diagnostics?: {
184
+ code: string;
185
+ path: string;
186
+ message: string;
187
+ severity: "error" | "warning" | "info";
188
+ }[] | undefined;
183
189
  transcript?: {
184
190
  entries: Record<string, unknown>[];
185
191
  page: {
@@ -190,12 +196,6 @@ export declare const agentForensicPayloadSchema: z.ZodObject<{
190
196
  executionRunId: string;
191
197
  redactionStatus: "sanitized" | "partially-redacted" | "withheld";
192
198
  } | undefined;
193
- diagnostics?: {
194
- code: string;
195
- path: string;
196
- message: string;
197
- severity: "error" | "warning" | "info";
198
- }[] | undefined;
199
199
  }>;
200
200
  export type AgentActivityQuery = z.infer<typeof agentActivityQuerySchema>;
201
201
  export type AgentActivityPage = z.infer<typeof agentActivityPageSchema>;