pupt-lib 1.3.0 → 1.3.2

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 (237) hide show
  1. package/dist/components/ask/Choice.d.ts +155 -0
  2. package/dist/components/ask/Choice.d.ts.map +1 -0
  3. package/dist/components/ask/Confirm.d.ts +61 -0
  4. package/dist/components/ask/Confirm.d.ts.map +1 -0
  5. package/dist/components/ask/Date.d.ts +78 -0
  6. package/dist/components/ask/Date.d.ts.map +1 -0
  7. package/dist/components/ask/Editor.d.ts +66 -0
  8. package/dist/components/ask/Editor.d.ts.map +1 -0
  9. package/dist/components/ask/File.d.ts +84 -0
  10. package/dist/components/ask/File.d.ts.map +1 -0
  11. package/dist/components/ask/Label.d.ts +27 -0
  12. package/dist/components/ask/Label.d.ts.map +1 -0
  13. package/dist/components/ask/MultiSelect.d.ts +147 -0
  14. package/dist/components/ask/MultiSelect.d.ts.map +1 -0
  15. package/dist/components/ask/Number.d.ts +72 -0
  16. package/dist/components/ask/Number.d.ts.map +1 -0
  17. package/dist/components/ask/Option.d.ts +28 -0
  18. package/dist/components/ask/Option.d.ts.map +1 -0
  19. package/dist/components/ask/Path.d.ts +72 -0
  20. package/dist/components/ask/Path.d.ts.map +1 -0
  21. package/dist/components/ask/Rating.d.ts +78 -0
  22. package/dist/components/ask/Rating.d.ts.map +1 -0
  23. package/dist/components/ask/ReviewFile.d.ts +78 -0
  24. package/dist/components/ask/ReviewFile.d.ts.map +1 -0
  25. package/dist/components/ask/Secret.d.ts +66 -0
  26. package/dist/components/ask/Secret.d.ts.map +1 -0
  27. package/dist/components/ask/Select.d.ts +135 -0
  28. package/dist/components/ask/Select.d.ts.map +1 -0
  29. package/dist/components/ask/Text.d.ts +66 -0
  30. package/dist/components/ask/Text.d.ts.map +1 -0
  31. package/dist/components/ask/index.d.ts +34 -0
  32. package/dist/components/ask/index.d.ts.map +1 -0
  33. package/dist/components/ask/utils.d.ts +26 -0
  34. package/dist/components/ask/utils.d.ts.map +1 -0
  35. package/dist/components/control/ForEach.d.ts +31 -0
  36. package/dist/components/control/ForEach.d.ts.map +1 -0
  37. package/dist/components/control/If.d.ts +35 -0
  38. package/dist/components/control/If.d.ts.map +1 -0
  39. package/dist/components/control/index.d.ts +3 -0
  40. package/dist/components/control/index.d.ts.map +1 -0
  41. package/dist/components/data/Code.d.ts +30 -0
  42. package/dist/components/data/Code.d.ts.map +1 -0
  43. package/dist/components/data/Data.d.ts +30 -0
  44. package/dist/components/data/Data.d.ts.map +1 -0
  45. package/dist/components/data/File.d.ts +37 -0
  46. package/dist/components/data/File.d.ts.map +1 -0
  47. package/dist/components/data/Json.d.ts +24 -0
  48. package/dist/components/data/Json.d.ts.map +1 -0
  49. package/dist/components/data/Xml.d.ts +24 -0
  50. package/dist/components/data/Xml.d.ts.map +1 -0
  51. package/dist/components/data/index.d.ts +6 -0
  52. package/dist/components/data/index.d.ts.map +1 -0
  53. package/dist/components/examples/Example.d.ts +16 -0
  54. package/dist/components/examples/Example.d.ts.map +1 -0
  55. package/dist/components/examples/ExampleInput.d.ts +12 -0
  56. package/dist/components/examples/ExampleInput.d.ts.map +1 -0
  57. package/dist/components/examples/ExampleOutput.d.ts +12 -0
  58. package/dist/components/examples/ExampleOutput.d.ts.map +1 -0
  59. package/dist/components/examples/Examples.d.ts +12 -0
  60. package/dist/components/examples/Examples.d.ts.map +1 -0
  61. package/dist/components/examples/NegativeExample.d.ts +24 -0
  62. package/dist/components/examples/NegativeExample.d.ts.map +1 -0
  63. package/dist/components/examples/index.d.ts +6 -0
  64. package/dist/components/examples/index.d.ts.map +1 -0
  65. package/dist/components/index.d.ts +10 -0
  66. package/dist/components/index.d.ts.map +1 -0
  67. package/dist/components/manifest.d.ts +15 -0
  68. package/dist/components/manifest.d.ts.map +1 -0
  69. package/dist/components/meta/Uses.d.ts +97 -0
  70. package/dist/components/meta/Uses.d.ts.map +1 -0
  71. package/dist/components/meta/index.d.ts +2 -0
  72. package/dist/components/meta/index.d.ts.map +1 -0
  73. package/dist/components/post-execution/OpenUrl.d.ts +28 -0
  74. package/dist/components/post-execution/OpenUrl.d.ts.map +1 -0
  75. package/dist/components/post-execution/PostExecution.d.ts +12 -0
  76. package/dist/components/post-execution/PostExecution.d.ts.map +1 -0
  77. package/dist/components/post-execution/ReviewFile.d.ts +29 -0
  78. package/dist/components/post-execution/ReviewFile.d.ts.map +1 -0
  79. package/dist/components/post-execution/RunCommand.d.ts +34 -0
  80. package/dist/components/post-execution/RunCommand.d.ts.map +1 -0
  81. package/dist/components/post-execution/index.d.ts +5 -0
  82. package/dist/components/post-execution/index.d.ts.map +1 -0
  83. package/dist/components/presets/constraint-presets.d.ts +13 -0
  84. package/dist/components/presets/constraint-presets.d.ts.map +1 -0
  85. package/dist/components/presets/default-constraints.d.ts +6 -0
  86. package/dist/components/presets/default-constraints.d.ts.map +1 -0
  87. package/dist/components/presets/guardrail-presets.d.ts +22 -0
  88. package/dist/components/presets/guardrail-presets.d.ts.map +1 -0
  89. package/dist/components/presets/index.d.ts +13 -0
  90. package/dist/components/presets/index.d.ts.map +1 -0
  91. package/dist/components/presets/provider-adaptations.d.ts +30 -0
  92. package/dist/components/presets/provider-adaptations.d.ts.map +1 -0
  93. package/dist/components/presets/role-presets.d.ts +19 -0
  94. package/dist/components/presets/role-presets.d.ts.map +1 -0
  95. package/dist/components/presets/steps-presets.d.ts +12 -0
  96. package/dist/components/presets/steps-presets.d.ts.map +1 -0
  97. package/dist/components/presets/task-presets.d.ts +14 -0
  98. package/dist/components/presets/task-presets.d.ts.map +1 -0
  99. package/dist/components/reasoning/ChainOfThought.d.ts +36 -0
  100. package/dist/components/reasoning/ChainOfThought.d.ts.map +1 -0
  101. package/dist/components/reasoning/Step.d.ts +24 -0
  102. package/dist/components/reasoning/Step.d.ts.map +1 -0
  103. package/dist/components/reasoning/Steps.d.ts +69 -0
  104. package/dist/components/reasoning/Steps.d.ts.map +1 -0
  105. package/dist/components/reasoning/index.d.ts +4 -0
  106. package/dist/components/reasoning/index.d.ts.map +1 -0
  107. package/dist/components/structural/Audience.d.ts +55 -0
  108. package/dist/components/structural/Audience.d.ts.map +1 -0
  109. package/dist/components/structural/Constraint.d.ts +49 -0
  110. package/dist/components/structural/Constraint.d.ts.map +1 -0
  111. package/dist/components/structural/Constraints.d.ts +50 -0
  112. package/dist/components/structural/Constraints.d.ts.map +1 -0
  113. package/dist/components/structural/Context.d.ts +72 -0
  114. package/dist/components/structural/Context.d.ts.map +1 -0
  115. package/dist/components/structural/Contexts.d.ts +36 -0
  116. package/dist/components/structural/Contexts.d.ts.map +1 -0
  117. package/dist/components/structural/Criterion.d.ts +36 -0
  118. package/dist/components/structural/Criterion.d.ts.map +1 -0
  119. package/dist/components/structural/EdgeCases.d.ts +46 -0
  120. package/dist/components/structural/EdgeCases.d.ts.map +1 -0
  121. package/dist/components/structural/Fallback.d.ts +43 -0
  122. package/dist/components/structural/Fallback.d.ts.map +1 -0
  123. package/dist/components/structural/Fallbacks.d.ts +46 -0
  124. package/dist/components/structural/Fallbacks.d.ts.map +1 -0
  125. package/dist/components/structural/Format.d.ts +79 -0
  126. package/dist/components/structural/Format.d.ts.map +1 -0
  127. package/dist/components/structural/Guardrails.d.ts +63 -0
  128. package/dist/components/structural/Guardrails.d.ts.map +1 -0
  129. package/dist/components/structural/Objective.d.ts +42 -0
  130. package/dist/components/structural/Objective.d.ts.map +1 -0
  131. package/dist/components/structural/Prompt.d.ts +243 -0
  132. package/dist/components/structural/Prompt.d.ts.map +1 -0
  133. package/dist/components/structural/Reference.d.ts +50 -0
  134. package/dist/components/structural/Reference.d.ts.map +1 -0
  135. package/dist/components/structural/References.d.ts +123 -0
  136. package/dist/components/structural/References.d.ts.map +1 -0
  137. package/dist/components/structural/Role.d.ts +74 -0
  138. package/dist/components/structural/Role.d.ts.map +1 -0
  139. package/dist/components/structural/Section.d.ts +30 -0
  140. package/dist/components/structural/Section.d.ts.map +1 -0
  141. package/dist/components/structural/Specialization.d.ts +36 -0
  142. package/dist/components/structural/Specialization.d.ts.map +1 -0
  143. package/dist/components/structural/Style.d.ts +43 -0
  144. package/dist/components/structural/Style.d.ts.map +1 -0
  145. package/dist/components/structural/SuccessCriteria.d.ts +96 -0
  146. package/dist/components/structural/SuccessCriteria.d.ts.map +1 -0
  147. package/dist/components/structural/Task.d.ts +60 -0
  148. package/dist/components/structural/Task.d.ts.map +1 -0
  149. package/dist/components/structural/Tone.d.ts +61 -0
  150. package/dist/components/structural/Tone.d.ts.map +1 -0
  151. package/dist/components/structural/When.d.ts +44 -0
  152. package/dist/components/structural/When.d.ts.map +1 -0
  153. package/dist/components/structural/WhenUncertain.d.ts +30 -0
  154. package/dist/components/structural/WhenUncertain.d.ts.map +1 -0
  155. package/dist/components/structural/index.d.ts +25 -0
  156. package/dist/components/structural/index.d.ts.map +1 -0
  157. package/dist/components/utility/Cwd.d.ts +10 -0
  158. package/dist/components/utility/Cwd.d.ts.map +1 -0
  159. package/dist/components/utility/DateTime.d.ts +22 -0
  160. package/dist/components/utility/DateTime.d.ts.map +1 -0
  161. package/dist/components/utility/Hostname.d.ts +10 -0
  162. package/dist/components/utility/Hostname.d.ts.map +1 -0
  163. package/dist/components/utility/Timestamp.d.ts +10 -0
  164. package/dist/components/utility/Timestamp.d.ts.map +1 -0
  165. package/dist/components/utility/UUID.d.ts +10 -0
  166. package/dist/components/utility/UUID.d.ts.map +1 -0
  167. package/dist/components/utility/Username.d.ts +10 -0
  168. package/dist/components/utility/Username.d.ts.map +1 -0
  169. package/dist/components/utility/index.d.ts +7 -0
  170. package/dist/components/utility/index.d.ts.map +1 -0
  171. package/dist/index.js +1 -1
  172. package/dist/src/api.d.ts +38 -0
  173. package/dist/src/api.d.ts.map +1 -0
  174. package/dist/src/component.d.ts +112 -0
  175. package/dist/src/component.d.ts.map +1 -0
  176. package/dist/src/create-prompt.d.ts +118 -0
  177. package/dist/src/create-prompt.d.ts.map +1 -0
  178. package/dist/src/index.d.ts +39 -0
  179. package/dist/src/index.d.ts.map +1 -0
  180. package/dist/src/jsx-runtime/index.d.ts +29 -0
  181. package/dist/src/jsx-runtime/index.d.ts.map +1 -0
  182. package/dist/src/jsx-runtime/jsx-dev-runtime.d.ts +26 -0
  183. package/dist/src/jsx-runtime/jsx-dev-runtime.d.ts.map +1 -0
  184. package/dist/src/render.d.ts +19 -0
  185. package/dist/src/render.d.ts.map +1 -0
  186. package/dist/src/services/babel-plugins/index.d.ts +3 -0
  187. package/dist/src/services/babel-plugins/index.d.ts.map +1 -0
  188. package/dist/src/services/babel-plugins/name-hoisting.d.ts +8 -0
  189. package/dist/src/services/babel-plugins/name-hoisting.d.ts.map +1 -0
  190. package/dist/src/services/babel-plugins/uses-to-import.d.ts +16 -0
  191. package/dist/src/services/babel-plugins/uses-to-import.d.ts.map +1 -0
  192. package/dist/src/services/browser-support.d.ts +185 -0
  193. package/dist/src/services/browser-support.d.ts.map +1 -0
  194. package/dist/src/services/component-discovery.d.ts +42 -0
  195. package/dist/src/services/component-discovery.d.ts.map +1 -0
  196. package/dist/src/services/file-search-engine.d.ts +162 -0
  197. package/dist/src/services/file-search-engine.d.ts.map +1 -0
  198. package/dist/src/services/formula-parser.d.ts +9 -0
  199. package/dist/src/services/formula-parser.d.ts.map +1 -0
  200. package/dist/src/services/input-iterator.d.ts +54 -0
  201. package/dist/src/services/input-iterator.d.ts.map +1 -0
  202. package/dist/src/services/module-evaluator.d.ts +38 -0
  203. package/dist/src/services/module-evaluator.d.ts.map +1 -0
  204. package/dist/src/services/module-loader.d.ts +92 -0
  205. package/dist/src/services/module-loader.d.ts.map +1 -0
  206. package/dist/src/services/preprocessor.d.ts +39 -0
  207. package/dist/src/services/preprocessor.d.ts.map +1 -0
  208. package/dist/src/services/prop-validator.d.ts +21 -0
  209. package/dist/src/services/prop-validator.d.ts.map +1 -0
  210. package/dist/src/services/search-engine.d.ts +10 -0
  211. package/dist/src/services/search-engine.d.ts.map +1 -0
  212. package/dist/src/services/transformer.d.ts +19 -0
  213. package/dist/src/services/transformer.d.ts.map +1 -0
  214. package/dist/{index.d.ts → src/types/context.d.ts} +425 -458
  215. package/dist/src/types/context.d.ts.map +1 -0
  216. package/dist/src/types/element.d.ts +47 -0
  217. package/dist/src/types/element.d.ts.map +1 -0
  218. package/dist/src/types/index.d.ts +10 -0
  219. package/dist/src/types/index.d.ts.map +1 -0
  220. package/dist/src/types/input.d.ts +51 -0
  221. package/dist/src/types/input.d.ts.map +1 -0
  222. package/dist/src/types/module.d.ts +61 -0
  223. package/dist/src/types/module.d.ts.map +1 -0
  224. package/dist/src/types/render.d.ts +82 -0
  225. package/dist/src/types/render.d.ts.map +1 -0
  226. package/dist/src/types/search.d.ts +59 -0
  227. package/dist/src/types/search.d.ts.map +1 -0
  228. package/dist/src/types/symbols.d.ts +9 -0
  229. package/dist/src/types/symbols.d.ts.map +1 -0
  230. package/dist/src/utils/children.d.ts +29 -0
  231. package/dist/src/utils/children.d.ts.map +1 -0
  232. package/dist/src/utils/delimiter.d.ts +13 -0
  233. package/dist/src/utils/delimiter.d.ts.map +1 -0
  234. package/package.json +4 -4
  235. package/dist/jsx-dev-runtime.d.ts +0 -483
  236. package/dist/jsx-runtime/index.d.ts +0 -2
  237. package/dist/jsx-runtime/jsx-dev-runtime.d.ts +0 -2
@@ -0,0 +1,243 @@
1
+ import { z } from 'zod';
2
+ import { Component, PuptNode, RenderContext, ComponentType } from '../../src/index.ts';
3
+ export declare const promptSchema: z.ZodObject<{
4
+ name: z.ZodString;
5
+ version: z.ZodOptional<z.ZodString>;
6
+ description: z.ZodOptional<z.ZodString>;
7
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8
+ bare: z.ZodOptional<z.ZodBoolean>;
9
+ defaults: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
10
+ role: z.ZodOptional<z.ZodBoolean>;
11
+ format: z.ZodOptional<z.ZodBoolean>;
12
+ constraints: z.ZodOptional<z.ZodBoolean>;
13
+ successCriteria: z.ZodOptional<z.ZodBoolean>;
14
+ guardrails: z.ZodOptional<z.ZodBoolean>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ format?: boolean | undefined;
17
+ role?: boolean | undefined;
18
+ constraints?: boolean | undefined;
19
+ guardrails?: boolean | undefined;
20
+ successCriteria?: boolean | undefined;
21
+ }, {
22
+ format?: boolean | undefined;
23
+ role?: boolean | undefined;
24
+ constraints?: boolean | undefined;
25
+ guardrails?: boolean | undefined;
26
+ successCriteria?: boolean | undefined;
27
+ }>, z.ZodLiteral<"none">]>>;
28
+ noRole: z.ZodOptional<z.ZodBoolean>;
29
+ noFormat: z.ZodOptional<z.ZodBoolean>;
30
+ noConstraints: z.ZodOptional<z.ZodBoolean>;
31
+ noSuccessCriteria: z.ZodOptional<z.ZodBoolean>;
32
+ noGuardrails: z.ZodOptional<z.ZodBoolean>;
33
+ role: z.ZodOptional<z.ZodString>;
34
+ expertise: z.ZodOptional<z.ZodString>;
35
+ format: z.ZodOptional<z.ZodString>;
36
+ audience: z.ZodOptional<z.ZodString>;
37
+ tone: z.ZodOptional<z.ZodString>;
38
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
40
+ name: z.ZodString;
41
+ version: z.ZodOptional<z.ZodString>;
42
+ description: z.ZodOptional<z.ZodString>;
43
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44
+ bare: z.ZodOptional<z.ZodBoolean>;
45
+ defaults: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
46
+ role: z.ZodOptional<z.ZodBoolean>;
47
+ format: z.ZodOptional<z.ZodBoolean>;
48
+ constraints: z.ZodOptional<z.ZodBoolean>;
49
+ successCriteria: z.ZodOptional<z.ZodBoolean>;
50
+ guardrails: z.ZodOptional<z.ZodBoolean>;
51
+ }, "strip", z.ZodTypeAny, {
52
+ format?: boolean | undefined;
53
+ role?: boolean | undefined;
54
+ constraints?: boolean | undefined;
55
+ guardrails?: boolean | undefined;
56
+ successCriteria?: boolean | undefined;
57
+ }, {
58
+ format?: boolean | undefined;
59
+ role?: boolean | undefined;
60
+ constraints?: boolean | undefined;
61
+ guardrails?: boolean | undefined;
62
+ successCriteria?: boolean | undefined;
63
+ }>, z.ZodLiteral<"none">]>>;
64
+ noRole: z.ZodOptional<z.ZodBoolean>;
65
+ noFormat: z.ZodOptional<z.ZodBoolean>;
66
+ noConstraints: z.ZodOptional<z.ZodBoolean>;
67
+ noSuccessCriteria: z.ZodOptional<z.ZodBoolean>;
68
+ noGuardrails: z.ZodOptional<z.ZodBoolean>;
69
+ role: z.ZodOptional<z.ZodString>;
70
+ expertise: z.ZodOptional<z.ZodString>;
71
+ format: z.ZodOptional<z.ZodString>;
72
+ audience: z.ZodOptional<z.ZodString>;
73
+ tone: z.ZodOptional<z.ZodString>;
74
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
75
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
76
+ name: z.ZodString;
77
+ version: z.ZodOptional<z.ZodString>;
78
+ description: z.ZodOptional<z.ZodString>;
79
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
80
+ bare: z.ZodOptional<z.ZodBoolean>;
81
+ defaults: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
82
+ role: z.ZodOptional<z.ZodBoolean>;
83
+ format: z.ZodOptional<z.ZodBoolean>;
84
+ constraints: z.ZodOptional<z.ZodBoolean>;
85
+ successCriteria: z.ZodOptional<z.ZodBoolean>;
86
+ guardrails: z.ZodOptional<z.ZodBoolean>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ format?: boolean | undefined;
89
+ role?: boolean | undefined;
90
+ constraints?: boolean | undefined;
91
+ guardrails?: boolean | undefined;
92
+ successCriteria?: boolean | undefined;
93
+ }, {
94
+ format?: boolean | undefined;
95
+ role?: boolean | undefined;
96
+ constraints?: boolean | undefined;
97
+ guardrails?: boolean | undefined;
98
+ successCriteria?: boolean | undefined;
99
+ }>, z.ZodLiteral<"none">]>>;
100
+ noRole: z.ZodOptional<z.ZodBoolean>;
101
+ noFormat: z.ZodOptional<z.ZodBoolean>;
102
+ noConstraints: z.ZodOptional<z.ZodBoolean>;
103
+ noSuccessCriteria: z.ZodOptional<z.ZodBoolean>;
104
+ noGuardrails: z.ZodOptional<z.ZodBoolean>;
105
+ role: z.ZodOptional<z.ZodString>;
106
+ expertise: z.ZodOptional<z.ZodString>;
107
+ format: z.ZodOptional<z.ZodString>;
108
+ audience: z.ZodOptional<z.ZodString>;
109
+ tone: z.ZodOptional<z.ZodString>;
110
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
111
+ }, z.ZodTypeAny, "passthrough">>;
112
+ type PromptSlots = {
113
+ role?: ComponentType;
114
+ format?: ComponentType;
115
+ constraints?: ComponentType;
116
+ successCriteria?: ComponentType;
117
+ guardrails?: ComponentType;
118
+ };
119
+ type PromptProps = z.infer<typeof promptSchema> & {
120
+ children: PuptNode;
121
+ slots?: PromptSlots;
122
+ };
123
+ export declare class Prompt extends Component<PromptProps> {
124
+ static schema: z.ZodObject<{
125
+ name: z.ZodString;
126
+ version: z.ZodOptional<z.ZodString>;
127
+ description: z.ZodOptional<z.ZodString>;
128
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
129
+ bare: z.ZodOptional<z.ZodBoolean>;
130
+ defaults: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
131
+ role: z.ZodOptional<z.ZodBoolean>;
132
+ format: z.ZodOptional<z.ZodBoolean>;
133
+ constraints: z.ZodOptional<z.ZodBoolean>;
134
+ successCriteria: z.ZodOptional<z.ZodBoolean>;
135
+ guardrails: z.ZodOptional<z.ZodBoolean>;
136
+ }, "strip", z.ZodTypeAny, {
137
+ format?: boolean | undefined;
138
+ role?: boolean | undefined;
139
+ constraints?: boolean | undefined;
140
+ guardrails?: boolean | undefined;
141
+ successCriteria?: boolean | undefined;
142
+ }, {
143
+ format?: boolean | undefined;
144
+ role?: boolean | undefined;
145
+ constraints?: boolean | undefined;
146
+ guardrails?: boolean | undefined;
147
+ successCriteria?: boolean | undefined;
148
+ }>, z.ZodLiteral<"none">]>>;
149
+ noRole: z.ZodOptional<z.ZodBoolean>;
150
+ noFormat: z.ZodOptional<z.ZodBoolean>;
151
+ noConstraints: z.ZodOptional<z.ZodBoolean>;
152
+ noSuccessCriteria: z.ZodOptional<z.ZodBoolean>;
153
+ noGuardrails: z.ZodOptional<z.ZodBoolean>;
154
+ role: z.ZodOptional<z.ZodString>;
155
+ expertise: z.ZodOptional<z.ZodString>;
156
+ format: z.ZodOptional<z.ZodString>;
157
+ audience: z.ZodOptional<z.ZodString>;
158
+ tone: z.ZodOptional<z.ZodString>;
159
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
160
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
161
+ name: z.ZodString;
162
+ version: z.ZodOptional<z.ZodString>;
163
+ description: z.ZodOptional<z.ZodString>;
164
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
165
+ bare: z.ZodOptional<z.ZodBoolean>;
166
+ defaults: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
167
+ role: z.ZodOptional<z.ZodBoolean>;
168
+ format: z.ZodOptional<z.ZodBoolean>;
169
+ constraints: z.ZodOptional<z.ZodBoolean>;
170
+ successCriteria: z.ZodOptional<z.ZodBoolean>;
171
+ guardrails: z.ZodOptional<z.ZodBoolean>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ format?: boolean | undefined;
174
+ role?: boolean | undefined;
175
+ constraints?: boolean | undefined;
176
+ guardrails?: boolean | undefined;
177
+ successCriteria?: boolean | undefined;
178
+ }, {
179
+ format?: boolean | undefined;
180
+ role?: boolean | undefined;
181
+ constraints?: boolean | undefined;
182
+ guardrails?: boolean | undefined;
183
+ successCriteria?: boolean | undefined;
184
+ }>, z.ZodLiteral<"none">]>>;
185
+ noRole: z.ZodOptional<z.ZodBoolean>;
186
+ noFormat: z.ZodOptional<z.ZodBoolean>;
187
+ noConstraints: z.ZodOptional<z.ZodBoolean>;
188
+ noSuccessCriteria: z.ZodOptional<z.ZodBoolean>;
189
+ noGuardrails: z.ZodOptional<z.ZodBoolean>;
190
+ role: z.ZodOptional<z.ZodString>;
191
+ expertise: z.ZodOptional<z.ZodString>;
192
+ format: z.ZodOptional<z.ZodString>;
193
+ audience: z.ZodOptional<z.ZodString>;
194
+ tone: z.ZodOptional<z.ZodString>;
195
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
196
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
197
+ name: z.ZodString;
198
+ version: z.ZodOptional<z.ZodString>;
199
+ description: z.ZodOptional<z.ZodString>;
200
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
201
+ bare: z.ZodOptional<z.ZodBoolean>;
202
+ defaults: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
203
+ role: z.ZodOptional<z.ZodBoolean>;
204
+ format: z.ZodOptional<z.ZodBoolean>;
205
+ constraints: z.ZodOptional<z.ZodBoolean>;
206
+ successCriteria: z.ZodOptional<z.ZodBoolean>;
207
+ guardrails: z.ZodOptional<z.ZodBoolean>;
208
+ }, "strip", z.ZodTypeAny, {
209
+ format?: boolean | undefined;
210
+ role?: boolean | undefined;
211
+ constraints?: boolean | undefined;
212
+ guardrails?: boolean | undefined;
213
+ successCriteria?: boolean | undefined;
214
+ }, {
215
+ format?: boolean | undefined;
216
+ role?: boolean | undefined;
217
+ constraints?: boolean | undefined;
218
+ guardrails?: boolean | undefined;
219
+ successCriteria?: boolean | undefined;
220
+ }>, z.ZodLiteral<"none">]>>;
221
+ noRole: z.ZodOptional<z.ZodBoolean>;
222
+ noFormat: z.ZodOptional<z.ZodBoolean>;
223
+ noConstraints: z.ZodOptional<z.ZodBoolean>;
224
+ noSuccessCriteria: z.ZodOptional<z.ZodBoolean>;
225
+ noGuardrails: z.ZodOptional<z.ZodBoolean>;
226
+ role: z.ZodOptional<z.ZodString>;
227
+ expertise: z.ZodOptional<z.ZodString>;
228
+ format: z.ZodOptional<z.ZodString>;
229
+ audience: z.ZodOptional<z.ZodString>;
230
+ tone: z.ZodOptional<z.ZodString>;
231
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
232
+ }, z.ZodTypeAny, "passthrough">>;
233
+ render(props: PromptProps, _resolvedValue: void, context: RenderContext): PuptNode;
234
+ private renderSlotComponent;
235
+ private shouldIncludeSection;
236
+ private renderDefaultRole;
237
+ private renderDefaultFormat;
238
+ private renderDefaultConstraints;
239
+ private renderDefaultSuccessCriteria;
240
+ private renderDefaultGuardrails;
241
+ }
242
+ export {};
243
+ //# sourceMappingURL=Prompt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Prompt.d.ts","sourceRoot":"","sources":["../../../components/structural/Prompt.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAyC,MAAM,UAAU,CAAC;AAE5E,OAAO,KAAK,EAAE,QAAQ,EAAe,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AA0BpF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAkBT,CAAC;AAEjB,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,eAAe,CAAC,EAAE,aAAa,CAAC;IAChC,UAAU,CAAC,EAAE,aAAa,CAAC;CAC5B,CAAC;AAEF,KAAK,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,GAAG;IAAE,QAAQ,EAAE,QAAQ,CAAC;IAAC,KAAK,CAAC,EAAE,WAAW,CAAA;CAAE,CAAC;AAE9F,qBAAa,MAAO,SAAQ,SAAS,CAAC,WAAW,CAAC;IAChD,MAAM,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAAgB;IAE7B,MAAM,CAAC,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE,aAAa,GAAG,QAAQ;IA6JlF,OAAO,CAAC,mBAAmB;IAa3B,OAAO,CAAC,oBAAoB;IAW5B,OAAO,CAAC,iBAAiB;IA0BzB,OAAO,CAAC,mBAAmB;IAQ3B,OAAO,CAAC,wBAAwB;IAchC,OAAO,CAAC,4BAA4B;IAKpC,OAAO,CAAC,uBAAuB;CAchC"}
@@ -0,0 +1,50 @@
1
+ import { z } from 'zod';
2
+ import { Component, PuptNode, RenderContext } from '../../src/index.ts';
3
+ export declare const referenceSchema: z.ZodObject<{
4
+ title: z.ZodString;
5
+ url: z.ZodOptional<z.ZodString>;
6
+ description: z.ZodOptional<z.ZodString>;
7
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
8
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
9
+ title: z.ZodString;
10
+ url: z.ZodOptional<z.ZodString>;
11
+ description: z.ZodOptional<z.ZodString>;
12
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
13
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
14
+ title: z.ZodString;
15
+ url: z.ZodOptional<z.ZodString>;
16
+ description: z.ZodOptional<z.ZodString>;
17
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
18
+ }, z.ZodTypeAny, "passthrough">>;
19
+ type ReferenceProps = z.infer<typeof referenceSchema> & {
20
+ children?: PuptNode;
21
+ };
22
+ /**
23
+ * Describes a single reference or source material.
24
+ * Typically used as a child of References.
25
+ *
26
+ * Usage:
27
+ * <Reference title="API Docs" url="https://api.example.com/docs" />
28
+ * <Reference title="Internal Wiki" description="Team conventions" />
29
+ */
30
+ export declare class Reference extends Component<ReferenceProps> {
31
+ static schema: z.ZodObject<{
32
+ title: z.ZodString;
33
+ url: z.ZodOptional<z.ZodString>;
34
+ description: z.ZodOptional<z.ZodString>;
35
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
36
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
37
+ title: z.ZodString;
38
+ url: z.ZodOptional<z.ZodString>;
39
+ description: z.ZodOptional<z.ZodString>;
40
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
41
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
42
+ title: z.ZodString;
43
+ url: z.ZodOptional<z.ZodString>;
44
+ description: z.ZodOptional<z.ZodString>;
45
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
46
+ }, z.ZodTypeAny, "passthrough">>;
47
+ render(props: ReferenceProps, _resolvedValue: void, _context: RenderContext): PuptNode;
48
+ }
49
+ export {};
50
+ //# sourceMappingURL=Reference.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Reference.d.ts","sourceRoot":"","sources":["../../../components/structural/Reference.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAqB,MAAM,UAAU,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAExD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;gCAKZ,CAAC;AAEjB,KAAK,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,GAAG;IAAE,QAAQ,CAAC,EAAE,QAAQ,CAAA;CAAE,CAAC;AAEhF;;;;;;;GAOG;AACH,qBAAa,SAAU,SAAQ,SAAS,CAAC,cAAc,CAAC;IACtD,MAAM,CAAC,MAAM;;;;;;;;;;;;;;;qCAAmB;IAEhC,MAAM,CAAC,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,GAAG,QAAQ;CAoBvF"}
@@ -0,0 +1,123 @@
1
+ import { z } from 'zod';
2
+ import { Component, PuptNode, RenderContext } from '../../src/index.ts';
3
+ export declare const referencesSchema: z.ZodObject<{
4
+ extend: z.ZodOptional<z.ZodBoolean>;
5
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
+ title: z.ZodString;
7
+ url: z.ZodOptional<z.ZodString>;
8
+ description: z.ZodOptional<z.ZodString>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ title: string;
11
+ url?: string | undefined;
12
+ description?: string | undefined;
13
+ }, {
14
+ title: string;
15
+ url?: string | undefined;
16
+ description?: string | undefined;
17
+ }>, "many">>;
18
+ style: z.ZodOptional<z.ZodEnum<["inline", "footnote", "bibliography"]>>;
19
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
20
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
21
+ extend: z.ZodOptional<z.ZodBoolean>;
22
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
23
+ title: z.ZodString;
24
+ url: z.ZodOptional<z.ZodString>;
25
+ description: z.ZodOptional<z.ZodString>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ title: string;
28
+ url?: string | undefined;
29
+ description?: string | undefined;
30
+ }, {
31
+ title: string;
32
+ url?: string | undefined;
33
+ description?: string | undefined;
34
+ }>, "many">>;
35
+ style: z.ZodOptional<z.ZodEnum<["inline", "footnote", "bibliography"]>>;
36
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
37
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
38
+ extend: z.ZodOptional<z.ZodBoolean>;
39
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
40
+ title: z.ZodString;
41
+ url: z.ZodOptional<z.ZodString>;
42
+ description: z.ZodOptional<z.ZodString>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ title: string;
45
+ url?: string | undefined;
46
+ description?: string | undefined;
47
+ }, {
48
+ title: string;
49
+ url?: string | undefined;
50
+ description?: string | undefined;
51
+ }>, "many">>;
52
+ style: z.ZodOptional<z.ZodEnum<["inline", "footnote", "bibliography"]>>;
53
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
54
+ }, z.ZodTypeAny, "passthrough">>;
55
+ type ReferencesProps = z.infer<typeof referencesSchema> & {
56
+ children?: PuptNode;
57
+ };
58
+ /**
59
+ * Container component for reference materials and sources.
60
+ * Can include Reference children and/or a sources array.
61
+ *
62
+ * Usage:
63
+ * <References sources={[{ title: 'API Docs', url: 'https://...' }]}>
64
+ * <Reference title="Internal Wiki" description="Team conventions" />
65
+ * </References>
66
+ */
67
+ export declare class References extends Component<ReferencesProps> {
68
+ static schema: z.ZodObject<{
69
+ extend: z.ZodOptional<z.ZodBoolean>;
70
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
71
+ title: z.ZodString;
72
+ url: z.ZodOptional<z.ZodString>;
73
+ description: z.ZodOptional<z.ZodString>;
74
+ }, "strip", z.ZodTypeAny, {
75
+ title: string;
76
+ url?: string | undefined;
77
+ description?: string | undefined;
78
+ }, {
79
+ title: string;
80
+ url?: string | undefined;
81
+ description?: string | undefined;
82
+ }>, "many">>;
83
+ style: z.ZodOptional<z.ZodEnum<["inline", "footnote", "bibliography"]>>;
84
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
85
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
86
+ extend: z.ZodOptional<z.ZodBoolean>;
87
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
88
+ title: z.ZodString;
89
+ url: z.ZodOptional<z.ZodString>;
90
+ description: z.ZodOptional<z.ZodString>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ title: string;
93
+ url?: string | undefined;
94
+ description?: string | undefined;
95
+ }, {
96
+ title: string;
97
+ url?: string | undefined;
98
+ description?: string | undefined;
99
+ }>, "many">>;
100
+ style: z.ZodOptional<z.ZodEnum<["inline", "footnote", "bibliography"]>>;
101
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
102
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
103
+ extend: z.ZodOptional<z.ZodBoolean>;
104
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
105
+ title: z.ZodString;
106
+ url: z.ZodOptional<z.ZodString>;
107
+ description: z.ZodOptional<z.ZodString>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ title: string;
110
+ url?: string | undefined;
111
+ description?: string | undefined;
112
+ }, {
113
+ title: string;
114
+ url?: string | undefined;
115
+ description?: string | undefined;
116
+ }>, "many">>;
117
+ style: z.ZodOptional<z.ZodEnum<["inline", "footnote", "bibliography"]>>;
118
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
119
+ }, z.ZodTypeAny, "passthrough">>;
120
+ render(props: ReferencesProps, _resolvedValue: void, _context: RenderContext): PuptNode;
121
+ }
122
+ export {};
123
+ //# sourceMappingURL=References.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"References.d.ts","sourceRoot":"","sources":["../../../components/structural/References.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAqB,MAAM,UAAU,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAQxD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAKb,CAAC;AAEjB,KAAK,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,GAAG;IAAE,QAAQ,CAAC,EAAE,QAAQ,CAAA;CAAE,CAAC;AAElF;;;;;;;;GAQG;AACH,qBAAa,UAAW,SAAQ,SAAS,CAAC,eAAe,CAAC;IACxD,MAAM,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAAoB;IAEjC,MAAM,CAAC,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,GAAG,QAAQ;CAuCxF"}
@@ -0,0 +1,74 @@
1
+ import { z } from 'zod';
2
+ import { Component, PuptNode, RenderContext } from '../../src/index.ts';
3
+ export declare const roleSchema: z.ZodObject<{
4
+ preset: z.ZodOptional<z.ZodString>;
5
+ title: z.ZodOptional<z.ZodString>;
6
+ expertise: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
7
+ experience: z.ZodOptional<z.ZodEnum<["junior", "mid", "senior", "expert", "principal"]>>;
8
+ traits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9
+ domain: z.ZodOptional<z.ZodString>;
10
+ style: z.ZodOptional<z.ZodEnum<["professional", "casual", "academic", "friendly"]>>;
11
+ extend: z.ZodOptional<z.ZodBoolean>;
12
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
13
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
14
+ preset: z.ZodOptional<z.ZodString>;
15
+ title: z.ZodOptional<z.ZodString>;
16
+ expertise: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
17
+ experience: z.ZodOptional<z.ZodEnum<["junior", "mid", "senior", "expert", "principal"]>>;
18
+ traits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19
+ domain: z.ZodOptional<z.ZodString>;
20
+ style: z.ZodOptional<z.ZodEnum<["professional", "casual", "academic", "friendly"]>>;
21
+ extend: z.ZodOptional<z.ZodBoolean>;
22
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
23
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
24
+ preset: z.ZodOptional<z.ZodString>;
25
+ title: z.ZodOptional<z.ZodString>;
26
+ expertise: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
27
+ experience: z.ZodOptional<z.ZodEnum<["junior", "mid", "senior", "expert", "principal"]>>;
28
+ traits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
29
+ domain: z.ZodOptional<z.ZodString>;
30
+ style: z.ZodOptional<z.ZodEnum<["professional", "casual", "academic", "friendly"]>>;
31
+ extend: z.ZodOptional<z.ZodBoolean>;
32
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
33
+ }, z.ZodTypeAny, "passthrough">>;
34
+ type RoleProps = z.infer<typeof roleSchema> & {
35
+ children?: PuptNode;
36
+ };
37
+ export declare class Role extends Component<RoleProps> {
38
+ static schema: z.ZodObject<{
39
+ preset: z.ZodOptional<z.ZodString>;
40
+ title: z.ZodOptional<z.ZodString>;
41
+ expertise: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
42
+ experience: z.ZodOptional<z.ZodEnum<["junior", "mid", "senior", "expert", "principal"]>>;
43
+ traits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44
+ domain: z.ZodOptional<z.ZodString>;
45
+ style: z.ZodOptional<z.ZodEnum<["professional", "casual", "academic", "friendly"]>>;
46
+ extend: z.ZodOptional<z.ZodBoolean>;
47
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
48
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
49
+ preset: z.ZodOptional<z.ZodString>;
50
+ title: z.ZodOptional<z.ZodString>;
51
+ expertise: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
52
+ experience: z.ZodOptional<z.ZodEnum<["junior", "mid", "senior", "expert", "principal"]>>;
53
+ traits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
54
+ domain: z.ZodOptional<z.ZodString>;
55
+ style: z.ZodOptional<z.ZodEnum<["professional", "casual", "academic", "friendly"]>>;
56
+ extend: z.ZodOptional<z.ZodBoolean>;
57
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
58
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
59
+ preset: z.ZodOptional<z.ZodString>;
60
+ title: z.ZodOptional<z.ZodString>;
61
+ expertise: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
62
+ experience: z.ZodOptional<z.ZodEnum<["junior", "mid", "senior", "expert", "principal"]>>;
63
+ traits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
64
+ domain: z.ZodOptional<z.ZodString>;
65
+ style: z.ZodOptional<z.ZodEnum<["professional", "casual", "academic", "friendly"]>>;
66
+ extend: z.ZodOptional<z.ZodBoolean>;
67
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
68
+ }, z.ZodTypeAny, "passthrough">>;
69
+ render(props: RoleProps, _resolvedValue: void, context: RenderContext): PuptNode;
70
+ private getExperiencePrefix;
71
+ private buildExpertiseList;
72
+ }
73
+ export {};
74
+ //# sourceMappingURL=Role.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Role.d.ts","sourceRoot":"","sources":["../../../components/structural/Role.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAqB,MAAM,UAAU,CAAC;AAExD,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAExD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAUP,CAAC;AAEjB,KAAK,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,GAAG;IAAE,QAAQ,CAAC,EAAE,QAAQ,CAAA;CAAE,CAAC;AAEtE,qBAAa,IAAK,SAAQ,SAAS,CAAC,SAAS,CAAC;IAC5C,MAAM,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAAc;IAE3B,MAAM,CAAC,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE,aAAa,GAAG,QAAQ;IA8DhF,OAAO,CAAC,mBAAmB;IAY3B,OAAO,CAAC,kBAAkB;CA0B3B"}
@@ -0,0 +1,30 @@
1
+ import { z } from 'zod';
2
+ import { Component, PuptNode, RenderContext } from '../../src/index.ts';
3
+ export declare const sectionSchema: z.ZodObject<{
4
+ name: z.ZodOptional<z.ZodString>;
5
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
6
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7
+ name: z.ZodOptional<z.ZodString>;
8
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
9
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10
+ name: z.ZodOptional<z.ZodString>;
11
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
12
+ }, z.ZodTypeAny, "passthrough">>;
13
+ type SectionProps = z.infer<typeof sectionSchema> & {
14
+ children: PuptNode;
15
+ };
16
+ export declare class Section extends Component<SectionProps> {
17
+ static schema: z.ZodObject<{
18
+ name: z.ZodOptional<z.ZodString>;
19
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
20
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
21
+ name: z.ZodOptional<z.ZodString>;
22
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
23
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
24
+ name: z.ZodOptional<z.ZodString>;
25
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
26
+ }, z.ZodTypeAny, "passthrough">>;
27
+ render({ name, delimiter, children }: SectionProps, _resolvedValue: void, _context: RenderContext): PuptNode;
28
+ }
29
+ export {};
30
+ //# sourceMappingURL=Section.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../components/structural/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAqB,MAAM,UAAU,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAExD,eAAO,MAAM,aAAa;;;;;;;;;gCAGV,CAAC;AAEjB,KAAK,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAC;AAE3E,qBAAa,OAAQ,SAAQ,SAAS,CAAC,YAAY,CAAC;IAClD,MAAM,CAAC,MAAM;;;;;;;;;qCAAiB;IAE9B,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,YAAY,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,GAAG,QAAQ;CAQ7G"}
@@ -0,0 +1,36 @@
1
+ import { z } from 'zod';
2
+ import { Component, PuptNode, RenderContext } from '../../src/index.ts';
3
+ export declare const specializationSchema: z.ZodObject<{
4
+ areas: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
5
+ level: z.ZodOptional<z.ZodEnum<["familiar", "proficient", "expert", "authority"]>>;
6
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
7
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8
+ areas: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
9
+ level: z.ZodOptional<z.ZodEnum<["familiar", "proficient", "expert", "authority"]>>;
10
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
11
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12
+ areas: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
13
+ level: z.ZodOptional<z.ZodEnum<["familiar", "proficient", "expert", "authority"]>>;
14
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
15
+ }, z.ZodTypeAny, "passthrough">>;
16
+ type SpecializationProps = z.infer<typeof specializationSchema> & {
17
+ children?: PuptNode;
18
+ };
19
+ export declare class Specialization extends Component<SpecializationProps> {
20
+ static schema: z.ZodObject<{
21
+ areas: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
22
+ level: z.ZodOptional<z.ZodEnum<["familiar", "proficient", "expert", "authority"]>>;
23
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
24
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
25
+ areas: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
26
+ level: z.ZodOptional<z.ZodEnum<["familiar", "proficient", "expert", "authority"]>>;
27
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
28
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29
+ areas: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
30
+ level: z.ZodOptional<z.ZodEnum<["familiar", "proficient", "expert", "authority"]>>;
31
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
32
+ }, z.ZodTypeAny, "passthrough">>;
33
+ render(props: SpecializationProps, _resolvedValue: void, _context: RenderContext): PuptNode;
34
+ }
35
+ export {};
36
+ //# sourceMappingURL=Specialization.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Specialization.d.ts","sourceRoot":"","sources":["../../../components/structural/Specialization.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAqB,MAAM,UAAU,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAExD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;gCAIjB,CAAC;AAEjB,KAAK,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,GAAG;IAAE,QAAQ,CAAC,EAAE,QAAQ,CAAA;CAAE,CAAC;AAE1F,qBAAa,cAAe,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IAChE,MAAM,CAAC,MAAM;;;;;;;;;;;;qCAAwB;IAErC,MAAM,CAAC,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,GAAG,QAAQ;CA0B5F"}
@@ -0,0 +1,43 @@
1
+ import { z } from 'zod';
2
+ import { Component, PuptNode, RenderContext } from '../../src/index.ts';
3
+ export declare const styleSchema: z.ZodObject<{
4
+ type: z.ZodOptional<z.ZodEnum<["concise", "detailed", "academic", "casual", "technical", "simple"]>>;
5
+ verbosity: z.ZodOptional<z.ZodEnum<["minimal", "moderate", "verbose"]>>;
6
+ formality: z.ZodOptional<z.ZodEnum<["formal", "semi-formal", "informal"]>>;
7
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
8
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
9
+ type: z.ZodOptional<z.ZodEnum<["concise", "detailed", "academic", "casual", "technical", "simple"]>>;
10
+ verbosity: z.ZodOptional<z.ZodEnum<["minimal", "moderate", "verbose"]>>;
11
+ formality: z.ZodOptional<z.ZodEnum<["formal", "semi-formal", "informal"]>>;
12
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
13
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
14
+ type: z.ZodOptional<z.ZodEnum<["concise", "detailed", "academic", "casual", "technical", "simple"]>>;
15
+ verbosity: z.ZodOptional<z.ZodEnum<["minimal", "moderate", "verbose"]>>;
16
+ formality: z.ZodOptional<z.ZodEnum<["formal", "semi-formal", "informal"]>>;
17
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
18
+ }, z.ZodTypeAny, "passthrough">>;
19
+ type StyleProps = z.infer<typeof styleSchema> & {
20
+ children?: PuptNode;
21
+ };
22
+ export declare class Style extends Component<StyleProps> {
23
+ static schema: z.ZodObject<{
24
+ type: z.ZodOptional<z.ZodEnum<["concise", "detailed", "academic", "casual", "technical", "simple"]>>;
25
+ verbosity: z.ZodOptional<z.ZodEnum<["minimal", "moderate", "verbose"]>>;
26
+ formality: z.ZodOptional<z.ZodEnum<["formal", "semi-formal", "informal"]>>;
27
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
28
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29
+ type: z.ZodOptional<z.ZodEnum<["concise", "detailed", "academic", "casual", "technical", "simple"]>>;
30
+ verbosity: z.ZodOptional<z.ZodEnum<["minimal", "moderate", "verbose"]>>;
31
+ formality: z.ZodOptional<z.ZodEnum<["formal", "semi-formal", "informal"]>>;
32
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
33
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
34
+ type: z.ZodOptional<z.ZodEnum<["concise", "detailed", "academic", "casual", "technical", "simple"]>>;
35
+ verbosity: z.ZodOptional<z.ZodEnum<["minimal", "moderate", "verbose"]>>;
36
+ formality: z.ZodOptional<z.ZodEnum<["formal", "semi-formal", "informal"]>>;
37
+ delimiter: z.ZodOptional<z.ZodEnum<["xml", "markdown", "none"]>>;
38
+ }, z.ZodTypeAny, "passthrough">>;
39
+ render(props: StyleProps, _resolvedValue: void, _context: RenderContext): PuptNode;
40
+ private getStyleDescription;
41
+ }
42
+ export {};
43
+ //# sourceMappingURL=Style.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Style.d.ts","sourceRoot":"","sources":["../../../components/structural/Style.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAqB,MAAM,UAAU,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAExD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;gCAKR,CAAC;AAEjB,KAAK,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,GAAG;IAAE,QAAQ,CAAC,EAAE,QAAQ,CAAA;CAAE,CAAC;AAExE,qBAAa,KAAM,SAAQ,SAAS,CAAC,UAAU,CAAC;IAC9C,MAAM,CAAC,MAAM;;;;;;;;;;;;;;;qCAAe;IAE5B,MAAM,CAAC,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,GAAG,QAAQ;IA6BlF,OAAO,CAAC,mBAAmB;CAW5B"}