intention-coding 0.2.5 → 0.3.0
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 +6 -2
- package/dist/index.js +6247 -4482
- package/dist/services/api-test/add-tasks-to-plan.d.ts +8 -8
- package/dist/services/api-test/api-test.d.ts +4 -4
- package/dist/services/api-test/index.d.ts +14 -14
- package/dist/services/api-test/test-plan.d.ts +10 -10
- package/dist/services/api-test/update-task.d.ts +8 -8
- package/dist/services/change-summarizer/prompt/change-analysis.d.ts +1 -1
- package/dist/services/claude-code/index.d.ts +6 -6
- package/dist/services/code-generator/database-manager.d.ts +4 -4
- package/dist/services/code-generator/enhanced-tools.d.ts +12 -12
- package/dist/services/image-converter/converter.d.ts +84 -0
- package/dist/services/image-converter/index.d.ts +132 -0
- package/dist/services/index.d.ts +0 -5
- package/dist/services/project-template/index.d.ts +7 -7
- package/dist/services/project-template/prompt/project-rules.d.ts +1 -0
- package/dist/services/requirement-analyzer/chunk-reader.d.ts +37 -0
- package/dist/services/requirement-analyzer/index.d.ts +30 -90
- package/dist/services/requirement-analyzer/prompt/api-template.d.ts +1 -0
- package/dist/services/requirement-analyzer/prompt/app-template.d.ts +1 -0
- package/dist/services/requirement-analyzer/prompt/enhanced-feature-extraction.d.ts +1 -0
- package/dist/services/requirement-analyzer/prompt/fallback-document.d.ts +1 -0
- package/dist/services/requirement-analyzer/prompt/feature-dependency-analysis.d.ts +1 -0
- package/dist/services/requirement-analyzer/prompt/feature-extraction.d.ts +2 -0
- package/dist/services/requirement-analyzer/prompt/pc-page-template.d.ts +1 -0
- package/dist/services/requirement-analyzer/prompt/requirement-analysis.d.ts +2 -0
- package/dist/services/requirement-analyzer/prompt/sdk-template.d.ts +1 -0
- package/dist/utils/openai.d.ts +31 -0
- package/dist/utils/pack.d.ts +1 -1
- package/package.json +4 -2
- package/dist/prompt/change-analysis.ts +0 -53
- package/dist/prompt/initialize-project-standard.xml +0 -66
- package/dist/prompt/instructions.md +0 -235
- package/dist/prompt/velocity-template-generation.xml +0 -112
- package/dist/services/requirement-analyzer/auto-trigger.d.ts +0 -1
- package/dist/services/velocity-template/index.d.ts +0 -334
- package/dist/utils/openai-service.d.ts +0 -59
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const OpenAIParams: z.ZodObject<{
|
|
3
|
-
prompt: z.ZodString;
|
|
4
|
-
model: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5
|
-
max_tokens: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
6
|
-
temperature: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
7
|
-
system_prompt: z.ZodOptional<z.ZodString>;
|
|
8
|
-
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
prompt: string;
|
|
10
|
-
model: string;
|
|
11
|
-
max_tokens: number;
|
|
12
|
-
temperature: number;
|
|
13
|
-
system_prompt?: string | undefined;
|
|
14
|
-
}, {
|
|
15
|
-
prompt: string;
|
|
16
|
-
model?: string | undefined;
|
|
17
|
-
max_tokens?: number | undefined;
|
|
18
|
-
temperature?: number | undefined;
|
|
19
|
-
system_prompt?: string | undefined;
|
|
20
|
-
}>;
|
|
21
|
-
export declare const VisionParams: z.ZodObject<{
|
|
22
|
-
prompt: z.ZodString;
|
|
23
|
-
image_base64: z.ZodString;
|
|
24
|
-
model: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
25
|
-
max_tokens: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
26
|
-
temperature: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
27
|
-
system_prompt: z.ZodOptional<z.ZodString>;
|
|
28
|
-
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
prompt: string;
|
|
30
|
-
model: string;
|
|
31
|
-
max_tokens: number;
|
|
32
|
-
temperature: number;
|
|
33
|
-
image_base64: string;
|
|
34
|
-
system_prompt?: string | undefined;
|
|
35
|
-
}, {
|
|
36
|
-
prompt: string;
|
|
37
|
-
image_base64: string;
|
|
38
|
-
model?: string | undefined;
|
|
39
|
-
max_tokens?: number | undefined;
|
|
40
|
-
temperature?: number | undefined;
|
|
41
|
-
system_prompt?: string | undefined;
|
|
42
|
-
}>;
|
|
43
|
-
export type OpenAIParams = z.infer<typeof OpenAIParams>;
|
|
44
|
-
export type VisionParams = z.infer<typeof VisionParams>;
|
|
45
|
-
export declare class OpenAIService {
|
|
46
|
-
private apiKey;
|
|
47
|
-
private baseUrl;
|
|
48
|
-
constructor(apiKey?: string, baseUrl?: string);
|
|
49
|
-
generateText(params: OpenAIParams): Promise<string>;
|
|
50
|
-
generateStream(params: OpenAIParams): Promise<AsyncIterable<string>>;
|
|
51
|
-
/**
|
|
52
|
-
* Analyze an image using vision capabilities
|
|
53
|
-
*
|
|
54
|
-
* @param params - Vision analysis parameters
|
|
55
|
-
* @returns Analysis result content
|
|
56
|
-
*/
|
|
57
|
-
analyzeImage(params: VisionParams): Promise<string>;
|
|
58
|
-
}
|
|
59
|
-
export declare const openAIService: OpenAIService;
|