@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.
- package/dist/genui/index.d.cts +1 -1
- package/dist/genui/index.d.ts +1 -1
- package/dist/guardrails/index.d.cts +2 -2
- package/dist/guardrails/index.d.ts +2 -2
- package/dist/index.cjs +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/{processors-8c9g9J6R.d.ts → processors-C3Qx3ZdF.d.ts} +1 -1
- package/dist/{processors-DdwZ0NFG.d.cts → processors-DdnRmmlq.d.cts} +1 -1
- package/dist/{tool-CfnSyIQf.d.cts → tool-B0J4Fjyd.d.cts} +6 -1
- package/dist/{tool-CfnSyIQf.d.ts → tool-B0J4Fjyd.d.ts} +6 -1
- package/package.json +1 -1
package/dist/genui/index.d.cts
CHANGED
|
@@ -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-
|
|
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
|
package/dist/genui/index.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
2
|
-
import { A as Actor, a as ToolHandler } from '../tool-
|
|
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-
|
|
2
|
-
import { A as Actor, a as ToolHandler } from '../tool-
|
|
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,
|