@compilr-dev/sdk 0.7.31 → 0.7.32

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.
package/dist/config.d.ts CHANGED
@@ -223,6 +223,8 @@ export interface CompilrAgentConfig {
223
223
  * Default: true when a PermissionCallback is provided, false otherwise.
224
224
  */
225
225
  includeDefaultRules?: boolean;
226
+ /** Logger instance for structured logging. When omitted, logging is disabled. */
227
+ logger?: import('@compilr-dev/logger').Logger;
226
228
  /** Guardrail configuration. Default: true */
227
229
  guardrails?: boolean | GuardrailConfig;
228
230
  /** Tool execution timeout in milliseconds. 0 = no timeout. Default: 30000 (30s) */
package/dist/index.d.ts CHANGED
@@ -77,3 +77,5 @@ export { generateProject, isGitConfigured, generateCompilrMd, generateConfigJson
77
77
  export type { TechStack, CodingStandards, GeneratorRepoPattern, ProjectConfig, GenerationResult, CompilrConfig, DetectedProject, GitInfo, ImportProjectConfig, } from './project-generator/index.js';
78
78
  export { readFileTool, writeFileTool, createBashTool, bashTool, bashOutputTool, killShellTool, grepTool, globTool, editTool, todoWriteTool, todoReadTool, createTodoTools, TodoStore, webFetchTool, suggestTool, } from '@compilr-dev/agents';
79
79
  export { gitStatusTool, gitDiffTool, gitLogTool, gitCommitTool, gitBranchTool, gitStashTool, gitBlameTool, gitFileHistoryTool, detectProjectTool, findProjectRootTool, runTestsTool, runLintTool, runBuildTool, runFormatTool, findDefinitionTool, findReferencesTool, findTodosTool, checkOutdatedTool, findVulnerabilitiesTool, analyzeTestCoverageTool, getFileStructureTool, getComplexityTool, allCodingTools, unifiedTools, } from '@compilr-dev/agents-coding';
80
+ export { createLogger, createSilentLogger } from '@compilr-dev/logger';
81
+ export type { Logger, LoggerOptions, LogLevel } from '@compilr-dev/logger';
package/dist/index.js CHANGED
@@ -221,3 +221,7 @@ analyzeTestCoverageTool,
221
221
  getFileStructureTool, getComplexityTool,
222
222
  // Bulk exports
223
223
  allCodingTools, unifiedTools, } from '@compilr-dev/agents-coding';
224
+ // =============================================================================
225
+ // Logger (re-export for consumers)
226
+ // =============================================================================
227
+ export { createLogger, createSilentLogger } from '@compilr-dev/logger';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/sdk",
3
- "version": "0.7.31",
3
+ "version": "0.7.32",
4
4
  "description": "Universal agent runtime for building AI-powered applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -54,6 +54,7 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@compilr-dev/agents": "^0.5.1",
57
+ "@compilr-dev/logger": "^0.1.0",
57
58
  "ajv": "^6.14.0"
58
59
  },
59
60
  "peerDependencies": {