@dudousxd/nestjs-agent-core 0.41.0 → 0.42.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,4 +1,4 @@
1
- import { A as AgentStreamEvent, U as UiCapabilities } from '../stream-events-CF-6-Y6L.cjs';
1
+ import { A as AgentStreamEvent, U as UiCapabilities } from '../stream-events-C-pj3bVY.cjs';
2
2
  import '@standard-schema/spec';
3
3
  import '../catalog-BKS3Yxo6.cjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { A as AgentStreamEvent, U as UiCapabilities } from '../stream-events-BGKLD6RX.js';
1
+ import { A as AgentStreamEvent, U as UiCapabilities } from '../stream-events-D92SgfRk.js';
2
2
  import '@standard-schema/spec';
3
3
  import '../catalog-BKS3Yxo6.js';
4
4
 
@@ -1,8 +1,8 @@
1
1
  import { a as Catalog, J as JsonSchema, G as GenuiValidation, b as GenuiIssue } from '../catalog-BKS3Yxo6.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-BKS3Yxo6.cjs';
3
3
  import { StandardSchemaV1, StandardJSONSchemaV1 } from '@standard-schema/spec';
4
- import { a as Actor, T as ToolSpec, b as ToolHandler, c as ToolPresentation } from '../stream-events-CF-6-Y6L.cjs';
5
- export { C as ChartProps, d as ComponentFactory, e as ComponentManifest, f as ComponentPresentation, g as ComponentRegistry, h as ComponentRenderer, P as PreparedUiEmission, i as TableCell, j as TableProps, U as UiCapabilities, k as chart, l as createComponent, m as createComponentRegistry, n as negotiateCatalog, p as prepareUiEmission, s as snapshotComponentPresentation, t as table, v as validatePresentationBatch, o as validateUiCapabilities } from '../stream-events-CF-6-Y6L.cjs';
4
+ import { a as Actor, T as ToolSpec, b as ToolHandler, c as ToolPresentation } from '../stream-events-C-pj3bVY.cjs';
5
+ export { C as ChartProps, d as ComponentFactory, e as ComponentManifest, f as ComponentPresentation, g as ComponentRegistry, h as ComponentRenderer, P as PreparedUiEmission, i as TableCell, j as TableProps, U as UiCapabilities, k as chart, l as createComponent, m as createComponentRegistry, n as negotiateCatalog, p as prepareUiEmission, s as snapshotComponentPresentation, t as table, v as validatePresentationBatch, o as validateUiCapabilities } from '../stream-events-C-pj3bVY.cjs';
6
6
 
7
7
  /**
8
8
  * One node of a composed UI: a catalog component, its props, and — for components declared with
@@ -1,8 +1,8 @@
1
1
  import { a as Catalog, J as JsonSchema, G as GenuiValidation, b as GenuiIssue } from '../catalog-BKS3Yxo6.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-BKS3Yxo6.js';
3
3
  import { StandardSchemaV1, StandardJSONSchemaV1 } from '@standard-schema/spec';
4
- import { a as Actor, T as ToolSpec, b as ToolHandler, c as ToolPresentation } from '../stream-events-BGKLD6RX.js';
5
- export { C as ChartProps, d as ComponentFactory, e as ComponentManifest, f as ComponentPresentation, g as ComponentRegistry, h as ComponentRenderer, P as PreparedUiEmission, i as TableCell, j as TableProps, U as UiCapabilities, k as chart, l as createComponent, m as createComponentRegistry, n as negotiateCatalog, p as prepareUiEmission, s as snapshotComponentPresentation, t as table, v as validatePresentationBatch, o as validateUiCapabilities } from '../stream-events-BGKLD6RX.js';
4
+ import { a as Actor, T as ToolSpec, b as ToolHandler, c as ToolPresentation } from '../stream-events-D92SgfRk.js';
5
+ export { C as ChartProps, d as ComponentFactory, e as ComponentManifest, f as ComponentPresentation, g as ComponentRegistry, h as ComponentRenderer, P as PreparedUiEmission, i as TableCell, j as TableProps, U as UiCapabilities, k as chart, l as createComponent, m as createComponentRegistry, n as negotiateCatalog, p as prepareUiEmission, s as snapshotComponentPresentation, t as table, v as validatePresentationBatch, o as validateUiCapabilities } from '../stream-events-D92SgfRk.js';
6
6
 
7
7
  /**
8
8
  * 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-BXM-MNga.cjs';
2
- import { a as Actor, b as ToolHandler } from '../stream-events-CF-6-Y6L.cjs';
1
+ import { I as InputProcessor, O as OutputProcessor } from '../processors-DpHBqRuE.cjs';
2
+ import { a as Actor, b as ToolHandler } from '../stream-events-C-pj3bVY.cjs';
3
3
  import '@standard-schema/spec';
4
4
  import '../catalog-BKS3Yxo6.cjs';
5
5
 
@@ -1,5 +1,5 @@
1
- import { I as InputProcessor, O as OutputProcessor } from '../processors-ByDr5POu.js';
2
- import { a as Actor, b as ToolHandler } from '../stream-events-BGKLD6RX.js';
1
+ import { I as InputProcessor, O as OutputProcessor } from '../processors-BKILjME5.js';
2
+ import { a as Actor, b as ToolHandler } from '../stream-events-D92SgfRk.js';
3
3
  import '@standard-schema/spec';
4
4
  import '../catalog-BKS3Yxo6.js';
5
5
 
package/dist/index.cjs CHANGED
@@ -8031,6 +8031,9 @@ var InMemoryAgentStore = class extends InMemoryActionProposalStore {
8031
8031
  ...input.uiCapabilities !== void 0 ? {
8032
8032
  uiCapabilities: input.uiCapabilities
8033
8033
  } : {},
8034
+ ...input.hostContext !== void 0 ? {
8035
+ hostContext: input.hostContext
8036
+ } : {},
8034
8037
  ...input.interrupt === true ? {
8035
8038
  interrupt: true
8036
8039
  } : {},