@deimoscloud/coreai 0.1.15 → 0.1.17

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 (49) hide show
  1. package/agents/_templates/master-context.md +76 -0
  2. package/agents/_templates/master-protocols.md +39 -0
  3. package/agents/android-engineer.md +177 -0
  4. package/agents/backend-engineer.md +175 -0
  5. package/agents/database-administrator.md +177 -0
  6. package/agents/devops-engineer.md +211 -0
  7. package/agents/{examples/engineering-manager.md → engineering-manager.md} +208 -171
  8. package/agents/frontend-engineer.md +175 -0
  9. package/agents/product-manager.md +371 -0
  10. package/agents/react-engineer.md +177 -0
  11. package/agents/react-native-engineer.md +177 -0
  12. package/agents/software-security-engineer.md +339 -0
  13. package/agents/software-solutions-architect.md +469 -0
  14. package/agents/sre-huawei-cloud-architect.md +177 -0
  15. package/agents/sre-iac-specialist.md +177 -0
  16. package/agents/sre-kubernetes-specialist.md +177 -0
  17. package/agents/sre-network-specialist.md +177 -0
  18. package/agents/wearos-engineer.md +177 -0
  19. package/dist/cli/index.js +494 -826
  20. package/dist/cli/index.js.map +1 -1
  21. package/dist/index.d.ts +75 -84
  22. package/dist/index.js +437 -784
  23. package/dist/index.js.map +1 -1
  24. package/package.json +1 -1
  25. package/agents/android-engineer.yaml +0 -108
  26. package/agents/backend-engineer.yaml +0 -106
  27. package/agents/database-administrator.yaml +0 -108
  28. package/agents/devops-engineer.yaml +0 -106
  29. package/agents/engineering-manager.yaml +0 -104
  30. package/agents/examples/android-engineer.md +0 -302
  31. package/agents/examples/backend-engineer.md +0 -320
  32. package/agents/examples/devops-engineer.md +0 -742
  33. package/agents/examples/frontend-engineer.md +0 -58
  34. package/agents/examples/product-manager.md +0 -315
  35. package/agents/examples/qa-engineer.md +0 -371
  36. package/agents/examples/security-engineer.md +0 -525
  37. package/agents/examples/solutions-architect.md +0 -351
  38. package/agents/examples/wearos-engineer.md +0 -359
  39. package/agents/frontend-engineer.yaml +0 -106
  40. package/agents/product-manager.yaml +0 -109
  41. package/agents/react-engineer.yaml +0 -108
  42. package/agents/react-native-engineer.yaml +0 -108
  43. package/agents/software-security-engineer.yaml +0 -108
  44. package/agents/software-solutions-architect.yaml +0 -107
  45. package/agents/sre-huawei-cloud-architect.yaml +0 -108
  46. package/agents/sre-iac-specialist.yaml +0 -108
  47. package/agents/sre-kubernetes-specialist.yaml +0 -108
  48. package/agents/sre-network-specialist.yaml +0 -108
  49. package/agents/wearos-engineer.yaml +0 -108
package/dist/index.d.ts CHANGED
@@ -165,13 +165,17 @@ declare function getConfigPath(startDir?: string): string | null;
165
165
  *
166
166
  * TypeScript types corresponding to the JSON schema at schemas/agent.schema.json
167
167
  */
168
+ /** @deprecated Used only for YAML backward compatibility. Will be removed when YAML support is dropped. */
168
169
  type AgentType = 'ic-engineer' | 'manager' | 'specialist' | 'coordinator';
170
+ /** @deprecated Used only for YAML backward compatibility. Will be removed when YAML support is dropped. */
169
171
  type WorkflowType = 'ticket-implementation' | 'bug-investigation' | 'code-review' | 'planning-estimation' | 'product-planning';
172
+ /** @deprecated Used only for YAML backward compatibility. Will be removed when YAML support is dropped. */
170
173
  interface AgentExpertise {
171
174
  primary?: string[];
172
175
  tech_stack?: string;
173
176
  [key: string]: unknown;
174
177
  }
178
+ /** @deprecated Used only for YAML backward compatibility. Will be removed when YAML support is dropped. */
175
179
  interface AgentPrinciples {
176
180
  code_quality?: string[];
177
181
  testing?: string[];
@@ -179,30 +183,32 @@ interface AgentPrinciples {
179
183
  performance?: string[];
180
184
  [key: string]: string[] | undefined;
181
185
  }
186
+ /** @deprecated Used only for YAML backward compatibility. Will be removed when YAML support is dropped. */
182
187
  interface AgentBehaviors {
183
188
  workflow?: WorkflowType;
184
189
  quality_gates?: string;
185
190
  [key: string]: unknown;
186
191
  }
187
- /**
188
- * @deprecated Use AgentKnowledgeLibrary instead
189
- */
192
+ /** @deprecated Used only for YAML backward compatibility. Will be removed when YAML support is dropped. */
190
193
  interface AgentContextSources {
191
194
  shared?: string[];
192
195
  personal?: string[];
193
196
  }
197
+ /** @deprecated Used only for YAML backward compatibility. Will be removed when YAML support is dropped. */
194
198
  interface AgentKnowledgeLibraryControl {
195
199
  objectives?: string;
196
200
  decisions?: string;
197
201
  dependencies?: string;
198
202
  index?: string;
199
203
  }
204
+ /** @deprecated Used only for YAML backward compatibility. Will be removed when YAML support is dropped. */
200
205
  interface AgentKnowledgeLibraryShared {
201
206
  context?: string;
202
207
  architecture?: string;
203
208
  prd?: string;
204
209
  remote?: string[];
205
210
  }
211
+ /** @deprecated Used only for YAML backward compatibility. Will be removed when YAML support is dropped. */
206
212
  interface AgentKnowledgeLibraryPersonal {
207
213
  context?: string;
208
214
  history?: string;
@@ -211,10 +217,12 @@ interface AgentKnowledgeLibraryPersonal {
211
217
  tech?: string;
212
218
  control?: AgentKnowledgeLibraryControl;
213
219
  }
220
+ /** @deprecated Used only for YAML backward compatibility. Will be removed when YAML support is dropped. */
214
221
  interface AgentKnowledgeLibrary {
215
222
  shared?: AgentKnowledgeLibraryShared;
216
223
  personal?: AgentKnowledgeLibraryPersonal;
217
224
  }
225
+ /** @deprecated Used only for YAML backward compatibility. Will be removed when YAML support is dropped. */
218
226
  interface AgentCommunication {
219
227
  inbox?: string;
220
228
  outbox?: string;
@@ -222,31 +230,43 @@ interface AgentCommunication {
222
230
  outbox_format?: string;
223
231
  processed_dir?: string;
224
232
  }
233
+ /** @deprecated Used only for YAML backward compatibility. Will be removed when YAML support is dropped. */
225
234
  interface AgentStartupProtocol {
226
235
  first_session?: string[];
227
236
  subsequent?: string[];
228
237
  }
238
+ /** @deprecated Used only for YAML backward compatibility. Will be removed when YAML support is dropped. */
229
239
  interface AgentProtocols {
230
240
  startup?: AgentStartupProtocol;
231
241
  completion?: string[];
232
242
  }
233
243
  /**
234
- * Raw agent definition as loaded from YAML (before variable resolution)
244
+ * Agent definition.
245
+ * For MD agents: role, type, display_name, description, tools are used.
246
+ * For deprecated YAML agents: all fields may be populated.
235
247
  */
236
248
  interface AgentDefinition {
237
249
  role: string;
238
250
  type: AgentType;
239
251
  display_name: string;
240
252
  description: string;
253
+ /** @deprecated YAML-only. In MD agents, responsibilities are in the template body. */
241
254
  responsibilities?: string[];
255
+ /** @deprecated YAML-only. In MD agents, expertise is in the template body. */
242
256
  expertise?: AgentExpertise;
257
+ /** @deprecated YAML-only. In MD agents, skills are in the template body. */
243
258
  skills?: string[];
259
+ /** @deprecated YAML-only. In MD agents, principles are in the template body. */
244
260
  principles?: AgentPrinciples;
261
+ /** @deprecated YAML-only. In MD agents, behaviors are in the template body. */
245
262
  behaviors?: AgentBehaviors;
246
- /** @deprecated Use knowledge_library instead */
263
+ /** @deprecated YAML-only. Use knowledge_library or MD template body instead. */
247
264
  context_sources?: AgentContextSources;
265
+ /** @deprecated YAML-only. In MD agents, knowledge library structure is in the template body. */
248
266
  knowledge_library?: AgentKnowledgeLibrary;
267
+ /** @deprecated YAML-only. In MD agents, communication details are in the template body. */
249
268
  communication?: AgentCommunication;
269
+ /** @deprecated YAML-only. In MD agents, protocols are in the template body. */
250
270
  protocols?: AgentProtocols;
251
271
  /**
252
272
  * Claude Code tools available to this agent.
@@ -255,7 +275,7 @@ interface AgentDefinition {
255
275
  tools?: string[];
256
276
  }
257
277
  /**
258
- * Agent definition after variable resolution
278
+ * @deprecated Used only for YAML backward compatibility.
259
279
  */
260
280
  interface ResolvedAgentDefinition extends AgentDefinition {
261
281
  expertise?: AgentExpertise & {
@@ -281,7 +301,8 @@ interface AgentMetadata {
281
301
  /**
282
302
  * Agent Loader
283
303
  *
284
- * Handles loading and validating agent YAML definitions.
304
+ * Handles loading agent definitions from Markdown templates (primary)
305
+ * and YAML files (deprecated, backward compatible).
285
306
  */
286
307
 
287
308
  declare class AgentError extends Error {
@@ -292,14 +313,17 @@ declare class AgentError extends Error {
292
313
  type AgentErrorCode = 'NOT_FOUND' | 'PARSE_ERROR' | 'VALIDATION_ERROR' | 'READ_ERROR';
293
314
  /**
294
315
  * Parse YAML content into an agent definition
316
+ * @deprecated Use Markdown agent files instead
295
317
  */
296
318
  declare function parseAgentYaml(content: string, filePath?: string): unknown;
297
319
  /**
298
320
  * Validate parsed YAML against agent schema
321
+ * @deprecated Use Markdown agent files instead
299
322
  */
300
323
  declare function validateAgentDefinition(agent: unknown): AgentDefinition;
301
324
  /**
302
- * Load and validate an agent definition from a file
325
+ * Load an agent definition from a file (MD or YAML).
326
+ * MD files are the primary format. YAML files are deprecated but supported.
303
327
  */
304
328
  declare function loadAgentFromFile(filePath: string): AgentDefinition;
305
329
  /**
@@ -368,60 +392,30 @@ declare function resolveAgentDefinition(agent: AgentDefinition, config?: CoreAIC
368
392
  /**
369
393
  * Agent Compiler
370
394
  *
371
- * Transforms YAML agent definitions into Claude-compatible Markdown files.
395
+ * Processes agent Markdown templates with variable substitution and include directives.
396
+ * For deprecated YAML agents, falls back to structural transformation.
372
397
  */
373
398
 
374
399
  /**
375
400
  * Options for compiling agents
376
401
  */
377
402
  interface CompileOptions {
378
- /**
379
- * Output directory for compiled markdown files.
380
- * Default: .claude/agents
381
- */
382
403
  outputDir?: string;
383
- /**
384
- * Core agents directory (built-in agents).
385
- * Default: uses package's agents/ directory
386
- */
387
404
  coreAgentsDir?: string;
388
- /**
389
- * Custom agents directory (project-specific agents).
390
- * Default: coreai/agents in project root
391
- */
392
405
  customAgentsDir?: string;
393
- /**
394
- * Project root directory.
395
- * Default: process.cwd()
396
- */
397
406
  projectRoot?: string;
398
- /**
399
- * Filter function to select which agents to compile.
400
- * Returns true to include the agent, false to exclude.
401
- */
402
407
  filter?: (agent: AgentDefinition) => boolean;
403
- /**
404
- * MCP server names to include as tools.
405
- * These will be added to the agent's tools as mcp__<server-name>.
406
- * Example: ['github', 'postgres'] -> 'mcp__github, mcp__postgres'
407
- */
408
408
  mcpServers?: string[];
409
409
  }
410
410
  /**
411
411
  * Result of compiling agents
412
412
  */
413
413
  interface CompileResult {
414
- /**
415
- * Successfully compiled agents
416
- */
417
414
  compiled: {
418
415
  role: string;
419
416
  source: AgentSource;
420
417
  outputPath: string;
421
418
  }[];
422
- /**
423
- * Agents that failed to compile
424
- */
425
419
  errors: {
426
420
  role: string;
427
421
  source: AgentSource;
@@ -429,30 +423,22 @@ interface CompileResult {
429
423
  }[];
430
424
  }
431
425
  /**
432
- * Generate markdown content from a resolved agent definition
433
- *
434
- * The output includes YAML frontmatter required by Claude Code for subagent detection.
435
- * See: https://code.claude.com/docs/en/sub-agents
436
- *
437
- * @param agent - Resolved agent definition
438
- * @param mcpServers - Optional MCP server names to include as tools
426
+ * Generate markdown content from a resolved YAML agent definition.
427
+ * @deprecated Use MD templates instead. This exists for backward compatibility with YAML agents.
439
428
  */
440
429
  declare function generateAgentMarkdown(agent: AgentDefinition, mcpServers?: string[]): string;
441
430
  /**
442
- * Compile a single agent to markdown
443
- *
444
- * @param agent - Agent definition to compile
445
- * @param config - Optional CoreAI config for variable resolution
446
- * @param mcpServers - Optional MCP server names to include as tools
431
+ * Compile a single agent.
432
+ * MD templates use simple variable substitution.
433
+ * YAML files use the deprecated structural transformation.
447
434
  */
448
- declare function compileAgent(agent: AgentDefinition, config?: CoreAIConfig, mcpServers?: string[]): string;
435
+ declare function compileAgent(agent: AgentDefinition, filePath: string, config?: CoreAIConfig, mcpServers?: string[]): string;
449
436
  /**
450
437
  * Load all agents from core and custom directories
451
438
  */
452
439
  declare function loadAllAgents(options?: CompileOptions): Map<string, AgentMetadata>;
453
440
  /**
454
- * Filter agents based on team configuration.
455
- * Custom and override agents are always included regardless of team filter.
441
+ * Filter agents based on team configuration
456
442
  */
457
443
  declare function filterAgentsByTeam(agents: Map<string, AgentMetadata>, config?: CoreAIConfig): Map<string, AgentMetadata>;
458
444
  /**
@@ -2344,7 +2330,7 @@ declare class StepTracker {
2344
2330
  /**
2345
2331
  * Skill category
2346
2332
  */
2347
- type SkillCategory = 'core' | 'optional' | 'custom';
2333
+ type SkillCategory = 'core' | 'custom';
2348
2334
  /**
2349
2335
  * Integration dependency for a skill
2350
2336
  */
@@ -2425,8 +2411,13 @@ interface GenerateSkillsOptions {
2425
2411
  */
2426
2412
  projectRoot?: string;
2427
2413
  /**
2428
- * Output directory for generated skills
2429
- * Default: .claude/commands
2414
+ * Path to core skills source directory.
2415
+ * Default: <package>/skills (bundled with CoreAI)
2416
+ */
2417
+ coreSkillsDir?: string;
2418
+ /**
2419
+ * Output directory for generated skills.
2420
+ * Default: .claude/skills
2430
2421
  */
2431
2422
  outputDir?: string;
2432
2423
  /**
@@ -2438,11 +2429,6 @@ interface GenerateSkillsOptions {
2438
2429
  * Default: true
2439
2430
  */
2440
2431
  includeCoreSkills?: boolean;
2441
- /**
2442
- * Whether to include optional skills based on integrations
2443
- * Default: true
2444
- */
2445
- includeOptionalSkills?: boolean;
2446
2432
  /**
2447
2433
  * Specific skills to generate (by name)
2448
2434
  * If not specified, generates all applicable skills
@@ -2450,7 +2436,7 @@ interface GenerateSkillsOptions {
2450
2436
  skills?: string[];
2451
2437
  /**
2452
2438
  * Whether to overwrite existing skills
2453
- * Default: false
2439
+ * Default: true
2454
2440
  */
2455
2441
  overwrite?: boolean;
2456
2442
  /**
@@ -2517,10 +2503,28 @@ interface GenerateSkillsResult {
2517
2503
  /**
2518
2504
  * Skill Generator
2519
2505
  *
2520
- * Generates Claude skills from templates based on project configuration.
2521
- * Skills are output to .claude/commands/ directory.
2506
+ * Discovers skill source files from skills/ directory and compiles them
2507
+ * to .claude/skills/<name>/SKILL.md format for Claude Code.
2508
+ *
2509
+ * Source: skills/<category>/<name>/SKILL.md (grouped by category)
2510
+ * Output: .claude/skills/<name>/SKILL.md (flat, one level deep)
2522
2511
  */
2523
2512
 
2513
+ /**
2514
+ * Get the default core skills directory (bundled with CoreAI package)
2515
+ */
2516
+ declare function getCoreSkillsDir(): string;
2517
+ /**
2518
+ * Discover skill source files from a skills directory.
2519
+ *
2520
+ * Scans skills/<category>/<name>/SKILL.md structure.
2521
+ * Each category directory (core, git, etc.) contains skill directories.
2522
+ */
2523
+ declare function discoverSkills(skillsDir: string): SkillTemplate[];
2524
+ /**
2525
+ * Parse a SKILL.md file into a SkillTemplate
2526
+ */
2527
+ declare function parseSkillFile(name: string, category: SkillCategory, content: string): SkillTemplate;
2524
2528
  /**
2525
2529
  * Extract variables from config for template substitution
2526
2530
  */
@@ -2537,11 +2541,10 @@ declare function checkDependencies(skill: SkillTemplate, config?: ResolvedCoreAI
2537
2541
  missing: SkillDependency[];
2538
2542
  };
2539
2543
  /**
2540
- * Load custom skill templates from a directory
2541
- */
2542
- declare function loadCustomTemplates(templatesDir: string): SkillTemplate[];
2543
- /**
2544
- * Generate skills from templates
2544
+ * Generate skills from source files to Claude Code output format.
2545
+ *
2546
+ * Discovers skills from skills/<category>/<name>/SKILL.md and writes
2547
+ * compiled output to .claude/skills/<name>/SKILL.md (flattened).
2545
2548
  */
2546
2549
  declare function generateSkills(config: ResolvedCoreAIConfig | undefined, options?: GenerateSkillsOptions): GenerateSkillsResult;
2547
2550
  /**
@@ -2549,18 +2552,6 @@ declare function generateSkills(config: ResolvedCoreAIConfig | undefined, option
2549
2552
  */
2550
2553
  declare function formatGenerateResult(result: GenerateSkillsResult): string;
2551
2554
 
2552
- /**
2553
- * Built-in Skill Templates
2554
- *
2555
- * Core skill templates that are included with CoreAI.
2556
- * These templates use {{VARIABLE}} placeholders for substitution.
2557
- */
2558
-
2559
- /**
2560
- * All built-in skill templates
2561
- */
2562
- declare const builtInSkills: SkillTemplate[];
2563
-
2564
2555
  /**
2565
2556
  * KnowledgeLibrary Types
2566
2557
  *
@@ -3038,4 +3029,4 @@ declare function formatAgentKnowledgeState(state: AgentKnowledgeState): string;
3038
3029
  */
3039
3030
  declare const VERSION: string;
3040
3031
 
3041
- export { AGENT_DIRECTORIES, type Adapter, AdapterError, type AdapterErrorCode, AdapterFactory, type AdapterFactoryOptions, type AdapterImplementation, type AdapterInfo, type AdapterType, type AgentContext, type AgentControl, type AgentDefinition, type AgentDirectories, AgentError, type AgentErrorCode, type AgentKnowledgeState, type AgentMetadata, type AgentSource, type AgentType, type BaseAdapter, type BaseCommandOptions, CACHE_PATHS, CONTROL_FILES, type CacheConfig, type CacheEntry, CacheError, type CacheErrorCode, type CacheListOptions, type CacheManager$1 as CacheManager, type CacheManagerOptions, type CacheMetadata, type CacheOptions, type CacheProvider, type CacheSource, type CacheStats, type CacheStatus, type CommandArgumentDefinition, type CommandCategory, type CommandContext, type CommandDefinition, type CommandHandler, type CommandLoadResult, type CommandLoaderOptions, type CommandMetadata, type CommandOptionDefinition, CommandRegistry, type CommandResult, type CompileOptions, type CompileResult, ConfigError, type ConfigErrorCode, type ContextLoadResult, ContextLoader, type ContextLoaderOptions, type ContextSource, type CoreAIConfig, type CreateContextOptions, type CreateIssueData, type CreatePullRequestData, type CreateReviewData, DEFAULT_CACHE_CONFIG, DEFAULT_KNOWLEDGE_LIBRARY_PATH, type Decision, type Dependency, type DocumentationPage, type DocumentationProviderAdapter, type DocumentationQuery, type FetchOptions, CacheManager as FileCacheManager, FileCacheProvider, type FileCacheProviderOptions, type GenerateSkillsOptions, type GenerateSkillsResult, type GeneratedSkill, type GitProviderAdapter, type InitKnowledgeLibraryOptions, type InitKnowledgeLibraryResult, type IntegrationDependency, type IntegrationsConfig, type Issue, type IssueQuery, type IssueStatus, type IssueTrackerAdapter, type KnowledgeLibraryState, type LoadOptions, type MarkdownCommand, type Message, type MessageMetadata, type MessagePriority, type MessageType, type Objective, type ProjectConfig, type PullRequest, type PullRequestQuery, type PullRequestStatus, type QualityGatesConfig, type ReadMessagesOptions, type RegistryEntry, type RemoteFetcher, type ResolutionContext, ResolutionError, type ResolutionOptions, type ResolvedAgentDefinition, type ResolvedCoreAIConfig, type Review, type ReviewComment, type ReviewDecision, type RunCommandOptions, STANDARD_FILES, type SkillCategory, type SkillDependency, type SkillError, type SkillTemplate, type SkillVariables, type StateEntry, type StateOptions, type StateProviderAdapter, StepTracker, type SyncOptions, type SyncResult, type TeamConfig, type TechStackConfig, type UpdateIssueData, VERSION, type WorkflowType, type WriteMessageOptions, agentKnowledgeLibraryExists, builtInSkills, checkDependencies, cleanupContext, compileAgent, compileAgents, configExists, createAdapterFactory, createAdapterInfo, createCacheManager, createCommandContext, createCommandRegistry, createContextLoader, createDegradingHandler, createFileCacheProvider, executeWithDegradation, extractVariables as extractSkillVariables, extractVariables$1 as extractVariables, filterAgentsByTeam, findConfigFile, formatAgentKnowledgeState, formatGenerateResult, formatKnowledgeLibraryState, generateAgentMarkdown, generateMessageFilename, generateSkills, getAgentDirectories, getAgentKnowledgeState, getConfigPath, getCoreAgentsDir, getGlobalRegistry, getKnowledgeLibraryState, getRoleFromFilename, hasVariables, initAgentKnowledgeLibrary, initKnowledgeLibrary, loadAgentFromFile, loadAgentsFromDirectory, loadAllAgents, loadAllCommands, loadCommandFromFile, loadCommandsFromDirectory, loadConfig, loadConfigFromFile, loadCoreAICommands, loadCustomTemplates, markMessageProcessed, parseAgentYaml, readInboxMessages, resetGlobalRegistry, resolveAgentDefinition, resolveObject, resolveString, runCommand, substituteVariables, updateAgentContext, validateAgentDefinition, withContext, writeInboxMessage };
3032
+ export { AGENT_DIRECTORIES, type Adapter, AdapterError, type AdapterErrorCode, AdapterFactory, type AdapterFactoryOptions, type AdapterImplementation, type AdapterInfo, type AdapterType, type AgentContext, type AgentControl, type AgentDefinition, type AgentDirectories, AgentError, type AgentErrorCode, type AgentKnowledgeState, type AgentMetadata, type AgentSource, type AgentType, type BaseAdapter, type BaseCommandOptions, CACHE_PATHS, CONTROL_FILES, type CacheConfig, type CacheEntry, CacheError, type CacheErrorCode, type CacheListOptions, type CacheManager$1 as CacheManager, type CacheManagerOptions, type CacheMetadata, type CacheOptions, type CacheProvider, type CacheSource, type CacheStats, type CacheStatus, type CommandArgumentDefinition, type CommandCategory, type CommandContext, type CommandDefinition, type CommandHandler, type CommandLoadResult, type CommandLoaderOptions, type CommandMetadata, type CommandOptionDefinition, CommandRegistry, type CommandResult, type CompileOptions, type CompileResult, ConfigError, type ConfigErrorCode, type ContextLoadResult, ContextLoader, type ContextLoaderOptions, type ContextSource, type CoreAIConfig, type CreateContextOptions, type CreateIssueData, type CreatePullRequestData, type CreateReviewData, DEFAULT_CACHE_CONFIG, DEFAULT_KNOWLEDGE_LIBRARY_PATH, type Decision, type Dependency, type DocumentationPage, type DocumentationProviderAdapter, type DocumentationQuery, type FetchOptions, CacheManager as FileCacheManager, FileCacheProvider, type FileCacheProviderOptions, type GenerateSkillsOptions, type GenerateSkillsResult, type GeneratedSkill, type GitProviderAdapter, type InitKnowledgeLibraryOptions, type InitKnowledgeLibraryResult, type IntegrationDependency, type IntegrationsConfig, type Issue, type IssueQuery, type IssueStatus, type IssueTrackerAdapter, type KnowledgeLibraryState, type LoadOptions, type MarkdownCommand, type Message, type MessageMetadata, type MessagePriority, type MessageType, type Objective, type ProjectConfig, type PullRequest, type PullRequestQuery, type PullRequestStatus, type QualityGatesConfig, type ReadMessagesOptions, type RegistryEntry, type RemoteFetcher, type ResolutionContext, ResolutionError, type ResolutionOptions, type ResolvedAgentDefinition, type ResolvedCoreAIConfig, type Review, type ReviewComment, type ReviewDecision, type RunCommandOptions, STANDARD_FILES, type SkillCategory, type SkillDependency, type SkillError, type SkillTemplate, type SkillVariables, type StateEntry, type StateOptions, type StateProviderAdapter, StepTracker, type SyncOptions, type SyncResult, type TeamConfig, type TechStackConfig, type UpdateIssueData, VERSION, type WorkflowType, type WriteMessageOptions, agentKnowledgeLibraryExists, checkDependencies, cleanupContext, compileAgent, compileAgents, configExists, createAdapterFactory, createAdapterInfo, createCacheManager, createCommandContext, createCommandRegistry, createContextLoader, createDegradingHandler, createFileCacheProvider, discoverSkills, executeWithDegradation, extractVariables as extractSkillVariables, extractVariables$1 as extractVariables, filterAgentsByTeam, findConfigFile, formatAgentKnowledgeState, formatGenerateResult, formatKnowledgeLibraryState, generateAgentMarkdown, generateMessageFilename, generateSkills, getAgentDirectories, getAgentKnowledgeState, getConfigPath, getCoreAgentsDir, getCoreSkillsDir, getGlobalRegistry, getKnowledgeLibraryState, getRoleFromFilename, hasVariables, initAgentKnowledgeLibrary, initKnowledgeLibrary, loadAgentFromFile, loadAgentsFromDirectory, loadAllAgents, loadAllCommands, loadCommandFromFile, loadCommandsFromDirectory, loadConfig, loadConfigFromFile, loadCoreAICommands, markMessageProcessed, parseAgentYaml, parseSkillFile, readInboxMessages, resetGlobalRegistry, resolveAgentDefinition, resolveObject, resolveString, runCommand, substituteVariables, updateAgentContext, validateAgentDefinition, withContext, writeInboxMessage };