@planu/cli 0.31.0 → 0.32.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/engine/spec-templates/fintech-compliance.d.ts +4 -0
- package/dist/engine/spec-templates/fintech-compliance.d.ts.map +1 -0
- package/dist/engine/spec-templates/fintech-compliance.js +111 -0
- package/dist/engine/spec-templates/fintech-compliance.js.map +1 -0
- package/dist/engine/spec-templates/fintech-kyc.d.ts +4 -0
- package/dist/engine/spec-templates/fintech-kyc.d.ts.map +1 -0
- package/dist/engine/spec-templates/fintech-kyc.js +125 -0
- package/dist/engine/spec-templates/fintech-kyc.js.map +1 -0
- package/dist/engine/spec-templates/fintech-transactions.d.ts +4 -0
- package/dist/engine/spec-templates/fintech-transactions.d.ts.map +1 -0
- package/dist/engine/spec-templates/fintech-transactions.js +120 -0
- package/dist/engine/spec-templates/fintech-transactions.js.map +1 -0
- package/dist/engine/spec-templates/templates-industry-fintech.d.ts +3 -7
- package/dist/engine/spec-templates/templates-industry-fintech.d.ts.map +1 -1
- package/dist/engine/spec-templates/templates-industry-fintech.js +4 -348
- package/dist/engine/spec-templates/templates-industry-fintech.js.map +1 -1
- package/dist/types/project/agent.d.ts +12 -0
- package/dist/types/project/agent.d.ts.map +1 -0
- package/dist/types/project/agent.js +3 -0
- package/dist/types/project/agent.js.map +1 -0
- package/dist/types/project/architecture-detection.d.ts +23 -0
- package/dist/types/project/architecture-detection.d.ts.map +1 -0
- package/dist/types/project/architecture-detection.js +2 -0
- package/dist/types/project/architecture-detection.js.map +1 -0
- package/dist/types/project/config-metrics.d.ts +29 -0
- package/dist/types/project/config-metrics.d.ts.map +1 -0
- package/dist/types/project/config-metrics.js +2 -0
- package/dist/types/project/config-metrics.js.map +1 -0
- package/dist/types/project/constitution.d.ts +31 -0
- package/dist/types/project/constitution.d.ts.map +1 -0
- package/dist/types/project/constitution.js +3 -0
- package/dist/types/project/constitution.js.map +1 -0
- package/dist/types/project/core.d.ts +18 -163
- package/dist/types/project/core.d.ts.map +1 -1
- package/dist/types/project/core.js +7 -1
- package/dist/types/project/core.js.map +1 -1
- package/dist/types/project/mfe-detection.d.ts +18 -0
- package/dist/types/project/mfe-detection.d.ts.map +1 -0
- package/dist/types/project/mfe-detection.js +3 -0
- package/dist/types/project/mfe-detection.js.map +1 -0
- package/dist/types/project/planu-config.d.ts +55 -0
- package/dist/types/project/planu-config.d.ts.map +1 -0
- package/dist/types/project/planu-config.js +2 -0
- package/dist/types/project/planu-config.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,34 +1,29 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type { EnvSetupGuide, LintingAnalysis, BeginnerEnvStep } from '../env.js';
|
|
1
|
+
import type { SupportedLocale, ExperienceLevel, DatabaseEngine, DatabaseCategory, ArchitecturePattern } from '../common.js';
|
|
2
|
+
import type { EnvSetupGuide, LintingAnalysis } from '../env.js';
|
|
4
3
|
import type { ApiContract, AdvancedTestingDetectionResult } from '../testing.js';
|
|
5
|
-
import type { McpServerInfo
|
|
6
|
-
import type { QualityProfile
|
|
7
|
-
import type { ArchitecturePatternInfo, DddConfig, AgileProcessDetection } from '../architecture.js';
|
|
8
|
-
import type { ProjectPrivacyConfig } from '../privacy.js';
|
|
9
|
-
import type { OrchestratorInfo, ComposeMultiplatformInfo, ProjectCategory } from './platform-specialty.js';
|
|
10
|
-
import type { OtelDetectionResult } from '../analysis-detection.js';
|
|
11
|
-
import type { LlmDetectionResult } from '../llm-security.js';
|
|
12
|
-
import type { SupplyChainReport } from '../supply-chain.js';
|
|
13
|
-
import type { LocalFirstDetectionResult } from '../local-first.js';
|
|
4
|
+
import type { McpServerInfo } from '../mcp.js';
|
|
5
|
+
import type { QualityProfile } from '../analysis.js';
|
|
14
6
|
import type { ContextSource } from '../context.js';
|
|
15
7
|
import type { HypermediaFramework, TurboSubtype, RenderingMode, BuildToolDetectionResult } from '../stack.js';
|
|
16
8
|
import type { EdgeDbDetectionResult } from '../edge-db.js';
|
|
17
9
|
import type { AiNativeDetectionResult } from '../ai-native.js';
|
|
10
|
+
import type { OtelDetectionResult } from '../analysis-detection.js';
|
|
11
|
+
import type { LlmDetectionResult } from '../llm-security.js';
|
|
12
|
+
import type { SupplyChainReport } from '../supply-chain.js';
|
|
13
|
+
import type { LocalFirstDetectionResult } from '../local-first.js';
|
|
18
14
|
import type { MobilePlatform, MobileFramework, MobileArchPattern, MobilePackageManager } from './platform-mobile.js';
|
|
15
|
+
import type { ProjectCategory } from './platform-specialty.js';
|
|
19
16
|
import type { DetectedLibraries } from './library-groups.js';
|
|
17
|
+
import type { AgentProjectKnowledge } from './agent.js';
|
|
18
|
+
import type { ArchitectureDetection } from './architecture-detection.js';
|
|
19
|
+
import type { MfeDetectionResult } from './mfe-detection.js';
|
|
20
20
|
export type { DetectedLibraries };
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
memoryPersistence: string | null;
|
|
28
|
-
detectedTools: string[];
|
|
29
|
-
projectType: AgentProjectType | null;
|
|
30
|
-
topology: MultiAgentTopology | null;
|
|
31
|
-
}
|
|
21
|
+
export * from './agent.js';
|
|
22
|
+
export * from './architecture-detection.js';
|
|
23
|
+
export * from './constitution.js';
|
|
24
|
+
export * from './config-metrics.js';
|
|
25
|
+
export * from './mfe-detection.js';
|
|
26
|
+
export * from './planu-config.js';
|
|
32
27
|
export interface ProjectApp {
|
|
33
28
|
name: string;
|
|
34
29
|
path: string;
|
|
@@ -116,83 +111,6 @@ export interface ProjectKnowledge {
|
|
|
116
111
|
cloudDbProvider?: 'aws' | 'gcp' | 'azure' | null;
|
|
117
112
|
userProfile?: 'developer' | 'product-owner' | 'designer' | 'non-technical' | null;
|
|
118
113
|
}
|
|
119
|
-
export interface ArchitectureDetection {
|
|
120
|
-
primary: ArchitecturePattern;
|
|
121
|
-
secondary: ArchitecturePattern[];
|
|
122
|
-
layers: LayerDefinition[];
|
|
123
|
-
boundaries: ModuleBoundary[];
|
|
124
|
-
communicationPatterns: string[];
|
|
125
|
-
deploymentUnits: string[];
|
|
126
|
-
}
|
|
127
|
-
export interface LayerDefinition {
|
|
128
|
-
name: string;
|
|
129
|
-
directories: string[];
|
|
130
|
-
responsibility: string;
|
|
131
|
-
dependsOn: string[];
|
|
132
|
-
neverDependsOn: string[];
|
|
133
|
-
}
|
|
134
|
-
export interface ModuleBoundary {
|
|
135
|
-
name: string;
|
|
136
|
-
directories: string[];
|
|
137
|
-
publicApi: string[];
|
|
138
|
-
internalOnly: string[];
|
|
139
|
-
}
|
|
140
|
-
export interface Constitution {
|
|
141
|
-
projectId: string;
|
|
142
|
-
principles: ConstitutionPrinciple[];
|
|
143
|
-
createdAt: string;
|
|
144
|
-
updatedAt: string;
|
|
145
|
-
version: number;
|
|
146
|
-
}
|
|
147
|
-
export interface ConstitutionPrinciple {
|
|
148
|
-
id: string;
|
|
149
|
-
category: 'architecture' | 'security' | 'quality' | 'conventions' | 'tech-stack' | 'workflow';
|
|
150
|
-
principle: string;
|
|
151
|
-
rationale: string;
|
|
152
|
-
enforceLevel: 'strict' | 'recommended';
|
|
153
|
-
autoEnforceable: boolean;
|
|
154
|
-
checkFn?: string;
|
|
155
|
-
source: 'auto-detected' | 'user-defined' | 'claude-md' | 'learned';
|
|
156
|
-
immutable: boolean;
|
|
157
|
-
}
|
|
158
|
-
export interface ConstitutionViolation {
|
|
159
|
-
principleId: string;
|
|
160
|
-
specId?: string;
|
|
161
|
-
file?: string;
|
|
162
|
-
description: string;
|
|
163
|
-
severity: 'error' | 'warning';
|
|
164
|
-
}
|
|
165
|
-
export interface ConstitutionMergeResult {
|
|
166
|
-
added: number;
|
|
167
|
-
preserved: number;
|
|
168
|
-
conflicts: string[];
|
|
169
|
-
}
|
|
170
|
-
export interface GlobalConfig {
|
|
171
|
-
defaultLocale: SupportedLocale;
|
|
172
|
-
defaultExperienceLevel: ExperienceLevel;
|
|
173
|
-
hourlyRate: number;
|
|
174
|
-
pricingOpusPerMToken: number;
|
|
175
|
-
pricingSonnetPerMToken: number;
|
|
176
|
-
}
|
|
177
|
-
export interface MetricsHistory {
|
|
178
|
-
projectId: string;
|
|
179
|
-
entries: MetricEntry[];
|
|
180
|
-
}
|
|
181
|
-
export interface MetricEntry {
|
|
182
|
-
specId: string;
|
|
183
|
-
difficulty: Difficulty;
|
|
184
|
-
estimated: Estimation;
|
|
185
|
-
actual: Actuals;
|
|
186
|
-
accuracyScore: number;
|
|
187
|
-
}
|
|
188
|
-
export interface TokenBudget {
|
|
189
|
-
projectId: string;
|
|
190
|
-
monthlyBudgetUsd: number;
|
|
191
|
-
spentThisMonth: number;
|
|
192
|
-
remainingUsd: number;
|
|
193
|
-
tokensByMode: Record<ExecutionMode, number>;
|
|
194
|
-
savingsVsNaive: number;
|
|
195
|
-
}
|
|
196
114
|
export interface ProjectCompleteness {
|
|
197
115
|
hasReadme: boolean;
|
|
198
116
|
hasGitignore: boolean;
|
|
@@ -216,67 +134,4 @@ export interface ProjectCompleteness {
|
|
|
216
134
|
hasSeedData: boolean;
|
|
217
135
|
completenessScore: number;
|
|
218
136
|
}
|
|
219
|
-
export type MfeHydrationMode = 'islands' | 'full' | 'none';
|
|
220
|
-
export type MfePattern = 'module-federation' | 'single-spa' | 'nx-mfe' | 'none';
|
|
221
|
-
export type MfeTool = 'webpack' | 'vite' | 'nx';
|
|
222
|
-
export type SignalsLibrary = 'angular' | 'preact' | 'solid' | 'vue';
|
|
223
|
-
export interface MfeDetectionResult {
|
|
224
|
-
islandsFramework?: 'astro' | 'fresh';
|
|
225
|
-
hydration?: MfeHydrationMode;
|
|
226
|
-
solidStart?: boolean;
|
|
227
|
-
tanstackStart?: boolean;
|
|
228
|
-
moduleFederation?: {
|
|
229
|
-
pattern: MfePattern;
|
|
230
|
-
tool: MfeTool;
|
|
231
|
-
};
|
|
232
|
-
singleSpa?: boolean;
|
|
233
|
-
nxMfe?: boolean;
|
|
234
|
-
signals?: SignalsLibrary[];
|
|
235
|
-
}
|
|
236
|
-
export interface PlanuConfig {
|
|
237
|
-
version: string;
|
|
238
|
-
specLocation: string;
|
|
239
|
-
specNaming: 'modern' | 'legacy';
|
|
240
|
-
createdAt: string;
|
|
241
|
-
updatedAt: string;
|
|
242
|
-
}
|
|
243
|
-
export interface GeneratedRulesInfo {
|
|
244
|
-
rulesFile: {
|
|
245
|
-
path: string;
|
|
246
|
-
content: string;
|
|
247
|
-
};
|
|
248
|
-
additionalFiles: {
|
|
249
|
-
path: string;
|
|
250
|
-
content: string;
|
|
251
|
-
}[];
|
|
252
|
-
}
|
|
253
|
-
export interface InitProjectResultInput {
|
|
254
|
-
projectId: string;
|
|
255
|
-
projectPath: string;
|
|
256
|
-
isUpdate: boolean;
|
|
257
|
-
knowledge: ProjectKnowledge;
|
|
258
|
-
claudeMdRules: QualityRule[];
|
|
259
|
-
completeness: ProjectCompleteness;
|
|
260
|
-
modernPatterns: ArchitecturePatternInfo[];
|
|
261
|
-
dddConfig: DddConfig;
|
|
262
|
-
agileDetection: AgileProcessDetection;
|
|
263
|
-
orchestratorInfo: OrchestratorInfo;
|
|
264
|
-
composeMultiplatform: ComposeMultiplatformInfo;
|
|
265
|
-
privacyConfig: ProjectPrivacyConfig;
|
|
266
|
-
envExampleGenerated: number | null;
|
|
267
|
-
beginnerEnvGuide: BeginnerEnvStep[] | null;
|
|
268
|
-
contextRequestPrompt: string | null;
|
|
269
|
-
missingAreas: string[];
|
|
270
|
-
recommendedSkills: RecommendedSkill[];
|
|
271
|
-
platform: AgentPlatform;
|
|
272
|
-
generatedRules: GeneratedRulesInfo;
|
|
273
|
-
rulesWritten: boolean;
|
|
274
|
-
additionalFilesWritten: string[];
|
|
275
|
-
planuConfigGenerated: boolean;
|
|
276
|
-
planuConfigPath: string;
|
|
277
|
-
migrationResult: {
|
|
278
|
-
migratedCount: number;
|
|
279
|
-
errors: string[];
|
|
280
|
-
} | null;
|
|
281
|
-
}
|
|
282
137
|
//# sourceMappingURL=core.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/types/project/core.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/types/project/core.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EACf,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,8BAA8B,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EACV,mBAAmB,EACnB,YAAY,EACZ,aAAa,EACb,wBAAwB,EACzB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,C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|
|
|
1
|
-
export
|
|
1
|
+
// Re-export sub-modules so barrel consumers get everything from core.js
|
|
2
|
+
export * from './agent.js';
|
|
3
|
+
export * from './architecture-detection.js';
|
|
4
|
+
export * from './constitution.js';
|
|
5
|
+
export * from './config-metrics.js';
|
|
6
|
+
export * from './mfe-detection.js';
|
|
7
|
+
export * from './planu-config.js';
|
|
2
8
|
//# sourceMappingURL=core.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.js","sourceRoot":"","sources":["../../../src/types/project/core.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"core.js","sourceRoot":"","sources":["../../../src/types/project/core.ts"],"names":[],"mappings":"AAuCA,wEAAwE;AACxE,cAAc,YAAY,CAAC;AAC3B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type MfeHydrationMode = 'islands' | 'full' | 'none';
|
|
2
|
+
export type MfePattern = 'module-federation' | 'single-spa' | 'nx-mfe' | 'none';
|
|
3
|
+
export type MfeTool = 'webpack' | 'vite' | 'nx';
|
|
4
|
+
export type SignalsLibrary = 'angular' | 'preact' | 'solid' | 'vue';
|
|
5
|
+
export interface MfeDetectionResult {
|
|
6
|
+
islandsFramework?: 'astro' | 'fresh';
|
|
7
|
+
hydration?: MfeHydrationMode;
|
|
8
|
+
solidStart?: boolean;
|
|
9
|
+
tanstackStart?: boolean;
|
|
10
|
+
moduleFederation?: {
|
|
11
|
+
pattern: MfePattern;
|
|
12
|
+
tool: MfeTool;
|
|
13
|
+
};
|
|
14
|
+
singleSpa?: boolean;
|
|
15
|
+
nxMfe?: boolean;
|
|
16
|
+
signals?: SignalsLibrary[];
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=mfe-detection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfe-detection.d.ts","sourceRoot":"","sources":["../../../src/types/project/mfe-detection.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAC3D,MAAM,MAAM,UAAU,GAAG,mBAAmB,GAAG,YAAY,GAAG,QAAQ,GAAG,MAAM,CAAC;AAChF,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;AAChD,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAC;AAEpE,MAAM,WAAW,kBAAkB;IAEjC,gBAAgB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACrC,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAE7B,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,gBAAgB,CAAC,EAAE;QAAE,OAAO,EAAE,UAAU,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC;IAE1D,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfe-detection.js","sourceRoot":"","sources":["../../../src/types/project/mfe-detection.ts"],"names":[],"mappings":"AAAA,kFAAkF"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { AgentPlatform } from '../common.js';
|
|
2
|
+
import type { BeginnerEnvStep } from '../env.js';
|
|
3
|
+
import type { RecommendedSkill } from '../mcp.js';
|
|
4
|
+
import type { QualityRule } from '../analysis.js';
|
|
5
|
+
import type { ArchitecturePatternInfo, DddConfig, AgileProcessDetection } from '../architecture.js';
|
|
6
|
+
import type { ProjectPrivacyConfig } from '../privacy.js';
|
|
7
|
+
import type { OrchestratorInfo, ComposeMultiplatformInfo } from './platform-specialty.js';
|
|
8
|
+
import type { ProjectKnowledge, ProjectCompleteness } from './core.js';
|
|
9
|
+
export interface PlanuConfig {
|
|
10
|
+
version: string;
|
|
11
|
+
specLocation: string;
|
|
12
|
+
specNaming: 'modern' | 'legacy';
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GeneratedRulesInfo {
|
|
17
|
+
rulesFile: {
|
|
18
|
+
path: string;
|
|
19
|
+
content: string;
|
|
20
|
+
};
|
|
21
|
+
additionalFiles: {
|
|
22
|
+
path: string;
|
|
23
|
+
content: string;
|
|
24
|
+
}[];
|
|
25
|
+
}
|
|
26
|
+
export interface InitProjectResultInput {
|
|
27
|
+
projectId: string;
|
|
28
|
+
projectPath: string;
|
|
29
|
+
isUpdate: boolean;
|
|
30
|
+
knowledge: ProjectKnowledge;
|
|
31
|
+
claudeMdRules: QualityRule[];
|
|
32
|
+
completeness: ProjectCompleteness;
|
|
33
|
+
modernPatterns: ArchitecturePatternInfo[];
|
|
34
|
+
dddConfig: DddConfig;
|
|
35
|
+
agileDetection: AgileProcessDetection;
|
|
36
|
+
orchestratorInfo: OrchestratorInfo;
|
|
37
|
+
composeMultiplatform: ComposeMultiplatformInfo;
|
|
38
|
+
privacyConfig: ProjectPrivacyConfig;
|
|
39
|
+
envExampleGenerated: number | null;
|
|
40
|
+
beginnerEnvGuide: BeginnerEnvStep[] | null;
|
|
41
|
+
contextRequestPrompt: string | null;
|
|
42
|
+
missingAreas: string[];
|
|
43
|
+
recommendedSkills: RecommendedSkill[];
|
|
44
|
+
platform: AgentPlatform;
|
|
45
|
+
generatedRules: GeneratedRulesInfo;
|
|
46
|
+
rulesWritten: boolean;
|
|
47
|
+
additionalFilesWritten: string[];
|
|
48
|
+
planuConfigGenerated: boolean;
|
|
49
|
+
planuConfigPath: string;
|
|
50
|
+
migrationResult: {
|
|
51
|
+
migratedCount: number;
|
|
52
|
+
errors: string[];
|
|
53
|
+
} | null;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=planu-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"planu-config.d.ts","sourceRoot":"","sources":["../../../src/types/project/planu-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,uBAAuB,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACpG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAC1F,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGvE,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7C,eAAe,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACtD;AAED,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,aAAa,EAAE,WAAW,EAAE,CAAC;IAC7B,YAAY,EAAE,mBAAmB,CAAC;IAClC,cAAc,EAAE,uBAAuB,EAAE,CAAC;IAC1C,SAAS,EAAE,SAAS,CAAC;IACrB,cAAc,EAAE,qBAAqB,CAAC;IACtC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,oBAAoB,EAAE,wBAAwB,CAAC;IAC/C,aAAa,EAAE,oBAAoB,CAAC;IACpC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC;IAC3C,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;IACtC,QAAQ,EAAE,aAAa,CAAC;IACxB,cAAc,EAAE,kBAAkB,CAAC;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,sBAAsB,EAAE,MAAM,EAAE,CAAC;IACjC,oBAAoB,EAAE,OAAO,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE;QAAE,aAAa,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,EAAE,CAAA;KAAE,GAAG,IAAI,CAAC;CACrE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"planu-config.js","sourceRoot":"","sources":["../../../src/types/project/planu-config.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planu/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
4
4
|
"description": "Planu — MCP Server for Spec Driven Development. Manages specs, estimations, reverse engineering, and auto-learning across any language/framework.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|