@dudousxd/nestjs-agent-core 0.30.0 → 0.31.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-CfnSyIQf.cjs';
4
+ import { A as Actor, T as ToolSpec, a as ToolHandler, b as ToolPresentation } from '../tool-B0J4Fjyd.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-CfnSyIQf.js';
4
+ import { A as Actor, T as ToolSpec, a as ToolHandler, b as ToolPresentation } from '../tool-B0J4Fjyd.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-DdwZ0NFG.cjs';
2
- import { A as Actor, a as ToolHandler } from '../tool-CfnSyIQf.cjs';
1
+ import { I as InputProcessor, O as OutputProcessor } from '../processors-DdnRmmlq.cjs';
2
+ import { A as Actor, a as ToolHandler } from '../tool-B0J4Fjyd.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-8c9g9J6R.js';
2
- import { A as Actor, a as ToolHandler } from '../tool-CfnSyIQf.js';
1
+ import { I as InputProcessor, O as OutputProcessor } from '../processors-C3Qx3ZdF.js';
2
+ import { A as Actor, a as ToolHandler } from '../tool-B0J4Fjyd.js';
3
3
  import '@standard-schema/spec';
4
4
 
5
5
  /**
package/dist/index.cjs CHANGED
@@ -48,6 +48,7 @@ __export(src_exports, {
48
48
  AGENT_SPAN_EVENTS: () => AGENT_SPAN_EVENTS,
49
49
  AGENT_STORE: () => AGENT_STORE,
50
50
  AGENT_TOOL_REGISTRY: () => AGENT_TOOL_REGISTRY,
51
+ ALL_AGENTS: () => ALL_AGENTS,
51
52
  APPROVAL_EXPIRED_REASON: () => APPROVAL_EXPIRED_REASON,
52
53
  ASK_TOOL_DESCRIPTION: () => ASK_TOOL_DESCRIPTION,
53
54
  ASK_TOOL_NAME: () => ASK_TOOL_NAME,
@@ -490,6 +491,9 @@ function mergeUi(...lists) {
490
491
  }
491
492
  __name(mergeUi, "mergeUi");
492
493
 
494
+ // src/tool-presentation.ts
495
+ var ALL_AGENTS = "*";
496
+
493
497
  // src/spi/quota-provider.ts
494
498
  function exhaustedWindow(windows) {
495
499
  for (const window of windows) {
@@ -5578,6 +5582,7 @@ var InMemoryAgentStore = class {
5578
5582
  AGENT_SPAN_EVENTS,
5579
5583
  AGENT_STORE,
5580
5584
  AGENT_TOOL_REGISTRY,
5585
+ ALL_AGENTS,
5581
5586
  APPROVAL_EXPIRED_REASON,
5582
5587
  ASK_TOOL_DESCRIPTION,
5583
5588
  ASK_TOOL_NAME,