@dcyfr/ai 3.6.0 → 3.7.1

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 (71) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +2 -0
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/ai/agents/agent-loader.d.ts +1 -1
  5. package/dist/ai/agents/agent-registry.d.ts +1 -1
  6. package/dist/ai/agents/agent-router.d.ts +4 -4
  7. package/dist/ai/agents/index.d.ts +9 -9
  8. package/dist/ai/agents/instruction-template.d.ts +1 -1
  9. package/dist/ai/agents/persona-resolver.d.ts +1 -1
  10. package/dist/ai/agents/types.d.ts +1 -1
  11. package/dist/ai/agents-builtin/architecture/architecture-reviewer.d.ts +1 -1
  12. package/dist/ai/agents-builtin/architecture/cloud-architect.d.ts +1 -1
  13. package/dist/ai/agents-builtin/architecture/database-architect.d.ts +1 -1
  14. package/dist/ai/agents-builtin/architecture/index.d.ts +3 -3
  15. package/dist/ai/agents-builtin/content/index.d.ts +1 -1
  16. package/dist/ai/agents-builtin/content/technical-writer.d.ts +1 -1
  17. package/dist/ai/agents-builtin/data/data-scientist.d.ts +1 -1
  18. package/dist/ai/agents-builtin/data/index.d.ts +1 -1
  19. package/dist/ai/agents-builtin/development/backend-architect.d.ts +1 -1
  20. package/dist/ai/agents-builtin/development/frontend-developer.d.ts +1 -1
  21. package/dist/ai/agents-builtin/development/fullstack-developer.d.ts +1 -1
  22. package/dist/ai/agents-builtin/development/index.d.ts +4 -4
  23. package/dist/ai/agents-builtin/development/typescript-pro.d.ts +1 -1
  24. package/dist/ai/agents-builtin/devops/devops-engineer.d.ts +1 -1
  25. package/dist/ai/agents-builtin/devops/index.d.ts +1 -1
  26. package/dist/ai/agents-builtin/index.d.ts +10 -10
  27. package/dist/ai/agents-builtin/performance/index.d.ts +1 -1
  28. package/dist/ai/agents-builtin/performance/performance-profiler.d.ts +1 -1
  29. package/dist/ai/agents-builtin/research/index.d.ts +1 -1
  30. package/dist/ai/agents-builtin/research/research-orchestrator.d.ts +1 -1
  31. package/dist/ai/agents-builtin/security/index.d.ts +1 -1
  32. package/dist/ai/agents-builtin/security/security-engineer.d.ts +1 -1
  33. package/dist/ai/agents-builtin/testing/debugger.d.ts +1 -1
  34. package/dist/ai/agents-builtin/testing/index.d.ts +2 -2
  35. package/dist/ai/agents-builtin/testing/test-engineer.d.ts +1 -1
  36. package/dist/ai/core/provider-registry.d.ts +1 -1
  37. package/dist/ai/core/telemetry-engine.d.ts +2 -2
  38. package/dist/ai/delegation/chain-tracker.d.ts +1 -1
  39. package/dist/ai/generated/version.d.ts +1 -1
  40. package/dist/ai/generated/version.js +1 -1
  41. package/dist/ai/index.d.ts +39 -39
  42. package/dist/ai/mcp/mcp-registry.d.ts +1 -1
  43. package/dist/ai/mcp/servers/shared/utils.d.ts +1 -1
  44. package/dist/ai/metacognition/types.d.ts +1 -1
  45. package/dist/ai/permissions/attenuation-engine.d.ts +1 -1
  46. package/dist/ai/plugins/plugin-loader.d.ts +1 -1
  47. package/dist/ai/src/capability-manifest-generator.d.ts +1 -1
  48. package/dist/ai/src/capability-registry.d.ts +1 -1
  49. package/dist/ai/src/personas/hooks/before-llm-call.d.ts +1 -1
  50. package/dist/ai/src/personas/index.d.ts +4 -4
  51. package/dist/ai/src/personas/persona-loader.d.ts +1 -1
  52. package/dist/ai/src/personas/voice-resolver.d.ts +1 -1
  53. package/dist/ai/src/runtime/agent-runtime.d.ts +5 -5
  54. package/dist/ai/src/telemetry/delegation-telemetry.d.ts +2 -2
  55. package/dist/ai/src/telemetry/index.d.ts +6 -6
  56. package/dist/ai/src/telemetry/runtime-telemetry-integration.d.ts +3 -3
  57. package/dist/ai/src/telemetry/telemetry-utils.d.ts +1 -1
  58. package/dist/ai/src/types/delegation-contracts.d.ts +1 -1
  59. package/dist/ai/src/verification/multi-modal-formatters.d.ts +3 -3
  60. package/dist/ai/src/verification/output-formatter.d.ts +2 -2
  61. package/dist/ai/src/verification/parser-integration.d.ts +3 -3
  62. package/dist/ai/types/delegation-contracts.d.ts +2 -2
  63. package/dist/ai/types/index.d.ts +4 -4
  64. package/dist/ai/types/telemetry.d.ts +1 -1
  65. package/dist/ai/utils/storage.d.ts +1 -1
  66. package/dist/ai/validation/validation-framework.d.ts +9 -2
  67. package/dist/ai/validation/validation-framework.d.ts.map +1 -1
  68. package/dist/ai/validation/validation-framework.js +32 -1
  69. package/dist/ai/validation/validation-framework.js.map +1 -1
  70. package/dist/ai/verification/policy-framework.d.ts +1 -1
  71. package/package.json +3 -18
@@ -24,7 +24,7 @@
24
24
  * const agent = loader.getAgent('test-engineer');
25
25
  * ```
26
26
  */
27
- import type { Agent, AgentManifest, AgentTier, AgentLoaderConfig, LoadedAgent } from './types';
27
+ import type { Agent, AgentManifest, AgentTier, AgentLoaderConfig, LoadedAgent } from './types.js';
28
28
  /**
29
29
  * Error thrown when agent loading fails
30
30
  */
@@ -23,7 +23,7 @@
23
23
  * const agent = registry.resolveAgent('test-engineer');
24
24
  * ```
25
25
  */
26
- import type { Agent, AgentManifest, AgentTier, AgentCategory, AgentRegistryConfig, LoadedAgent } from './types';
26
+ import type { Agent, AgentManifest, AgentTier, AgentCategory, AgentRegistryConfig, LoadedAgent } from './types.js';
27
27
  /**
28
28
  * Agent Registry - multi-tier agent management
29
29
  */
@@ -26,11 +26,11 @@
26
26
  * console.log(`Routed to: ${result.agent.manifest.name}`);
27
27
  * ```
28
28
  */
29
- import type { Agent, AgentRouterConfig, AgentRoutingRule, AgentRoutingResult, AgentExecutionContext, AgentExecutionResult } from './types';
30
- import type { TaskContext as AgentTaskContext } from '../types';
31
- import { AgentRegistry } from './agent-registry';
29
+ import type { Agent, AgentRouterConfig, AgentRoutingRule, AgentRoutingResult, AgentExecutionContext, AgentExecutionResult } from './types.js';
30
+ import type { TaskContext as AgentTaskContext } from '../types/index.js';
31
+ import { AgentRegistry } from './agent-registry.js';
32
32
  import { ProviderRegistry } from '../core/provider-registry.js';
33
- import type { DCYFRMemory } from '../memory/types';
33
+ import type { DCYFRMemory } from '../memory/types.js';
34
34
  import { TelemetryEngine } from '../core/telemetry-engine.js';
35
35
  /**
36
36
  * Agent Router - routes tasks to appropriate agents
@@ -3,13 +3,13 @@
3
3
  *
4
4
  * @module @dcyfr/ai/agents
5
5
  */
6
- export type { AgentCategory, AgentTier, AgentModel, AgentPermissionMode, AgentQualityGate, AgentProactiveTrigger, AgentSkill, AgentManifest, AgentHooks, Agent, LoadedAgent, AgentExecutionContext, AgentExecutionResult, AgentViolation, AgentRoutingRule, AgentRoutingResult, AgentRegistryConfig, AgentLoaderConfig, AgentRouterConfig, PersonalityTrait, PersonalityTraits, SituationalTone, IntentSignal, ProactiveGuidance, AgentPersona, } from './types';
7
- export { personalityTraitSchema, personalityTraitsSchema, situationalToneSchema, intentSignalSchema, proactiveGuidanceSchema, agentPersonaIdentitySchema, agentPersonaVoiceSchema, agentPersonaSchema, validatePersona, safeValidatePersona, } from './schema';
8
- export { resolvePersona } from './persona-resolver';
9
- export type { BrandVoice, BrandVoiceTraits, ResolvedPersona } from './persona-resolver';
10
- export { generatePersonaInstructions } from './instruction-template';
11
- export type { PersonaInstructionSegments } from './instruction-template';
12
- export { AgentLoader, AgentLoadError, AgentValidationError, getGlobalAgentLoader, resetGlobalAgentLoader, } from './agent-loader';
13
- export { AgentRegistry, getGlobalAgentRegistry, resetGlobalAgentRegistry, } from './agent-registry';
14
- export { AgentRouter, getGlobalAgentRouter, resetGlobalAgentRouter, } from './agent-router';
6
+ export type { AgentCategory, AgentTier, AgentModel, AgentPermissionMode, AgentQualityGate, AgentProactiveTrigger, AgentSkill, AgentManifest, AgentHooks, Agent, LoadedAgent, AgentExecutionContext, AgentExecutionResult, AgentViolation, AgentRoutingRule, AgentRoutingResult, AgentRegistryConfig, AgentLoaderConfig, AgentRouterConfig, PersonalityTrait, PersonalityTraits, SituationalTone, IntentSignal, ProactiveGuidance, AgentPersona, } from './types.js';
7
+ export { personalityTraitSchema, personalityTraitsSchema, situationalToneSchema, intentSignalSchema, proactiveGuidanceSchema, agentPersonaIdentitySchema, agentPersonaVoiceSchema, agentPersonaSchema, validatePersona, safeValidatePersona, } from './schema.js';
8
+ export { resolvePersona } from './persona-resolver.js';
9
+ export type { BrandVoice, BrandVoiceTraits, ResolvedPersona } from './persona-resolver.js';
10
+ export { generatePersonaInstructions } from './instruction-template.js';
11
+ export type { PersonaInstructionSegments } from './instruction-template.js';
12
+ export { AgentLoader, AgentLoadError, AgentValidationError, getGlobalAgentLoader, resetGlobalAgentLoader, } from './agent-loader.js';
13
+ export { AgentRegistry, getGlobalAgentRegistry, resetGlobalAgentRegistry, } from './agent-registry.js';
14
+ export { AgentRouter, getGlobalAgentRouter, resetGlobalAgentRouter, } from './agent-router.js';
15
15
  //# sourceMappingURL=index.d.ts.map
@@ -13,7 +13,7 @@
13
13
  * @module @dcyfr/ai/agents/instruction-template
14
14
  * @version 1.0.0
15
15
  */
16
- import type { ResolvedPersona } from './persona-resolver';
16
+ import type { ResolvedPersona } from './persona-resolver.js';
17
17
  /**
18
18
  * Generated instruction segments.
19
19
  * Each section is optional — only rendered when the resolved persona
@@ -8,7 +8,7 @@
8
8
  * @module @dcyfr/ai/agents/persona-resolver
9
9
  * @version 1.0.0
10
10
  */
11
- import type { AgentPersona, SituationalTone } from './types';
11
+ import type { AgentPersona, SituationalTone } from './types.js';
12
12
  /**
13
13
  * Brand voice personality traits (from DCYFR_CONTEXT.json brand_voice block)
14
14
  */
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents/types
8
8
  */
9
- import type { ValidationSeverity, TaskContext } from '../types';
9
+ import type { ValidationSeverity, TaskContext } from '../types/index.js';
10
10
  /**
11
11
  * Agent category classification
12
12
  * Used for organizing and routing agents by their specialization
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/architecture/architecture-reviewer
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const architectureReviewer: Agent;
11
11
  export default architectureReviewer;
12
12
  //# sourceMappingURL=architecture-reviewer.d.ts.map
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/architecture/cloud-architect
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const cloudArchitect: Agent;
11
11
  export default cloudArchitect;
12
12
  //# sourceMappingURL=cloud-architect.d.ts.map
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/architecture/database-architect
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const databaseArchitect: Agent;
11
11
  export default databaseArchitect;
12
12
  //# sourceMappingURL=database-architect.d.ts.map
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * @module @dcyfr/ai/agents-builtin/architecture
7
7
  */
8
- export { architectureReviewer } from './architecture-reviewer';
9
- export { databaseArchitect } from './database-architect';
10
- export { cloudArchitect } from './cloud-architect';
8
+ export { architectureReviewer } from './architecture-reviewer.js';
9
+ export { databaseArchitect } from './database-architect.js';
10
+ export { cloudArchitect } from './cloud-architect.js';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -5,5 +5,5 @@
5
5
  *
6
6
  * @module @dcyfr/ai/agents-builtin/content
7
7
  */
8
- export { technicalWriter } from './technical-writer';
8
+ export { technicalWriter } from './technical-writer.js';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/content/technical-writer
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const technicalWriter: Agent;
11
11
  export default technicalWriter;
12
12
  //# sourceMappingURL=technical-writer.d.ts.map
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/data/data-scientist
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const dataScientist: Agent;
11
11
  export default dataScientist;
12
12
  //# sourceMappingURL=data-scientist.d.ts.map
@@ -5,5 +5,5 @@
5
5
  *
6
6
  * @module @dcyfr/ai/agents-builtin/data
7
7
  */
8
- export { dataScientist } from './data-scientist';
8
+ export { dataScientist } from './data-scientist.js';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/development/backend-architect
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const backendArchitect: Agent;
11
11
  export default backendArchitect;
12
12
  //# sourceMappingURL=backend-architect.d.ts.map
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/development/frontend-developer
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const frontendDeveloper: Agent;
11
11
  export default frontendDeveloper;
12
12
  //# sourceMappingURL=frontend-developer.d.ts.map
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/development/fullstack-developer
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const fullstackDeveloper: Agent;
11
11
  export default fullstackDeveloper;
12
12
  //# sourceMappingURL=fullstack-developer.d.ts.map
@@ -5,8 +5,8 @@
5
5
  *
6
6
  * @module @dcyfr/ai/agents-builtin/development
7
7
  */
8
- export { fullstackDeveloper } from './fullstack-developer';
9
- export { frontendDeveloper } from './frontend-developer';
10
- export { backendArchitect } from './backend-architect';
11
- export { typescriptPro } from './typescript-pro';
8
+ export { fullstackDeveloper } from './fullstack-developer.js';
9
+ export { frontendDeveloper } from './frontend-developer.js';
10
+ export { backendArchitect } from './backend-architect.js';
11
+ export { typescriptPro } from './typescript-pro.js';
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/development/typescript-pro
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const typescriptPro: Agent;
11
11
  export default typescriptPro;
12
12
  //# sourceMappingURL=typescript-pro.d.ts.map
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/devops/devops-engineer
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const devopsEngineer: Agent;
11
11
  export default devopsEngineer;
12
12
  //# sourceMappingURL=devops-engineer.d.ts.map
@@ -5,5 +5,5 @@
5
5
  *
6
6
  * @module @dcyfr/ai/agents-builtin/devops
7
7
  */
8
- export { devopsEngineer } from './devops-engineer';
8
+ export { devopsEngineer } from './devops-engineer.js';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -6,16 +6,16 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin
8
8
  */
9
- import type { Agent } from '../agents/types';
10
- export { fullstackDeveloper, frontendDeveloper, backendArchitect, typescriptPro } from './development';
11
- export { testEngineer, debugger } from './testing';
12
- export { securityEngineer } from './security';
13
- export { architectureReviewer, databaseArchitect, cloudArchitect } from './architecture';
14
- export { performanceProfiler } from './performance';
15
- export { devopsEngineer } from './devops';
16
- export { dataScientist } from './data';
17
- export { technicalWriter } from './content';
18
- export { researchOrchestrator } from './research';
9
+ import type { Agent } from '../agents/types.js';
10
+ export { fullstackDeveloper, frontendDeveloper, backendArchitect, typescriptPro } from './development/index.js';
11
+ export { testEngineer, debugger } from './testing/index.js';
12
+ export { securityEngineer } from './security/index.js';
13
+ export { architectureReviewer, databaseArchitect, cloudArchitect } from './architecture/index.js';
14
+ export { performanceProfiler } from './performance/index.js';
15
+ export { devopsEngineer } from './devops/index.js';
16
+ export { dataScientist } from './data/index.js';
17
+ export { technicalWriter } from './content/index.js';
18
+ export { researchOrchestrator } from './research/index.js';
19
19
  /**
20
20
  * All built-in agents as an array for bulk loading
21
21
  */
@@ -5,5 +5,5 @@
5
5
  *
6
6
  * @module @dcyfr/ai/agents-builtin/performance
7
7
  */
8
- export { performanceProfiler } from './performance-profiler';
8
+ export { performanceProfiler } from './performance-profiler.js';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/performance/performance-profiler
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const performanceProfiler: Agent;
11
11
  export default performanceProfiler;
12
12
  //# sourceMappingURL=performance-profiler.d.ts.map
@@ -5,5 +5,5 @@
5
5
  *
6
6
  * @module @dcyfr/ai/agents-builtin/research
7
7
  */
8
- export { researchOrchestrator } from './research-orchestrator';
8
+ export { researchOrchestrator } from './research-orchestrator.js';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/research/research-orchestrator
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const researchOrchestrator: Agent;
11
11
  export default researchOrchestrator;
12
12
  //# sourceMappingURL=research-orchestrator.d.ts.map
@@ -5,5 +5,5 @@
5
5
  *
6
6
  * @module @dcyfr/ai/agents-builtin/security
7
7
  */
8
- export { securityEngineer } from './security-engineer';
8
+ export { securityEngineer } from './security-engineer.js';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/security/security-engineer
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const securityEngineer: Agent;
11
11
  export default securityEngineer;
12
12
  //# sourceMappingURL=security-engineer.d.ts.map
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/testing/debugger
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const debugger_: Agent;
11
11
  export { debugger_ as debugger };
12
12
  export default debugger_;
@@ -5,6 +5,6 @@
5
5
  *
6
6
  * @module @dcyfr/ai/agents-builtin/testing
7
7
  */
8
- export { testEngineer } from './test-engineer';
9
- export { debugger } from './debugger';
8
+ export { testEngineer } from './test-engineer.js';
9
+ export { debugger } from './debugger.js';
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module @dcyfr/ai/agents-builtin/testing/test-engineer
8
8
  */
9
- import type { Agent } from '../../agents/types';
9
+ import type { Agent } from '../../agents/types.js';
10
10
  export declare const testEngineer: Agent;
11
11
  export default testEngineer;
12
12
  //# sourceMappingURL=test-engineer.d.ts.map
@@ -29,7 +29,7 @@
29
29
  * });
30
30
  * ```
31
31
  */
32
- import type { ProviderType, ProviderConfig, ProviderHealth, TaskContext, ExecutionResult } from '../types';
32
+ import type { ProviderType, ProviderConfig, ProviderHealth, TaskContext, ExecutionResult } from '../types/index.js';
33
33
  /**
34
34
  * Rate limit error
35
35
  */
@@ -25,8 +25,8 @@
25
25
  * const result = session.end('success');
26
26
  * ```
27
27
  */
28
- import type { AgentType, TaskType, TaskOutcome, ValidationStatus, StorageAdapter, StorageType } from '../types';
29
- import type { TelemetrySession, TelemetryMetrics, ViolationRecord, HandoffRecord, AgentStats, ComparisonStats, HandoffPatterns } from '../types/telemetry';
28
+ import type { AgentType, TaskType, TaskOutcome, ValidationStatus, StorageAdapter, StorageType } from '../types/index.js';
29
+ import type { TelemetrySession, TelemetryMetrics, ViolationRecord, HandoffRecord, AgentStats, ComparisonStats, HandoffPatterns } from '../types/telemetry.js';
30
30
  /**
31
31
  * Telemetry Session Manager - handles individual sessions
32
32
  */
@@ -27,7 +27,7 @@ export interface DelegationChain {
27
27
  /** Creation timestamp */
28
28
  created_at: string;
29
29
  }
30
- import type { ContractManager } from './contract-manager';
30
+ import type { ContractManager } from './contract-manager.js';
31
31
  /**
32
32
  * Chain tracker configuration
33
33
  */
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "3.6.0";
1
+ export declare const VERSION = "3.7.1";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,4 +1,4 @@
1
1
  // GENERATED by scripts/gen-version.mjs -- do not edit.
2
2
  // Source of truth: package.json "version".
3
- export const VERSION = '3.6.0'; // x-release-please-version
3
+ export const VERSION = '3.7.1'; // x-release-please-version
4
4
  //# sourceMappingURL=version.js.map
@@ -4,45 +4,45 @@
4
4
  * Portable AI agent framework with plugin architecture
5
5
  * @module @dcyfr/ai
6
6
  */
7
- export { TelemetryEngine, TelemetrySessionManager } from './core/telemetry-engine';
8
- export { ProviderRegistry, RateLimitError, ProviderUnavailableError, type ProviderRegistryConfig, } from './core/provider-registry';
9
- export type { ProviderType, AgentType, TaskType, TaskOutcome, ValidationStatus, ValidationSeverity, StorageType, Plugin, PluginManifest, PluginHooks, ValidationContext, ValidationResult, ValidationViolation, StorageAdapter, FrameworkConfig, ProviderConfig, ProviderHealth, TaskContext, ExecutionResult, CostEstimate, } from './types';
10
- export type { TelemetrySession, TelemetryMetrics, ViolationRecord, HandoffRecord, AgentStats, ComparisonStats, HandoffPatterns, } from './types/telemetry';
11
- export { PluginLoader, PluginLoadError, PluginValidationError, getGlobalPluginLoader, resetGlobalPluginLoader, type PluginLoaderConfig, } from './plugins/plugin-loader';
12
- export { ValidationFramework, type ValidationFrameworkConfig, type ValidationGate, type ValidationReport, } from './validation/validation-framework';
13
- export { ConfigLoader, loadConfig, type LoaderOptions, } from './config/loader';
14
- export { FrameworkConfigSchema, DesignTokenConfigSchema, BarrelExportConfigSchema, PageLayoutConfigSchema, TestDataConfigSchema, PluginConfigSchema, ValidationGateConfigSchema, TelemetryConfigSchema, ProviderConfigSchema, AgentCategorySchema, AgentTierSchema, AgentModelSchema, AgentPermissionModeSchema, AgentQualityGateSchema, AgentProactiveTriggerSchema, AgentManifestSchema, AgentTierConfigSchema, AgentRegistryConfigSchema, AgentRoutingRuleSchema, AgentRouterConfigSchema, MCPTransportSchema, MCPServerConfigSchema, MCPRegistryConfigSchema, DEFAULT_CONFIG, type DesignTokenConfig, type BarrelExportConfig, type PageLayoutConfig, type TestDataConfig, type Severity, type FailureMode, type AgentCategory as AgentCategoryConfig, type AgentTier as AgentTierConfig, type AgentModel as AgentModelConfig, type AgentPermissionMode as AgentPermissionModeConfig, type AgentQualityGateConfig, type AgentProactiveTriggerConfig, type AgentManifestConfig, type AgentRegistryConfig as AgentRegistrySchemaConfig, type AgentRoutingRuleConfig, type AgentRouterConfig as AgentRouterSchemaConfig, type MCPTransport as MCPTransportConfig, type MCPServerConfig as MCPServerSchemaConfig, type MCPRegistryConfig as MCPRegistrySchemaConfig, } from './config/schema';
15
- export { createStorageAdapter, MemoryStorageAdapter, FileStorageAdapter } from './utils/storage';
16
- export { type AgentCategory, type AgentTier, type AgentModel, type AgentPermissionMode, type AgentQualityGate, type AgentProactiveTrigger, type AgentSkill, type AgentManifest, type AgentHooks, type Agent, type LoadedAgent, type AgentExecutionContext, type AgentExecutionResult, type AgentViolation, type AgentRoutingRule, type AgentRoutingResult, type AgentRegistryConfig, type AgentLoaderConfig, type AgentRouterConfig, AgentLoader, AgentLoadError, AgentValidationError, getGlobalAgentLoader, resetGlobalAgentLoader, AgentRegistry, getGlobalAgentRegistry, resetGlobalAgentRegistry, AgentRouter, getGlobalAgentRouter, resetGlobalAgentRouter, } from './agents';
17
- export { type MCPTransport, type MCPServerStatus, type MCPTool, type MCPResource, type MCPServerConfig, type MCPServerManifest, type MCPServerCapabilities, type LoadedMCPServer, type MCPRegistryConfig, type MCPHealthCheckResult, MCPRegistry, getGlobalMCPRegistry, resetGlobalMCPRegistry, } from './mcp';
18
- export { getMemory, resetMemory, DCYFRMemoryImpl, getMemoryConfig, loadMemoryConfig, validateMemoryConfig, DEFAULT_CONFIG as DEFAULT_MEMORY_CONFIG, createMem0Client, getMem0Client, resetMem0Client, } from './memory';
19
- export type { DCYFRMemory, Memory, MemorySearchResult, MemoryContext, AgentMemory, SessionMemory, MemoryProvider, VectorDBProvider, VectorDBConfig, LLMConfig, MemoryConfig, Mem0Client, } from './memory';
20
- export { fullstackDeveloper, frontendDeveloper, backendArchitect, typescriptPro, testEngineer, debugger, securityEngineer, architectureReviewer, databaseArchitect, cloudArchitect, performanceProfiler, devopsEngineer, dataScientist, technicalWriter, researchOrchestrator, loadBuiltinAgents, getBuiltinAgent, listBuiltinAgents, builtinAgentsByName, } from './agents-builtin';
21
- export { AgentRuntime, type RuntimeState, type RuntimeConfig, type TaskContext as RuntimeTaskContext, type AgentExecutionResult as RuntimeAgentExecutionResult, type Decision, type Observation, type ToolExecutionContext, type DelegationContext, } from './runtime';
22
- export { ContractManager } from './delegation/contract-manager';
23
- export type { ContractManagerConfig, ContractQuery, ContractUpdate } from './delegation/contract-manager';
24
- export { DelegationHealthMonitor, getHealthMonitor, startHealthMonitoring, stopHealthMonitoring, } from './delegation/monitoring';
25
- export type { SystemHealthMetrics, AlertRule, AlertCondition, AlertChannel, Alert, } from './delegation/monitoring';
26
- export { BackgroundSessionQueue, MAX_BACKGROUND_SESSIONS } from './delegation/session-queue';
27
- export type { BackgroundQueueStatus, QueueEntry } from './delegation/session-queue';
28
- export { SessionCheckpoint, CHECKPOINT_MESSAGE_INTERVAL } from './delegation/session-checkpoint';
29
- export type { CheckpointRecord, CheckpointReason } from './delegation/session-checkpoint';
30
- export { SessionManager } from './delegation/session-manager';
31
- export type { ManagedSession, SessionStatus, SessionManagerOptions } from './delegation/session-manager';
32
- export type { DelegationContract, DelegationContractStatus, VerificationResult, DelegationAgent, SuccessCriteria, VerificationPolicy, } from './types/delegation-contracts';
33
- export { ExecutionMode } from './types/agent-capabilities';
34
- export type { SessionState, SessionHandoff, SessionHandoffRequest, ModeTransitionPolicy, } from './types/agent-capabilities';
35
- export { ReputationEngine } from './reputation/reputation-engine';
36
- export type { ReputationEngineConfig, AgentReputation, ReputationTaskOutcome, ReputationQuery, AuditLogEntry, } from './reputation/reputation-engine';
37
- export { ExecutionModeReputationAdjuster, MODE_DIMENSION_WEIGHTS, SCORE_DECAY_PER_30_DAYS } from './reputation/execution-mode-reputation';
38
- export type { ModeAdjustedScore, ReputationGetter } from './reputation/execution-mode-reputation';
39
- export { CapabilityRegistry, defaultCapabilityRegistry, createCapabilityRegistry, } from './src/capability-registry';
40
- export { generateCapabilityManifest, validateCapabilityManifest, } from './src/capability-manifest-generator';
41
- export { CapabilityBootstrap, AgentAnalyzer, CapabilityDetector, ConfidenceInitializer, defaultBootstrap, bootstrapAgent, bootstrapAgents, } from './src/capability-bootstrap';
42
- export type { AgentCapabilityManifest, AgentCapability, ResourceRequirements, TaskCapabilityMatch, CapabilityQuery, ICapabilityRegistry, } from './src/types/agent-capabilities';
43
- export type { AgentSource, CapabilityDetectionConfig, ConfidenceInitConfig, BootstrapResult, } from './src/capability-bootstrap';
44
- export type { ToneProfile, PersonalityTraits, SituationalTone, BrandIdentity, CoreVoice, ToneSpectrum, BrandVoice, AgentPersona, VoiceResolverOptions, ResolvedVoice, PersonaLoaderOptions, PersonaLoadResult, BeforeLLMCallInput, BeforeLLMCallOutput, BeforeLLMCallHookConfig, BeforeLLMCallHook, } from './src/personas';
45
- export { resolveVoice, renderPersonaBlock, applyToneGuidelines, loadBrandVoice, clearBrandVoiceCache, loadPersona, getPersona, validatePersona, clearPersonaCache, BrandVoiceHook, createBrandVoiceHook, } from './src/personas';
7
+ export { TelemetryEngine, TelemetrySessionManager } from './core/telemetry-engine.js';
8
+ export { ProviderRegistry, RateLimitError, ProviderUnavailableError, type ProviderRegistryConfig, } from './core/provider-registry.js';
9
+ export type { ProviderType, AgentType, TaskType, TaskOutcome, ValidationStatus, ValidationSeverity, StorageType, Plugin, PluginManifest, PluginHooks, ValidationContext, ValidationResult, ValidationViolation, StorageAdapter, FrameworkConfig, ProviderConfig, ProviderHealth, TaskContext, ExecutionResult, CostEstimate, } from './types/index.js';
10
+ export type { TelemetrySession, TelemetryMetrics, ViolationRecord, HandoffRecord, AgentStats, ComparisonStats, HandoffPatterns, } from './types/telemetry.js';
11
+ export { PluginLoader, PluginLoadError, PluginValidationError, getGlobalPluginLoader, resetGlobalPluginLoader, type PluginLoaderConfig, } from './plugins/plugin-loader.js';
12
+ export { ValidationFramework, type ValidationFrameworkConfig, type ValidationGate, type ValidationReport, } from './validation/validation-framework.js';
13
+ export { ConfigLoader, loadConfig, type LoaderOptions, } from './config/loader.js';
14
+ export { FrameworkConfigSchema, DesignTokenConfigSchema, BarrelExportConfigSchema, PageLayoutConfigSchema, TestDataConfigSchema, PluginConfigSchema, ValidationGateConfigSchema, TelemetryConfigSchema, ProviderConfigSchema, AgentCategorySchema, AgentTierSchema, AgentModelSchema, AgentPermissionModeSchema, AgentQualityGateSchema, AgentProactiveTriggerSchema, AgentManifestSchema, AgentTierConfigSchema, AgentRegistryConfigSchema, AgentRoutingRuleSchema, AgentRouterConfigSchema, MCPTransportSchema, MCPServerConfigSchema, MCPRegistryConfigSchema, DEFAULT_CONFIG, type DesignTokenConfig, type BarrelExportConfig, type PageLayoutConfig, type TestDataConfig, type Severity, type FailureMode, type AgentCategory as AgentCategoryConfig, type AgentTier as AgentTierConfig, type AgentModel as AgentModelConfig, type AgentPermissionMode as AgentPermissionModeConfig, type AgentQualityGateConfig, type AgentProactiveTriggerConfig, type AgentManifestConfig, type AgentRegistryConfig as AgentRegistrySchemaConfig, type AgentRoutingRuleConfig, type AgentRouterConfig as AgentRouterSchemaConfig, type MCPTransport as MCPTransportConfig, type MCPServerConfig as MCPServerSchemaConfig, type MCPRegistryConfig as MCPRegistrySchemaConfig, } from './config/schema.js';
15
+ export { createStorageAdapter, MemoryStorageAdapter, FileStorageAdapter } from './utils/storage.js';
16
+ export { type AgentCategory, type AgentTier, type AgentModel, type AgentPermissionMode, type AgentQualityGate, type AgentProactiveTrigger, type AgentSkill, type AgentManifest, type AgentHooks, type Agent, type LoadedAgent, type AgentExecutionContext, type AgentExecutionResult, type AgentViolation, type AgentRoutingRule, type AgentRoutingResult, type AgentRegistryConfig, type AgentLoaderConfig, type AgentRouterConfig, AgentLoader, AgentLoadError, AgentValidationError, getGlobalAgentLoader, resetGlobalAgentLoader, AgentRegistry, getGlobalAgentRegistry, resetGlobalAgentRegistry, AgentRouter, getGlobalAgentRouter, resetGlobalAgentRouter, } from './agents/index.js';
17
+ export { type MCPTransport, type MCPServerStatus, type MCPTool, type MCPResource, type MCPServerConfig, type MCPServerManifest, type MCPServerCapabilities, type LoadedMCPServer, type MCPRegistryConfig, type MCPHealthCheckResult, MCPRegistry, getGlobalMCPRegistry, resetGlobalMCPRegistry, } from './mcp/index.js';
18
+ export { getMemory, resetMemory, DCYFRMemoryImpl, getMemoryConfig, loadMemoryConfig, validateMemoryConfig, DEFAULT_CONFIG as DEFAULT_MEMORY_CONFIG, createMem0Client, getMem0Client, resetMem0Client, } from './memory/index.js';
19
+ export type { DCYFRMemory, Memory, MemorySearchResult, MemoryContext, AgentMemory, SessionMemory, MemoryProvider, VectorDBProvider, VectorDBConfig, LLMConfig, MemoryConfig, Mem0Client, } from './memory/index.js';
20
+ export { fullstackDeveloper, frontendDeveloper, backendArchitect, typescriptPro, testEngineer, debugger, securityEngineer, architectureReviewer, databaseArchitect, cloudArchitect, performanceProfiler, devopsEngineer, dataScientist, technicalWriter, researchOrchestrator, loadBuiltinAgents, getBuiltinAgent, listBuiltinAgents, builtinAgentsByName, } from './agents-builtin/index.js';
21
+ export { AgentRuntime, type RuntimeState, type RuntimeConfig, type TaskContext as RuntimeTaskContext, type AgentExecutionResult as RuntimeAgentExecutionResult, type Decision, type Observation, type ToolExecutionContext, type DelegationContext, } from './runtime/index.js';
22
+ export { ContractManager } from './delegation/contract-manager.js';
23
+ export type { ContractManagerConfig, ContractQuery, ContractUpdate } from './delegation/contract-manager.js';
24
+ export { DelegationHealthMonitor, getHealthMonitor, startHealthMonitoring, stopHealthMonitoring, } from './delegation/monitoring.js';
25
+ export type { SystemHealthMetrics, AlertRule, AlertCondition, AlertChannel, Alert, } from './delegation/monitoring.js';
26
+ export { BackgroundSessionQueue, MAX_BACKGROUND_SESSIONS } from './delegation/session-queue.js';
27
+ export type { BackgroundQueueStatus, QueueEntry } from './delegation/session-queue.js';
28
+ export { SessionCheckpoint, CHECKPOINT_MESSAGE_INTERVAL } from './delegation/session-checkpoint.js';
29
+ export type { CheckpointRecord, CheckpointReason } from './delegation/session-checkpoint.js';
30
+ export { SessionManager } from './delegation/session-manager.js';
31
+ export type { ManagedSession, SessionStatus, SessionManagerOptions } from './delegation/session-manager.js';
32
+ export type { DelegationContract, DelegationContractStatus, VerificationResult, DelegationAgent, SuccessCriteria, VerificationPolicy, } from './types/delegation-contracts.js';
33
+ export { ExecutionMode } from './types/agent-capabilities.js';
34
+ export type { SessionState, SessionHandoff, SessionHandoffRequest, ModeTransitionPolicy, } from './types/agent-capabilities.js';
35
+ export { ReputationEngine } from './reputation/reputation-engine.js';
36
+ export type { ReputationEngineConfig, AgentReputation, ReputationTaskOutcome, ReputationQuery, AuditLogEntry, } from './reputation/reputation-engine.js';
37
+ export { ExecutionModeReputationAdjuster, MODE_DIMENSION_WEIGHTS, SCORE_DECAY_PER_30_DAYS } from './reputation/execution-mode-reputation.js';
38
+ export type { ModeAdjustedScore, ReputationGetter } from './reputation/execution-mode-reputation.js';
39
+ export { CapabilityRegistry, defaultCapabilityRegistry, createCapabilityRegistry, } from './src/capability-registry.js';
40
+ export { generateCapabilityManifest, validateCapabilityManifest, } from './src/capability-manifest-generator.js';
41
+ export { CapabilityBootstrap, AgentAnalyzer, CapabilityDetector, ConfidenceInitializer, defaultBootstrap, bootstrapAgent, bootstrapAgents, } from './src/capability-bootstrap.js';
42
+ export type { AgentCapabilityManifest, AgentCapability, ResourceRequirements, TaskCapabilityMatch, CapabilityQuery, ICapabilityRegistry, } from './src/types/agent-capabilities.js';
43
+ export type { AgentSource, CapabilityDetectionConfig, ConfidenceInitConfig, BootstrapResult, } from './src/capability-bootstrap.js';
44
+ export type { ToneProfile, PersonalityTraits, SituationalTone, BrandIdentity, CoreVoice, ToneSpectrum, BrandVoice, AgentPersona, VoiceResolverOptions, ResolvedVoice, PersonaLoaderOptions, PersonaLoadResult, BeforeLLMCallInput, BeforeLLMCallOutput, BeforeLLMCallHookConfig, BeforeLLMCallHook, } from './src/personas/index.js';
45
+ export { resolveVoice, renderPersonaBlock, applyToneGuidelines, loadBrandVoice, clearBrandVoiceCache, loadPersona, getPersona, validatePersona, clearPersonaCache, BrandVoiceHook, createBrandVoiceHook, } from './src/personas/index.js';
46
46
  export { PluginRatingAggregator, ReviewError } from './src/plugins/reviews/plugin-rating-aggregator.js';
47
47
  export type { PluginRatingAggregatorConfig, StarRating, ReviewStatus, PluginReview, CreateReviewInput, FlagReviewInput, PluginRatingStats, ReviewPage, ReviewQueryOptions, RatingDistribution, } from './src/plugins/reviews/plugin-rating-aggregator.js';
48
48
  export { PLUGIN_REVIEWS_SCHEMA_SQL } from './src/plugins/reviews/types.js';
@@ -21,7 +21,7 @@
21
21
  * const servers = registry.getAvailableServers();
22
22
  * ```
23
23
  */
24
- import type { MCPServerConfig, LoadedMCPServer, MCPRegistryConfig, MCPHealthCheckResult } from './types';
24
+ import type { MCPServerConfig, LoadedMCPServer, MCPRegistryConfig, MCPHealthCheckResult } from './types.js';
25
25
  /**
26
26
  * MCP Registry - manages MCP servers
27
27
  */
@@ -2,7 +2,7 @@
2
2
  * Shared utilities for MCP servers
3
3
  * Common functions used across Analytics, Design Token, and Content Manager MCPs
4
4
  */
5
- import type { MCPError } from "./types";
5
+ import type { MCPError } from "./types.js";
6
6
  export declare class MCPToolError extends Error {
7
7
  code: string;
8
8
  details?: unknown | undefined;
@@ -10,7 +10,7 @@
10
10
  * @module ai/metacognition/types
11
11
  * @version 1.0.0
12
12
  */
13
- import type { VerificationPolicy } from '../types/delegation-contracts';
13
+ import type { VerificationPolicy } from '../types/delegation-contracts.js';
14
14
  /**
15
15
  * Improvement lifecycle states.
16
16
  *
@@ -9,7 +9,7 @@
9
9
  * @version 1.0.0
10
10
  * @date 2026-02-13
11
11
  */
12
- import type { PermissionToken, AttenuatePermissionRequest, PermissionScope, PermissionAction, PermissionConstraint } from '../types/permission-tokens';
12
+ import type { PermissionToken, AttenuatePermissionRequest, PermissionScope, PermissionAction, PermissionConstraint } from '../types/permission-tokens.js';
13
13
  /**
14
14
  * Attenuation validation result
15
15
  */
@@ -22,7 +22,7 @@
22
22
  * });
23
23
  * ```
24
24
  */
25
- import type { Plugin, PluginManifest, ValidationContext, ValidationResult } from '../types';
25
+ import type { Plugin, PluginManifest, ValidationContext, ValidationResult } from '../types/index.js';
26
26
  /**
27
27
  * Plugin load error
28
28
  */
@@ -9,7 +9,7 @@
9
9
  * @date 2026-02-13
10
10
  * @module dcyfr-ai/capability-manifest-generator
11
11
  */
12
- import type { AgentCapabilityManifest } from './types/agent-capabilities';
12
+ import type { AgentCapabilityManifest } from './types/agent-capabilities.js';
13
13
  /**
14
14
  * Agent interface representing parsed agent manifest
15
15
  */
@@ -10,7 +10,7 @@
10
10
  * @module dcyfr-ai/capability-registry
11
11
  */
12
12
  import { EventEmitter } from 'events';
13
- import type { AgentCapabilityManifest, TaskCapabilityMatch, CapabilityQuery, ICapabilityRegistry } from './types/agent-capabilities';
13
+ import type { AgentCapabilityManifest, TaskCapabilityMatch, CapabilityQuery, ICapabilityRegistry } from './types/agent-capabilities.js';
14
14
  /**
15
15
  * In-memory capability registry with event-driven updates
16
16
  */
@@ -4,7 +4,7 @@
4
4
  * @module @dcyfr/ai/personas/hooks/before-llm-call
5
5
  * @license MIT
6
6
  */
7
- import type { AgentPersona, ResolvedVoice, VoiceResolverOptions } from '../types';
7
+ import type { AgentPersona, ResolvedVoice, VoiceResolverOptions } from '../types.js';
8
8
  /**
9
9
  * Input context passed to a BeforeLLMCallHook.
10
10
  */
@@ -3,8 +3,8 @@
3
3
  * @module @dcyfr/ai/personas
4
4
  * @license MIT
5
5
  */
6
- export * from './types';
7
- export * from './voice-resolver';
8
- export * from './persona-loader';
9
- export * from './hooks/before-llm-call';
6
+ export * from './types.js';
7
+ export * from './voice-resolver.js';
8
+ export * from './persona-loader.js';
9
+ export * from './hooks/before-llm-call.js';
10
10
  //# sourceMappingURL=index.d.ts.map