mcp-ai-agent-guidelines 0.7.2 → 0.7.3
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/README.md +201 -6
- package/dist/index.js +290 -5
- package/dist/index.js.map +1 -1
- package/dist/resources/structured.d.ts.map +1 -1
- package/dist/resources/structured.js +410 -0
- package/dist/resources/structured.js.map +1 -1
- package/dist/schemas/flow-tool-schemas.d.ts +167 -0
- package/dist/schemas/flow-tool-schemas.d.ts.map +1 -0
- package/dist/schemas/flow-tool-schemas.js +149 -0
- package/dist/schemas/flow-tool-schemas.js.map +1 -0
- package/dist/tools/bridge/index.d.ts +83 -0
- package/dist/tools/bridge/index.d.ts.map +1 -0
- package/dist/tools/bridge/index.js +85 -0
- package/dist/tools/bridge/index.js.map +1 -0
- package/dist/tools/bridge/project-onboarding-bridge.d.ts +54 -0
- package/dist/tools/bridge/project-onboarding-bridge.d.ts.map +1 -0
- package/dist/tools/bridge/project-onboarding-bridge.js +220 -0
- package/dist/tools/bridge/project-onboarding-bridge.js.map +1 -0
- package/dist/tools/bridge/semantic-analyzer-bridge.d.ts +47 -0
- package/dist/tools/bridge/semantic-analyzer-bridge.d.ts.map +1 -0
- package/dist/tools/bridge/semantic-analyzer-bridge.js +174 -0
- package/dist/tools/bridge/semantic-analyzer-bridge.js.map +1 -0
- package/dist/tools/code-hygiene-analyzer.js +57 -8
- package/dist/tools/code-hygiene-analyzer.js.map +1 -1
- package/dist/tools/config/guidelines-config.d.ts +2 -14
- package/dist/tools/config/guidelines-config.d.ts.map +1 -1
- package/dist/tools/config/guidelines-config.js +45 -6
- package/dist/tools/config/guidelines-config.js.map +1 -1
- package/dist/tools/config/model-config.d.ts +2 -23
- package/dist/tools/config/model-config.d.ts.map +1 -1
- package/dist/tools/config/model-config.js.map +1 -1
- package/dist/tools/config/types/guidelines.types.d.ts +15 -0
- package/dist/tools/config/types/guidelines.types.d.ts.map +1 -0
- package/dist/tools/config/types/guidelines.types.js +3 -0
- package/dist/tools/config/types/guidelines.types.js.map +1 -0
- package/dist/tools/config/types/index.d.ts +3 -0
- package/dist/tools/config/types/index.d.ts.map +1 -0
- package/dist/tools/config/types/index.js +3 -0
- package/dist/tools/config/types/index.js.map +1 -0
- package/dist/tools/config/types/model.types.d.ts +24 -0
- package/dist/tools/config/types/model.types.d.ts.map +1 -0
- package/dist/tools/config/types/model.types.js +3 -0
- package/dist/tools/config/types/model.types.js.map +1 -0
- package/dist/tools/design/adr-generator.d.ts +1 -1
- package/dist/tools/design/adr-generator.d.ts.map +1 -1
- package/dist/tools/design/adr-generator.js.map +1 -1
- package/dist/tools/design/confirmation-module.d.ts +1 -1
- package/dist/tools/design/confirmation-module.d.ts.map +1 -1
- package/dist/tools/design/confirmation-prompt-builder.d.ts +1 -1
- package/dist/tools/design/confirmation-prompt-builder.d.ts.map +1 -1
- package/dist/tools/design/confirmation-prompt-builder.js.map +1 -1
- package/dist/tools/design/constraint-consistency-enforcer.d.ts +1 -1
- package/dist/tools/design/constraint-consistency-enforcer.d.ts.map +1 -1
- package/dist/tools/design/constraint-consistency-enforcer.js.map +1 -1
- package/dist/tools/design/constraint-manager.d.ts +14 -14
- package/dist/tools/design/constraint-manager.d.ts.map +1 -1
- package/dist/tools/design/coverage-enforcer.d.ts +1 -1
- package/dist/tools/design/coverage-enforcer.d.ts.map +1 -1
- package/dist/tools/design/cross-session-consistency-enforcer.d.ts +1 -1
- package/dist/tools/design/cross-session-consistency-enforcer.d.ts.map +1 -1
- package/dist/tools/design/design-assistant.d.ts +1 -1
- package/dist/tools/design/design-assistant.d.ts.map +1 -1
- package/dist/tools/design/design-assistant.js +22 -9
- package/dist/tools/design/design-assistant.js.map +1 -1
- package/dist/tools/design/design-phase-workflow.d.ts +1 -1
- package/dist/tools/design/design-phase-workflow.d.ts.map +1 -1
- package/dist/tools/design/index.d.ts +1 -1
- package/dist/tools/design/index.d.ts.map +1 -1
- package/dist/tools/design/methodology-selector.d.ts +1 -1
- package/dist/tools/design/methodology-selector.d.ts.map +1 -1
- package/dist/tools/design/pivot-module.d.ts +1 -1
- package/dist/tools/design/pivot-module.d.ts.map +1 -1
- package/dist/tools/design/roadmap-generator.d.ts +1 -1
- package/dist/tools/design/roadmap-generator.d.ts.map +1 -1
- package/dist/tools/design/roadmap-generator.js.map +1 -1
- package/dist/tools/design/spec-generator.d.ts +1 -1
- package/dist/tools/design/spec-generator.d.ts.map +1 -1
- package/dist/tools/design/spec-generator.js.map +1 -1
- package/dist/tools/design/strategic-pivot-prompt-builder.d.ts +1 -1
- package/dist/tools/design/strategic-pivot-prompt-builder.d.ts.map +1 -1
- package/dist/tools/design/types/artifact.types.d.ts +16 -0
- package/dist/tools/design/types/artifact.types.d.ts.map +1 -0
- package/dist/tools/design/types/artifact.types.js +3 -0
- package/dist/tools/design/types/artifact.types.js.map +1 -0
- package/dist/tools/design/types/common.types.d.ts +8 -0
- package/dist/tools/design/types/common.types.d.ts.map +1 -0
- package/dist/tools/design/types/common.types.js +3 -0
- package/dist/tools/design/types/common.types.js.map +1 -0
- package/dist/tools/design/types/consistency.types.d.ts +130 -0
- package/dist/tools/design/types/consistency.types.d.ts.map +1 -0
- package/dist/tools/design/types/consistency.types.js +3 -0
- package/dist/tools/design/types/consistency.types.js.map +1 -0
- package/dist/tools/design/types/constraint.types.d.ts +53 -0
- package/dist/tools/design/types/constraint.types.d.ts.map +1 -0
- package/dist/tools/design/types/constraint.types.js +3 -0
- package/dist/tools/design/types/constraint.types.js.map +1 -0
- package/dist/tools/design/types/coverage.types.d.ts +58 -0
- package/dist/tools/design/types/coverage.types.d.ts.map +1 -0
- package/dist/tools/design/types/coverage.types.js +3 -0
- package/dist/tools/design/types/coverage.types.js.map +1 -0
- package/dist/tools/design/types/index.d.ts +9 -0
- package/dist/tools/design/types/index.d.ts.map +1 -0
- package/dist/tools/design/types/index.js +4 -0
- package/dist/tools/design/types/index.js.map +1 -0
- package/dist/tools/design/types/methodology.types.d.ts +53 -0
- package/dist/tools/design/types/methodology.types.d.ts.map +1 -0
- package/dist/tools/design/types/methodology.types.js +3 -0
- package/dist/tools/design/types/methodology.types.js.map +1 -0
- package/dist/tools/design/types/pivot.types.d.ts +56 -0
- package/dist/tools/design/types/pivot.types.d.ts.map +1 -0
- package/dist/tools/design/types/pivot.types.js +3 -0
- package/dist/tools/design/types/pivot.types.js.map +1 -0
- package/dist/tools/design/types/session.types.d.ts +50 -0
- package/dist/tools/design/types/session.types.d.ts.map +1 -0
- package/dist/tools/design/types/session.types.js +3 -0
- package/dist/tools/design/types/session.types.js.map +1 -0
- package/dist/tools/design/types.d.ts +18 -401
- package/dist/tools/design/types.d.ts.map +1 -1
- package/dist/tools/design/types.js +17 -1
- package/dist/tools/design/types.js.map +1 -1
- package/dist/tools/guidelines-validator.js +3 -3
- package/dist/tools/mermaid-diagram-generator.d.ts.map +1 -1
- package/dist/tools/mermaid-diagram-generator.js +712 -58
- package/dist/tools/mermaid-diagram-generator.js.map +1 -1
- package/dist/tools/mode-switcher.d.ts +21 -0
- package/dist/tools/mode-switcher.d.ts.map +1 -0
- package/dist/tools/mode-switcher.js +383 -0
- package/dist/tools/mode-switcher.js.map +1 -0
- package/dist/tools/project-onboarding.d.ts +7 -0
- package/dist/tools/project-onboarding.d.ts.map +1 -0
- package/dist/tools/project-onboarding.js +344 -0
- package/dist/tools/project-onboarding.js.map +1 -0
- package/dist/tools/prompt/domain-neutral-prompt-builder.d.ts +8 -8
- package/dist/tools/prompt/hierarchical-prompt-builder.d.ts +6 -6
- package/dist/tools/prompt/hierarchy-level-selector.d.ts +7 -0
- package/dist/tools/prompt/hierarchy-level-selector.d.ts.map +1 -0
- package/dist/tools/prompt/hierarchy-level-selector.js +256 -0
- package/dist/tools/prompt/hierarchy-level-selector.js.map +1 -0
- package/dist/tools/prompt/prompt-chaining-builder.d.ts +29 -0
- package/dist/tools/prompt/prompt-chaining-builder.d.ts.map +1 -0
- package/dist/tools/prompt/prompt-chaining-builder.js +212 -0
- package/dist/tools/prompt/prompt-chaining-builder.js.map +1 -0
- package/dist/tools/prompt/prompt-flow-builder.d.ts +24 -0
- package/dist/tools/prompt/prompt-flow-builder.d.ts.map +1 -0
- package/dist/tools/prompt/prompt-flow-builder.js +422 -0
- package/dist/tools/prompt/prompt-flow-builder.js.map +1 -0
- package/dist/tools/prompt/prompting-hierarchy-evaluator.d.ts +13 -0
- package/dist/tools/prompt/prompting-hierarchy-evaluator.d.ts.map +1 -0
- package/dist/tools/prompt/prompting-hierarchy-evaluator.js +372 -0
- package/dist/tools/prompt/prompting-hierarchy-evaluator.js.map +1 -0
- package/dist/tools/prompt/spark-prompt-builder.d.ts +14 -14
- package/dist/tools/prompt/types/hierarchy.types.d.ts +42 -0
- package/dist/tools/prompt/types/hierarchy.types.d.ts.map +1 -0
- package/dist/tools/prompt/types/hierarchy.types.js +23 -0
- package/dist/tools/prompt/types/hierarchy.types.js.map +1 -0
- package/dist/tools/prompt/types/index.d.ts +2 -0
- package/dist/tools/prompt/types/index.d.ts.map +1 -0
- package/dist/tools/prompt/types/index.js +3 -0
- package/dist/tools/prompt/types/index.js.map +1 -0
- package/dist/tools/semantic-code-analyzer.d.ts +7 -0
- package/dist/tools/semantic-code-analyzer.d.ts.map +1 -0
- package/dist/tools/semantic-code-analyzer.js +380 -0
- package/dist/tools/semantic-code-analyzer.js.map +1 -0
- package/dist/tools/shared/prompt-sections.d.ts +3 -7
- package/dist/tools/shared/prompt-sections.d.ts.map +1 -1
- package/dist/tools/shared/prompt-sections.js +2 -26
- package/dist/tools/shared/prompt-sections.js.map +1 -1
- package/dist/tools/shared/prompt-utils.d.ts +2 -6
- package/dist/tools/shared/prompt-utils.d.ts.map +1 -1
- package/dist/tools/shared/prompt-utils.js.map +1 -1
- package/dist/tools/shared/types/index.d.ts +3 -0
- package/dist/tools/shared/types/index.d.ts.map +1 -0
- package/dist/tools/shared/types/index.js +3 -0
- package/dist/tools/shared/types/index.js.map +1 -0
- package/dist/tools/shared/types/prompt-sections.types.d.ts +8 -0
- package/dist/tools/shared/types/prompt-sections.types.d.ts.map +1 -0
- package/dist/tools/shared/types/prompt-sections.types.js +28 -0
- package/dist/tools/shared/types/prompt-sections.types.js.map +1 -0
- package/dist/tools/shared/types/prompt-utils.types.d.ts +7 -0
- package/dist/tools/shared/types/prompt-utils.types.d.ts.map +1 -0
- package/dist/tools/shared/types/prompt-utils.types.js +3 -0
- package/dist/tools/shared/types/prompt-utils.types.js.map +1 -0
- package/dist/tools/sprint-timeline-calculator.d.ts.map +1 -1
- package/dist/tools/sprint-timeline-calculator.js +129 -28
- package/dist/tools/sprint-timeline-calculator.js.map +1 -1
- package/package.json +3 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { Artifact } from "./artifact.types.js";
|
|
2
|
+
import type { DesignPhase } from "./session.types.js";
|
|
3
|
+
export interface MethodologySignals {
|
|
4
|
+
projectType: ProjectType;
|
|
5
|
+
problemFraming: ProblemFraming;
|
|
6
|
+
riskLevel: RiskLevel;
|
|
7
|
+
timelinePressure: TimelinePressure;
|
|
8
|
+
stakeholderMode: StakeholderMode;
|
|
9
|
+
domainContext?: string;
|
|
10
|
+
additionalContext?: Record<string, unknown>;
|
|
11
|
+
}
|
|
12
|
+
export interface MethodologyCandidate {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
phases: string[];
|
|
17
|
+
confidenceScore: number;
|
|
18
|
+
rationale: string;
|
|
19
|
+
strengths: string[];
|
|
20
|
+
considerations: string[];
|
|
21
|
+
suitableFor: ProjectType[];
|
|
22
|
+
source: string;
|
|
23
|
+
}
|
|
24
|
+
export interface MethodologySelection {
|
|
25
|
+
selected: MethodologyCandidate;
|
|
26
|
+
alternatives: MethodologyCandidate[];
|
|
27
|
+
signals: MethodologySignals;
|
|
28
|
+
timestamp: string;
|
|
29
|
+
selectionRationale: string;
|
|
30
|
+
}
|
|
31
|
+
export interface MethodologyProfile {
|
|
32
|
+
methodology: MethodologyCandidate;
|
|
33
|
+
phaseMapping: Record<string, DesignPhase>;
|
|
34
|
+
milestones: Milestone[];
|
|
35
|
+
successMetrics: string[];
|
|
36
|
+
dialoguePrompts: string[];
|
|
37
|
+
artifacts: Artifact[];
|
|
38
|
+
}
|
|
39
|
+
export interface Milestone {
|
|
40
|
+
id: string;
|
|
41
|
+
name: string;
|
|
42
|
+
description: string;
|
|
43
|
+
phaseId: string;
|
|
44
|
+
deliverables: string[];
|
|
45
|
+
criteria: string[];
|
|
46
|
+
estimatedDuration: string;
|
|
47
|
+
}
|
|
48
|
+
export type ProjectType = "analytics-overhaul" | "safety-protocol" | "interactive-feature" | "large-refactor" | "new-application" | "integration-project" | "optimization-project" | "compliance-initiative" | "research-exploration" | "platform-migration";
|
|
49
|
+
export type ProblemFraming = "uncertain-modeling" | "policy-first" | "empathy-focused" | "performance-first" | "security-focused" | "scalability-focused" | "user-experience" | "technical-debt" | "innovation-driven" | "compliance-driven";
|
|
50
|
+
export type RiskLevel = "low" | "medium" | "high" | "critical";
|
|
51
|
+
export type TimelinePressure = "urgent" | "normal" | "relaxed" | "flexible";
|
|
52
|
+
export type StakeholderMode = "technical" | "business" | "mixed" | "external" | "regulatory";
|
|
53
|
+
//# sourceMappingURL=methodology.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"methodology.types.d.ts","sourceRoot":"","sources":["../../../../src/tools/design/types/methodology.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,WAAW,kBAAkB;IAClC,WAAW,EAAE,WAAW,CAAC;IACzB,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,eAAe,EAAE,eAAe,CAAC;IACjC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iB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ChB,iBAAiB,GACjB,qBAAqB,GACrB,sBAAsB,GACtB,uBAAuB,GACvB,sBAAsB,GACtB,oBAAoB,CAAC;AAExB,MAAM,MAAM,cAAc,GACvB,oBAAoB,GACpB,cAAc,GACd,iBAAiB,GACjB,mBAAmB,GACnB,kBAAkB,GAClB,qBAAqB,GACrB,iBAAiB,GACjB,gBAAgB,GAChB,mBAAmB,GACnB,mBAAmB,CAAC;AAEvB,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;AAE5E,MAAM,MAAM,eAAe,GACxB,WAAW,GACX,UAAU,GACV,OAAO,GACP,UAAU,GACV,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"methodology.types.js","sourceRoot":"","sources":["../../../../src/tools/design/types/methodology.types.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { ArtifactType, OutputFormat, RiskLevel } from "./common.types.js";
|
|
2
|
+
import type { DesignSessionState } from "./session.types.js";
|
|
3
|
+
export interface PivotDecision {
|
|
4
|
+
triggered: boolean;
|
|
5
|
+
reason: string;
|
|
6
|
+
complexity: number;
|
|
7
|
+
entropy: number;
|
|
8
|
+
threshold: number;
|
|
9
|
+
alternatives: string[];
|
|
10
|
+
recommendation: string;
|
|
11
|
+
}
|
|
12
|
+
export interface StrategicPivotPromptRequest {
|
|
13
|
+
sessionState: DesignSessionState;
|
|
14
|
+
pivotDecision: PivotDecision;
|
|
15
|
+
context?: string;
|
|
16
|
+
includeTemplates?: boolean;
|
|
17
|
+
includeSpace7Instructions?: boolean;
|
|
18
|
+
outputFormat?: OutputFormat;
|
|
19
|
+
customInstructions?: string[];
|
|
20
|
+
}
|
|
21
|
+
export interface StrategicPivotPromptResult {
|
|
22
|
+
success: boolean;
|
|
23
|
+
prompt: string;
|
|
24
|
+
metadata: {
|
|
25
|
+
pivotReason: string;
|
|
26
|
+
complexityScore: number;
|
|
27
|
+
entropyLevel: number;
|
|
28
|
+
templatesIncluded: string[];
|
|
29
|
+
space7Integration: boolean;
|
|
30
|
+
recommendedActions: string[];
|
|
31
|
+
estimatedImpact: PivotImpact;
|
|
32
|
+
};
|
|
33
|
+
suggestedArtifacts: ArtifactType[];
|
|
34
|
+
nextSteps: string[];
|
|
35
|
+
conversationStarters: string[];
|
|
36
|
+
}
|
|
37
|
+
export interface PivotImpact {
|
|
38
|
+
timelineChange: "minimal" | "moderate" | "significant" | "major";
|
|
39
|
+
resourcesRequired: "low" | "medium" | "high" | "critical";
|
|
40
|
+
riskLevel: RiskLevel;
|
|
41
|
+
confidenceLevel: number;
|
|
42
|
+
affectedPhases: string[];
|
|
43
|
+
}
|
|
44
|
+
export interface PivotGuidance {
|
|
45
|
+
decision: string;
|
|
46
|
+
rationale: string;
|
|
47
|
+
tradeoffs: {
|
|
48
|
+
pros: string[];
|
|
49
|
+
cons: string[];
|
|
50
|
+
risks: string[];
|
|
51
|
+
opportunities: string[];
|
|
52
|
+
};
|
|
53
|
+
implementationSteps: string[];
|
|
54
|
+
rollbackPlan?: string[];
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=pivot.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pivot.types.d.ts","sourceRoot":"","sources":["../../../../src/tools/design/types/pivot.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,MAAM,WAAW,aAAa;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO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;IAClB,SAAS,EAAE;QACV,IAAI,EAAE,MAAM,EAAE,CAAC;QACf,IAAI,EAAE,MAAM,EAAE,CAAC;QACf,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,aAAa,EAAE,MAAM,EAAE,CAAC;KACxB,CAAC;IACF,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pivot.types.js","sourceRoot":"","sources":["../../../../src/tools/design/types/pivot.types.ts"],"names":[],"mappings":"AAAA,mCAAmC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { Artifact } from "./artifact.types.js";
|
|
2
|
+
import type { EventType, OutputFormat, PhaseStatus, SessionStatus } from "./common.types.js";
|
|
3
|
+
import type { ConstraintRule } from "./constraint.types.js";
|
|
4
|
+
import type { CoverageReport } from "./coverage.types.js";
|
|
5
|
+
import type { MethodologyProfile, MethodologySelection, MethodologySignals } from "./methodology.types.js";
|
|
6
|
+
export interface DesignSessionConfig {
|
|
7
|
+
sessionId: string;
|
|
8
|
+
context: string;
|
|
9
|
+
goal: string;
|
|
10
|
+
requirements: string[];
|
|
11
|
+
constraints: ConstraintRule[];
|
|
12
|
+
coverageThreshold: number;
|
|
13
|
+
enablePivots: boolean;
|
|
14
|
+
templateRefs: string[];
|
|
15
|
+
outputFormats: OutputFormat[];
|
|
16
|
+
metadata: Record<string, unknown>;
|
|
17
|
+
methodologySignals?: MethodologySignals;
|
|
18
|
+
forcedMethodology?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface DesignPhase {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
description: string;
|
|
24
|
+
inputs: string[];
|
|
25
|
+
outputs: string[];
|
|
26
|
+
criteria: string[];
|
|
27
|
+
coverage: number;
|
|
28
|
+
status: PhaseStatus;
|
|
29
|
+
artifacts: Artifact[];
|
|
30
|
+
dependencies: string[];
|
|
31
|
+
}
|
|
32
|
+
export interface DesignSessionState {
|
|
33
|
+
config: DesignSessionConfig;
|
|
34
|
+
currentPhase: string;
|
|
35
|
+
phases: Record<string, DesignPhase>;
|
|
36
|
+
coverage: CoverageReport;
|
|
37
|
+
artifacts: Artifact[];
|
|
38
|
+
history: SessionEvent[];
|
|
39
|
+
status: SessionStatus;
|
|
40
|
+
methodologySelection?: MethodologySelection;
|
|
41
|
+
methodologyProfile?: MethodologyProfile;
|
|
42
|
+
}
|
|
43
|
+
export interface SessionEvent {
|
|
44
|
+
timestamp: string;
|
|
45
|
+
type: EventType;
|
|
46
|
+
phase?: string;
|
|
47
|
+
description: string;
|
|
48
|
+
data?: Record<string, unknown>;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=session.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.types.d.ts","sourceRoot":"","sources":["../../../../src/tools/design/types/session.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,EACX,SAAS,EACT,YAAY,EACZ,WAAW,EACX,aAAa,EACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EACX,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,WAAW,mBAAmB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EA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"","sources":["../../../../src/tools/design/types/session.types.ts"],"names":[],"mappings":"AAAA,qCAAqC"}
|
|
@@ -1,402 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
inputs: string[];
|
|
20
|
-
outputs: string[];
|
|
21
|
-
criteria: string[];
|
|
22
|
-
coverage: number;
|
|
23
|
-
status: PhaseStatus;
|
|
24
|
-
artifacts: Artifact[];
|
|
25
|
-
dependencies: string[];
|
|
26
|
-
}
|
|
27
|
-
export interface ConstraintRule {
|
|
28
|
-
id: string;
|
|
29
|
-
name: string;
|
|
30
|
-
type: ConstraintType;
|
|
31
|
-
category: string;
|
|
32
|
-
description: string;
|
|
33
|
-
validation: ValidationRule;
|
|
34
|
-
weight: number;
|
|
35
|
-
mandatory: boolean;
|
|
36
|
-
source: string;
|
|
37
|
-
}
|
|
38
|
-
export interface ValidationRule {
|
|
39
|
-
schema?: Record<string, unknown>;
|
|
40
|
-
keywords?: string[];
|
|
41
|
-
minCoverage?: number;
|
|
42
|
-
customValidator?: string;
|
|
43
|
-
}
|
|
44
|
-
export interface CoverageReport {
|
|
45
|
-
overall: number;
|
|
46
|
-
phases: Record<string, number>;
|
|
47
|
-
constraints: Record<string, number>;
|
|
48
|
-
assumptions: Record<string, number>;
|
|
49
|
-
documentation: Record<string, number>;
|
|
50
|
-
testCoverage: number;
|
|
51
|
-
}
|
|
52
|
-
export interface ConfirmationResult {
|
|
53
|
-
passed: boolean;
|
|
54
|
-
coverage: number;
|
|
55
|
-
issues: string[];
|
|
56
|
-
recommendations: string[];
|
|
57
|
-
nextSteps: string[];
|
|
58
|
-
canProceed: boolean;
|
|
59
|
-
}
|
|
60
|
-
export interface ConstraintSatisfactionResult {
|
|
61
|
-
passed: boolean;
|
|
62
|
-
violations: number;
|
|
63
|
-
warnings: number;
|
|
64
|
-
}
|
|
65
|
-
export interface ArtifactQualityResult {
|
|
66
|
-
passed: boolean;
|
|
67
|
-
issues: string[];
|
|
68
|
-
recommendations: string[];
|
|
69
|
-
}
|
|
70
|
-
export interface ConfirmationReport {
|
|
71
|
-
overall: boolean;
|
|
72
|
-
phases: Record<string, boolean>;
|
|
73
|
-
constraints: Record<string, boolean>;
|
|
74
|
-
artifacts: Record<string, boolean>;
|
|
75
|
-
recommendations: string[];
|
|
76
|
-
}
|
|
77
|
-
export interface SessionValidationResult {
|
|
78
|
-
valid: boolean;
|
|
79
|
-
errors: string[];
|
|
80
|
-
warnings: string[];
|
|
81
|
-
}
|
|
82
|
-
export interface ComplianceReport {
|
|
83
|
-
overall: boolean;
|
|
84
|
-
coverage: number;
|
|
85
|
-
constraints: Record<string, {
|
|
86
|
-
passed: boolean;
|
|
87
|
-
coverage: number;
|
|
88
|
-
}>;
|
|
89
|
-
violations: string[];
|
|
90
|
-
recommendations: string[];
|
|
91
|
-
}
|
|
92
|
-
export interface CoverageCheckResult {
|
|
93
|
-
passed: boolean;
|
|
94
|
-
current: number;
|
|
95
|
-
threshold: number;
|
|
96
|
-
gaps: string[];
|
|
97
|
-
}
|
|
98
|
-
export interface CoverageGap {
|
|
99
|
-
area: string;
|
|
100
|
-
current: number;
|
|
101
|
-
target: number;
|
|
102
|
-
severity: "high" | "medium" | "low";
|
|
103
|
-
}
|
|
104
|
-
export interface DetailedCoverage {
|
|
105
|
-
overall: number;
|
|
106
|
-
phases: Record<string, number>;
|
|
107
|
-
constraints: Record<string, number>;
|
|
108
|
-
artifacts: Record<string, number>;
|
|
109
|
-
breakdown: Record<string, number>;
|
|
110
|
-
}
|
|
111
|
-
export interface PivotDecision {
|
|
112
|
-
triggered: boolean;
|
|
113
|
-
reason: string;
|
|
114
|
-
complexity: number;
|
|
115
|
-
entropy: number;
|
|
116
|
-
threshold: number;
|
|
117
|
-
alternatives: string[];
|
|
118
|
-
recommendation: string;
|
|
119
|
-
}
|
|
120
|
-
export interface Artifact {
|
|
121
|
-
id: string;
|
|
122
|
-
name: string;
|
|
123
|
-
type: ArtifactType;
|
|
124
|
-
content: string;
|
|
125
|
-
format: OutputFormat;
|
|
126
|
-
metadata: Record<string, unknown>;
|
|
127
|
-
timestamp: string;
|
|
128
|
-
}
|
|
129
|
-
export type PhaseStatus = "pending" | "in-progress" | "completed" | "blocked" | "skipped";
|
|
130
|
-
export type ConstraintType = "functional" | "non-functional" | "technical" | "business" | "compliance" | "architectural";
|
|
131
|
-
export type ArtifactType = "adr" | "specification" | "roadmap" | "diagram" | "template" | "validation" | "coverage-report";
|
|
132
|
-
export type OutputFormat = "markdown" | "mermaid" | "yaml" | "json" | "typescript" | "javascript";
|
|
133
|
-
export interface DesignSessionState {
|
|
134
|
-
config: DesignSessionConfig;
|
|
135
|
-
currentPhase: string;
|
|
136
|
-
phases: Record<string, DesignPhase>;
|
|
137
|
-
coverage: CoverageReport;
|
|
138
|
-
artifacts: Artifact[];
|
|
139
|
-
history: SessionEvent[];
|
|
140
|
-
status: SessionStatus;
|
|
141
|
-
methodologySelection?: MethodologySelection;
|
|
142
|
-
methodologyProfile?: MethodologyProfile;
|
|
143
|
-
}
|
|
144
|
-
export interface SessionEvent {
|
|
145
|
-
timestamp: string;
|
|
146
|
-
type: EventType;
|
|
147
|
-
phase?: string;
|
|
148
|
-
description: string;
|
|
149
|
-
data?: Record<string, unknown>;
|
|
150
|
-
}
|
|
151
|
-
export type SessionStatus = "initializing" | "active" | "paused" | "completed" | "aborted" | "pivoting";
|
|
152
|
-
export type EventType = "phase-start" | "phase-complete" | "confirmation" | "pivot" | "constraint-violation" | "coverage-update" | "artifact-generated" | "methodology-selected" | "methodology-changed";
|
|
153
|
-
export interface MethodologySignals {
|
|
154
|
-
projectType: ProjectType;
|
|
155
|
-
problemFraming: ProblemFraming;
|
|
156
|
-
riskLevel: RiskLevel;
|
|
157
|
-
timelinePressure: TimelinePressure;
|
|
158
|
-
stakeholderMode: StakeholderMode;
|
|
159
|
-
domainContext?: string;
|
|
160
|
-
additionalContext?: Record<string, unknown>;
|
|
161
|
-
}
|
|
162
|
-
export interface MethodologyCandidate {
|
|
163
|
-
id: string;
|
|
164
|
-
name: string;
|
|
165
|
-
description: string;
|
|
166
|
-
phases: string[];
|
|
167
|
-
confidenceScore: number;
|
|
168
|
-
rationale: string;
|
|
169
|
-
strengths: string[];
|
|
170
|
-
considerations: string[];
|
|
171
|
-
suitableFor: ProjectType[];
|
|
172
|
-
source: string;
|
|
173
|
-
}
|
|
174
|
-
export interface MethodologySelection {
|
|
175
|
-
selected: MethodologyCandidate;
|
|
176
|
-
alternatives: MethodologyCandidate[];
|
|
177
|
-
signals: MethodologySignals;
|
|
178
|
-
timestamp: string;
|
|
179
|
-
selectionRationale: string;
|
|
180
|
-
}
|
|
181
|
-
export interface MethodologyProfile {
|
|
182
|
-
methodology: MethodologyCandidate;
|
|
183
|
-
phaseMapping: Record<string, DesignPhase>;
|
|
184
|
-
milestones: Milestone[];
|
|
185
|
-
successMetrics: string[];
|
|
186
|
-
dialoguePrompts: string[];
|
|
187
|
-
artifacts: Artifact[];
|
|
188
|
-
}
|
|
189
|
-
export interface Milestone {
|
|
190
|
-
id: string;
|
|
191
|
-
name: string;
|
|
192
|
-
description: string;
|
|
193
|
-
phaseId: string;
|
|
194
|
-
deliverables: string[];
|
|
195
|
-
criteria: string[];
|
|
196
|
-
estimatedDuration: string;
|
|
197
|
-
}
|
|
198
|
-
export type ProjectType = "analytics-overhaul" | "safety-protocol" | "interactive-feature" | "large-refactor" | "new-application" | "integration-project" | "optimization-project" | "compliance-initiative" | "research-exploration" | "platform-migration";
|
|
199
|
-
export type ProblemFraming = "uncertain-modeling" | "policy-first" | "empathy-focused" | "performance-first" | "security-focused" | "scalability-focused" | "user-experience" | "technical-debt" | "innovation-driven" | "compliance-driven";
|
|
200
|
-
export type RiskLevel = "low" | "medium" | "high" | "critical";
|
|
201
|
-
export type TimelinePressure = "urgent" | "normal" | "relaxed" | "flexible";
|
|
202
|
-
export type StakeholderMode = "technical" | "business" | "mixed" | "external" | "regulatory";
|
|
203
|
-
export interface StrategicPivotPromptRequest {
|
|
204
|
-
sessionState: DesignSessionState;
|
|
205
|
-
pivotDecision: PivotDecision;
|
|
206
|
-
context?: string;
|
|
207
|
-
includeTemplates?: boolean;
|
|
208
|
-
includeSpace7Instructions?: boolean;
|
|
209
|
-
outputFormat?: OutputFormat;
|
|
210
|
-
customInstructions?: string[];
|
|
211
|
-
}
|
|
212
|
-
export interface StrategicPivotPromptResult {
|
|
213
|
-
success: boolean;
|
|
214
|
-
prompt: string;
|
|
215
|
-
metadata: {
|
|
216
|
-
pivotReason: string;
|
|
217
|
-
complexityScore: number;
|
|
218
|
-
entropyLevel: number;
|
|
219
|
-
templatesIncluded: string[];
|
|
220
|
-
space7Integration: boolean;
|
|
221
|
-
recommendedActions: string[];
|
|
222
|
-
estimatedImpact: PivotImpact;
|
|
223
|
-
};
|
|
224
|
-
suggestedArtifacts: ArtifactType[];
|
|
225
|
-
nextSteps: string[];
|
|
226
|
-
conversationStarters: string[];
|
|
227
|
-
}
|
|
228
|
-
export interface PivotImpact {
|
|
229
|
-
timelineChange: "minimal" | "moderate" | "significant" | "major";
|
|
230
|
-
resourcesRequired: "low" | "medium" | "high" | "critical";
|
|
231
|
-
riskLevel: RiskLevel;
|
|
232
|
-
confidenceLevel: number;
|
|
233
|
-
affectedPhases: string[];
|
|
234
|
-
}
|
|
235
|
-
export interface PivotGuidance {
|
|
236
|
-
decision: string;
|
|
237
|
-
rationale: string;
|
|
238
|
-
tradeoffs: {
|
|
239
|
-
pros: string[];
|
|
240
|
-
cons: string[];
|
|
241
|
-
risks: string[];
|
|
242
|
-
opportunities: string[];
|
|
243
|
-
};
|
|
244
|
-
implementationSteps: string[];
|
|
245
|
-
rollbackPlan?: string[];
|
|
246
|
-
}
|
|
247
|
-
export interface CrossSessionConstraintHistory {
|
|
248
|
-
constraintId: string;
|
|
249
|
-
sessionId: string;
|
|
250
|
-
timestamp: string;
|
|
251
|
-
phase: string;
|
|
252
|
-
decision: ConstraintDecision;
|
|
253
|
-
rationale: string;
|
|
254
|
-
context: string;
|
|
255
|
-
space7Reference?: string;
|
|
256
|
-
}
|
|
257
|
-
export interface ConstraintDecision {
|
|
258
|
-
action: "applied" | "skipped" | "modified" | "rejected";
|
|
259
|
-
originalRule: ConstraintRule;
|
|
260
|
-
modifiedRule?: Partial<ConstraintRule>;
|
|
261
|
-
coverage: number;
|
|
262
|
-
violations: string[];
|
|
263
|
-
justification: string;
|
|
264
|
-
}
|
|
265
|
-
export interface CrossSessionConsistencyReport {
|
|
266
|
-
sessionId: string;
|
|
267
|
-
timestamp: string;
|
|
268
|
-
overallConsistency: number;
|
|
269
|
-
constraintConsistency: Record<string, ConsistencyResult>;
|
|
270
|
-
phaseConsistency: Record<string, ConsistencyResult>;
|
|
271
|
-
violations: ConsistencyViolation[];
|
|
272
|
-
recommendations: ConsistencyRecommendation[];
|
|
273
|
-
historicalPatterns: HistoricalPattern[];
|
|
274
|
-
space7Alignment: number;
|
|
275
|
-
}
|
|
276
|
-
export interface ConsistencyResult {
|
|
277
|
-
consistent: boolean;
|
|
278
|
-
score: number;
|
|
279
|
-
historicalUsage: number;
|
|
280
|
-
currentUsage: number;
|
|
281
|
-
deviation: number;
|
|
282
|
-
trend: "improving" | "stable" | "declining";
|
|
283
|
-
}
|
|
284
|
-
export interface ConsistencyViolation {
|
|
285
|
-
type: "constraint_inconsistency" | "phase_coverage" | "space7_deviation" | "pattern_break";
|
|
286
|
-
severity: "critical" | "warning" | "info";
|
|
287
|
-
constraintId?: string;
|
|
288
|
-
phaseId?: string;
|
|
289
|
-
description: string;
|
|
290
|
-
historicalExample: string;
|
|
291
|
-
currentExample: string;
|
|
292
|
-
recommendedAction: string;
|
|
293
|
-
space7Reference?: string;
|
|
294
|
-
}
|
|
295
|
-
export interface ConsistencyRecommendation {
|
|
296
|
-
type: "alignment" | "pattern" | "coverage" | "documentation";
|
|
297
|
-
priority: "high" | "medium" | "low";
|
|
298
|
-
title: string;
|
|
299
|
-
description: string;
|
|
300
|
-
actionItems: string[];
|
|
301
|
-
expectedImpact: string;
|
|
302
|
-
estimatedEffort: "minimal" | "moderate" | "significant";
|
|
303
|
-
}
|
|
304
|
-
export interface HistoricalPattern {
|
|
305
|
-
patternId: string;
|
|
306
|
-
type: "constraint_usage" | "phase_progression" | "coverage_trend" | "decision_pattern";
|
|
307
|
-
frequency: number;
|
|
308
|
-
confidence: number;
|
|
309
|
-
description: string;
|
|
310
|
-
sessions: string[];
|
|
311
|
-
lastSeen: string;
|
|
312
|
-
recommendation: string;
|
|
313
|
-
}
|
|
314
|
-
export interface CrossSessionEnforcementConfig {
|
|
315
|
-
enabled: boolean;
|
|
316
|
-
minSessionsForPattern: number;
|
|
317
|
-
consistencyThreshold: number;
|
|
318
|
-
space7ComplianceLevel: "strict" | "moderate" | "lenient";
|
|
319
|
-
autoApplyPatterns: boolean;
|
|
320
|
-
generateDocumentation: boolean;
|
|
321
|
-
trackRationale: boolean;
|
|
322
|
-
enforcePhaseSequence: boolean;
|
|
323
|
-
}
|
|
324
|
-
export interface EnforcementPrompt {
|
|
325
|
-
type: "consistency_check" | "pattern_confirmation" | "space7_alignment" | "rationale_request";
|
|
326
|
-
severity: "critical" | "warning" | "info";
|
|
327
|
-
title: string;
|
|
328
|
-
message: string;
|
|
329
|
-
options: EnforcementOption[];
|
|
330
|
-
context: string;
|
|
331
|
-
historicalData?: string;
|
|
332
|
-
space7Reference?: string;
|
|
333
|
-
}
|
|
334
|
-
export interface EnforcementOption {
|
|
335
|
-
id: string;
|
|
336
|
-
label: string;
|
|
337
|
-
description: string;
|
|
338
|
-
impact: "breaking" | "moderate" | "minimal";
|
|
339
|
-
consequences: string[];
|
|
340
|
-
recommended: boolean;
|
|
341
|
-
decision?: string;
|
|
342
|
-
rationale?: string;
|
|
343
|
-
enforcement?: boolean;
|
|
344
|
-
violation?: string;
|
|
345
|
-
resolution?: string;
|
|
346
|
-
context?: string;
|
|
347
|
-
}
|
|
348
|
-
export interface CrossSessionValidationResult {
|
|
349
|
-
passed: boolean;
|
|
350
|
-
consistencyScore: number;
|
|
351
|
-
violations: ConstraintConsistencyViolation[];
|
|
352
|
-
recommendations: string[];
|
|
353
|
-
enforcementActions: EnforcementAction[];
|
|
354
|
-
historicalContext: ConstraintEnforcementHistory[];
|
|
355
|
-
}
|
|
356
|
-
export interface ConstraintEnforcementHistory {
|
|
357
|
-
constraintId: string;
|
|
358
|
-
sessionId: string;
|
|
359
|
-
timestamp: string;
|
|
360
|
-
phase: string;
|
|
361
|
-
decision: string;
|
|
362
|
-
rationale: string;
|
|
363
|
-
enforcement: boolean;
|
|
364
|
-
violation?: string;
|
|
365
|
-
resolution?: string;
|
|
366
|
-
context: string;
|
|
367
|
-
}
|
|
368
|
-
export interface ConstraintConsistencyViolation {
|
|
369
|
-
constraintId: string;
|
|
370
|
-
currentSessionId: string;
|
|
371
|
-
conflictingSessionId: string;
|
|
372
|
-
violationType: "decision_conflict" | "rationale_inconsistency" | "enforcement_mismatch";
|
|
373
|
-
description: string;
|
|
374
|
-
severity: "critical" | "warning" | "info";
|
|
375
|
-
suggestedResolution: string;
|
|
376
|
-
}
|
|
377
|
-
export interface EnforcementAction {
|
|
378
|
-
id: string;
|
|
379
|
-
type: "prompt_for_clarification" | "auto_align" | "generate_adr" | "escalate";
|
|
380
|
-
constraintId: string;
|
|
381
|
-
description: string;
|
|
382
|
-
interactive: boolean;
|
|
383
|
-
prompt?: string;
|
|
384
|
-
expectedOutcome?: string;
|
|
385
|
-
}
|
|
386
|
-
export interface ConsistencyEnforcementRequest {
|
|
387
|
-
sessionState: DesignSessionState;
|
|
388
|
-
constraintId?: string;
|
|
389
|
-
phaseId?: string;
|
|
390
|
-
context?: string;
|
|
391
|
-
strictMode?: boolean;
|
|
392
|
-
}
|
|
393
|
-
export interface ConsistencyEnforcementResult {
|
|
394
|
-
success: boolean;
|
|
395
|
-
consistencyScore: number;
|
|
396
|
-
enforcementActions: EnforcementAction[];
|
|
397
|
-
generatedArtifacts: Artifact[];
|
|
398
|
-
interactivePrompts: string[];
|
|
399
|
-
recommendations: string[];
|
|
400
|
-
historicalAlignments: string[];
|
|
401
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated This file is deprecated. Import types from `./types/index.js` instead.
|
|
3
|
+
*
|
|
4
|
+
* This file now re-exports all types from the modular types directory for backward compatibility.
|
|
5
|
+
* The types have been reorganized into domain-specific files for better maintainability:
|
|
6
|
+
*
|
|
7
|
+
* - `./types/common.types.ts` - Common types (PhaseStatus, ConstraintType, etc.)
|
|
8
|
+
* - `./types/session.types.ts` - Session and state management types
|
|
9
|
+
* - `./types/constraint.types.ts` - Constraint-related types
|
|
10
|
+
* - `./types/coverage.types.ts` - Coverage and validation types
|
|
11
|
+
* - `./types/artifact.types.ts` - Artifact-related types
|
|
12
|
+
* - `./types/methodology.types.ts` - Methodology selection types
|
|
13
|
+
* - `./types/pivot.types.ts` - Strategic pivot types
|
|
14
|
+
* - `./types/consistency.types.ts` - Cross-session consistency types
|
|
15
|
+
*
|
|
16
|
+
* Please update your imports to use `./types/index.js` directly.
|
|
17
|
+
*/
|
|
18
|
+
export type { Artifact, ArtifactQualityResult, ArtifactType, ComplianceReport, ConfirmationReport, ConfirmationResult, ConsistencyEnforcementRequest, ConsistencyEnforcementResult, ConsistencyRecommendation, ConsistencyResult, ConsistencyViolation, ConstraintConsistencyViolation, ConstraintDecision, ConstraintEnforcementHistory, ConstraintRule, ConstraintSatisfactionResult, ConstraintType, CoverageCheckResult, CoverageGap, CoverageReport, CrossSessionConsistencyReport, CrossSessionConstraintHistory, CrossSessionEnforcementConfig, CrossSessionValidationResult, DesignPhase, DesignSessionConfig, DesignSessionState, DetailedCoverage, EnforcementAction, EnforcementOption, EnforcementPrompt, EventType, HistoricalPattern, MethodologyCandidate, MethodologyProfile, MethodologySelection, MethodologySignals, Milestone, OutputFormat, PhaseStatus, PivotDecision, PivotGuidance, PivotImpact, ProblemFraming, ProjectType, RiskLevel, SessionEvent, SessionStatus, SessionValidationResult, StakeholderMode, StrategicPivotPromptRequest, StrategicPivotPromptResult, TimelinePressure, ValidationRule, } from "./types/index.js";
|
|
402
19
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/tools/design/types.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAElC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,WAAW;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,YAAY,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,cAAc;IAC9B,EAAE,EAAE,MAAM,CA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Ac,EACd,WAAW,EACX,SAAS,EACT,YAAY,EACZ,aAAa,EACb,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,GACd,MAAM,kBAAkB,CAAC"}
|