@dudousxd/nestjs-agent-core 0.27.0 → 0.29.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.
@@ -1,7 +1,7 @@
1
1
  import { a as Catalog, J as JsonSchema, G as GenuiValidation, b as GenuiIssue } from '../catalog-CrzetM3_.cjs';
2
2
  export { A as AjvLike, c as COMPONENT_NAME, d as CatalogOptions, C as ComponentDefinition, e as JsonSchemaValidator, P as PropsSchema, f as ajvValidator, g as builtinJsonSchemaValidator, h as defineCatalog, i as defineComponent, j as formatIssues, k as isStandardSchema, t as toJsonSchema, l as toSnakeCase, m as toolNameFor, v as validateProps, n as validatePropsSync } from '../catalog-CrzetM3_.cjs';
3
3
  import { StandardSchemaV1, StandardJSONSchemaV1 } from '@standard-schema/spec';
4
- import { A as Actor, T as ToolSpec, a as ToolHandler, b as ToolPresentation } from '../tool-BXKG2xSm.cjs';
4
+ import { A as Actor, T as ToolSpec, a as ToolHandler, b as ToolPresentation } from '../tool-CON4ZOrD.cjs';
5
5
 
6
6
  /**
7
7
  * One node of a composed UI: a catalog component, its props, and — for components declared with
@@ -1,7 +1,7 @@
1
1
  import { a as Catalog, J as JsonSchema, G as GenuiValidation, b as GenuiIssue } from '../catalog-CrzetM3_.js';
2
2
  export { A as AjvLike, c as COMPONENT_NAME, d as CatalogOptions, C as ComponentDefinition, e as JsonSchemaValidator, P as PropsSchema, f as ajvValidator, g as builtinJsonSchemaValidator, h as defineCatalog, i as defineComponent, j as formatIssues, k as isStandardSchema, t as toJsonSchema, l as toSnakeCase, m as toolNameFor, v as validateProps, n as validatePropsSync } from '../catalog-CrzetM3_.js';
3
3
  import { StandardSchemaV1, StandardJSONSchemaV1 } from '@standard-schema/spec';
4
- import { A as Actor, T as ToolSpec, a as ToolHandler, b as ToolPresentation } from '../tool-BXKG2xSm.js';
4
+ import { A as Actor, T as ToolSpec, a as ToolHandler, b as ToolPresentation } from '../tool-CON4ZOrD.js';
5
5
 
6
6
  /**
7
7
  * One node of a composed UI: a catalog component, its props, and — for components declared with
@@ -1,5 +1,5 @@
1
- import { I as InputProcessor, O as OutputProcessor } from '../processors-Bf1fYLbY.cjs';
2
- import { A as Actor, a as ToolHandler } from '../tool-BXKG2xSm.cjs';
1
+ import { I as InputProcessor, O as OutputProcessor } from '../processors-3FixaBnr.cjs';
2
+ import { A as Actor, a as ToolHandler } from '../tool-CON4ZOrD.cjs';
3
3
  import '@standard-schema/spec';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { I as InputProcessor, O as OutputProcessor } from '../processors-CK1RWv0D.js';
2
- import { A as Actor, a as ToolHandler } from '../tool-BXKG2xSm.js';
1
+ import { I as InputProcessor, O as OutputProcessor } from '../processors-BrGKQgLf.js';
2
+ import { A as Actor, a as ToolHandler } from '../tool-CON4ZOrD.js';
3
3
  import '@standard-schema/spec';
4
4
 
5
5
  /**
package/dist/index.cjs CHANGED
@@ -4869,8 +4869,9 @@ var InMemoryAgentStore = class {
4869
4869
  return {
4870
4870
  ...this.toSummary(row),
4871
4871
  messages: row.messages.map((message) => this.withApprovals(message)),
4872
+ // The run streaming right now — the one field the read-model reports it under.
4872
4873
  ...row.activeStreamId !== void 0 ? {
4873
- activeStreamId: row.activeStreamId
4874
+ activeRunId: row.activeStreamId
4874
4875
  } : {}
4875
4876
  };
4876
4877
  }