@mcp-abap-adt/llm-agent 19.1.1 → 19.1.2

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,6 +1,6 @@
1
1
  import type { ILlm } from './llm.js';
2
2
  import type { IStageHandler } from './plugin.js';
3
- export type PipelineFactoryKind = 'linear' | 'dag' | 'cyclic' | 'planned' | 'deep-stepper';
3
+ export type PipelineFactoryKind = 'linear' | 'dag' | 'cyclic' | 'planned' | 'deep-stepper' | 'controller';
4
4
  /** The built, ready-to-register `coordinator` stage handler for one pipeline. */
5
5
  export interface BuiltCoordinator {
6
6
  handler: IStageHandler<unknown>;
@@ -12,9 +12,14 @@ export interface PipelineFactoryDepsBase {
12
12
  /** Invoke an MCP tool by name; returns its textual result. */
13
13
  callMcp: (name: string, args: unknown, signal?: AbortSignal) => Promise<string>;
14
14
  }
15
- /** A factory builds one pipeline variant's coordinator from a typed config. */
16
- export interface IPipelineFactory<TConfig = unknown> {
15
+ /**
16
+ * A factory builds one pipeline variant's coordinator from a typed config.
17
+ * `TDeps` lets a factory declare the concrete (super-base) deps shape it needs,
18
+ * so callers pass exactly what `build` consumes instead of the bare base (which
19
+ * would leave factory-specific deps `undefined`). Defaults to the base.
20
+ */
21
+ export interface IPipelineFactory<TConfig = unknown, TDeps extends PipelineFactoryDepsBase = PipelineFactoryDepsBase> {
17
22
  readonly kind: PipelineFactoryKind;
18
- build(config: TConfig, deps: PipelineFactoryDepsBase): Promise<BuiltCoordinator>;
23
+ build(config: TConfig, deps: TDeps): Promise<BuiltCoordinator>;
19
24
  }
20
25
  //# sourceMappingURL=pipeline-factory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-factory.d.ts","sourceRoot":"","sources":["../../src/interfaces/pipeline-factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,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C;IAC7C,8DAA8D;IAC9D,OAAO,EAAE,CACP,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,OAAO,EACb,MAAM,CAAC,EAAE,WAAW,KACjB,OAAO,CAAC,MAAM,CAAC,CAAC;CACtB;AAED;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB,CAC/B,OAAO,GAAG,OAAO,EACjB,KAAK,SAAS,uBAAuB,GAAG,uBAAuB;IAE/D,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IACnC,KAAK,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;CAChE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/llm-agent",
3
- "version": "19.1.1",
3
+ "version": "19.1.2",
4
4
  "description": "Core interfaces, types, and lightweight default implementations for LLM agent orchestration.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",