@vaudience/aigentflow-flow-validator 0.15.3 → 0.18.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/dist/index.d.cts CHANGED
@@ -68,7 +68,10 @@ interface PropertyDefinition {
68
68
  min_items?: number;
69
69
  max_items?: number;
70
70
  }
71
- type QueryDefinition = PropertyDefinition;
71
+ interface QueryDefinition extends PropertyDefinition {
72
+ /** AIgentFlow v2.811.0: the parameter carries data from outside; every run marks it. */
73
+ untrusted?: boolean;
74
+ }
72
75
  interface ErrorStrategyDefinition {
73
76
  action?: string;
74
77
  max_retries?: number;
@@ -173,6 +176,10 @@ interface StepDefinition {
173
176
  credentials?: Record<string, CredentialBinding | null>;
174
177
  output_schema?: InputSchema;
175
178
  quality_gate?: QualityGateDefinition;
179
+ /** AIgentFlow v2.811.0: declassify this step's output (untrusted-input taint). */
180
+ trusted_output?: boolean;
181
+ /** AIgentFlow v2.811.0: sensitive parameters this step may build from outside data. */
182
+ allow_untrusted?: string[];
176
183
  [key: string]: unknown;
177
184
  }
178
185
  interface ExpressionFunctionDefinition {
@@ -202,6 +209,8 @@ interface InputSchemaField {
202
209
  accept?: string[];
203
210
  max_size?: number;
204
211
  visible_when?: VisibleWhenPredicate;
212
+ /** AIgentFlow v2.811.0: the field carries data from outside; every run marks it. */
213
+ untrusted?: boolean;
205
214
  }
206
215
  interface InputSchema {
207
216
  version?: number;
package/dist/index.d.ts CHANGED
@@ -68,7 +68,10 @@ interface PropertyDefinition {
68
68
  min_items?: number;
69
69
  max_items?: number;
70
70
  }
71
- type QueryDefinition = PropertyDefinition;
71
+ interface QueryDefinition extends PropertyDefinition {
72
+ /** AIgentFlow v2.811.0: the parameter carries data from outside; every run marks it. */
73
+ untrusted?: boolean;
74
+ }
72
75
  interface ErrorStrategyDefinition {
73
76
  action?: string;
74
77
  max_retries?: number;
@@ -173,6 +176,10 @@ interface StepDefinition {
173
176
  credentials?: Record<string, CredentialBinding | null>;
174
177
  output_schema?: InputSchema;
175
178
  quality_gate?: QualityGateDefinition;
179
+ /** AIgentFlow v2.811.0: declassify this step's output (untrusted-input taint). */
180
+ trusted_output?: boolean;
181
+ /** AIgentFlow v2.811.0: sensitive parameters this step may build from outside data. */
182
+ allow_untrusted?: string[];
176
183
  [key: string]: unknown;
177
184
  }
178
185
  interface ExpressionFunctionDefinition {
@@ -202,6 +209,8 @@ interface InputSchemaField {
202
209
  accept?: string[];
203
210
  max_size?: number;
204
211
  visible_when?: VisibleWhenPredicate;
212
+ /** AIgentFlow v2.811.0: the field carries data from outside; every run marks it. */
213
+ untrusted?: boolean;
205
214
  }
206
215
  interface InputSchema {
207
216
  version?: number;