@frontmcp/sdk 1.10.14 → 1.10.16

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.
Files changed (134) hide show
  1. package/agent/flows/call-agent.flow.d.ts +1 -2
  2. package/agent/flows/call-agent.flow.d.ts.map +1 -1
  3. package/agent/hooks/agent.hooks.d.ts +4 -4
  4. package/agent/hooks/agent.hooks.d.ts.map +1 -1
  5. package/browser/agent/flows/call-agent.flow.mjs +2 -1
  6. package/browser/common/decorators/front-mcp.decorator.mjs +7 -0
  7. package/browser/common/decorators/hook.decorator.mjs +9 -1
  8. package/browser/common/decorators/index.mjs +1 -1
  9. package/browser/common/decorators/provider.decorator.mjs +1 -1
  10. package/browser/common/entries/tool.entry.mjs +52 -24
  11. package/browser/common/index.mjs +2 -2
  12. package/browser/common/interfaces/flow.interface.mjs +36 -0
  13. package/browser/common/interfaces/internal/flow.utils.mjs +3 -0
  14. package/browser/common/metadata/index.mjs +1 -1
  15. package/browser/common/metadata/output-policy.mjs +57 -11
  16. package/browser/common/metadata/provider.metadata.mjs +1 -1
  17. package/browser/common/schemas/annotated-class.schema.mjs +1 -1
  18. package/browser/common/types/options/skills-http/schema.mjs +2 -1
  19. package/browser/elicitation/helpers/extend-output-schema.mjs +3 -1
  20. package/browser/errors/index.mjs +9 -1
  21. package/browser/errors/transport.errors.mjs +31 -0
  22. package/browser/flows/flow.instance.mjs +103 -14
  23. package/browser/flows/flow.stages.mjs +23 -1
  24. package/browser/front-mcp/front-mcp.mjs +29 -30
  25. package/browser/front-mcp/shutdown-signals.mjs +2 -0
  26. package/browser/hooks/entry-class-hooks.mjs +10 -0
  27. package/browser/hooks/hook.registry.mjs +8 -8
  28. package/browser/index.cjs +1484 -1060
  29. package/browser/index.mjs +2 -2
  30. package/browser/job/flows/execute-job.flow.mjs +2 -1
  31. package/browser/prompt/flows/get-prompt.flow.mjs +6 -1
  32. package/browser/provider/provider.utils.mjs +5 -2
  33. package/browser/resource/flows/read-resource.flow.mjs +6 -1
  34. package/browser/scope/scope.instance.mjs +2 -0
  35. package/browser/server/security/resolve-allowed-hosts.mjs +32 -0
  36. package/browser/server/security/security-audit.mjs +3 -3
  37. package/browser/skill/sep-2640/sep-2640.per-skill.mjs +13 -11
  38. package/browser/skill/skill-instructions.helper.mjs +23 -8
  39. package/browser/skill/skill-scope.helper.mjs +2 -1
  40. package/browser/tool/flows/call-tool.flow.mjs +33 -2
  41. package/browser/tool/flows/tools-list.flow.mjs +9 -10
  42. package/browser/tool/tool-output-policy.mjs +24 -0
  43. package/browser/tool/tool.instance.mjs +4 -4
  44. package/browser/tool/tool.utils.mjs +49 -8
  45. package/common/decorators/front-mcp.decorator.d.ts.map +1 -1
  46. package/common/decorators/hook.decorator.d.ts +21 -10
  47. package/common/decorators/hook.decorator.d.ts.map +1 -1
  48. package/common/decorators/provider.decorator.d.ts +1 -1
  49. package/common/decorators/provider.decorator.d.ts.map +1 -1
  50. package/common/decorators/tool.decorator.d.ts +1 -1
  51. package/common/decorators/tool.decorator.d.ts.map +1 -1
  52. package/common/entries/tool.entry.d.ts +24 -11
  53. package/common/entries/tool.entry.d.ts.map +1 -1
  54. package/common/interfaces/flow.interface.d.ts +30 -1
  55. package/common/interfaces/flow.interface.d.ts.map +1 -1
  56. package/common/interfaces/internal/flow.utils.d.ts.map +1 -1
  57. package/common/metadata/agent.metadata.d.ts +3 -3
  58. package/common/metadata/app.metadata.d.ts +12 -6
  59. package/common/metadata/app.metadata.d.ts.map +1 -1
  60. package/common/metadata/front-mcp.metadata.d.ts +141 -70
  61. package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
  62. package/common/metadata/hook.metadata.d.ts +3 -1
  63. package/common/metadata/hook.metadata.d.ts.map +1 -1
  64. package/common/metadata/output-policy.d.ts +32 -0
  65. package/common/metadata/output-policy.d.ts.map +1 -1
  66. package/common/metadata/plugin.metadata.d.ts +4 -4
  67. package/common/metadata/provider.metadata.d.ts +1 -1
  68. package/common/metadata/tool.metadata.d.ts +10 -3
  69. package/common/metadata/tool.metadata.d.ts.map +1 -1
  70. package/common/metadata/ui-serving-mode.d.ts +1 -1
  71. package/common/schemas/annotated-class.schema.d.ts +5 -5
  72. package/common/types/options/http/interfaces.d.ts +6 -2
  73. package/common/types/options/http/interfaces.d.ts.map +1 -1
  74. package/common/types/options/skills-http/index.d.ts +1 -1
  75. package/common/types/options/skills-http/index.d.ts.map +1 -1
  76. package/common/types/options/skills-http/interfaces.d.ts +27 -5
  77. package/common/types/options/skills-http/interfaces.d.ts.map +1 -1
  78. package/common/types/options/skills-http/schema.d.ts +8 -2
  79. package/common/types/options/skills-http/schema.d.ts.map +1 -1
  80. package/elicitation/helpers/extend-output-schema.d.ts.map +1 -1
  81. package/elicitation/hooks/elicitation.hooks.d.ts +10 -8
  82. package/elicitation/hooks/elicitation.hooks.d.ts.map +1 -1
  83. package/errors/index.d.ts +1 -1
  84. package/errors/index.d.ts.map +1 -1
  85. package/errors/transport.errors.d.ts +19 -0
  86. package/errors/transport.errors.d.ts.map +1 -1
  87. package/esm/index.mjs +31 -24
  88. package/flows/flow.instance.d.ts +10 -0
  89. package/flows/flow.instance.d.ts.map +1 -1
  90. package/flows/flow.stages.d.ts +4 -0
  91. package/flows/flow.stages.d.ts.map +1 -1
  92. package/front-mcp/front-mcp.d.ts +4 -0
  93. package/front-mcp/front-mcp.d.ts.map +1 -1
  94. package/front-mcp/shutdown-signals.d.ts +2 -0
  95. package/front-mcp/shutdown-signals.d.ts.map +1 -1
  96. package/hooks/entry-class-hooks.d.ts +4 -0
  97. package/hooks/entry-class-hooks.d.ts.map +1 -1
  98. package/hooks/hook.registry.d.ts +7 -7
  99. package/hooks/hook.registry.d.ts.map +1 -1
  100. package/index.d.ts +85 -68
  101. package/index.d.ts.map +1 -1
  102. package/index.js +37 -30
  103. package/job/flows/execute-job.flow.d.ts +1 -2
  104. package/job/flows/execute-job.flow.d.ts.map +1 -1
  105. package/package.json +10 -10
  106. package/prompt/flows/get-prompt.flow.d.ts +3 -2
  107. package/prompt/flows/get-prompt.flow.d.ts.map +1 -1
  108. package/provider/provider.utils.d.ts.map +1 -1
  109. package/resource/flows/read-resource.flow.d.ts +3 -2
  110. package/resource/flows/read-resource.flow.d.ts.map +1 -1
  111. package/scope/scope.instance.d.ts.map +1 -1
  112. package/server/adapters/express.host.adapter.d.ts +2 -2
  113. package/server/adapters/express.host.adapter.d.ts.map +1 -1
  114. package/server/security/resolve-allowed-hosts.d.ts +16 -0
  115. package/server/security/resolve-allowed-hosts.d.ts.map +1 -1
  116. package/server/security/security-audit.d.ts.map +1 -1
  117. package/server/security/unix-socket-guard.d.ts +12 -0
  118. package/server/security/unix-socket-guard.d.ts.map +1 -0
  119. package/skill/sep-2640/sep-2640.per-skill.d.ts +7 -5
  120. package/skill/sep-2640/sep-2640.per-skill.d.ts.map +1 -1
  121. package/skill/skill-instructions.helper.d.ts +15 -11
  122. package/skill/skill-instructions.helper.d.ts.map +1 -1
  123. package/skill/skill-scope.helper.d.ts.map +1 -1
  124. package/tool/flows/call-tool.flow.d.ts +7 -2
  125. package/tool/flows/call-tool.flow.d.ts.map +1 -1
  126. package/tool/flows/tools-list.flow.d.ts.map +1 -1
  127. package/tool/tool-output-policy.d.ts +33 -0
  128. package/tool/tool-output-policy.d.ts.map +1 -0
  129. package/tool/tool.instance.d.ts +3 -3
  130. package/tool/tool.instance.d.ts.map +1 -1
  131. package/tool/tool.utils.d.ts +2 -2
  132. package/tool/tool.utils.d.ts.map +1 -1
  133. package/transport/mcp-handlers/index.d.ts +549 -549
  134. package/transport/mcp-handlers/index.d.ts.map +1 -1
@@ -1,6 +1,12 @@
1
1
  import 'reflect-metadata';
2
2
  import { FlowEntry, type FlowInputOf, type FlowName, type FlowOutputOf, type FlowRecord, type Reference, type ScopeEntry, type ServerRequest, type Token, type Type } from '../common';
3
3
  import type ProviderRegistry from '../provider/provider.registry';
4
+ export declare function parseTypedKey(k: string): {
5
+ base: string;
6
+ type?: 'will' | 'did' | 'around' | 'finally';
7
+ };
8
+ /** The base stages a plan group runs, in order: a typed key runs with its base, and a repeated base runs once. */
9
+ export declare function stageBasesOf(group: readonly string[]): string[];
4
10
  export declare class FlowInstance<Name extends FlowName> extends FlowEntry<Name> {
5
11
  readonly deps: Reference[];
6
12
  readonly globalProviders: ProviderRegistry;
@@ -10,6 +16,8 @@ export declare class FlowInstance<Name extends FlowName> extends FlowEntry<Name>
10
16
  private hooks;
11
17
  private readonly logger;
12
18
  private baseStageOrderEnd?;
19
+ /** In dev mode or with DEBUG only: per hook owner, the entry classes (`undefined`: none) whose hook order is logged. */
20
+ private readonly loggedHookOrders;
13
21
  constructor(scope: ScopeEntry, record: FlowRecord, deps: Set<Reference>, globalProviders: ProviderRegistry);
14
22
  protected initialize(): Promise<void>;
15
23
  canActivate(request: ServerRequest): Promise<boolean>;
@@ -50,5 +58,7 @@ export declare class FlowInstance<Name extends FlowName> extends FlowEntry<Name>
50
58
  */
51
59
  private respondWithHeaders;
52
60
  private runStages;
61
+ /** Logs the order the run's hooks resolve to, on the first run for its hook owner and its entry class's hooks. */
62
+ private logHookOrderOnce;
53
63
  }
54
64
  //# sourceMappingURL=flow.instance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flow.instance.d.ts","sourceRoot":"","sources":["../../src/flows/flow.instance.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAEL,SAAS,EAIT,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,YAAY,EAEjB,KAAK,UAAU,EAOf,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,KAAK,EACV,KAAK,IAAI,EACV,MAAM,WAAW,CAAC;AAOnB,OAAO,KAAK,gBAAgB,MAAM,+BAA+B,CAAC;AAsFlE,qBAAa,YAAY,CAAC,IAAI,SAAS,QAAQ,CAAE,SAAQ,SAAS,CAAC,IAAI,CAAC;IACtE,QAAQ,CAAC,IAAI,EAAE,SAAS,EA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AAS,CAAC;IA4BpG;;;OAGG;YACW,kBAAkB;YAmBlB,SAAS;IAkYvB,kHAAkH;IAClH,OAAO,CAAC,gBAAgB;CAmCzB"}
@@ -2,6 +2,8 @@ import { type HookMetadata } from '../common';
2
2
  export type StageEntry<C> = {
3
3
  /** `next` is passed only to an Around hook: it runs the rest of the stage. */
4
4
  method: (ctx: C, next?: () => Promise<void>) => Promise<void>;
5
+ /** The flow step or hook this entry runs. */
6
+ hook: HookMetadata;
5
7
  _priority: number;
6
8
  _order: number;
7
9
  };
@@ -16,4 +18,6 @@ export declare function cloneStageMap<C>(table: StageMap<C>): StageMap<C>;
16
18
  export declare function resolveStageKey(type: HookMetadata['type'], stage: string): string;
17
19
  export declare function collectFlowHookMap<C>(FlowClass: any): StageMap<C>;
18
20
  export declare function mergeHookMetasIntoStageMap<C>(FlowClass: any, table: StageMap<C>, metas: HookMetadata[], orderStart?: number, runHook?: HookRunner): void;
21
+ /** One line per stage of `stages` that `resolved` adds a hook to over `base`, listing its steps in the order they run. */
22
+ export declare function describeHookOrder<C>(stages: readonly string[], base: StageMap<C>, resolved: StageMap<C>, flowClassName: string): string[];
19
23
  //# sourceMappingURL=flow.stages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flow.stages.d.ts","sourceRoot":"","sources":["../../src/flows/flow.stages.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAGtE,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI;IAC1B,8EAA8E;IAC9E,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,MAAM,CAAC,MAAM,EAAE,UAAU,C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);
22
22
  /** Shut down what a failed start built, for at most the signal path's deadline, then fail with its error. */
23
23
  private releaseFailedStart;
24
+ /** Shut down what a failed start built, waiting at most `deadlineMs` for it. */
25
+ private releaseWithin;
24
26
  initialize(): Promise<void>;
25
27
  start(): Promise<void>;
28
+ /** Start, or shut down what was built when the start fails (a refused socket, a port in use), then rethrow. */
29
+ private startOrRelease;
26
30
  /** Where this server serves MCP, as reported to the `frontmcp dev --stdio` bridge. */
27
31
  private devListenerInfo;
28
32
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"front-mcp.d.ts","sourceRoot":"","sources":["../../src/front-mcp/front-mcp.ts"],"names":[],"mappings":"AAGA,OAAO,EAML,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,UAAU,EAChB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAuB,KAAK,eAAe,EAAE,KAAK,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAYhG,OAAO,KAAK,EAAmB,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAKvF;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,GAAG,CAAC,QAAQ,MAAM,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,OAAO,CAAC,CAAC;AAiCrG,qBAAa,gBAAiB,YAAW,iBAAiB;IACxD,MAAM,EAAE,kBAAkB,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9B,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,SAAS,CAAmB;IACpC,OAAO,CAAC,MAAM,CAAgB;IAC9B,OAAO,CAAC,GAAG,CAAC,CAAiB;IAC7B,OAAO,CAAC,eAAe,CAAC,CAAgB;IACxC,+GAA+G;IAC/G,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAgB;gBAEnC,MAAM,E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;;;;;;;;;;;;;;;OAmCG;WACiB,YAAY,CAC9B,OAAO,EAAE,mBAAmB,GAAG,mBAAmB,EAClD,QAAQ,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,GAC1B,OAAO,CAAC,eAAe,CAAC;IA+B3B;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;WACiB,aAAa,CAC/B,OAAO,EAAE,CAAC,mBAAmB,GAAG,kBAAkB,CAAC,GAAG;QACpD,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,kBAAkB,CAAC;KAC7B,GACA,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;KAAE,CAAC;IAiC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;WACiB,QAAQ,CAAC,cAAc,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;CA2NjF"}
@@ -1,4 +1,6 @@
1
1
  export declare const DEFAULT_SHUTDOWN_DEADLINE_MS = 10000;
2
+ /** A stdio client waits on the process to exit, so stdio keeps its shorter deadline. */
3
+ export declare const STDIO_SHUTDOWN_DEADLINE_MS = 5000;
2
4
  interface SignalTarget {
3
5
  on(signal: string, listener: () => void): unknown;
4
6
  removeListener(signal: string, listener: () => void): unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"shutdown-signals.d.ts","sourceRoot":"","sources":["../../src/front-mcp/shutdown-signals.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B,QAAS,CAAC;AAEnD,UAAU,YAAY;IACpB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC;IAClD,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC;IAC9D,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CAC7B;AAED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15,6 +15,10 @@ export interface EntryClassHooksJoin {
15
15
  /** The stage that builds the entry's instance. */
16
16
  contextStage: string;
17
17
  }
18
+ /** Declare where an entry class's hooks join its flow, and remember the flow's context stage for the hook order log. */
19
+ export declare function entryClassHooksJoin(join: EntryClassHooksJoin): EntryClassHooksJoin;
20
+ /** The stage of `flow` that builds an entry's instance, when an entry class joins that flow. */
21
+ export declare function entryContextStageOf(flow: string): string | undefined;
18
22
  /**
19
23
  * The hooks an entry class declares that can never run, each described for a startup error:
20
24
  * - on its own flow, an instance method on a stage the run passes before the entry's instance exists
@@ -1 +1 @@
1
- {"version":3,"file":"entry-class-hooks.d.ts","sourceRoot":"","sources":["../../src/hooks/entry-class-hooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAE3E,0CAA0C;AAC1C,KAAK,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAClC,+DAA+D;IAC/D,IAAI,EAAE,QAAQ,CAAC;IACf,wBAAwB;IACxB,IAAI,EAAE,aAAa,CAAC;IACpB,kDAAkD;IAClD,YAAY,EAAE,MAAM,CAAC;CACtB;AAaD;;;;;;GAMG;AACH,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,SAAS,UAAU,EAAE,EAC5B,IAAI,EAAE,mBAAmB,EACzB,SAAS,EAAE,SAAS,MAAM,EAAE,GAC3B,MAAM,EAAE,CAwBV;AAED,wEAAwE;AACxE,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAO5G"}
1
+ {"version":3,"file":"entry-class-hooks.d.ts","sourceRoot":"","sources":["../../src/hooks/entry-class-hooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAE3E,0CAA0C;AAC1C,KAAK,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAClC,+DAA+D;IAC/D,IAAI,EAAE,QAAQ,CAAC;IACf,wBAAwB;IACxB,IAAI,EAAE,aAAa,CAAC;IACpB,kDAAkD;IAClD,YAAY,EAAE,MAAM,CAAC;CACtB;AAID,wHAAwH;AACxH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,mBAAmB,GAAG,mBAAmB,CAGlF;AAED,gGAAgG;AAChG,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAEpE;AAaD;;;;;;GAMG;AACH,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,SAAS,UAAU,EAAE,EAC5B,IAAI,EAAE,mBAAmB,EACzB,SAAS,EAAE,SAAS,MAAM,EAAE,GAC3B,MAAM,EAAE,CAwBV;AAED,wEAAwE;AACxE,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAO5G"}
@@ -7,7 +7,7 @@ export default class HookRegistry extends RegistryAbstract<HookEntry, HookRecord
7
7
  scope: ScopeEntry;
8
8
  /** Historical records by class (kept if you still want access to raw records) */
9
9
  recordsByCls: Map<Token, HookRecord[]>;
10
- /** Fast O(1) indexes of *instances*, sorted by priority (desc) */
10
+ /** Fast O(1) indexes of *instances*, in the order a stage runs them: lowest priority first, then registration order */
11
11
  private entriesByCls;
12
12
  private hooksByFlow;
13
13
  private hooksByFlowStage;
@@ -19,7 +19,7 @@ export default class HookRegistry extends RegistryAbstract<HookEntry, HookRecord
19
19
  initialize(): Promise<void>;
20
20
  /** Priority helper (default 0) */
21
21
  private getPriority;
22
- /** Binary insert by priority (desc). Stable for equal priorities. */
22
+ /** Binary insert, lowest priority first, after the items of an equal priority. */
23
23
  private insertSorted;
24
24
  private upsert;
25
25
  private indexByClass;
@@ -34,17 +34,17 @@ export default class HookRegistry extends RegistryAbstract<HookEntry, HookRecord
34
34
  * the server too. A hook of a plugin class installed both here and there runs once, as installed here.
35
35
  */
36
36
  inheritFrom(parent: HookRegistry, ownerId: string): void;
37
- /** Hooks for a given *flow*, filtered by owner if provided, sorted by priority (desc). */
37
+ /** Hooks for a given *flow*, filtered by owner if provided, in run order. */
38
38
  getFlowHooksForOwner<Name extends FlowName>(flow: Name, ownerId?: string): HookEntry<FlowInputOf<Name>, Name, FlowStagesOf<Name>, FlowCtxOf<Name>>[];
39
- /** This registry's own hooks for a given *flow*, filtered by owner if provided, sorted by priority (desc). */
39
+ /** This registry's own hooks for a given *flow*, filtered by owner if provided, in run order. */
40
40
  private getOwnFlowHooksForOwner;
41
- /** Hooks defined on a given *class* (metadata.target), sorted by priority (desc). */
41
+ /** Hooks defined on a given *class* (metadata.target), in run order. */
42
42
  getClsHooks(token: Token): HookEntry[];
43
43
  /** All hooks (instances, unordered) */
44
44
  getHooks(): HookEntry[];
45
- /** Hooks for a given *flow*, sorted by priority (desc). */
45
+ /** Hooks for a given *flow*, in run order. */
46
46
  getFlowHooks<Name extends FlowName>(flow: Name): HookEntry<FlowInputOf<Name>, Name, FlowStagesOf<Name>, FlowCtxOf<Name>>[];
47
- /** Hooks for a specific *flow + stage*, sorted by priority (desc). */
47
+ /** Hooks for a specific *flow + stage*, in run order. */
48
48
  getFlowStageHooks<Name extends FlowName>(flow: Name, stage: FlowStagesOf<Name> | string): HookEntry<FlowInputOf<Name>, Name, FlowStagesOf<Name>, FlowCtxOf<Name>>[];
49
49
  }
50
50
  //# sourceMappingURL=hook.registry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":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f,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC,EAAE;IAc5E,iGAAiG;IACjG,OAAO,CAAC,uBAAuB;IAyB/B,wEAAwE;IACxE,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,EAAE;IAItC,uCAAuC;IACvC,QAAQ,IAAI,SAAS,EAAE;IAIvB,8CAA8C;IAC9C,YAAY,CAAC,IAAI,SAAS,QAAQ,EAChC,IAAI,EAAE,IAAI,GACT,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC,EAAE;IAS5E,yDAAyD;IACzD,iBAAiB,CAAC,IAAI,SAAS,QAAQ,EACrC,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,YAAY,CAAC,IAAI,CAAC,GAAG,MAAM,GACjC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC,EAAE;CAS7E"}
package/index.d.ts CHANGED
@@ -39,106 +39,123 @@ export type { AgentMetadata, AgentLlmConfig, AgentLlmBuiltinConfig, AgentSwarmCo
39
39
  export { OpenAIAdapter, AnthropicAdapter } from './agent/adapters';
40
40
  export type { OpenAIAdapterConfig, OpenAIApiMode, AnthropicAdapterConfig } from './agent/adapters';
41
41
  export declare const ToolHook: {
42
- Stage: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkPublicAccess" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "checkSkillsOnlyMode" | "findTool" | "checkToolAuthorization" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => MethodDecorator;
43
- Will: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkPublicAccess" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "checkSkillsOnlyMode" | "findTool" | "checkToolAuthorization" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => MethodDecorator;
44
- Did: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkPublicAccess" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "checkSkillsOnlyMode" | "findTool" | "checkToolAuthorization" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => MethodDecorator;
45
- Around: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkPublicAccess" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "checkSkillsOnlyMode" | "findTool" | "checkToolAuthorization" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => MethodDecorator;
42
+ Stage: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkPublicAccess" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "checkSkillsOnlyMode" | "findTool" | "checkToolAuthorization" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./tool/flows/call-tool.flow").default>>;
43
+ Will: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkPublicAccess" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "checkSkillsOnlyMode" | "findTool" | "checkToolAuthorization" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./tool/flows/call-tool.flow").default>>;
44
+ Did: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkPublicAccess" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "checkSkillsOnlyMode" | "findTool" | "checkToolAuthorization" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./tool/flows/call-tool.flow").default>>;
45
+ Around: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkPublicAccess" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "checkSkillsOnlyMode" | "findTool" | "checkToolAuthorization" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./tool/flows/call-tool.flow").default>>;
46
+ Finally: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkPublicAccess" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "checkSkillsOnlyMode" | "findTool" | "checkToolAuthorization" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./tool/flows/call-tool.flow").default>>;
46
47
  };
47
48
  export declare const ListToolsHook: {
48
- Stage: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "findTools" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => MethodDecorator;
49
- Will: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "findTools" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => MethodDecorator;
50
- Did: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "findTools" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => MethodDecorator;
51
- Around: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "findTools" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => MethodDecorator;
49
+ Stage: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "findTools" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./tool/flows/tools-list.flow").default>>;
50
+ Will: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "findTools" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./tool/flows/tools-list.flow").default>>;
51
+ Did: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "findTools" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./tool/flows/tools-list.flow").default>>;
52
+ Around: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "findTools" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./tool/flows/tools-list.flow").default>>;
53
+ Finally: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "findTools" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./tool/flows/tools-list.flow").default>>;
52
54
  };
53
55
  export declare const HttpHook: {
54
- Stage: (stage: "metrics" | "audit" | "finalize" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "checkIpFilter" | "router" | "traceRequest" | "relayToSessionOwner" | "checkAuthorization" | "acquireIdentityQuota" | "resolveSkillsOnlyMode" | "checkPersistentSessionOwner" | "handleMcp2026" | "handleWebFetch" | "handleLegacySse" | "handleSse" | "handleStreamableHttp" | "handleStatefulHttp" | "handleStatelessHttp" | "applyDeleteNodeHeaders" | "handleDeleteSession", opts?: import("./common").HookOptions<import("./scope/http-scope.helper").HttpRequestFlow>) => MethodDecorator;
55
- Will: (stage: "metrics" | "audit" | "finalize" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "checkIpFilter" | "router" | "traceRequest" | "relayToSessionOwner" | "checkAuthorization" | "acquireIdentityQuota" | "resolveSkillsOnlyMode" | "checkPersistentSessionOwner" | "handleMcp2026" | "handleWebFetch" | "handleLegacySse" | "handleSse" | "handleStreamableHttp" | "handleStatefulHttp" | "handleStatelessHttp" | "applyDeleteNodeHeaders" | "handleDeleteSession", opts?: import("./common").HookOptions<import("./scope/http-scope.helper").HttpRequestFlow>) => MethodDecorator;
56
- Did: (stage: "metrics" | "audit" | "finalize" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "checkIpFilter" | "router" | "traceRequest" | "relayToSessionOwner" | "checkAuthorization" | "acquireIdentityQuota" | "resolveSkillsOnlyMode" | "checkPersistentSessionOwner" | "handleMcp2026" | "handleWebFetch" | "handleLegacySse" | "handleSse" | "handleStreamableHttp" | "handleStatefulHttp" | "handleStatelessHttp" | "applyDeleteNodeHeaders" | "handleDeleteSession", opts?: import("./common").HookOptions<import("./scope/http-scope.helper").HttpRequestFlow>) => MethodDecorator;
57
- Around: (stage: "metrics" | "audit" | "finalize" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "checkIpFilter" | "router" | "traceRequest" | "relayToSessionOwner" | "checkAuthorization" | "acquireIdentityQuota" | "resolveSkillsOnlyMode" | "checkPersistentSessionOwner" | "handleMcp2026" | "handleWebFetch" | "handleLegacySse" | "handleSse" | "handleStreamableHttp" | "handleStatefulHttp" | "handleStatelessHttp" | "applyDeleteNodeHeaders" | "handleDeleteSession", opts?: import("./common").HookOptions<import("./scope/http-scope.helper").HttpRequestFlow>) => MethodDecorator;
56
+ Stage: (stage: "metrics" | "audit" | "finalize" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "checkIpFilter" | "router" | "traceRequest" | "relayToSessionOwner" | "checkAuthorization" | "acquireIdentityQuota" | "resolveSkillsOnlyMode" | "checkPersistentSessionOwner" | "handleMcp2026" | "handleWebFetch" | "handleLegacySse" | "handleSse" | "handleStreamableHttp" | "handleStatefulHttp" | "handleStatelessHttp" | "applyDeleteNodeHeaders" | "handleDeleteSession", opts?: import("./common").HookOptions<import("./scope/http-scope.helper").HttpRequestFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./scope/http-scope.helper").HttpRequestFlow>>;
57
+ Will: (stage: "metrics" | "audit" | "finalize" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "checkIpFilter" | "router" | "traceRequest" | "relayToSessionOwner" | "checkAuthorization" | "acquireIdentityQuota" | "resolveSkillsOnlyMode" | "checkPersistentSessionOwner" | "handleMcp2026" | "handleWebFetch" | "handleLegacySse" | "handleSse" | "handleStreamableHttp" | "handleStatefulHttp" | "handleStatelessHttp" | "applyDeleteNodeHeaders" | "handleDeleteSession", opts?: import("./common").HookOptions<import("./scope/http-scope.helper").HttpRequestFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./scope/http-scope.helper").HttpRequestFlow>>;
58
+ Did: (stage: "metrics" | "audit" | "finalize" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "checkIpFilter" | "router" | "traceRequest" | "relayToSessionOwner" | "checkAuthorization" | "acquireIdentityQuota" | "resolveSkillsOnlyMode" | "checkPersistentSessionOwner" | "handleMcp2026" | "handleWebFetch" | "handleLegacySse" | "handleSse" | "handleStreamableHttp" | "handleStatefulHttp" | "handleStatelessHttp" | "applyDeleteNodeHeaders" | "handleDeleteSession", opts?: import("./common").HookOptions<import("./scope/http-scope.helper").HttpRequestFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./scope/http-scope.helper").HttpRequestFlow>>;
59
+ Around: (stage: "metrics" | "audit" | "finalize" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "checkIpFilter" | "router" | "traceRequest" | "relayToSessionOwner" | "checkAuthorization" | "acquireIdentityQuota" | "resolveSkillsOnlyMode" | "checkPersistentSessionOwner" | "handleMcp2026" | "handleWebFetch" | "handleLegacySse" | "handleSse" | "handleStreamableHttp" | "handleStatefulHttp" | "handleStatelessHttp" | "applyDeleteNodeHeaders" | "handleDeleteSession", opts?: import("./common").HookOptions<import("./scope/http-scope.helper").HttpRequestFlow>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./scope/http-scope.helper").HttpRequestFlow>>;
60
+ Finally: (stage: "metrics" | "audit" | "finalize" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "checkIpFilter" | "router" | "traceRequest" | "relayToSessionOwner" | "checkAuthorization" | "acquireIdentityQuota" | "resolveSkillsOnlyMode" | "checkPersistentSessionOwner" | "handleMcp2026" | "handleWebFetch" | "handleLegacySse" | "handleSse" | "handleStreamableHttp" | "handleStatefulHttp" | "handleStatelessHttp" | "applyDeleteNodeHeaders" | "handleDeleteSession", opts?: import("./common").HookOptions<import("./scope/http-scope.helper").HttpRequestFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./scope/http-scope.helper").HttpRequestFlow>>;
58
61
  };
59
62
  export declare const OAuthAuthorizeHook: {
60
- Stage: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => MethodDecorator;
61
- Will: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => MethodDecorator;
62
- Did: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => MethodDecorator;
63
- Around: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => MethodDecorator;
63
+ Stage: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.authorize.flow").default>>;
64
+ Will: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.authorize.flow").default>>;
65
+ Did: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.authorize.flow").default>>;
66
+ Around: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./auth/flows/oauth.authorize.flow").default>>;
67
+ Finally: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.authorize.flow").default>>;
64
68
  };
65
69
  export declare const OAuthCallbackHook: {
66
- Stage: (stage: "parseInput" | "acquireQuota" | "checkIpFilter" | "validatePendingAuth" | "handleIncrementalAuth" | "handleFederatedAuth" | "createAuthorizationCode" | "redirectToClient", opts?: import("./common").HookOptions<import("./auth/flows/oauth.callback.flow").default>) => MethodDecorator;
67
- Will: (stage: "parseInput" | "acquireQuota" | "checkIpFilter" | "validatePendingAuth" | "handleIncrementalAuth" | "handleFederatedAuth" | "createAuthorizationCode" | "redirectToClient", opts?: import("./common").HookOptions<import("./auth/flows/oauth.callback.flow").default>) => MethodDecorator;
68
- Did: (stage: "parseInput" | "acquireQuota" | "checkIpFilter" | "validatePendingAuth" | "handleIncrementalAuth" | "handleFederatedAuth" | "createAuthorizationCode" | "redirectToClient", opts?: import("./common").HookOptions<import("./auth/flows/oauth.callback.flow").default>) => MethodDecorator;
69
- Around: (stage: "parseInput" | "acquireQuota" | "checkIpFilter" | "validatePendingAuth" | "handleIncrementalAuth" | "handleFederatedAuth" | "createAuthorizationCode" | "redirectToClient", opts?: import("./common").HookOptions<import("./auth/flows/oauth.callback.flow").default>) => MethodDecorator;
70
+ Stage: (stage: "parseInput" | "acquireQuota" | "checkIpFilter" | "validatePendingAuth" | "handleIncrementalAuth" | "handleFederatedAuth" | "createAuthorizationCode" | "redirectToClient", opts?: import("./common").HookOptions<import("./auth/flows/oauth.callback.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.callback.flow").default>>;
71
+ Will: (stage: "parseInput" | "acquireQuota" | "checkIpFilter" | "validatePendingAuth" | "handleIncrementalAuth" | "handleFederatedAuth" | "createAuthorizationCode" | "redirectToClient", opts?: import("./common").HookOptions<import("./auth/flows/oauth.callback.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.callback.flow").default>>;
72
+ Did: (stage: "parseInput" | "acquireQuota" | "checkIpFilter" | "validatePendingAuth" | "handleIncrementalAuth" | "handleFederatedAuth" | "createAuthorizationCode" | "redirectToClient", opts?: import("./common").HookOptions<import("./auth/flows/oauth.callback.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.callback.flow").default>>;
73
+ Around: (stage: "parseInput" | "acquireQuota" | "checkIpFilter" | "validatePendingAuth" | "handleIncrementalAuth" | "handleFederatedAuth" | "createAuthorizationCode" | "redirectToClient", opts?: import("./common").HookOptions<import("./auth/flows/oauth.callback.flow").default>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./auth/flows/oauth.callback.flow").default>>;
74
+ Finally: (stage: "parseInput" | "acquireQuota" | "checkIpFilter" | "validatePendingAuth" | "handleIncrementalAuth" | "handleFederatedAuth" | "createAuthorizationCode" | "redirectToClient", opts?: import("./common").HookOptions<import("./auth/flows/oauth.callback.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.callback.flow").default>>;
70
75
  };
71
76
  export declare const OAuthTokenHook: {
72
- Stage: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => MethodDecorator;
73
- Will: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => MethodDecorator;
74
- Did: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => MethodDecorator;
75
- Around: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => MethodDecorator;
77
+ Stage: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.token.flow").default>>;
78
+ Will: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.token.flow").default>>;
79
+ Did: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.token.flow").default>>;
80
+ Around: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./auth/flows/oauth.token.flow").default>>;
81
+ Finally: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.token.flow").default>>;
76
82
  };
77
83
  export declare const OAuthRegisterHook: {
78
- Stage: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => MethodDecorator;
79
- Will: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => MethodDecorator;
80
- Did: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => MethodDecorator;
81
- Around: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => MethodDecorator;
84
+ Stage: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.register.flow").default>>;
85
+ Will: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.register.flow").default>>;
86
+ Did: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.register.flow").default>>;
87
+ Around: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./auth/flows/oauth.register.flow").default>>;
88
+ Finally: (stage: "parseInput" | "validateOutput" | "validateInput" | "acquireQuota" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./auth/flows/oauth.register.flow").default>>;
82
89
  };
83
90
  export declare const ResourceHook: {
84
- Stage: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findResource" | "createResourceContext", opts?: import("./common").HookOptions<import("./resource").ReadResourceFlow>) => MethodDecorator;
85
- Will: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findResource" | "createResourceContext", opts?: import("./common").HookOptions<import("./resource").ReadResourceFlow>) => MethodDecorator;
86
- Did: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findResource" | "createResourceContext", opts?: import("./common").HookOptions<import("./resource").ReadResourceFlow>) => MethodDecorator;
87
- Around: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findResource" | "createResourceContext", opts?: import("./common").HookOptions<import("./resource").ReadResourceFlow>) => MethodDecorator;
91
+ Stage: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findResource" | "createResourceContext", opts?: import("./common").HookOptions<import("./resource").ReadResourceFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./resource").ReadResourceFlow>>;
92
+ Will: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findResource" | "createResourceContext", opts?: import("./common").HookOptions<import("./resource").ReadResourceFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./resource").ReadResourceFlow>>;
93
+ Did: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findResource" | "createResourceContext", opts?: import("./common").HookOptions<import("./resource").ReadResourceFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./resource").ReadResourceFlow>>;
94
+ Around: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findResource" | "createResourceContext", opts?: import("./common").HookOptions<import("./resource").ReadResourceFlow>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./resource").ReadResourceFlow>>;
95
+ Finally: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findResource" | "createResourceContext", opts?: import("./common").HookOptions<import("./resource").ReadResourceFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./resource").ReadResourceFlow>>;
88
96
  };
89
97
  export declare const ListResourcesHook: {
90
- Stage: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findResources" | "parseResources", opts?: import("./common").HookOptions<import("./resource").ResourcesListFlow>) => MethodDecorator;
91
- Will: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findResources" | "parseResources", opts?: import("./common").HookOptions<import("./resource").ResourcesListFlow>) => MethodDecorator;
92
- Did: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findResources" | "parseResources", opts?: import("./common").HookOptions<import("./resource").ResourcesListFlow>) => MethodDecorator;
93
- Around: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findResources" | "parseResources", opts?: import("./common").HookOptions<import("./resource").ResourcesListFlow>) => MethodDecorator;
98
+ Stage: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findResources" | "parseResources", opts?: import("./common").HookOptions<import("./resource").ResourcesListFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./resource").ResourcesListFlow>>;
99
+ Will: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findResources" | "parseResources", opts?: import("./common").HookOptions<import("./resource").ResourcesListFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./resource").ResourcesListFlow>>;
100
+ Did: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findResources" | "parseResources", opts?: import("./common").HookOptions<import("./resource").ResourcesListFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./resource").ResourcesListFlow>>;
101
+ Around: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findResources" | "parseResources", opts?: import("./common").HookOptions<import("./resource").ResourcesListFlow>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./resource").ResourcesListFlow>>;
102
+ Finally: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findResources" | "parseResources", opts?: import("./common").HookOptions<import("./resource").ResourcesListFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./resource").ResourcesListFlow>>;
94
103
  };
95
104
  export declare const ListResourceTemplatesHook: {
96
- Stage: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findTemplates" | "parseTemplates", opts?: import("./common").HookOptions<import("./resource").ResourceTemplatesListFlow>) => MethodDecorator;
97
- Will: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findTemplates" | "parseTemplates", opts?: import("./common").HookOptions<import("./resource").ResourceTemplatesListFlow>) => MethodDecorator;
98
- Did: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findTemplates" | "parseTemplates", opts?: import("./common").HookOptions<import("./resource").ResourceTemplatesListFlow>) => MethodDecorator;
99
- Around: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findTemplates" | "parseTemplates", opts?: import("./common").HookOptions<import("./resource").ResourceTemplatesListFlow>) => MethodDecorator;
105
+ Stage: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findTemplates" | "parseTemplates", opts?: import("./common").HookOptions<import("./resource").ResourceTemplatesListFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./resource").ResourceTemplatesListFlow>>;
106
+ Will: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findTemplates" | "parseTemplates", opts?: import("./common").HookOptions<import("./resource").ResourceTemplatesListFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./resource").ResourceTemplatesListFlow>>;
107
+ Did: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findTemplates" | "parseTemplates", opts?: import("./common").HookOptions<import("./resource").ResourceTemplatesListFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./resource").ResourceTemplatesListFlow>>;
108
+ Around: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findTemplates" | "parseTemplates", opts?: import("./common").HookOptions<import("./resource").ResourceTemplatesListFlow>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./resource").ResourceTemplatesListFlow>>;
109
+ Finally: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findTemplates" | "parseTemplates", opts?: import("./common").HookOptions<import("./resource").ResourceTemplatesListFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./resource").ResourceTemplatesListFlow>>;
100
110
  };
101
111
  export declare const PromptHook: {
102
- Stage: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findPrompt" | "checkPublicAccess" | "checkEntryAuthorities" | "createPromptContext" | "validateOutput", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => MethodDecorator;
103
- Will: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findPrompt" | "checkPublicAccess" | "checkEntryAuthorities" | "createPromptContext" | "validateOutput", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => MethodDecorator;
104
- Did: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findPrompt" | "checkPublicAccess" | "checkEntryAuthorities" | "createPromptContext" | "validateOutput", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => MethodDecorator;
105
- Around: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findPrompt" | "checkPublicAccess" | "checkEntryAuthorities" | "createPromptContext" | "validateOutput", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => MethodDecorator;
112
+ Stage: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findPrompt" | "checkPublicAccess" | "checkEntryAuthorities" | "createPromptContext" | "validateOutput", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./prompt").GetPromptFlow>>;
113
+ Will: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findPrompt" | "checkPublicAccess" | "checkEntryAuthorities" | "createPromptContext" | "validateOutput", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./prompt").GetPromptFlow>>;
114
+ Did: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findPrompt" | "checkPublicAccess" | "checkEntryAuthorities" | "createPromptContext" | "validateOutput", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./prompt").GetPromptFlow>>;
115
+ Around: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findPrompt" | "checkPublicAccess" | "checkEntryAuthorities" | "createPromptContext" | "validateOutput", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./prompt").GetPromptFlow>>;
116
+ Finally: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findPrompt" | "checkPublicAccess" | "checkEntryAuthorities" | "createPromptContext" | "validateOutput", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./prompt").GetPromptFlow>>;
106
117
  };
107
118
  export declare const ListPromptsHook: {
108
- Stage: (stage: "parseInput" | "ensureRemoteCapabilities" | "findPrompts" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => MethodDecorator;
109
- Will: (stage: "parseInput" | "ensureRemoteCapabilities" | "findPrompts" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => MethodDecorator;
110
- Did: (stage: "parseInput" | "ensureRemoteCapabilities" | "findPrompts" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => MethodDecorator;
111
- Around: (stage: "parseInput" | "ensureRemoteCapabilities" | "findPrompts" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => MethodDecorator;
119
+ Stage: (stage: "parseInput" | "ensureRemoteCapabilities" | "findPrompts" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./prompt").PromptsListFlow>>;
120
+ Will: (stage: "parseInput" | "ensureRemoteCapabilities" | "findPrompts" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./prompt").PromptsListFlow>>;
121
+ Did: (stage: "parseInput" | "ensureRemoteCapabilities" | "findPrompts" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./prompt").PromptsListFlow>>;
122
+ Around: (stage: "parseInput" | "ensureRemoteCapabilities" | "findPrompts" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./prompt").PromptsListFlow>>;
123
+ Finally: (stage: "parseInput" | "ensureRemoteCapabilities" | "findPrompts" | "filterByAuthorities" | "filterByPublicAccess" | "resolveConflicts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./prompt").PromptsListFlow>>;
112
124
  };
113
125
  export declare const CompletionHook: {
114
- Stage: (stage: "finalize" | "parseInput" | "checkPublicAccess" | "checkEntryAuthorities" | "findReference" | "findWidgetTools" | "complete", opts?: import("./common").HookOptions<import("./completion/flows/complete.flow").default>) => MethodDecorator;
115
- Will: (stage: "finalize" | "parseInput" | "checkPublicAccess" | "checkEntryAuthorities" | "findReference" | "findWidgetTools" | "complete", opts?: import("./common").HookOptions<import("./completion/flows/complete.flow").default>) => MethodDecorator;
116
- Did: (stage: "finalize" | "parseInput" | "checkPublicAccess" | "checkEntryAuthorities" | "findReference" | "findWidgetTools" | "complete", opts?: import("./common").HookOptions<import("./completion/flows/complete.flow").default>) => MethodDecorator;
117
- Around: (stage: "finalize" | "parseInput" | "checkPublicAccess" | "checkEntryAuthorities" | "findReference" | "findWidgetTools" | "complete", opts?: import("./common").HookOptions<import("./completion/flows/complete.flow").default>) => MethodDecorator;
126
+ Stage: (stage: "finalize" | "parseInput" | "checkPublicAccess" | "checkEntryAuthorities" | "findReference" | "findWidgetTools" | "complete", opts?: import("./common").HookOptions<import("./completion/flows/complete.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./completion/flows/complete.flow").default>>;
127
+ Will: (stage: "finalize" | "parseInput" | "checkPublicAccess" | "checkEntryAuthorities" | "findReference" | "findWidgetTools" | "complete", opts?: import("./common").HookOptions<import("./completion/flows/complete.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./completion/flows/complete.flow").default>>;
128
+ Did: (stage: "finalize" | "parseInput" | "checkPublicAccess" | "checkEntryAuthorities" | "findReference" | "findWidgetTools" | "complete", opts?: import("./common").HookOptions<import("./completion/flows/complete.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./completion/flows/complete.flow").default>>;
129
+ Around: (stage: "finalize" | "parseInput" | "checkPublicAccess" | "checkEntryAuthorities" | "findReference" | "findWidgetTools" | "complete", opts?: import("./common").HookOptions<import("./completion/flows/complete.flow").default>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./completion/flows/complete.flow").default>>;
130
+ Finally: (stage: "finalize" | "parseInput" | "checkPublicAccess" | "checkEntryAuthorities" | "findReference" | "findWidgetTools" | "complete", opts?: import("./common").HookOptions<import("./completion/flows/complete.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./completion/flows/complete.flow").default>>;
118
131
  };
119
132
  export declare const AgentCallHook: {
120
- Stage: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "parseOutput" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => MethodDecorator;
121
- Will: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "parseOutput" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => MethodDecorator;
122
- Did: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "parseOutput" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => MethodDecorator;
123
- Around: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "parseOutput" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => MethodDecorator;
133
+ Stage: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "parseOutput" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./agent").CallAgentFlow>>;
134
+ Will: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "parseOutput" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./agent").CallAgentFlow>>;
135
+ Did: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "parseOutput" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./agent").CallAgentFlow>>;
136
+ Around: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "parseOutput" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./agent").CallAgentFlow>>;
137
+ Finally: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "validateOutput" | "validateInput" | "parseOutput" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./agent").CallAgentFlow>>;
124
138
  };
125
139
  export declare const JobHook: {
126
- Stage: (stage: "execute" | "finalize" | "parseInput" | "validateOutput" | "checkJobAuthorization" | "validateInput" | "createJobContext" | "updateRunState", opts?: import("./common").HookOptions<import("./job").ExecuteJobFlow>) => MethodDecorator;
127
- Will: (stage: "execute" | "finalize" | "parseInput" | "validateOutput" | "checkJobAuthorization" | "validateInput" | "createJobContext" | "updateRunState", opts?: import("./common").HookOptions<import("./job").ExecuteJobFlow>) => MethodDecorator;
128
- Did: (stage: "execute" | "finalize" | "parseInput" | "validateOutput" | "checkJobAuthorization" | "validateInput" | "createJobContext" | "updateRunState", opts?: import("./common").HookOptions<import("./job").ExecuteJobFlow>) => MethodDecorator;
129
- Around: (stage: "execute" | "finalize" | "parseInput" | "validateOutput" | "checkJobAuthorization" | "validateInput" | "createJobContext" | "updateRunState", opts?: import("./common").HookOptions<import("./job").ExecuteJobFlow>) => MethodDecorator;
140
+ Stage: (stage: "execute" | "finalize" | "parseInput" | "validateOutput" | "checkJobAuthorization" | "validateInput" | "createJobContext" | "updateRunState", opts?: import("./common").HookOptions<import("./job").ExecuteJobFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./job").ExecuteJobFlow>>;
141
+ Will: (stage: "execute" | "finalize" | "parseInput" | "validateOutput" | "checkJobAuthorization" | "validateInput" | "createJobContext" | "updateRunState", opts?: import("./common").HookOptions<import("./job").ExecuteJobFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./job").ExecuteJobFlow>>;
142
+ Did: (stage: "execute" | "finalize" | "parseInput" | "validateOutput" | "checkJobAuthorization" | "validateInput" | "createJobContext" | "updateRunState", opts?: import("./common").HookOptions<import("./job").ExecuteJobFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./job").ExecuteJobFlow>>;
143
+ Around: (stage: "execute" | "finalize" | "parseInput" | "validateOutput" | "checkJobAuthorization" | "validateInput" | "createJobContext" | "updateRunState", opts?: import("./common").HookOptions<import("./job").ExecuteJobFlow>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./job").ExecuteJobFlow>>;
144
+ Finally: (stage: "execute" | "finalize" | "parseInput" | "validateOutput" | "checkJobAuthorization" | "validateInput" | "createJobContext" | "updateRunState", opts?: import("./common").HookOptions<import("./job").ExecuteJobFlow>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./job").ExecuteJobFlow>>;
130
145
  };
131
146
  export declare const ChannelSendHook: {
132
- Stage: (stage: "finalize" | "parseInput" | "resolveMeta" | "send", opts?: import("./common").HookOptions<import("./channel/flows/send-channel-notification.flow").default>) => MethodDecorator;
133
- Will: (stage: "finalize" | "parseInput" | "resolveMeta" | "send", opts?: import("./common").HookOptions<import("./channel/flows/send-channel-notification.flow").default>) => MethodDecorator;
134
- Did: (stage: "finalize" | "parseInput" | "resolveMeta" | "send", opts?: import("./common").HookOptions<import("./channel/flows/send-channel-notification.flow").default>) => MethodDecorator;
135
- Around: (stage: "finalize" | "parseInput" | "resolveMeta" | "send", opts?: import("./common").HookOptions<import("./channel/flows/send-channel-notification.flow").default>) => MethodDecorator;
147
+ Stage: (stage: "finalize" | "parseInput" | "resolveMeta" | "send", opts?: import("./common").HookOptions<import("./channel/flows/send-channel-notification.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./channel/flows/send-channel-notification.flow").default>>;
148
+ Will: (stage: "finalize" | "parseInput" | "resolveMeta" | "send", opts?: import("./common").HookOptions<import("./channel/flows/send-channel-notification.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./channel/flows/send-channel-notification.flow").default>>;
149
+ Did: (stage: "finalize" | "parseInput" | "resolveMeta" | "send", opts?: import("./common").HookOptions<import("./channel/flows/send-channel-notification.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./channel/flows/send-channel-notification.flow").default>>;
150
+ Around: (stage: "finalize" | "parseInput" | "resolveMeta" | "send", opts?: import("./common").HookOptions<import("./channel/flows/send-channel-notification.flow").default>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./channel/flows/send-channel-notification.flow").default>>;
151
+ Finally: (stage: "finalize" | "parseInput" | "resolveMeta" | "send", opts?: import("./common").HookOptions<import("./channel/flows/send-channel-notification.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./channel/flows/send-channel-notification.flow").default>>;
136
152
  };
137
153
  export declare const ChannelListHook: {
138
- Stage: (stage: "finalize" | "listChannels", opts?: import("./common").HookOptions<import("./channel/flows/list-channels.flow").default>) => MethodDecorator;
139
- Will: (stage: "finalize" | "listChannels", opts?: import("./common").HookOptions<import("./channel/flows/list-channels.flow").default>) => MethodDecorator;
140
- Did: (stage: "finalize" | "listChannels", opts?: import("./common").HookOptions<import("./channel/flows/list-channels.flow").default>) => MethodDecorator;
141
- Around: (stage: "finalize" | "listChannels", opts?: import("./common").HookOptions<import("./channel/flows/list-channels.flow").default>) => MethodDecorator;
154
+ Stage: (stage: "finalize" | "listChannels", opts?: import("./common").HookOptions<import("./channel/flows/list-channels.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./channel/flows/list-channels.flow").default>>;
155
+ Will: (stage: "finalize" | "listChannels", opts?: import("./common").HookOptions<import("./channel/flows/list-channels.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./channel/flows/list-channels.flow").default>>;
156
+ Did: (stage: "finalize" | "listChannels", opts?: import("./common").HookOptions<import("./channel/flows/list-channels.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./channel/flows/list-channels.flow").default>>;
157
+ Around: (stage: "finalize" | "listChannels", opts?: import("./common").HookOptions<import("./channel/flows/list-channels.flow").default>) => import("./common").FlowHookDecorator<import("./common").AroundFlowHookMethod<import("./channel/flows/list-channels.flow").default>>;
158
+ Finally: (stage: "finalize" | "listChannels", opts?: import("./common").HookOptions<import("./channel/flows/list-channels.flow").default>) => import("./common").FlowHookDecorator<import("./common").FlowHookMethod<import("./channel/flows/list-channels.flow").default>>;
142
159
  };
143
160
  export type { default as AuthVerifyFlow } from './auth/flows/auth.verify.flow';
144
161
  export type { default as SessionVerifyFlow } from './auth/flows/session.verify.flow';
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAqB1B,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC/D,YAAY,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E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