@prodara/templates 0.1.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.
Files changed (134) hide show
  1. package/README.md +94 -0
  2. package/dist/index.d.ts +5 -0
  3. package/dist/index.d.ts.map +1 -0
  4. package/dist/index.js +8 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/phases/clarify.d.ts +4 -0
  7. package/dist/phases/clarify.d.ts.map +1 -0
  8. package/dist/phases/clarify.js +38 -0
  9. package/dist/phases/clarify.js.map +1 -0
  10. package/dist/phases/design.d.ts +4 -0
  11. package/dist/phases/design.d.ts.map +1 -0
  12. package/dist/phases/design.js +72 -0
  13. package/dist/phases/design.js.map +1 -0
  14. package/dist/phases/explore.d.ts +4 -0
  15. package/dist/phases/explore.d.ts.map +1 -0
  16. package/dist/phases/explore.js +52 -0
  17. package/dist/phases/explore.js.map +1 -0
  18. package/dist/phases/fix.d.ts +4 -0
  19. package/dist/phases/fix.d.ts.map +1 -0
  20. package/dist/phases/fix.js +42 -0
  21. package/dist/phases/fix.js.map +1 -0
  22. package/dist/phases/help.d.ts +4 -0
  23. package/dist/phases/help.d.ts.map +1 -0
  24. package/dist/phases/help.js +40 -0
  25. package/dist/phases/help.js.map +1 -0
  26. package/dist/phases/helpers.d.ts +4 -0
  27. package/dist/phases/helpers.d.ts.map +1 -0
  28. package/dist/phases/helpers.js +15 -0
  29. package/dist/phases/helpers.js.map +1 -0
  30. package/dist/phases/implement.d.ts +4 -0
  31. package/dist/phases/implement.d.ts.map +1 -0
  32. package/dist/phases/implement.js +62 -0
  33. package/dist/phases/implement.js.map +1 -0
  34. package/dist/phases/index.d.ts +13 -0
  35. package/dist/phases/index.d.ts.map +1 -0
  36. package/dist/phases/index.js +16 -0
  37. package/dist/phases/index.js.map +1 -0
  38. package/dist/phases/onboard.d.ts +4 -0
  39. package/dist/phases/onboard.d.ts.map +1 -0
  40. package/dist/phases/onboard.js +76 -0
  41. package/dist/phases/onboard.js.map +1 -0
  42. package/dist/phases/party.d.ts +4 -0
  43. package/dist/phases/party.d.ts.map +1 -0
  44. package/dist/phases/party.js +37 -0
  45. package/dist/phases/party.js.map +1 -0
  46. package/dist/phases/plan.d.ts +4 -0
  47. package/dist/phases/plan.d.ts.map +1 -0
  48. package/dist/phases/plan.js +43 -0
  49. package/dist/phases/plan.js.map +1 -0
  50. package/dist/phases/review.d.ts +4 -0
  51. package/dist/phases/review.d.ts.map +1 -0
  52. package/dist/phases/review.js +45 -0
  53. package/dist/phases/review.js.map +1 -0
  54. package/dist/phases/specify.d.ts +4 -0
  55. package/dist/phases/specify.d.ts.map +1 -0
  56. package/dist/phases/specify.js +39 -0
  57. package/dist/phases/specify.js.map +1 -0
  58. package/dist/platforms/claude.d.ts +8 -0
  59. package/dist/platforms/claude.d.ts.map +1 -0
  60. package/dist/platforms/claude.js +16 -0
  61. package/dist/platforms/claude.js.map +1 -0
  62. package/dist/platforms/codex.d.ts +8 -0
  63. package/dist/platforms/codex.d.ts.map +1 -0
  64. package/dist/platforms/codex.js +16 -0
  65. package/dist/platforms/codex.js.map +1 -0
  66. package/dist/platforms/copilot.d.ts +8 -0
  67. package/dist/platforms/copilot.d.ts.map +1 -0
  68. package/dist/platforms/copilot.js +24 -0
  69. package/dist/platforms/copilot.js.map +1 -0
  70. package/dist/platforms/cursor.d.ts +8 -0
  71. package/dist/platforms/cursor.d.ts.map +1 -0
  72. package/dist/platforms/cursor.js +24 -0
  73. package/dist/platforms/cursor.js.map +1 -0
  74. package/dist/platforms/index.d.ts +8 -0
  75. package/dist/platforms/index.d.ts.map +1 -0
  76. package/dist/platforms/index.js +10 -0
  77. package/dist/platforms/index.js.map +1 -0
  78. package/dist/platforms/opencode.d.ts +8 -0
  79. package/dist/platforms/opencode.d.ts.map +1 -0
  80. package/dist/platforms/opencode.js +16 -0
  81. package/dist/platforms/opencode.js.map +1 -0
  82. package/dist/platforms/registry.d.ts +71 -0
  83. package/dist/platforms/registry.d.ts.map +1 -0
  84. package/dist/platforms/registry.js +80 -0
  85. package/dist/platforms/registry.js.map +1 -0
  86. package/dist/renderer.d.ts +8 -0
  87. package/dist/renderer.d.ts.map +1 -0
  88. package/dist/renderer.js +123 -0
  89. package/dist/renderer.js.map +1 -0
  90. package/dist/reviewers/adversarial.d.ts +6 -0
  91. package/dist/reviewers/adversarial.d.ts.map +1 -0
  92. package/dist/reviewers/adversarial.js +30 -0
  93. package/dist/reviewers/adversarial.js.map +1 -0
  94. package/dist/reviewers/architecture.d.ts +6 -0
  95. package/dist/reviewers/architecture.d.ts.map +1 -0
  96. package/dist/reviewers/architecture.js +25 -0
  97. package/dist/reviewers/architecture.js.map +1 -0
  98. package/dist/reviewers/code-quality.d.ts +6 -0
  99. package/dist/reviewers/code-quality.d.ts.map +1 -0
  100. package/dist/reviewers/code-quality.js +25 -0
  101. package/dist/reviewers/code-quality.js.map +1 -0
  102. package/dist/reviewers/custom.d.ts +4 -0
  103. package/dist/reviewers/custom.d.ts.map +1 -0
  104. package/dist/reviewers/custom.js +25 -0
  105. package/dist/reviewers/custom.js.map +1 -0
  106. package/dist/reviewers/edge-case.d.ts +6 -0
  107. package/dist/reviewers/edge-case.d.ts.map +1 -0
  108. package/dist/reviewers/edge-case.js +28 -0
  109. package/dist/reviewers/edge-case.js.map +1 -0
  110. package/dist/reviewers/helpers.d.ts +6 -0
  111. package/dist/reviewers/helpers.d.ts.map +1 -0
  112. package/dist/reviewers/helpers.js +42 -0
  113. package/dist/reviewers/helpers.js.map +1 -0
  114. package/dist/reviewers/index.d.ts +10 -0
  115. package/dist/reviewers/index.d.ts.map +1 -0
  116. package/dist/reviewers/index.js +13 -0
  117. package/dist/reviewers/index.js.map +1 -0
  118. package/dist/reviewers/security.d.ts +6 -0
  119. package/dist/reviewers/security.d.ts.map +1 -0
  120. package/dist/reviewers/security.js +25 -0
  121. package/dist/reviewers/security.js.map +1 -0
  122. package/dist/reviewers/test-quality.d.ts +6 -0
  123. package/dist/reviewers/test-quality.d.ts.map +1 -0
  124. package/dist/reviewers/test-quality.js +25 -0
  125. package/dist/reviewers/test-quality.js.map +1 -0
  126. package/dist/reviewers/ux-quality.d.ts +6 -0
  127. package/dist/reviewers/ux-quality.d.ts.map +1 -0
  128. package/dist/reviewers/ux-quality.js +25 -0
  129. package/dist/reviewers/ux-quality.js.map +1 -0
  130. package/dist/types.d.ts +129 -0
  131. package/dist/types.d.ts.map +1 -0
  132. package/dist/types.js +5 -0
  133. package/dist/types.js.map +1 -0
  134. package/package.json +51 -0
@@ -0,0 +1,6 @@
1
+ import type { ReviewContext } from '../types.js';
2
+ /** Perspective statement guiding the test quality review. */
3
+ export declare const TEST_QUALITY_PERSPECTIVE = "Evaluate test coverage completeness, test quality, and identification of missing edge cases.";
4
+ /** Render test quality review prompt evaluating coverage and edge cases. */
5
+ export declare function renderTestQualityReview(ctx: ReviewContext): string;
6
+ //# sourceMappingURL=test-quality.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-quality.d.ts","sourceRoot":"","sources":["../../src/reviewers/test-quality.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,6DAA6D;AAC7D,eAAO,MAAM,wBAAwB,iGAC2D,CAAC;AAEjG,4EAA4E;AAC5E,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAmBlE"}
@@ -0,0 +1,25 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Prodara Templates — Test Quality Reviewer
3
+ // ---------------------------------------------------------------------------
4
+ import { appendFindings, appendContext } from './helpers.js';
5
+ /** Perspective statement guiding the test quality review. */
6
+ export const TEST_QUALITY_PERSPECTIVE = 'Evaluate test coverage completeness, test quality, and identification of missing edge cases.';
7
+ /** Render test quality review prompt evaluating coverage and edge cases. */
8
+ export function renderTestQualityReview(ctx) {
9
+ const lines = [];
10
+ lines.push('# Test Quality Review');
11
+ lines.push('');
12
+ lines.push(`Perspective: ${TEST_QUALITY_PERSPECTIVE}`);
13
+ lines.push('');
14
+ lines.push('## Instructions');
15
+ lines.push('');
16
+ lines.push('1. Verify every entity has at least one associated test declaration.');
17
+ lines.push('2. Check that workflows are tested for both success and failure paths.');
18
+ lines.push('3. Identify missing edge case tests (boundary values, empty inputs, error states).');
19
+ lines.push('4. Flag tests that are fragile or tightly coupled to implementation details.');
20
+ lines.push('5. Ensure test names clearly describe the scenario being verified.');
21
+ appendFindings(lines, ctx);
22
+ appendContext(lines, ctx);
23
+ return lines.join('\n');
24
+ }
25
+ //# sourceMappingURL=test-quality.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-quality.js","sourceRoot":"","sources":["../../src/reviewers/test-quality.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,4CAA4C;AAC5C,8EAA8E;AAG9E,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7D,6DAA6D;AAC7D,MAAM,CAAC,MAAM,wBAAwB,GACnC,8FAA8F,CAAC;AAEjG,4EAA4E;AAC5E,MAAM,UAAU,uBAAuB,CAAC,GAAkB;IACxD,MAAM,KAAK,GAAa,EAAE,CAAC;IAE3B,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;IACpC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACf,KAAK,CAAC,IAAI,CAAC,gBAAgB,wBAAwB,EAAE,CAAC,CAAC;IACvD,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACf,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAC9B,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACf,KAAK,CAAC,IAAI,CAAC,sEAAsE,CAAC,CAAC;IACnF,KAAK,CAAC,IAAI,CAAC,wEAAwE,CAAC,CAAC;IACrF,KAAK,CAAC,IAAI,CAAC,oFAAoF,CAAC,CAAC;IACjG,KAAK,CAAC,IAAI,CAAC,8EAA8E,CAAC,CAAC;IAC3F,KAAK,CAAC,IAAI,CAAC,oEAAoE,CAAC,CAAC;IAEjF,cAAc,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAC3B,aAAa,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAE1B,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ReviewContext } from '../types.js';
2
+ /** Perspective statement guiding the UX quality review. */
3
+ export declare const UX_QUALITY_PERSPECTIVE = "Assess user experience quality including accessibility, keyboard navigation, screen reader support, and consistent interaction patterns.";
4
+ /** Render UX quality review prompt checking accessibility and interaction patterns. */
5
+ export declare function renderUxQualityReview(ctx: ReviewContext): string;
6
+ //# sourceMappingURL=ux-quality.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ux-quality.d.ts","sourceRoot":"","sources":["../../src/reviewers/ux-quality.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,2DAA2D;AAC3D,eAAO,MAAM,sBAAsB,6IACyG,CAAC;AAE7I,uFAAuF;AACvF,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAmBhE"}
@@ -0,0 +1,25 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Prodara Templates — UX Quality Reviewer
3
+ // ---------------------------------------------------------------------------
4
+ import { appendFindings, appendContext } from './helpers.js';
5
+ /** Perspective statement guiding the UX quality review. */
6
+ export const UX_QUALITY_PERSPECTIVE = 'Assess user experience quality including accessibility, keyboard navigation, screen reader support, and consistent interaction patterns.';
7
+ /** Render UX quality review prompt checking accessibility and interaction patterns. */
8
+ export function renderUxQualityReview(ctx) {
9
+ const lines = [];
10
+ lines.push('# UX Quality Review');
11
+ lines.push('');
12
+ lines.push(`Perspective: ${UX_QUALITY_PERSPECTIVE}`);
13
+ lines.push('');
14
+ lines.push('## Instructions');
15
+ lines.push('');
16
+ lines.push('1. Verify all interactive elements have accessible labels and ARIA attributes.');
17
+ lines.push('2. Check keyboard navigation flow — every action reachable without a mouse.');
18
+ lines.push('3. Ensure color contrast meets WCAG 2.1 AA standards.');
19
+ lines.push('4. Validate that loading and error states provide clear user feedback.');
20
+ lines.push('5. Flag inconsistent interaction patterns across workflows.');
21
+ appendFindings(lines, ctx);
22
+ appendContext(lines, ctx);
23
+ return lines.join('\n');
24
+ }
25
+ //# sourceMappingURL=ux-quality.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ux-quality.js","sourceRoot":"","sources":["../../src/reviewers/ux-quality.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,0CAA0C;AAC1C,8EAA8E;AAG9E,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7D,2DAA2D;AAC3D,MAAM,CAAC,MAAM,sBAAsB,GACjC,0IAA0I,CAAC;AAE7I,uFAAuF;AACvF,MAAM,UAAU,qBAAqB,CAAC,GAAkB;IACtD,MAAM,KAAK,GAAa,EAAE,CAAC;IAE3B,KAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;IAClC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACf,KAAK,CAAC,IAAI,CAAC,gBAAgB,sBAAsB,EAAE,CAAC,CAAC;IACrD,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACf,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAC9B,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACf,KAAK,CAAC,IAAI,CAAC,gFAAgF,CAAC,CAAC;IAC7F,KAAK,CAAC,IAAI,CAAC,6EAA6E,CAAC,CAAC;IAC1F,KAAK,CAAC,IAAI,CAAC,uDAAuD,CAAC,CAAC;IACpE,KAAK,CAAC,IAAI,CAAC,wEAAwE,CAAC,CAAC;IACrF,KAAK,CAAC,IAAI,CAAC,6DAA6D,CAAC,CAAC;IAE1E,cAAc,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAC3B,aAAa,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAE1B,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
@@ -0,0 +1,129 @@
1
+ export type PhaseId = 'specify' | 'clarify' | 'plan' | 'implement' | 'review' | 'fix' | 'explore' | 'help' | 'party' | 'design' | 'onboard';
2
+ export type ReviewerId = 'architecture' | 'security' | 'code-quality' | 'test-quality' | 'ux-quality' | 'adversarial' | 'edge-case';
3
+ export type TemplateId = `phase:${PhaseId}` | `reviewer:${ReviewerId}`;
4
+ export type PlatformTarget = 'copilot' | 'claude' | 'cursor' | 'opencode' | 'codex' | 'gemini' | 'windsurf' | 'kiro' | 'jules' | 'amp' | 'roo' | 'aider' | 'cline' | 'continue' | 'zed' | 'bolt' | 'aide' | 'trae' | 'augment' | 'sourcegraph' | 'tabnine' | 'supermaven' | 'void' | 'pear' | 'double' | 'generic';
5
+ export interface PhaseContext {
6
+ readonly constitution: string | null;
7
+ readonly graphSlice: string | null;
8
+ readonly governance: string | null;
9
+ readonly artifactRules: readonly string[] | null;
10
+ }
11
+ export interface SpecifyContext extends PhaseContext {
12
+ readonly moduleName: string;
13
+ readonly specText: string;
14
+ }
15
+ export interface ClarifyContext extends PhaseContext {
16
+ readonly questions: readonly ClarifyQuestion[];
17
+ readonly threshold: 'low' | 'medium' | 'high';
18
+ }
19
+ export interface ClarifyQuestion {
20
+ readonly id: string;
21
+ readonly text: string;
22
+ readonly confidence: 'low' | 'medium' | 'high';
23
+ readonly options: readonly string[];
24
+ }
25
+ export interface PlanContext extends PhaseContext {
26
+ readonly changes: readonly PlanChange[];
27
+ readonly impacts: readonly PlanImpact[];
28
+ readonly tasks: readonly PlanTaskEntry[];
29
+ }
30
+ export interface PlanChange {
31
+ readonly nodeId: string;
32
+ readonly changeKind: string;
33
+ readonly details?: string;
34
+ }
35
+ export interface PlanImpact {
36
+ readonly nodeId: string;
37
+ readonly reason: string;
38
+ readonly via: string;
39
+ readonly depth: number;
40
+ }
41
+ export interface PlanTaskEntry {
42
+ readonly taskId: string;
43
+ readonly action: string;
44
+ readonly nodeId: string;
45
+ readonly reason: string;
46
+ }
47
+ export interface ImplementContext extends PhaseContext {
48
+ readonly taskId: string;
49
+ readonly nodeId: string;
50
+ readonly module: string;
51
+ readonly action: 'generate' | 'regenerate' | 'remove' | 'verify';
52
+ readonly nodeKind: string;
53
+ readonly reason: string;
54
+ readonly fieldDefinitions: readonly string[];
55
+ readonly relatedEdges: readonly string[];
56
+ readonly governanceRules: readonly GovernanceEntry[];
57
+ readonly preserveSeams: boolean;
58
+ }
59
+ export interface GovernanceEntry {
60
+ readonly category: string;
61
+ readonly rule: string;
62
+ }
63
+ export interface ReviewContext extends PhaseContext {
64
+ readonly reviewerName: string;
65
+ readonly perspective: string;
66
+ readonly findings: readonly ReviewFindingEntry[];
67
+ readonly codeContext: string | null;
68
+ readonly customPrompt: string | null;
69
+ }
70
+ export interface ReviewFindingEntry {
71
+ readonly severity: string;
72
+ readonly category: string;
73
+ readonly message: string;
74
+ readonly nodeId?: string;
75
+ readonly suggestion?: string;
76
+ }
77
+ export interface FixContext extends PhaseContext {
78
+ readonly findings: readonly ReviewFindingEntry[];
79
+ readonly fixSeverity: readonly string[];
80
+ }
81
+ export interface ExploreContext extends PhaseContext {
82
+ readonly topic: string;
83
+ readonly modules: readonly string[];
84
+ readonly relatedEntities: readonly string[];
85
+ }
86
+ export interface HelpContext extends PhaseContext {
87
+ readonly prdFileCount: number;
88
+ readonly hasBuild: boolean;
89
+ readonly modules: readonly string[];
90
+ readonly recommendations: readonly string[];
91
+ }
92
+ export interface PartyContext extends PhaseContext {
93
+ readonly topic: string;
94
+ readonly perspectives: readonly PartyPerspective[];
95
+ }
96
+ export interface PartyPerspective {
97
+ readonly name: string;
98
+ readonly role: string;
99
+ }
100
+ export interface DesignContext extends PhaseContext {
101
+ readonly changeName: string;
102
+ readonly proposalSummary: string | null;
103
+ readonly affectedModules: readonly string[];
104
+ readonly predictedFileChanges: readonly string[];
105
+ readonly risks: readonly string[];
106
+ readonly dependencies: readonly string[];
107
+ }
108
+ export interface OnboardContext extends PhaseContext {
109
+ readonly projectState: 'empty' | 'basic' | 'complete';
110
+ readonly prdFileCount: number;
111
+ readonly modules: readonly string[];
112
+ readonly configuredItems: readonly string[];
113
+ readonly missingItems: readonly string[];
114
+ }
115
+ export type TemplateContext = SpecifyContext | ClarifyContext | PlanContext | ImplementContext | ReviewContext | FixContext | ExploreContext | HelpContext | PartyContext | DesignContext | OnboardContext;
116
+ export interface RenderOptions {
117
+ readonly platform?: PlatformTarget;
118
+ readonly templateOverride?: string;
119
+ }
120
+ export interface PlatformOutput {
121
+ readonly content: string;
122
+ readonly suggestedPath: string;
123
+ readonly extension: string;
124
+ }
125
+ export interface TemplateDefinition {
126
+ readonly id: TemplateId;
127
+ readonly render: (context: TemplateContext) => string;
128
+ }
129
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,OAAO,GACf,SAAS,GACT,SAAS,GACT,MAAM,GACN,WAAW,GACX,QAAQ,GACR,KAAK,GACL,SAAS,GACT,MAAM,GACN,OAAO,GACP,QAAQ,GACR,SAAS,CAAC;AAGd,MAAM,MAAM,UAAU,GAClB,cAAc,GACd,UAAU,GACV,cAAc,GACd,cAAc,GACd,YAAY,GACZ,aAAa,GACb,WAAW,CAAC;AAGhB,MAAM,MAAM,UAAU,GAClB,SAAS,OAAO,EAAE,GAClB,YAAY,UAAU,EAAE,CAAC;AAG7B,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,OAAO,GACP,QAAQ,GACR,UAAU,GACV,MAAM,GACN,OAAO,GACP,KAAK,GACL,KAAK,GACL,OAAO,GACP,OAAO,GACP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a,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAGD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,MAAM,CAAC;CACvD"}
package/dist/types.js ADDED
@@ -0,0 +1,5 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Prodara Templates — Types
3
+ // ---------------------------------------------------------------------------
4
+ export {};
5
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,4BAA4B;AAC5B,8EAA8E"}
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "@prodara/templates",
3
+ "version": "0.1.0",
4
+ "description": "Prompt templates for Prodara pipeline phases, reviewers, and platform adapters",
5
+ "author": "Prodara Contributors",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/prodara-ai/prodara.git",
9
+ "directory": "packages/templates"
10
+ },
11
+ "homepage": "https://github.com/prodara-ai/prodara/tree/main/packages/templates#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/prodara-ai/prodara/issues"
14
+ },
15
+ "type": "module",
16
+ "main": "dist/index.js",
17
+ "types": "dist/index.d.ts",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js"
22
+ }
23
+ },
24
+ "files": [
25
+ "dist"
26
+ ],
27
+ "scripts": {
28
+ "build": "tsc -p tsconfig.build.json",
29
+ "dev": "tsc -p tsconfig.build.json --watch",
30
+ "test": "vitest run",
31
+ "test:watch": "vitest",
32
+ "test:coverage": "vitest run --coverage",
33
+ "typecheck": "tsc --noEmit",
34
+ "clean": "rm -rf dist",
35
+ "prepublishOnly": "npm run clean && npm run build"
36
+ },
37
+ "keywords": [
38
+ "prodara",
39
+ "templates",
40
+ "prompts"
41
+ ],
42
+ "license": "MIT",
43
+ "engines": {
44
+ "node": ">=20"
45
+ },
46
+ "devDependencies": {
47
+ "@vitest/coverage-v8": "^2.1.9",
48
+ "typescript": "^5.7.3",
49
+ "vitest": "^2.1.9"
50
+ }
51
+ }