@frontmcp/sdk 1.9.0 → 1.9.1-rc.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.
Files changed (150) hide show
  1. package/agent/agent.scope.d.ts.map +1 -1
  2. package/agent/agent.utils.d.ts +2 -0
  3. package/agent/agent.utils.d.ts.map +1 -1
  4. package/agent/hooks/agent.hooks.d.ts +4 -4
  5. package/agent/index.d.ts +1 -1
  6. package/app/instances/app.esm.instance.d.ts +0 -4
  7. package/app/instances/app.esm.instance.d.ts.map +1 -1
  8. package/app/instances/app.remote.instance.d.ts +1 -13
  9. package/app/instances/app.remote.instance.d.ts.map +1 -1
  10. package/auth/flows/oauth.auth-ui.flow.d.ts +1 -1
  11. package/auth/flows/oauth.authorize.flow.d.ts +3 -3
  12. package/auth/flows/oauth.callback.flow.d.ts +2 -2
  13. package/auth/flows/oauth.connect.flow.d.ts +1 -1
  14. package/auth/flows/oauth.provider-callback.flow.d.ts +2 -2
  15. package/auth/flows/oauth.register.flow.d.ts +1 -1
  16. package/auth/flows/oauth.token.flow.d.ts +1 -1
  17. package/auth/flows/oauth.userinfo.flow.d.ts +1 -1
  18. package/auth/flows/well-known.jwks.flow.d.ts +3 -3
  19. package/auth/flows/well-known.oauth-authorization-server.flow.d.ts +2 -2
  20. package/auth/flows/well-known.prm.flow.d.ts +1 -1
  21. package/browser/index.cjs +18892 -18121
  22. package/browser/index.mjs +18619 -17855
  23. package/channel/channel-scope.helper.d.ts.map +1 -1
  24. package/common/decorators/agent.decorator.d.ts +4 -2
  25. package/common/decorators/agent.decorator.d.ts.map +1 -1
  26. package/common/decorators/job.decorator.d.ts +2 -0
  27. package/common/decorators/job.decorator.d.ts.map +1 -1
  28. package/common/decorators/prompt.decorator.d.ts.map +1 -1
  29. package/common/decorators/resource.decorator.d.ts.map +1 -1
  30. package/common/decorators/skill.decorator.d.ts +2 -0
  31. package/common/decorators/skill.decorator.d.ts.map +1 -1
  32. package/common/decorators/tool.decorator.d.ts.map +1 -1
  33. package/common/dynamic/dynamic.adapter.d.ts +1 -1
  34. package/common/dynamic/dynamic.adapter.d.ts.map +1 -1
  35. package/common/dynamic/dynamic.plugin.d.ts +4 -4
  36. package/common/dynamic/dynamic.plugin.d.ts.map +1 -1
  37. package/common/entries/scope.entry.d.ts +15 -1
  38. package/common/entries/scope.entry.d.ts.map +1 -1
  39. package/common/interfaces/adapter.interface.d.ts +2 -1
  40. package/common/interfaces/adapter.interface.d.ts.map +1 -1
  41. package/common/interfaces/agent.interface.d.ts +1 -1
  42. package/common/interfaces/auth-provider.interface.d.ts +2 -1
  43. package/common/interfaces/auth-provider.interface.d.ts.map +1 -1
  44. package/common/interfaces/internal/registry.interface.d.ts +4 -3
  45. package/common/interfaces/internal/registry.interface.d.ts.map +1 -1
  46. package/common/interfaces/job.interface.d.ts +6 -5
  47. package/common/interfaces/job.interface.d.ts.map +1 -1
  48. package/common/interfaces/plugin.interface.d.ts +6 -1
  49. package/common/interfaces/plugin.interface.d.ts.map +1 -1
  50. package/common/interfaces/prompt.interface.d.ts +2 -1
  51. package/common/interfaces/prompt.interface.d.ts.map +1 -1
  52. package/common/interfaces/provider.interface.d.ts +2 -1
  53. package/common/interfaces/provider.interface.d.ts.map +1 -1
  54. package/common/interfaces/resource.interface.d.ts +2 -1
  55. package/common/interfaces/resource.interface.d.ts.map +1 -1
  56. package/common/interfaces/tool.interface.d.ts +6 -5
  57. package/common/interfaces/tool.interface.d.ts.map +1 -1
  58. package/common/metadata/agent.metadata.d.ts +6 -5
  59. package/common/metadata/agent.metadata.d.ts.map +1 -1
  60. package/common/metadata/app.metadata.d.ts +7 -7
  61. package/common/metadata/front-mcp.metadata.d.ts +122 -113
  62. package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
  63. package/common/metadata/output-policy.d.ts +1 -1
  64. package/common/metadata/plugin.metadata.d.ts +4 -4
  65. package/common/metadata/skill.metadata.d.ts +1 -1
  66. package/common/metadata/tool.metadata.d.ts +3 -3
  67. package/common/records/agent.record.d.ts +2 -2
  68. package/common/records/prompt.record.d.ts +5 -2
  69. package/common/records/prompt.record.d.ts.map +1 -1
  70. package/common/records/resource.record.d.ts +5 -2
  71. package/common/records/resource.record.d.ts.map +1 -1
  72. package/common/records/tool.record.d.ts +5 -2
  73. package/common/records/tool.record.d.ts.map +1 -1
  74. package/common/schemas/annotated-class.schema.d.ts +6 -5
  75. package/common/schemas/annotated-class.schema.d.ts.map +1 -1
  76. package/common/schemas/http-output.schema.d.ts +24 -24
  77. package/common/types/options/skills-http/interfaces.d.ts +8 -0
  78. package/common/types/options/skills-http/interfaces.d.ts.map +1 -1
  79. package/common/types/options/skills-http/schema.d.ts +9 -7
  80. package/common/types/options/skills-http/schema.d.ts.map +1 -1
  81. package/common/types/options/sqlite/resolve.d.ts.map +1 -1
  82. package/common/types/options/transport/schema.d.ts +2 -2
  83. package/common/utils/external-entry.utils.d.ts +32 -0
  84. package/common/utils/external-entry.utils.d.ts.map +1 -0
  85. package/context/frontmcp-context.provider.d.ts +1 -1
  86. package/errors/external-entry.errors.d.ts +34 -0
  87. package/errors/external-entry.errors.d.ts.map +1 -0
  88. package/errors/index.d.ts +2 -1
  89. package/errors/index.d.ts.map +1 -1
  90. package/errors/registry.errors.d.ts +7 -0
  91. package/errors/registry.errors.d.ts.map +1 -1
  92. package/esm/index.mjs +18621 -17857
  93. package/esm-loader/esm-entries.d.ts +26 -0
  94. package/esm-loader/esm-entries.d.ts.map +1 -0
  95. package/esm-loader/esm-module-loader.d.ts +5 -5
  96. package/esm-loader/esm-module-loader.d.ts.map +1 -1
  97. package/front-mcp/front-mcp.d.ts.map +1 -1
  98. package/front-mcp/static-startup.check.d.ts.map +1 -1
  99. package/index.d.ts +34 -34
  100. package/index.d.ts.map +1 -1
  101. package/index.js +18901 -18130
  102. package/job/job.utils.d.ts.map +1 -1
  103. package/job/tools/execute-job.tool.d.ts.map +1 -1
  104. package/job/tools/list-jobs.tool.d.ts.map +1 -1
  105. package/job/tools/register-job.tool.d.ts.map +1 -1
  106. package/job/tools/remove-job.tool.d.ts.map +1 -1
  107. package/logger/instances/instance.file-logger.d.ts.map +1 -1
  108. package/package.json +11 -11
  109. package/plugin/enforced-metadata.check.d.ts +6 -0
  110. package/plugin/enforced-metadata.check.d.ts.map +1 -1
  111. package/plugin/plugin.registry.d.ts +3 -3
  112. package/plugin/plugin.registry.d.ts.map +1 -1
  113. package/prompt/prompt.registry.d.ts +2 -0
  114. package/prompt/prompt.registry.d.ts.map +1 -1
  115. package/prompt/prompt.utils.d.ts +3 -1
  116. package/prompt/prompt.utils.d.ts.map +1 -1
  117. package/provider/flow-context-providers.d.ts +1 -1
  118. package/provider/flow-context-providers.d.ts.map +1 -1
  119. package/remote-mcp/remote-entries.d.ts +27 -0
  120. package/remote-mcp/remote-entries.d.ts.map +1 -0
  121. package/resource/resource.registry.d.ts +2 -0
  122. package/resource/resource.registry.d.ts.map +1 -1
  123. package/resource/resource.utils.d.ts +3 -1
  124. package/resource/resource.utils.d.ts.map +1 -1
  125. package/scope/scope.instance.d.ts.map +1 -1
  126. package/scope/server-entries.helper.d.ts +8 -0
  127. package/scope/server-entries.helper.d.ts.map +1 -0
  128. package/skill/cache/skill-http-cache.holder.d.ts.map +1 -1
  129. package/skill/flows/http/llm-full-txt.flow.d.ts +1 -1
  130. package/skill/flows/http/llm-txt.flow.d.ts +1 -1
  131. package/skill/flows/http/skills-api.flow.d.ts +1 -1
  132. package/skill/flows/load-skill.flow.d.ts.map +1 -1
  133. package/skill/skill-audit.helper.d.ts +8 -2
  134. package/skill/skill-audit.helper.d.ts.map +1 -1
  135. package/skill/skill.utils.d.ts +2 -0
  136. package/skill/skill.utils.d.ts.map +1 -1
  137. package/tool/flows/call-tool.flow.d.ts.map +1 -1
  138. package/tool/tool-external.loader.d.ts +4 -0
  139. package/tool/tool-external.loader.d.ts.map +1 -0
  140. package/tool/tool.registry.d.ts +3 -1
  141. package/tool/tool.registry.d.ts.map +1 -1
  142. package/tool/tool.utils.d.ts +3 -1
  143. package/tool/tool.utils.d.ts.map +1 -1
  144. package/transport/flows/handle.streamable-http.flow.d.ts +1 -1
  145. package/utils/lineage.utils.d.ts +7 -0
  146. package/utils/lineage.utils.d.ts.map +1 -1
  147. package/workflow/tools/execute-workflow.tool.d.ts.map +1 -1
  148. package/workflow/tools/list-workflows.tool.d.ts.map +1 -1
  149. package/workflow/tools/register-workflow.tool.d.ts.map +1 -1
  150. package/workflow/tools/remove-workflow.tool.d.ts.map +1 -1
@@ -0,0 +1,26 @@
1
+ import { type FrontMcpLogger, type PackageLoader, type PromptEsmRecord, type PromptEsmTargetRecord, type PromptRecord, type ResourceEsmRecord, type ResourceEsmTargetRecord, type ResourceRecord, type ScopeEntry, type ToolEsmRecord, type ToolEsmTargetRecord, type ToolRecord } from '../common';
2
+ import { type EsmRegistryAuth } from './esm-auth.types';
3
+ import { EsmModuleLoader } from './esm-module-loader';
4
+ /** The registry auth a `PackageLoader` resolves package versions with. */
5
+ export declare function registryAuthOf(loader?: PackageLoader): EsmRegistryAuth | undefined;
6
+ /** A module loader for packages fetched through `loader` (the registry and bundle CDN) and cached for `cacheTTL` ms. */
7
+ export declare function createPackageModuleLoader(options: {
8
+ loader?: PackageLoader;
9
+ cacheTTL?: number;
10
+ logger?: FrontMcpLogger;
11
+ }): EsmModuleLoader;
12
+ /** The record of a manifest's tool export, its name prefixed by `namespace` when given. */
13
+ export declare function esmToolRecord(raw: unknown, namespace?: string): ToolRecord | undefined;
14
+ /** The record of a manifest's resource export, its name prefixed by `namespace` when given. */
15
+ export declare function esmResourceRecord(raw: unknown, namespace?: string): ResourceRecord | undefined;
16
+ /** The record of a manifest's prompt export, its name prefixed by `namespace` when given. */
17
+ export declare function esmPromptRecord(raw: unknown, namespace?: string): PromptRecord | undefined;
18
+ /** The records of a manifest's exports of one kind; exports that are not entries of that kind are skipped. */
19
+ export declare function esmManifestRecords<R>(exported: unknown[] | undefined, recordOf: (raw: unknown) => R | undefined): R[];
20
+ /** The tools a `Tool.esm()` entry or a package specifier string in `tools` names. */
21
+ export declare function loadEsmToolEntries(scope: ScopeEntry, record: ToolEsmRecord | ToolEsmTargetRecord): Promise<ToolRecord[]>;
22
+ /** The resource a `Resource.esm()` entry names. */
23
+ export declare function loadEsmResourceEntries(scope: ScopeEntry, record: ResourceEsmRecord | ResourceEsmTargetRecord): Promise<ResourceRecord[]>;
24
+ /** The prompt a `Prompt.esm()` entry names. */
25
+ export declare function loadEsmPromptEntries(scope: ScopeEntry, record: PromptEsmRecord | PromptEsmTargetRecord): Promise<PromptRecord[]>;
26
+ //# sourceMappingURL=esm-entries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"esm-entries.d.ts","sourceRoot":"","sources":["../../src/esm-loader/esm-entries.ts"],"names":[],"mappings":"AAUA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EAChB,MAAM,WAAW,CAAC;AAMnB,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGxD,OAAO,EAAE,eAAe,EAAsB,MAAM,qBAAqB,CAAC;AAI1E,0EAA0E;AAC1E,wBAAgB,cAAc,CAAC,MAAM,CAAC,EAAE,aAAa,GAAG,eAAe,GAAG,SAAS,CAIlF;AAED,wHAAwH;AACxH,wBAAgB,yBAAyB,CAAC,OAAO,EAAE;IACjD,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB,GAAG,eAAe,CAOlB;AAED,2FAA2F;AAC3F,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAUtF;AAED,+FAA+F;AAC/F,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAQ9F;AAED,6FAA6F;AAC7F,wBAAgB,eAAe,CAAC,GAAG,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAQ1F;AAED,8GAA8G;AAC9G,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,SAAS,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,CAAC,GAAG,SAAS,GAAG,CAAC,EAAE,CAErH;AAkDD,qFAAqF;AACrF,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,UAAU,EACjB,MAAM,EAAE,aAAa,GAAG,mBAAmB,GAC1C,OAAO,CAAC,UAAU,EAAE,CAAC,CAEvB;AAED,mDAAmD;AACnD,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,UAAU,EACjB,MAAM,EAAE,iBAAiB,GAAG,uBAAuB,GAClD,OAAO,CAAC,cAAc,EAAE,CAAC,CAI3B;AAED,+CAA+C;AAC/C,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,UAAU,EACjB,MAAM,EAAE,eAAe,GAAG,qBAAqB,GAC9C,OAAO,CAAC,YAAY,EAAE,CAAC,CAEzB"}
@@ -6,11 +6,11 @@
6
6
  * - **Node.js**: fetch → cache to disk → import() from file:// URL
7
7
  * - **Browser**: fetch → in-memory cache → evaluate via Function constructor
8
8
  */
9
- import type { FrontMcpLogger } from '../common';
10
- import type { EsmRegistryAuth } from './esm-auth.types';
11
- import type { EsmCacheManager } from './esm-cache';
12
- import type { ParsedPackageSpecifier } from './package-specifier';
13
- import type { FrontMcpPackageManifest } from './esm-manifest';
9
+ import { type FrontMcpLogger } from '../common';
10
+ import { type EsmRegistryAuth } from './esm-auth.types';
11
+ import { type EsmCacheManager } from './esm-cache';
12
+ import { type FrontMcpPackageManifest } from './esm-manifest';
13
+ import { type ParsedPackageSpecifier } from './package-specifier';
14
14
  /**
15
15
  * Result of loading an ESM package.
16
16
  */
@@ -1 +1 @@
1
- {"version":3,"file":"esm-module-loader.d.ts","sourceRoot":"","sources":["../../src/esm-loader/esm-module-loader.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAiB,MAAM,aAAa,CAAC;AAClE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AA4B9D;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,kDAAkD;IAClD,QAAQ,EAAE,uBAAuB,CAAC;IAClC,uCAAuC;IACvC,eAAe,EAAE,MAAM,CAAC;IACxB,oDAAoD;IACpD,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,qEAAqE;IACrE,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,4CAA4C;IAC5C,KAAK,EAAE,eAAe,CAAC;IACvB,4CAA4C;IAC5C,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sBAAsB;IACtB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,8BAA8B;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;;GAUG;AACH,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAkB;IACxC,OAAO,CAAC,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/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;IAmD1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;WACiB,QAAQ,CAAC,cAAc,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;CA2OjF"}
@@ -1 +1 @@
1
- {"version":3,"file":"static-startup.check.d.ts","sourceRoot":"","sources":["../../src/front-mcp/static-startup.check.ts"],"names":[],"mappings":"AA+BA,OAAO,EAGL,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EAGxB,MAAM,WAAW,CAAC;AA0LnB;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,mBAAmB,GAAG,kBAAkB,GAAG,IAAI,CA6BhG"}
1
+ {"version":3,"file":"static-startup.check.d.ts","sourceRoot":"","sources":["../../src/front-mcp/static-startup.check.ts"],"names":[],"mappings":"AA+BA,OAAO,EAGL,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EAGxB,MAAM,WAAW,CAAC;AAkMnB;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,mBAAmB,GAAG,kBAAkB,GAAG,IAAI,CA6BhG"}
package/index.d.ts CHANGED
@@ -30,24 +30,24 @@ export type { WorkflowRegistryInterface, IndexedWorkflow, WorkflowChangeEvent, W
30
30
  export { ExecuteWorkflowTool, GetWorkflowStatusTool, ListWorkflowsTool, RegisterWorkflowTool, RemoveWorkflowTool, } from './workflow/tools';
31
31
  export { ChannelInstance, ChannelRegistry, ChannelEmitter, ChannelNotificationService, ChannelEventBus, ChannelReplyTool, } from './channel';
32
32
  export type { ChannelRegistryInterface, IndexedChannel, ChannelChangeEvent, ChannelChangeKind, ChannelChangeScope, ChannelReplyInput, RegisterChannelCapabilitiesArgs, ChannelCapabilitiesResult, } from './channel';
33
- export { SkillRegistry, SkillInstance, createSkillInstance, SkillEmitter, MemorySkillProvider, SkillToolValidator, createSkillStorageProvider, createMemorySkillProvider, normalizeSkill, isSkillRecord, formatSkillForLLM, loadSkillDirectory, scanSkillResources, skillDir, buildSkillsCatalogSummary, composeInitializeInstructions, composeCallerInstructions, buildChannelInstructions, setSkillAuditFactory, hasSkillAuditFactory, filterServableSkills, authorizeSkillHttpRequest, createSkillHttpAuthValidator, SkillHttpAuthValidator, } from './skill';
33
+ export { SkillRegistry, SkillInstance, createSkillInstance, SkillEmitter, MemorySkillProvider, ExternalSkillProviderBase, SkillToolValidator, createSkillStorageProvider, createMemorySkillProvider, normalizeSkill, isSkillRecord, formatSkillForLLM, loadSkillDirectory, scanSkillResources, skillDir, buildSkillsCatalogSummary, composeInitializeInstructions, composeCallerInstructions, buildChannelInstructions, setSkillAuditFactory, hasSkillAuditFactory, filterServableSkills, authorizeSkillHttpRequest, createSkillHttpAuthValidator, SkillHttpAuthValidator, SkillValidationError, } from './skill';
34
34
  export type { SkillAuditFactory, AuditModuleShape, SkillHttpAccess, SkillHttpAuthContext, SkillHttpAuthResult, SkillHttpAuthValidatorOptions, } from './skill';
35
- export type { SkillRegistryInterface, RegisterSkillContentOptions, RegisteredSkillContent, IndexedSkill, SkillChangeEvent, SkillChangeKind, SkillChangeScope, SkillStorageProvider, SkillStorageProviderType, SkillSearchOptions, SkillSearchResult, SkillLoadResult, SkillListOptions, SkillListResult, ToolValidationResult, SkillStorageFactoryOptions, SkillStorageFactoryResult, InjectInstructionsPolicy, CallerInstructionsOptions, InstructionsScope, SkillIndexCache, SkillIndexScoring, } from './skill';
35
+ export type { SkillRegistryInterface, RegisterSkillContentOptions, RegisteredSkillContent, IndexedSkill, SkillChangeEvent, SkillChangeKind, SkillChangeScope, SkillStorageProvider, SkillStorageProviderType, ExternalSkillMode, ExternalSkillProviderOptions, ExternalSkillSearchOptions, ExternalSkillListOptions, SkillSyncStateStore, SkillSyncState, SkillSyncEntry, SkillSyncStatus, SkillSearchOptions, SkillSearchResult, SkillLoadResult, SkillListOptions, SkillListResult, ToolValidationResult, SkillStorageFactoryOptions, SkillStorageFactoryResult, InjectInstructionsPolicy, CallerInstructionsOptions, InstructionsScope, SkillIndexCache, SkillIndexScoring, SkillValidationReport, SkillValidationResult, SyncResult, SkillSessionManager, } from './skill';
36
36
  export { Agent, FrontMcpAgent, agent, frontMcpAgent, AgentContext, withConfig, } from './agent';
37
37
  export type { AgentMetadata, AgentLlmConfig, AgentLlmBuiltinConfig, AgentSwarmConfig, AgentExecutionConfig, AgentType, WithConfig, AgentLlmAdapter, AgentPrompt, AgentMessage, AgentCompletion, AgentToolCall, AgentToolDefinition, } from './agent';
38
38
  export { OpenAIAdapter, AnthropicAdapter } from './agent/adapters';
39
39
  export type { OpenAIAdapterConfig, OpenAIApiMode, AnthropicAdapterConfig } from './agent/adapters';
40
40
  export declare const ToolHook: {
41
- Stage: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findTool" | "checkToolAuthorization" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => MethodDecorator;
42
- Will: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findTool" | "checkToolAuthorization" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => MethodDecorator;
43
- Did: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findTool" | "checkToolAuthorization" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => MethodDecorator;
44
- Around: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findTool" | "checkToolAuthorization" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => MethodDecorator;
41
+ Stage: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findTool" | "checkToolAuthorization" | "checkEntryAuthorities" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "validateOutput" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => MethodDecorator;
42
+ Will: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findTool" | "checkToolAuthorization" | "checkEntryAuthorities" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "validateOutput" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => MethodDecorator;
43
+ Did: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findTool" | "checkToolAuthorization" | "checkEntryAuthorities" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "validateOutput" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => MethodDecorator;
44
+ Around: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findTool" | "checkToolAuthorization" | "checkEntryAuthorities" | "createTaskIfRequested" | "createToolCallContext" | "checkToolCredentials" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "validateOutput" | "releaseSemaphore" | "releaseQuota" | "applyUI", opts?: import("./common").HookOptions<import("./tool/flows/call-tool.flow").default>) => MethodDecorator;
45
45
  };
46
46
  export declare const ListToolsHook: {
47
- Stage: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findTools" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => MethodDecorator;
48
- Will: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findTools" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => MethodDecorator;
49
- Did: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findTools" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => MethodDecorator;
50
- Around: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findTools" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => MethodDecorator;
47
+ Stage: (stage: "parseInput" | "ensureRemoteCapabilities" | "findTools" | "filterByAuthorities" | "resolveConflicts" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => MethodDecorator;
48
+ Will: (stage: "parseInput" | "ensureRemoteCapabilities" | "findTools" | "filterByAuthorities" | "resolveConflicts" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => MethodDecorator;
49
+ Did: (stage: "parseInput" | "ensureRemoteCapabilities" | "findTools" | "filterByAuthorities" | "resolveConflicts" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => MethodDecorator;
50
+ Around: (stage: "parseInput" | "ensureRemoteCapabilities" | "findTools" | "filterByAuthorities" | "resolveConflicts" | "parseTools", opts?: import("./common").HookOptions<import("./tool/flows/tools-list.flow").default>) => MethodDecorator;
51
51
  };
52
52
  export declare const HttpHook: {
53
53
  Stage: (stage: "metrics" | "finalize" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "checkIpFilter" | "router" | "traceRequest" | "relayToSessionOwner" | "checkAuthorization" | "acquireIdentityQuota" | "checkPersistentSessionOwner" | "handleMcp2026" | "handleWebFetch" | "handleLegacySse" | "handleSse" | "handleStreamableHttp" | "handleStatefulHttp" | "handleStatelessHttp" | "handleDeleteSession" | "audit", opts?: import("./common").HookOptions<import("./scope/flows/http.request.flow").default>) => MethodDecorator;
@@ -56,10 +56,10 @@ export declare const HttpHook: {
56
56
  Around: (stage: "metrics" | "finalize" | "acquireQuota" | "acquireSemaphore" | "releaseSemaphore" | "releaseQuota" | "checkIpFilter" | "router" | "traceRequest" | "relayToSessionOwner" | "checkAuthorization" | "acquireIdentityQuota" | "checkPersistentSessionOwner" | "handleMcp2026" | "handleWebFetch" | "handleLegacySse" | "handleSse" | "handleStreamableHttp" | "handleStatefulHttp" | "handleStatelessHttp" | "handleDeleteSession" | "audit", opts?: import("./common").HookOptions<import("./scope/flows/http.request.flow").default>) => MethodDecorator;
57
57
  };
58
58
  export declare const OAuthAuthorizeHook: {
59
- Stage: (stage: "parseInput" | "validateOutput" | "validateInput" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => MethodDecorator;
60
- Will: (stage: "parseInput" | "validateOutput" | "validateInput" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => MethodDecorator;
61
- Did: (stage: "parseInput" | "validateOutput" | "validateInput" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => MethodDecorator;
62
- Around: (stage: "parseInput" | "validateOutput" | "validateInput" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => MethodDecorator;
59
+ Stage: (stage: "parseInput" | "validateInput" | "validateOutput" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => MethodDecorator;
60
+ Will: (stage: "parseInput" | "validateInput" | "validateOutput" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => MethodDecorator;
61
+ Did: (stage: "parseInput" | "validateInput" | "validateOutput" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => MethodDecorator;
62
+ Around: (stage: "parseInput" | "validateInput" | "validateOutput" | "checkIpFilter" | "checkIfAuthorized" | "prepareAuthorizationRequest" | "buildAuthorizeOutput", opts?: import("./common").HookOptions<import("./auth/flows/oauth.authorize.flow").default>) => MethodDecorator;
63
63
  };
64
64
  export declare const OAuthCallbackHook: {
65
65
  Stage: (stage: "parseInput" | "checkIpFilter" | "validatePendingAuth" | "handleIncrementalAuth" | "handleFederatedAuth" | "createAuthorizationCode" | "redirectToClient", opts?: import("./common").HookOptions<import("./auth/flows/oauth.callback.flow").default>) => MethodDecorator;
@@ -68,16 +68,16 @@ export declare const OAuthCallbackHook: {
68
68
  Around: (stage: "parseInput" | "checkIpFilter" | "validatePendingAuth" | "handleIncrementalAuth" | "handleFederatedAuth" | "createAuthorizationCode" | "redirectToClient", opts?: import("./common").HookOptions<import("./auth/flows/oauth.callback.flow").default>) => MethodDecorator;
69
69
  };
70
70
  export declare const OAuthTokenHook: {
71
- Stage: (stage: "parseInput" | "validateOutput" | "validateInput" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => MethodDecorator;
72
- Will: (stage: "parseInput" | "validateOutput" | "validateInput" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => MethodDecorator;
73
- Did: (stage: "parseInput" | "validateOutput" | "validateInput" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => MethodDecorator;
74
- Around: (stage: "parseInput" | "validateOutput" | "validateInput" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => MethodDecorator;
71
+ Stage: (stage: "parseInput" | "validateInput" | "validateOutput" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => MethodDecorator;
72
+ Will: (stage: "parseInput" | "validateInput" | "validateOutput" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => MethodDecorator;
73
+ Did: (stage: "parseInput" | "validateInput" | "validateOutput" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => MethodDecorator;
74
+ Around: (stage: "parseInput" | "validateInput" | "validateOutput" | "checkIpFilter" | "handleAuthorizationCodeGrant" | "handleRefreshTokenGrant" | "handleAnonymousGrant" | "buildTokenResponse", opts?: import("./common").HookOptions<import("./auth/flows/oauth.token.flow").default>) => MethodDecorator;
75
75
  };
76
76
  export declare const OAuthRegisterHook: {
77
- Stage: (stage: "parseInput" | "validateOutput" | "validateInput" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => MethodDecorator;
78
- Will: (stage: "parseInput" | "validateOutput" | "validateInput" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => MethodDecorator;
79
- Did: (stage: "parseInput" | "validateOutput" | "validateInput" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => MethodDecorator;
80
- Around: (stage: "parseInput" | "validateOutput" | "validateInput" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => MethodDecorator;
77
+ Stage: (stage: "parseInput" | "validateInput" | "validateOutput" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => MethodDecorator;
78
+ Will: (stage: "parseInput" | "validateInput" | "validateOutput" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => MethodDecorator;
79
+ Did: (stage: "parseInput" | "validateInput" | "validateOutput" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => MethodDecorator;
80
+ Around: (stage: "parseInput" | "validateInput" | "validateOutput" | "checkIpFilter" | "registerClient" | "respondRegistration", opts?: import("./common").HookOptions<import("./auth/flows/oauth.register.flow").default>) => MethodDecorator;
81
81
  };
82
82
  export declare const ResourceHook: {
83
83
  Stage: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findResource" | "createResourceContext", opts?: import("./common").HookOptions<import("./resource").ReadResourceFlow>) => MethodDecorator;
@@ -98,16 +98,16 @@ export declare const ListResourceTemplatesHook: {
98
98
  Around: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findTemplates" | "parseTemplates", opts?: import("./common").HookOptions<import("./resource").ResourceTemplatesListFlow>) => MethodDecorator;
99
99
  };
100
100
  export declare const PromptHook: {
101
- Stage: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findPrompt" | "checkEntryAuthorities" | "createPromptContext" | "validateOutput", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => MethodDecorator;
102
- Will: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findPrompt" | "checkEntryAuthorities" | "createPromptContext" | "validateOutput", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => MethodDecorator;
103
- Did: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findPrompt" | "checkEntryAuthorities" | "createPromptContext" | "validateOutput", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => MethodDecorator;
104
- Around: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "findPrompt" | "checkEntryAuthorities" | "createPromptContext" | "validateOutput", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => MethodDecorator;
101
+ Stage: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findPrompt" | "createPromptContext", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => MethodDecorator;
102
+ Will: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findPrompt" | "createPromptContext", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => MethodDecorator;
103
+ Did: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findPrompt" | "createPromptContext", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => MethodDecorator;
104
+ Around: (stage: "execute" | "finalize" | "parseInput" | "ensureRemoteCapabilities" | "checkEntryAuthorities" | "validateOutput" | "findPrompt" | "createPromptContext", opts?: import("./common").HookOptions<import("./prompt").GetPromptFlow>) => MethodDecorator;
105
105
  };
106
106
  export declare const ListPromptsHook: {
107
- Stage: (stage: "parseInput" | "ensureRemoteCapabilities" | "findPrompts" | "filterByAuthorities" | "resolveConflicts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => MethodDecorator;
108
- Will: (stage: "parseInput" | "ensureRemoteCapabilities" | "findPrompts" | "filterByAuthorities" | "resolveConflicts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => MethodDecorator;
109
- Did: (stage: "parseInput" | "ensureRemoteCapabilities" | "findPrompts" | "filterByAuthorities" | "resolveConflicts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => MethodDecorator;
110
- Around: (stage: "parseInput" | "ensureRemoteCapabilities" | "findPrompts" | "filterByAuthorities" | "resolveConflicts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => MethodDecorator;
107
+ Stage: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findPrompts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => MethodDecorator;
108
+ Will: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findPrompts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => MethodDecorator;
109
+ Did: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findPrompts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => MethodDecorator;
110
+ Around: (stage: "parseInput" | "ensureRemoteCapabilities" | "filterByAuthorities" | "resolveConflicts" | "findPrompts" | "parsePrompts", opts?: import("./common").HookOptions<import("./prompt").PromptsListFlow>) => MethodDecorator;
111
111
  };
112
112
  export declare const CompletionHook: {
113
113
  Stage: (stage: "finalize" | "parseInput" | "findReference" | "findWidgetTools" | "complete", opts?: import("./common").HookOptions<import("./completion/flows/complete.flow").default>) => MethodDecorator;
@@ -116,10 +116,10 @@ export declare const CompletionHook: {
116
116
  Around: (stage: "finalize" | "parseInput" | "findReference" | "findWidgetTools" | "complete", opts?: import("./common").HookOptions<import("./completion/flows/complete.flow").default>) => MethodDecorator;
117
117
  };
118
118
  export declare const AgentCallHook: {
119
- Stage: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "validateOutput" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "parseOutput" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => MethodDecorator;
120
- Will: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "validateOutput" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "parseOutput" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => MethodDecorator;
121
- Did: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "validateOutput" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "parseOutput" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => MethodDecorator;
122
- Around: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "validateOutput" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "parseOutput" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => MethodDecorator;
119
+ Stage: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "validateOutput" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "parseOutput" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => MethodDecorator;
120
+ Will: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "validateOutput" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "parseOutput" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => MethodDecorator;
121
+ Did: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "validateOutput" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "parseOutput" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => MethodDecorator;
122
+ Around: (stage: "execute" | "finalize" | "parseInput" | "checkEntryAuthorities" | "acquireQuota" | "acquireSemaphore" | "validateInput" | "validateOutput" | "releaseSemaphore" | "releaseQuota" | "findAgent" | "checkCallDepth" | "checkAgentAuthorization" | "createAgentContext" | "parseOutput" | "emitCompletion", opts?: import("./common").HookOptions<import("./agent").CallAgentFlow>) => MethodDecorator;
123
123
  };
124
124
  export declare const ChannelSendHook: {
125
125
  Stage: (stage: "finalize" | "parseInput" | "resolveMeta" | "send", opts?: import("./common").HookOptions<import("./channel/flows/send-channel-notification.flow").default>) => MethodDecorator;
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,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EACzB,oBAAoB,EACpB,2BAA2B,EAC3B,yBAAyB,GAC1B,MAAM,gCAAgC,CAAC;AACxC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACrE,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAO7B,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EACL,CAAC,EACD,MAAM,EACN,KAAK,EACL,MAAM,EACN,gBAAgB,EAChB,aAAa,EACb,KAAK,SAAS,EAEd,YAAY,EACZ,KAAK,UAAU,EAGf,KAAK,EACL,MAAM,EACN,QAAQ,EACR,SAAS,EACT,UAAU,EACV,OAAO,EACP,UAAU,EACV,qBAAqB,EACrB,OAAO,EACP,QAAQ,EACR,eAAe,EACf,UAAU,EACV,QAAQ,EACR,OAAO,EACP,WAAW,EACX,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,OAAO,EACP,KAAK,UAAU,EACf,KAAK,WA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