@eldrforge/ai-service 0.1.10 → 0.1.12

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.
@@ -0,0 +1,35 @@
1
+ import { ChatCompletionMessageParam } from 'openai/resources';
2
+ import { ToolExecutionMetric } from './executor';
3
+ import { StorageAdapter, Logger } from '../types';
4
+ export interface AgenticReleaseConfig {
5
+ fromRef: string;
6
+ toRef: string;
7
+ logContent: string;
8
+ diffContent: string;
9
+ milestoneIssues?: string;
10
+ releaseFocus?: string;
11
+ userContext?: string;
12
+ model?: string;
13
+ maxIterations?: number;
14
+ debug?: boolean;
15
+ debugRequestFile?: string;
16
+ debugResponseFile?: string;
17
+ storage?: StorageAdapter;
18
+ logger?: Logger;
19
+ openaiReasoning?: 'low' | 'medium' | 'high';
20
+ }
21
+ export interface AgenticReleaseResult {
22
+ releaseNotes: {
23
+ title: string;
24
+ body: string;
25
+ };
26
+ iterations: number;
27
+ toolCallsExecuted: number;
28
+ conversationHistory: ChatCompletionMessageParam[];
29
+ toolMetrics: ToolExecutionMetric[];
30
+ }
31
+ /**
32
+ * Run agentic release notes generation
33
+ */
34
+ export declare function runAgenticRelease(config: AgenticReleaseConfig): Promise<AgenticReleaseResult>;
35
+ //# sourceMappingURL=release.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../../src/agentic/release.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAkC,KAAK,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAGtF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvD,MAAM,WAAW,oBAAoB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;CAC/C;AAED,MAAM,WAAW,oBAAoB;IACjC,YAAY,EAAE;QACV,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,0BAA0B,EAAE,CAAC;IAClD,WAAW,EAAE,mBAAmB,EAAE,CAAC;CACtC;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CA4EnG"}
@@ -12,7 +12,9 @@ export * from './interactive';
12
12
  export * from './prompts';
13
13
  export * from './agentic/executor';
14
14
  export * from './agentic/commit';
15
+ export * from './agentic/release';
15
16
  export * from './tools/types';
16
17
  export * from './tools/registry';
17
18
  export * from './tools/commit-tools';
19
+ export * from './tools/release-tools';
18
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC;AACrB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAG1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC;AACrB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAG1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { Tool } from './types';
2
+ /**
3
+ * Create tools for release notes generation
4
+ */
5
+ export declare function createReleaseTools(): Tool[];
6
+ //# sourceMappingURL=release-tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release-tools.d.ts","sourceRoot":"","sources":["../../../src/tools/release-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAe,MAAM,SAAS,CAAC;AAIjD;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,EAAE,CAgB3C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eldrforge/ai-service",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "AI-powered content generation for automation - OpenAI integration with structured prompts",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",