@loom-framework/core 0.1.0-alpha.16 → 0.1.0-alpha.160

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 (757) hide show
  1. package/builtin-skills/antd/SKILL.md +266 -0
  2. package/builtin-skills/antv-g2-chart/SKILL.md +1067 -0
  3. package/builtin-skills/antv-g2-chart/references/animations/g2-animation-intro.md +176 -0
  4. package/builtin-skills/antv-g2-chart/references/animations/g2-animation-keyframe.md +149 -0
  5. package/builtin-skills/antv-g2-chart/references/animations/g2-animation-types.md +253 -0
  6. package/builtin-skills/antv-g2-chart/references/components/g2-comp-annotation.md +237 -0
  7. package/builtin-skills/antv-g2-chart/references/components/g2-comp-axis-config.md +648 -0
  8. package/builtin-skills/antv-g2-chart/references/components/g2-comp-axis-radar.md +219 -0
  9. package/builtin-skills/antv-g2-chart/references/components/g2-comp-label-config.md +174 -0
  10. package/builtin-skills/antv-g2-chart/references/components/g2-comp-legend-category.md +278 -0
  11. package/builtin-skills/antv-g2-chart/references/components/g2-comp-legend-config.md +363 -0
  12. package/builtin-skills/antv-g2-chart/references/components/g2-comp-legend-continuous.md +264 -0
  13. package/builtin-skills/antv-g2-chart/references/components/g2-comp-scrollbar.md +276 -0
  14. package/builtin-skills/antv-g2-chart/references/components/g2-comp-slider.md +333 -0
  15. package/builtin-skills/antv-g2-chart/references/components/g2-comp-title.md +149 -0
  16. package/builtin-skills/antv-g2-chart/references/components/g2-comp-tooltip-config.md +358 -0
  17. package/builtin-skills/antv-g2-chart/references/compositions/g2-comp-facet-circle.md +97 -0
  18. package/builtin-skills/antv-g2-chart/references/compositions/g2-comp-facet-rect.md +241 -0
  19. package/builtin-skills/antv-g2-chart/references/compositions/g2-comp-geo-map.md +210 -0
  20. package/builtin-skills/antv-g2-chart/references/compositions/g2-comp-geoview.md +143 -0
  21. package/builtin-skills/antv-g2-chart/references/compositions/g2-comp-repeat-matrix.md +171 -0
  22. package/builtin-skills/antv-g2-chart/references/compositions/g2-comp-space-flex.md +142 -0
  23. package/builtin-skills/antv-g2-chart/references/compositions/g2-comp-space-layer.md +149 -0
  24. package/builtin-skills/antv-g2-chart/references/compositions/g2-comp-timing-keyframe.md +91 -0
  25. package/builtin-skills/antv-g2-chart/references/compositions/g2-comp-view.md +309 -0
  26. package/builtin-skills/antv-g2-chart/references/concepts/g2-concept-chart-selection.md +235 -0
  27. package/builtin-skills/antv-g2-chart/references/concepts/g2-concept-color-theory.md +287 -0
  28. package/builtin-skills/antv-g2-chart/references/concepts/g2-concept-visual-channels.md +180 -0
  29. package/builtin-skills/antv-g2-chart/references/coordinates/g2-coord-cartesian.md +131 -0
  30. package/builtin-skills/antv-g2-chart/references/coordinates/g2-coord-fisheye.md +131 -0
  31. package/builtin-skills/antv-g2-chart/references/coordinates/g2-coord-helix.md +141 -0
  32. package/builtin-skills/antv-g2-chart/references/coordinates/g2-coord-parallel.md +129 -0
  33. package/builtin-skills/antv-g2-chart/references/coordinates/g2-coord-polar.md +143 -0
  34. package/builtin-skills/antv-g2-chart/references/coordinates/g2-coord-radial.md +214 -0
  35. package/builtin-skills/antv-g2-chart/references/coordinates/g2-coord-theta.md +171 -0
  36. package/builtin-skills/antv-g2-chart/references/coordinates/g2-coord-transpose.md +195 -0
  37. package/builtin-skills/antv-g2-chart/references/core/g2-core-chart-init.md +266 -0
  38. package/builtin-skills/antv-g2-chart/references/core/g2-core-encode-channel.md +197 -0
  39. package/builtin-skills/antv-g2-chart/references/core/g2-core-view-composition.md +224 -0
  40. package/builtin-skills/antv-g2-chart/references/data/g2-data-ema.md +190 -0
  41. package/builtin-skills/antv-g2-chart/references/data/g2-data-fetch.md +167 -0
  42. package/builtin-skills/antv-g2-chart/references/data/g2-data-filter.md +212 -0
  43. package/builtin-skills/antv-g2-chart/references/data/g2-data-fold.md +260 -0
  44. package/builtin-skills/antv-g2-chart/references/data/g2-data-format-tabular.md +280 -0
  45. package/builtin-skills/antv-g2-chart/references/data/g2-data-kde.md +426 -0
  46. package/builtin-skills/antv-g2-chart/references/data/g2-data-log.md +140 -0
  47. package/builtin-skills/antv-g2-chart/references/data/g2-data-slice.md +147 -0
  48. package/builtin-skills/antv-g2-chart/references/data/g2-data-sort.md +251 -0
  49. package/builtin-skills/antv-g2-chart/references/data/g2-data-sortby.md +183 -0
  50. package/builtin-skills/antv-g2-chart/references/data/g2-data-transform-patterns.md +394 -0
  51. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-adaptive-filter.md +118 -0
  52. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-brush-axis.md +112 -0
  53. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-brush-filter.md +122 -0
  54. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-brush-x-y-highlight.md +127 -0
  55. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-brush-xy.md +118 -0
  56. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-brush.md +184 -0
  57. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-brushx-filter.md +170 -0
  58. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-brushx-highlight.md +186 -0
  59. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-brushy-filter.md +170 -0
  60. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-brushy-highlight.md +185 -0
  61. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-chart-index.md +127 -0
  62. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-drilldown.md +149 -0
  63. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-element-highlight-by.md +125 -0
  64. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-element-highlight.md +235 -0
  65. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-element-hover-scale.md +109 -0
  66. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-element-point-move.md +152 -0
  67. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-element-select-by.md +133 -0
  68. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-element-select.md +249 -0
  69. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-fisheye.md +117 -0
  70. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-legend-filter.md +130 -0
  71. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-legend-highlight.md +130 -0
  72. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-poptip.md +105 -0
  73. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-scrollbar-filter.md +144 -0
  74. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-slider-filter.md +231 -0
  75. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-slider-wheel.md +138 -0
  76. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-tooltip.md +192 -0
  77. package/builtin-skills/antv-g2-chart/references/interactions/g2-interaction-treemap-drilldown.md +152 -0
  78. package/builtin-skills/antv-g2-chart/references/label-transform/g2-label-transform-contrast-reverse.md +170 -0
  79. package/builtin-skills/antv-g2-chart/references/label-transform/g2-label-transform-exceed-adjust.md +146 -0
  80. package/builtin-skills/antv-g2-chart/references/label-transform/g2-label-transform-overflow-hide.md +185 -0
  81. package/builtin-skills/antv-g2-chart/references/label-transform/g2-label-transform-overflow-stroke.md +147 -0
  82. package/builtin-skills/antv-g2-chart/references/label-transform/g2-label-transform-overlap-dodge-y.md +225 -0
  83. package/builtin-skills/antv-g2-chart/references/label-transform/g2-label-transform-overlap-hide.md +213 -0
  84. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-arc-diagram.md +196 -0
  85. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-arc-donut.md +148 -0
  86. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-arc-pie.md +212 -0
  87. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-area-basic.md +168 -0
  88. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-area-stacked.md +150 -0
  89. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-beeswarm.md +134 -0
  90. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-bi-directional-bar.md +297 -0
  91. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-box-boxplot.md +163 -0
  92. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-boxplot.md +340 -0
  93. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-bullet.md +203 -0
  94. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-cell-heatmap.md +370 -0
  95. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-chord.md +341 -0
  96. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-connector.md +126 -0
  97. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-contourline.md +243 -0
  98. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-density.md +457 -0
  99. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-distribution-curve.md +298 -0
  100. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-funnel.md +329 -0
  101. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-gantt.md +208 -0
  102. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-gauge.md +247 -0
  103. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-heatmap.md +130 -0
  104. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-histogram.md +186 -0
  105. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-image.md +129 -0
  106. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-interval-basic.md +528 -0
  107. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-interval-grouped.md +161 -0
  108. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-interval-normalized.md +147 -0
  109. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-interval-stacked.md +183 -0
  110. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-k-chart.md +237 -0
  111. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-line-basic.md +353 -0
  112. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-line-multi.md +156 -0
  113. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-linex-liney.md +176 -0
  114. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-link.md +134 -0
  115. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-liquid.md +125 -0
  116. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-mosaic.md +257 -0
  117. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-pack.md +424 -0
  118. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-parallel.md +195 -0
  119. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-partition.md +275 -0
  120. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-path.md +135 -0
  121. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-point-bubble.md +138 -0
  122. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-point-scatter.md +177 -0
  123. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-polygon.md +130 -0
  124. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-radar.md +231 -0
  125. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-radial-bar.md +226 -0
  126. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-range-rangey.md +253 -0
  127. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-rangex.md +293 -0
  128. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-rect.md +115 -0
  129. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-regression-curve.md +276 -0
  130. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-rose.md +182 -0
  131. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-sankey.md +217 -0
  132. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-shape.md +160 -0
  133. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-spiral.md +257 -0
  134. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-sunburst.md +327 -0
  135. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-text.md +309 -0
  136. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-tree.md +235 -0
  137. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-treemap.md +426 -0
  138. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-vector.md +108 -0
  139. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-venn.md +204 -0
  140. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-violin.md +307 -0
  141. package/builtin-skills/antv-g2-chart/references/marks/g2-mark-wordcloud.md +155 -0
  142. package/builtin-skills/antv-g2-chart/references/palette/g2-palette-category10.md +196 -0
  143. package/builtin-skills/antv-g2-chart/references/palette/g2-palette-category20.md +238 -0
  144. package/builtin-skills/antv-g2-chart/references/patterns/g2-pattern-performance.md +181 -0
  145. package/builtin-skills/antv-g2-chart/references/patterns/g2-pattern-responsive.md +232 -0
  146. package/builtin-skills/antv-g2-chart/references/patterns/g2-pattern-v4-to-v5.md +223 -0
  147. package/builtin-skills/antv-g2-chart/references/scales/g2-scale-band.md +127 -0
  148. package/builtin-skills/antv-g2-chart/references/scales/g2-scale-linear.md +259 -0
  149. package/builtin-skills/antv-g2-chart/references/scales/g2-scale-log.md +226 -0
  150. package/builtin-skills/antv-g2-chart/references/scales/g2-scale-ordinal.md +135 -0
  151. package/builtin-skills/antv-g2-chart/references/scales/g2-scale-point.md +242 -0
  152. package/builtin-skills/antv-g2-chart/references/scales/g2-scale-pow-sqrt.md +124 -0
  153. package/builtin-skills/antv-g2-chart/references/scales/g2-scale-quantile-quantize.md +119 -0
  154. package/builtin-skills/antv-g2-chart/references/scales/g2-scale-sequential.md +267 -0
  155. package/builtin-skills/antv-g2-chart/references/scales/g2-scale-threshold.md +133 -0
  156. package/builtin-skills/antv-g2-chart/references/scales/g2-scale-time.md +159 -0
  157. package/builtin-skills/antv-g2-chart/references/themes/g2-theme-builtin.md +192 -0
  158. package/builtin-skills/antv-g2-chart/references/themes/g2-theme-custom.md +183 -0
  159. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-bin.md +153 -0
  160. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-binx.md +133 -0
  161. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-diffy.md +130 -0
  162. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-dodgex.md +90 -0
  163. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-flexx.md +115 -0
  164. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-group.md +233 -0
  165. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-groupcolor.md +182 -0
  166. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-groupx.md +265 -0
  167. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-groupy.md +167 -0
  168. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-jitter.md +149 -0
  169. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-jitterx.md +177 -0
  170. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-jittery.md +177 -0
  171. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-normalizey.md +83 -0
  172. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-pack.md +164 -0
  173. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-sample.md +143 -0
  174. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-select.md +147 -0
  175. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-selectx.md +179 -0
  176. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-selecty.md +179 -0
  177. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-sort-color.md +115 -0
  178. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-sortx.md +285 -0
  179. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-sorty.md +117 -0
  180. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-stack-enter.md +158 -0
  181. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-stacky.md +218 -0
  182. package/builtin-skills/antv-g2-chart/references/transforms/g2-transform-symmetryy.md +122 -0
  183. package/builtin-skills/app-skill/SKILL.md +48 -0
  184. package/builtin-skills/app-skill/references/auth.md +180 -0
  185. package/builtin-skills/app-skill/references/data-semantics.md +44 -0
  186. package/builtin-skills/app-skill/references/events.md +119 -0
  187. package/builtin-skills/app-skill/references/evolution.md +90 -0
  188. package/builtin-skills/app-skill/references/models.md +45 -0
  189. package/builtin-skills/app-skill/references/notification.md +123 -0
  190. package/builtin-skills/app-skill/references/process-builder.md +383 -0
  191. package/builtin-skills/app-skill/references/process-metrics.md +93 -0
  192. package/builtin-skills/app-skill/references/process.md +294 -0
  193. package/builtin-skills/chart-visualization/SKILL.md +101 -0
  194. package/builtin-skills/loom/SKILL.md +265 -0
  195. package/builtin-skills/loom/references/README.md +285 -0
  196. package/builtin-skills/loom/references/dashboard.md +257 -0
  197. package/builtin-skills/loom/references/data-model.md +196 -0
  198. package/builtin-skills/yuque-reader/SKILL.md +43 -0
  199. package/builtin-skills/yuque-reader/references/config.md +52 -0
  200. package/builtin-skills/yuque-reader/scripts/fetch_doc.py +121 -0
  201. package/dist/adapter-base.d.ts +31 -0
  202. package/dist/adapter-base.d.ts.map +1 -0
  203. package/dist/adapter-base.js +69 -0
  204. package/dist/adapter-base.js.map +1 -0
  205. package/dist/adapter-factory.d.ts +8 -0
  206. package/dist/adapter-factory.d.ts.map +1 -0
  207. package/dist/adapter-factory.js +25 -0
  208. package/dist/adapter-factory.js.map +1 -0
  209. package/dist/adapter-filesystem.d.ts +25 -11
  210. package/dist/adapter-filesystem.d.ts.map +1 -1
  211. package/dist/adapter-filesystem.js +230 -52
  212. package/dist/adapter-filesystem.js.map +1 -1
  213. package/dist/adapter-sqlite.d.ts +9 -23
  214. package/dist/adapter-sqlite.d.ts.map +1 -1
  215. package/dist/adapter-sqlite.js +94 -55
  216. package/dist/adapter-sqlite.js.map +1 -1
  217. package/dist/adapters/base.d.ts +31 -0
  218. package/dist/adapters/base.d.ts.map +1 -0
  219. package/dist/adapters/base.js +69 -0
  220. package/dist/adapters/base.js.map +1 -0
  221. package/dist/adapters/factory.d.ts +8 -0
  222. package/dist/adapters/factory.d.ts.map +1 -0
  223. package/dist/adapters/factory.js +25 -0
  224. package/dist/adapters/factory.js.map +1 -0
  225. package/dist/adapters/filesystem.d.ts +46 -0
  226. package/dist/adapters/filesystem.d.ts.map +1 -0
  227. package/dist/adapters/filesystem.js +321 -0
  228. package/dist/adapters/filesystem.js.map +1 -0
  229. package/dist/adapters/index.d.ts +10 -0
  230. package/dist/adapters/index.d.ts.map +1 -0
  231. package/dist/adapters/index.js +8 -0
  232. package/dist/adapters/index.js.map +1 -0
  233. package/dist/adapters/sqlite.d.ts +37 -0
  234. package/dist/adapters/sqlite.d.ts.map +1 -0
  235. package/dist/adapters/sqlite.js +264 -0
  236. package/dist/adapters/sqlite.js.map +1 -0
  237. package/dist/backend/ai/button-resolver.d.ts +18 -0
  238. package/dist/backend/ai/button-resolver.d.ts.map +1 -0
  239. package/dist/backend/ai/button-resolver.js +58 -0
  240. package/dist/backend/ai/button-resolver.js.map +1 -0
  241. package/dist/backend/ai/content-blocks.d.ts +18 -0
  242. package/dist/backend/ai/content-blocks.d.ts.map +1 -0
  243. package/dist/backend/ai/content-blocks.js +66 -0
  244. package/dist/backend/ai/content-blocks.js.map +1 -0
  245. package/dist/backend/ai/engine.d.ts +65 -0
  246. package/dist/backend/ai/engine.d.ts.map +1 -0
  247. package/dist/backend/ai/engine.js +237 -0
  248. package/dist/backend/ai/engine.js.map +1 -0
  249. package/dist/backend/ai/index.d.ts +11 -0
  250. package/dist/backend/ai/index.d.ts.map +1 -0
  251. package/dist/backend/ai/index.js +8 -0
  252. package/dist/backend/ai/index.js.map +1 -0
  253. package/dist/backend/ai/output-parser.d.ts +36 -0
  254. package/dist/backend/ai/output-parser.d.ts.map +1 -0
  255. package/dist/backend/ai/output-parser.js +264 -0
  256. package/dist/backend/ai/output-parser.js.map +1 -0
  257. package/dist/backend/ai/session-manager.d.ts +106 -0
  258. package/dist/backend/ai/session-manager.d.ts.map +1 -0
  259. package/dist/backend/ai/session-manager.js +304 -0
  260. package/dist/backend/ai/session-manager.js.map +1 -0
  261. package/dist/backend/auth/jwt.d.ts +16 -0
  262. package/dist/backend/auth/jwt.d.ts.map +1 -0
  263. package/dist/backend/auth/jwt.js +57 -0
  264. package/dist/backend/auth/jwt.js.map +1 -0
  265. package/dist/backend/auth/password.d.ts +10 -0
  266. package/dist/backend/auth/password.d.ts.map +1 -0
  267. package/dist/backend/auth/password.js +19 -0
  268. package/dist/backend/auth/password.js.map +1 -0
  269. package/dist/backend/auth/rbac.d.ts +36 -0
  270. package/dist/backend/auth/rbac.d.ts.map +1 -0
  271. package/dist/backend/auth/rbac.js +129 -0
  272. package/dist/backend/auth/rbac.js.map +1 -0
  273. package/dist/backend/auth/request-context.d.ts +15 -0
  274. package/dist/backend/auth/request-context.d.ts.map +1 -0
  275. package/dist/backend/auth/request-context.js +17 -0
  276. package/dist/backend/auth/request-context.js.map +1 -0
  277. package/dist/backend/auth/service-token.d.ts +11 -0
  278. package/dist/backend/auth/service-token.d.ts.map +1 -0
  279. package/dist/backend/auth/service-token.js +13 -0
  280. package/dist/backend/auth/service-token.js.map +1 -0
  281. package/dist/backend/auth/token-store.d.ts +28 -0
  282. package/dist/backend/auth/token-store.d.ts.map +1 -0
  283. package/dist/backend/auth/token-store.js +84 -0
  284. package/dist/backend/auth/token-store.js.map +1 -0
  285. package/dist/backend/auth/user-store.d.ts +42 -0
  286. package/dist/backend/auth/user-store.d.ts.map +1 -0
  287. package/dist/backend/auth/user-store.js +112 -0
  288. package/dist/backend/auth/user-store.js.map +1 -0
  289. package/dist/backend/events/event-bus.d.ts +39 -0
  290. package/dist/backend/events/event-bus.d.ts.map +1 -0
  291. package/dist/backend/events/event-bus.js +182 -0
  292. package/dist/backend/events/event-bus.js.map +1 -0
  293. package/dist/backend/events/event-emitting-adapter.d.ts +31 -0
  294. package/dist/backend/events/event-emitting-adapter.d.ts.map +1 -0
  295. package/dist/backend/events/event-emitting-adapter.js +70 -0
  296. package/dist/backend/events/event-emitting-adapter.js.map +1 -0
  297. package/dist/backend/events/event-registry.d.ts +24 -0
  298. package/dist/backend/events/event-registry.d.ts.map +1 -0
  299. package/dist/backend/events/event-registry.js +22 -0
  300. package/dist/backend/events/event-registry.js.map +1 -0
  301. package/dist/backend/events/index.d.ts +7 -0
  302. package/dist/backend/events/index.d.ts.map +1 -0
  303. package/dist/backend/events/index.js +7 -0
  304. package/dist/backend/events/index.js.map +1 -0
  305. package/dist/backend/index.d.ts +88 -0
  306. package/dist/backend/index.d.ts.map +1 -0
  307. package/dist/backend/index.js +422 -0
  308. package/dist/backend/index.js.map +1 -0
  309. package/dist/backend/loom-paths.d.ts +28 -0
  310. package/dist/backend/loom-paths.d.ts.map +1 -0
  311. package/dist/backend/loom-paths.js +45 -0
  312. package/dist/backend/loom-paths.js.map +1 -0
  313. package/dist/backend/notifications/interpolate.d.ts +6 -0
  314. package/dist/backend/notifications/interpolate.d.ts.map +1 -0
  315. package/dist/backend/notifications/interpolate.js +11 -0
  316. package/dist/backend/notifications/interpolate.js.map +1 -0
  317. package/dist/backend/notifications/notification-storage.d.ts +27 -0
  318. package/dist/backend/notifications/notification-storage.d.ts.map +1 -0
  319. package/dist/backend/notifications/notification-storage.js +160 -0
  320. package/dist/backend/notifications/notification-storage.js.map +1 -0
  321. package/dist/backend/observe/index.d.ts +6 -0
  322. package/dist/backend/observe/index.d.ts.map +1 -0
  323. package/dist/backend/observe/index.js +5 -0
  324. package/dist/backend/observe/index.js.map +1 -0
  325. package/dist/backend/observe/logger.d.ts +26 -0
  326. package/dist/backend/observe/logger.d.ts.map +1 -0
  327. package/dist/backend/observe/logger.js +68 -0
  328. package/dist/backend/observe/logger.js.map +1 -0
  329. package/dist/backend/observe/types.d.ts +26 -0
  330. package/dist/backend/observe/types.d.ts.map +1 -0
  331. package/dist/backend/observe/types.js +7 -0
  332. package/dist/backend/observe/types.js.map +1 -0
  333. package/dist/backend/process/engine.d.ts +105 -0
  334. package/dist/backend/process/engine.d.ts.map +1 -0
  335. package/dist/backend/process/engine.js +589 -0
  336. package/dist/backend/process/engine.js.map +1 -0
  337. package/dist/backend/process/index.d.ts +7 -0
  338. package/dist/backend/process/index.d.ts.map +1 -0
  339. package/dist/backend/process/index.js +6 -0
  340. package/dist/backend/process/index.js.map +1 -0
  341. package/dist/backend/process/logger.d.ts +32 -0
  342. package/dist/backend/process/logger.d.ts.map +1 -0
  343. package/dist/backend/process/logger.js +148 -0
  344. package/dist/backend/process/logger.js.map +1 -0
  345. package/dist/backend/process/metrics-store.d.ts +32 -0
  346. package/dist/backend/process/metrics-store.d.ts.map +1 -0
  347. package/dist/backend/process/metrics-store.js +108 -0
  348. package/dist/backend/process/metrics-store.js.map +1 -0
  349. package/dist/backend/process/migrate.d.ts +12 -0
  350. package/dist/backend/process/migrate.d.ts.map +1 -0
  351. package/dist/backend/process/migrate.js +145 -0
  352. package/dist/backend/process/migrate.js.map +1 -0
  353. package/dist/backend/process/queue.d.ts +33 -0
  354. package/dist/backend/process/queue.d.ts.map +1 -0
  355. package/dist/backend/process/queue.js +94 -0
  356. package/dist/backend/process/queue.js.map +1 -0
  357. package/dist/backend/process/registry.d.ts +29 -0
  358. package/dist/backend/process/registry.d.ts.map +1 -0
  359. package/dist/backend/process/registry.js +105 -0
  360. package/dist/backend/process/registry.js.map +1 -0
  361. package/dist/backend/process/trigger.d.ts +29 -0
  362. package/dist/backend/process/trigger.d.ts.map +1 -0
  363. package/dist/backend/process/trigger.js +108 -0
  364. package/dist/backend/process/trigger.js.map +1 -0
  365. package/dist/backend/routes/ai-config.d.ts +15 -0
  366. package/dist/backend/routes/ai-config.d.ts.map +1 -0
  367. package/dist/backend/routes/ai-config.js +171 -0
  368. package/dist/backend/routes/ai-config.js.map +1 -0
  369. package/dist/backend/routes/auth-routes.d.ts +33 -0
  370. package/dist/backend/routes/auth-routes.d.ts.map +1 -0
  371. package/dist/backend/routes/auth-routes.js +528 -0
  372. package/dist/backend/routes/auth-routes.js.map +1 -0
  373. package/dist/backend/routes/chat-sse.d.ts +17 -0
  374. package/dist/backend/routes/chat-sse.d.ts.map +1 -0
  375. package/dist/backend/routes/chat-sse.js +60 -0
  376. package/dist/backend/routes/chat-sse.js.map +1 -0
  377. package/dist/backend/routes/chat.d.ts +30 -0
  378. package/dist/backend/routes/chat.d.ts.map +1 -0
  379. package/dist/backend/routes/chat.js +258 -0
  380. package/dist/backend/routes/chat.js.map +1 -0
  381. package/dist/backend/routes/data.d.ts +16 -0
  382. package/dist/backend/routes/data.d.ts.map +1 -0
  383. package/dist/backend/routes/data.js +371 -0
  384. package/dist/backend/routes/data.js.map +1 -0
  385. package/dist/backend/routes/event-routes.d.ts +15 -0
  386. package/dist/backend/routes/event-routes.d.ts.map +1 -0
  387. package/dist/backend/routes/event-routes.js +35 -0
  388. package/dist/backend/routes/event-routes.js.map +1 -0
  389. package/dist/backend/routes/health.d.ts +7 -0
  390. package/dist/backend/routes/health.d.ts.map +1 -0
  391. package/dist/backend/routes/health.js +15 -0
  392. package/dist/backend/routes/health.js.map +1 -0
  393. package/dist/backend/routes/index.d.ts +22 -0
  394. package/dist/backend/routes/index.d.ts.map +1 -0
  395. package/dist/backend/routes/index.js +15 -0
  396. package/dist/backend/routes/index.js.map +1 -0
  397. package/dist/backend/routes/notification-routes.d.ts +22 -0
  398. package/dist/backend/routes/notification-routes.d.ts.map +1 -0
  399. package/dist/backend/routes/notification-routes.js +128 -0
  400. package/dist/backend/routes/notification-routes.js.map +1 -0
  401. package/dist/backend/routes/process-routes.d.ts +17 -0
  402. package/dist/backend/routes/process-routes.d.ts.map +1 -0
  403. package/dist/backend/routes/process-routes.js +303 -0
  404. package/dist/backend/routes/process-routes.js.map +1 -0
  405. package/dist/backend/routes/session-routes.d.ts +22 -0
  406. package/dist/backend/routes/session-routes.d.ts.map +1 -0
  407. package/dist/backend/routes/session-routes.js +97 -0
  408. package/dist/backend/routes/session-routes.js.map +1 -0
  409. package/dist/backend/routes/skill-archive.d.ts +13 -0
  410. package/dist/backend/routes/skill-archive.d.ts.map +1 -0
  411. package/dist/backend/routes/skill-archive.js +84 -0
  412. package/dist/backend/routes/skill-archive.js.map +1 -0
  413. package/dist/backend/routes/skill-parser.d.ts +41 -0
  414. package/dist/backend/routes/skill-parser.d.ts.map +1 -0
  415. package/dist/backend/routes/skill-parser.js +184 -0
  416. package/dist/backend/routes/skill-parser.js.map +1 -0
  417. package/dist/backend/routes/skill-service.d.ts +113 -0
  418. package/dist/backend/routes/skill-service.d.ts.map +1 -0
  419. package/dist/backend/routes/skill-service.js +265 -0
  420. package/dist/backend/routes/skill-service.js.map +1 -0
  421. package/dist/backend/routes/skills.d.ts +18 -0
  422. package/dist/backend/routes/skills.d.ts.map +1 -0
  423. package/dist/backend/routes/skills.js +168 -0
  424. package/dist/backend/routes/skills.js.map +1 -0
  425. package/dist/backend/routes/upload.d.ts +25 -0
  426. package/dist/backend/routes/upload.d.ts.map +1 -0
  427. package/dist/backend/routes/upload.js +100 -0
  428. package/dist/backend/routes/upload.js.map +1 -0
  429. package/dist/backend/services/skill-archive.d.ts +13 -0
  430. package/dist/backend/services/skill-archive.d.ts.map +1 -0
  431. package/dist/backend/services/skill-archive.js +84 -0
  432. package/dist/backend/services/skill-archive.js.map +1 -0
  433. package/dist/backend/services/skill-parser.d.ts +41 -0
  434. package/dist/backend/services/skill-parser.d.ts.map +1 -0
  435. package/dist/backend/services/skill-parser.js +184 -0
  436. package/dist/backend/services/skill-parser.js.map +1 -0
  437. package/dist/backend/services/skill-service.d.ts +113 -0
  438. package/dist/backend/services/skill-service.d.ts.map +1 -0
  439. package/dist/backend/services/skill-service.js +265 -0
  440. package/dist/backend/services/skill-service.js.map +1 -0
  441. package/dist/bin.d.ts +8 -0
  442. package/dist/bin.d.ts.map +1 -0
  443. package/dist/bin.js +12 -0
  444. package/dist/bin.js.map +1 -0
  445. package/dist/capability-generator.d.ts +21 -6
  446. package/dist/capability-generator.d.ts.map +1 -1
  447. package/dist/capability-generator.js +88 -261
  448. package/dist/capability-generator.js.map +1 -1
  449. package/dist/cli/commands/auth.d.ts +11 -0
  450. package/dist/cli/commands/auth.d.ts.map +1 -0
  451. package/dist/cli/commands/auth.js +211 -0
  452. package/dist/cli/commands/auth.js.map +1 -0
  453. package/dist/cli/commands/build.d.ts +11 -0
  454. package/dist/cli/commands/build.d.ts.map +1 -0
  455. package/dist/cli/commands/build.js +170 -0
  456. package/dist/cli/commands/build.js.map +1 -0
  457. package/dist/cli/commands/data.d.ts +15 -0
  458. package/dist/cli/commands/data.d.ts.map +1 -0
  459. package/dist/cli/commands/data.js +214 -0
  460. package/dist/cli/commands/data.js.map +1 -0
  461. package/dist/cli/commands/dev.d.ts +8 -0
  462. package/dist/cli/commands/dev.d.ts.map +1 -0
  463. package/dist/cli/commands/dev.js +97 -0
  464. package/dist/cli/commands/dev.js.map +1 -0
  465. package/dist/cli/commands/eject.d.ts +12 -0
  466. package/dist/cli/commands/eject.d.ts.map +1 -0
  467. package/dist/cli/commands/eject.js +451 -0
  468. package/dist/cli/commands/eject.js.map +1 -0
  469. package/dist/cli/commands/generate-capabilities.d.ts +8 -0
  470. package/dist/cli/commands/generate-capabilities.d.ts.map +1 -0
  471. package/dist/cli/commands/generate-capabilities.js +41 -0
  472. package/dist/cli/commands/generate-capabilities.js.map +1 -0
  473. package/dist/cli/commands/generate-cli-command.d.ts +8 -0
  474. package/dist/cli/commands/generate-cli-command.d.ts.map +1 -0
  475. package/dist/cli/commands/generate-cli-command.js +64 -0
  476. package/dist/cli/commands/generate-cli-command.js.map +1 -0
  477. package/dist/cli/commands/generate-dashboard.d.ts +9 -0
  478. package/dist/cli/commands/generate-dashboard.d.ts.map +1 -0
  479. package/dist/cli/commands/generate-dashboard.js +113 -0
  480. package/dist/cli/commands/generate-dashboard.js.map +1 -0
  481. package/dist/cli/commands/generate-notification.d.ts +9 -0
  482. package/dist/cli/commands/generate-notification.d.ts.map +1 -0
  483. package/dist/cli/commands/generate-notification.js +24 -0
  484. package/dist/cli/commands/generate-notification.js.map +1 -0
  485. package/dist/cli/commands/generate-page.d.ts +9 -0
  486. package/dist/cli/commands/generate-page.d.ts.map +1 -0
  487. package/dist/cli/commands/generate-page.js +105 -0
  488. package/dist/cli/commands/generate-page.js.map +1 -0
  489. package/dist/cli/commands/generate-skill.d.ts +8 -0
  490. package/dist/cli/commands/generate-skill.d.ts.map +1 -0
  491. package/dist/cli/commands/generate-skill.js +75 -0
  492. package/dist/cli/commands/generate-skill.js.map +1 -0
  493. package/dist/cli/commands/generate-system-settings.d.ts +10 -0
  494. package/dist/cli/commands/generate-system-settings.d.ts.map +1 -0
  495. package/dist/cli/commands/generate-system-settings.js +227 -0
  496. package/dist/cli/commands/generate-system-settings.js.map +1 -0
  497. package/dist/cli/commands/generate.d.ts +6 -0
  498. package/dist/cli/commands/generate.d.ts.map +1 -0
  499. package/dist/cli/commands/generate.js +21 -0
  500. package/dist/cli/commands/generate.js.map +1 -0
  501. package/dist/cli/commands/init.d.ts +8 -0
  502. package/dist/cli/commands/init.d.ts.map +1 -0
  503. package/dist/cli/commands/init.js +388 -0
  504. package/dist/cli/commands/init.js.map +1 -0
  505. package/dist/cli/commands/notification.d.ts +8 -0
  506. package/dist/cli/commands/notification.d.ts.map +1 -0
  507. package/dist/cli/commands/notification.js +175 -0
  508. package/dist/cli/commands/notification.js.map +1 -0
  509. package/dist/cli/commands/observe.d.ts +9 -0
  510. package/dist/cli/commands/observe.d.ts.map +1 -0
  511. package/dist/cli/commands/observe.js +142 -0
  512. package/dist/cli/commands/observe.js.map +1 -0
  513. package/dist/cli/commands/process.d.ts +8 -0
  514. package/dist/cli/commands/process.d.ts.map +1 -0
  515. package/dist/cli/commands/process.js +538 -0
  516. package/dist/cli/commands/process.js.map +1 -0
  517. package/dist/cli/commands/role.d.ts +12 -0
  518. package/dist/cli/commands/role.d.ts.map +1 -0
  519. package/dist/cli/commands/role.js +208 -0
  520. package/dist/cli/commands/role.js.map +1 -0
  521. package/dist/cli/commands/serve.d.ts +12 -0
  522. package/dist/cli/commands/serve.d.ts.map +1 -0
  523. package/dist/cli/commands/serve.js +43 -0
  524. package/dist/cli/commands/serve.js.map +1 -0
  525. package/dist/cli/commands/skill.d.ts +9 -0
  526. package/dist/cli/commands/skill.d.ts.map +1 -0
  527. package/dist/cli/commands/skill.js +186 -0
  528. package/dist/cli/commands/skill.js.map +1 -0
  529. package/dist/cli/commands/user-cmd.d.ts +9 -0
  530. package/dist/cli/commands/user-cmd.d.ts.map +1 -0
  531. package/dist/cli/commands/user-cmd.js +195 -0
  532. package/dist/cli/commands/user-cmd.js.map +1 -0
  533. package/dist/cli/framework.d.ts +28 -0
  534. package/dist/cli/framework.d.ts.map +1 -0
  535. package/dist/cli/framework.js +29 -0
  536. package/dist/cli/framework.js.map +1 -0
  537. package/dist/cli/generators/capability-generator.d.ts +35 -0
  538. package/dist/cli/generators/capability-generator.d.ts.map +1 -0
  539. package/dist/cli/generators/capability-generator.js +380 -0
  540. package/dist/cli/generators/capability-generator.js.map +1 -0
  541. package/dist/cli/helpers/app-tsx-wiring.d.ts +52 -0
  542. package/dist/cli/helpers/app-tsx-wiring.d.ts.map +1 -0
  543. package/dist/cli/helpers/app-tsx-wiring.js +732 -0
  544. package/dist/cli/helpers/app-tsx-wiring.js.map +1 -0
  545. package/dist/cli/helpers/auth-client.d.ts +19 -0
  546. package/dist/cli/helpers/auth-client.d.ts.map +1 -0
  547. package/dist/cli/helpers/auth-client.js +42 -0
  548. package/dist/cli/helpers/auth-client.js.map +1 -0
  549. package/dist/cli/helpers/backup.d.ts +16 -0
  550. package/dist/cli/helpers/backup.d.ts.map +1 -0
  551. package/dist/cli/helpers/backup.js +34 -0
  552. package/dist/cli/helpers/backup.js.map +1 -0
  553. package/dist/cli/helpers/column-template.d.ts +20 -0
  554. package/dist/cli/helpers/column-template.d.ts.map +1 -0
  555. package/dist/cli/helpers/column-template.js +158 -0
  556. package/dist/cli/helpers/column-template.js.map +1 -0
  557. package/dist/cli/helpers/duration.d.ts +5 -0
  558. package/dist/cli/helpers/duration.d.ts.map +1 -0
  559. package/dist/cli/helpers/duration.js +5 -0
  560. package/dist/cli/helpers/duration.js.map +1 -0
  561. package/dist/cli/helpers/field-template.d.ts +14 -0
  562. package/dist/cli/helpers/field-template.d.ts.map +1 -0
  563. package/dist/cli/helpers/field-template.js +113 -0
  564. package/dist/cli/helpers/field-template.js.map +1 -0
  565. package/dist/cli/helpers/i18n-template.d.ts +21 -0
  566. package/dist/cli/helpers/i18n-template.d.ts.map +1 -0
  567. package/dist/cli/helpers/i18n-template.js +69 -0
  568. package/dist/cli/helpers/i18n-template.js.map +1 -0
  569. package/dist/cli/helpers/naming.d.ts +11 -0
  570. package/dist/cli/helpers/naming.d.ts.map +1 -0
  571. package/dist/cli/helpers/naming.js +21 -0
  572. package/dist/cli/helpers/naming.js.map +1 -0
  573. package/dist/cli/index.d.ts +9 -0
  574. package/dist/cli/index.d.ts.map +1 -0
  575. package/dist/cli/index.js +45 -0
  576. package/dist/cli/index.js.map +1 -0
  577. package/dist/cli/lib/credentials.d.ts +27 -0
  578. package/dist/cli/lib/credentials.d.ts.map +1 -0
  579. package/dist/cli/lib/credentials.js +112 -0
  580. package/dist/cli/lib/credentials.js.map +1 -0
  581. package/dist/cli/templates/auth-wiring.d.ts +17 -0
  582. package/dist/cli/templates/auth-wiring.d.ts.map +1 -0
  583. package/dist/cli/templates/auth-wiring.js +31 -0
  584. package/dist/cli/templates/auth-wiring.js.map +1 -0
  585. package/dist/cli/templates/backend-entry.d.ts +5 -0
  586. package/dist/cli/templates/backend-entry.d.ts.map +1 -0
  587. package/dist/cli/templates/backend-entry.js +17 -0
  588. package/dist/cli/templates/backend-entry.js.map +1 -0
  589. package/dist/cli/templates/claude-md.d.ts +20 -0
  590. package/dist/cli/templates/claude-md.d.ts.map +1 -0
  591. package/dist/cli/templates/claude-md.js +123 -0
  592. package/dist/cli/templates/claude-md.js.map +1 -0
  593. package/dist/cli/templates/crud-page.d.ts +14 -0
  594. package/dist/cli/templates/crud-page.d.ts.map +1 -0
  595. package/dist/cli/templates/crud-page.js +430 -0
  596. package/dist/cli/templates/crud-page.js.map +1 -0
  597. package/dist/cli/templates/dashboard-page.d.ts +11 -0
  598. package/dist/cli/templates/dashboard-page.d.ts.map +1 -0
  599. package/dist/cli/templates/dashboard-page.js +464 -0
  600. package/dist/cli/templates/dashboard-page.js.map +1 -0
  601. package/dist/cli/templates/frontend-entry.d.ts +11 -0
  602. package/dist/cli/templates/frontend-entry.d.ts.map +1 -0
  603. package/dist/cli/templates/frontend-entry.js +94 -0
  604. package/dist/cli/templates/frontend-entry.js.map +1 -0
  605. package/dist/cli/templates/gitignore.d.ts +5 -0
  606. package/dist/cli/templates/gitignore.d.ts.map +1 -0
  607. package/dist/cli/templates/gitignore.js +13 -0
  608. package/dist/cli/templates/gitignore.js.map +1 -0
  609. package/dist/cli/templates/index.d.ts +21 -0
  610. package/dist/cli/templates/index.d.ts.map +1 -0
  611. package/dist/cli/templates/index.js +21 -0
  612. package/dist/cli/templates/index.js.map +1 -0
  613. package/dist/cli/templates/login-page.d.ts +9 -0
  614. package/dist/cli/templates/login-page.d.ts.map +1 -0
  615. package/dist/cli/templates/login-page.js +75 -0
  616. package/dist/cli/templates/login-page.js.map +1 -0
  617. package/dist/cli/templates/loom-config.d.ts +13 -0
  618. package/dist/cli/templates/loom-config.d.ts.map +1 -0
  619. package/dist/cli/templates/loom-config.js +61 -0
  620. package/dist/cli/templates/loom-config.js.map +1 -0
  621. package/dist/cli/templates/model-management-page.d.ts +9 -0
  622. package/dist/cli/templates/model-management-page.d.ts.map +1 -0
  623. package/dist/cli/templates/model-management-page.js +299 -0
  624. package/dist/cli/templates/model-management-page.js.map +1 -0
  625. package/dist/cli/templates/notification-center-page.d.ts +9 -0
  626. package/dist/cli/templates/notification-center-page.d.ts.map +1 -0
  627. package/dist/cli/templates/notification-center-page.js +258 -0
  628. package/dist/cli/templates/notification-center-page.js.map +1 -0
  629. package/dist/cli/templates/notification-detail-page.d.ts +9 -0
  630. package/dist/cli/templates/notification-detail-page.d.ts.map +1 -0
  631. package/dist/cli/templates/notification-detail-page.js +102 -0
  632. package/dist/cli/templates/notification-detail-page.js.map +1 -0
  633. package/dist/cli/templates/package-json.d.ts +9 -0
  634. package/dist/cli/templates/package-json.d.ts.map +1 -0
  635. package/dist/cli/templates/package-json.js +41 -0
  636. package/dist/cli/templates/package-json.js.map +1 -0
  637. package/dist/cli/templates/process-management-page.d.ts +8 -0
  638. package/dist/cli/templates/process-management-page.d.ts.map +1 -0
  639. package/dist/cli/templates/process-management-page.js +902 -0
  640. package/dist/cli/templates/process-management-page.js.map +1 -0
  641. package/dist/cli/templates/readme.d.ts +9 -0
  642. package/dist/cli/templates/readme.d.ts.map +1 -0
  643. package/dist/cli/templates/readme.js +47 -0
  644. package/dist/cli/templates/readme.js.map +1 -0
  645. package/dist/cli/templates/skill-management-page.d.ts +9 -0
  646. package/dist/cli/templates/skill-management-page.d.ts.map +1 -0
  647. package/dist/cli/templates/skill-management-page.js +476 -0
  648. package/dist/cli/templates/skill-management-page.js.map +1 -0
  649. package/dist/cli/templates/system-settings-page.d.ts +10 -0
  650. package/dist/cli/templates/system-settings-page.d.ts.map +1 -0
  651. package/dist/cli/templates/system-settings-page.js +768 -0
  652. package/dist/cli/templates/system-settings-page.js.map +1 -0
  653. package/dist/cli/templates/tsconfig.d.ts +6 -0
  654. package/dist/cli/templates/tsconfig.d.ts.map +1 -0
  655. package/dist/cli/templates/tsconfig.js +41 -0
  656. package/dist/cli/templates/tsconfig.js.map +1 -0
  657. package/dist/cli/templates/user-management-page.d.ts +10 -0
  658. package/dist/cli/templates/user-management-page.d.ts.map +1 -0
  659. package/dist/cli/templates/user-management-page.js +495 -0
  660. package/dist/cli/templates/user-management-page.js.map +1 -0
  661. package/dist/cli/templates/vite-config.d.ts +5 -0
  662. package/dist/cli/templates/vite-config.d.ts.map +1 -0
  663. package/dist/cli/templates/vite-config.js +24 -0
  664. package/dist/cli/templates/vite-config.js.map +1 -0
  665. package/dist/cli/utils.d.ts +10 -0
  666. package/dist/cli/utils.d.ts.map +1 -0
  667. package/dist/cli/utils.js +31 -0
  668. package/dist/cli/utils.js.map +1 -0
  669. package/dist/commands.d.ts +1 -5
  670. package/dist/commands.d.ts.map +1 -1
  671. package/dist/commands.js +0 -11
  672. package/dist/commands.js.map +1 -1
  673. package/dist/config.d.ts +1175 -93
  674. package/dist/config.d.ts.map +1 -1
  675. package/dist/config.js +136 -15
  676. package/dist/config.js.map +1 -1
  677. package/dist/dashboard-config.d.ts +149 -0
  678. package/dist/dashboard-config.d.ts.map +1 -0
  679. package/dist/dashboard-config.js +40 -0
  680. package/dist/dashboard-config.js.map +1 -0
  681. package/dist/index.d.ts +23 -9
  682. package/dist/index.d.ts.map +1 -1
  683. package/dist/index.js +20 -5
  684. package/dist/index.js.map +1 -1
  685. package/dist/server-bin.d.ts +12 -0
  686. package/dist/server-bin.d.ts.map +1 -0
  687. package/dist/server-bin.js +43 -0
  688. package/dist/server-bin.js.map +1 -0
  689. package/dist/system-prompt.d.ts +20 -0
  690. package/dist/system-prompt.d.ts.map +1 -0
  691. package/dist/system-prompt.js +140 -0
  692. package/dist/system-prompt.js.map +1 -0
  693. package/dist/types/adapter.d.ts +30 -0
  694. package/dist/types/adapter.d.ts.map +1 -0
  695. package/dist/types/adapter.js +5 -0
  696. package/dist/types/adapter.js.map +1 -0
  697. package/dist/types/ai.d.ts +74 -0
  698. package/dist/types/ai.d.ts.map +1 -0
  699. package/dist/types/ai.js +5 -0
  700. package/dist/types/ai.js.map +1 -0
  701. package/dist/types/auth.d.ts +62 -0
  702. package/dist/types/auth.d.ts.map +1 -0
  703. package/dist/types/auth.js +5 -0
  704. package/dist/types/auth.js.map +1 -0
  705. package/dist/types/chat.d.ts +47 -0
  706. package/dist/types/chat.d.ts.map +1 -0
  707. package/dist/types/chat.js +8 -0
  708. package/dist/types/chat.js.map +1 -0
  709. package/dist/types/command.d.ts +25 -0
  710. package/dist/types/command.d.ts.map +1 -0
  711. package/dist/types/command.js +5 -0
  712. package/dist/types/command.js.map +1 -0
  713. package/dist/types/config.d.ts +65 -0
  714. package/dist/types/config.d.ts.map +1 -0
  715. package/dist/types/config.js +5 -0
  716. package/dist/types/config.js.map +1 -0
  717. package/dist/types/dashboard.d.ts +59 -0
  718. package/dist/types/dashboard.d.ts.map +1 -0
  719. package/dist/types/dashboard.js +5 -0
  720. package/dist/types/dashboard.js.map +1 -0
  721. package/dist/types/event.d.ts +101 -0
  722. package/dist/types/event.d.ts.map +1 -0
  723. package/dist/types/event.js +38 -0
  724. package/dist/types/event.js.map +1 -0
  725. package/dist/types/index.d.ts +21 -0
  726. package/dist/types/index.d.ts.map +1 -0
  727. package/dist/types/index.js +9 -0
  728. package/dist/types/index.js.map +1 -0
  729. package/dist/types/locale.d.ts +21 -0
  730. package/dist/types/locale.d.ts.map +1 -0
  731. package/dist/types/locale.js +36 -0
  732. package/dist/types/locale.js.map +1 -0
  733. package/dist/types/model.d.ts +69 -0
  734. package/dist/types/model.d.ts.map +1 -0
  735. package/dist/types/model.js +5 -0
  736. package/dist/types/model.js.map +1 -0
  737. package/dist/types/notification.d.ts +31 -0
  738. package/dist/types/notification.d.ts.map +1 -0
  739. package/dist/types/notification.js +5 -0
  740. package/dist/types/notification.js.map +1 -0
  741. package/dist/types/process.d.ts +148 -0
  742. package/dist/types/process.d.ts.map +1 -0
  743. package/dist/types/process.js +5 -0
  744. package/dist/types/process.js.map +1 -0
  745. package/dist/types.d.ts +4 -199
  746. package/dist/types.d.ts.map +1 -1
  747. package/dist/types.js +4 -3
  748. package/dist/types.js.map +1 -1
  749. package/dist/utils/duration.d.ts +8 -0
  750. package/dist/utils/duration.d.ts.map +1 -0
  751. package/dist/utils/duration.js +22 -0
  752. package/dist/utils/duration.js.map +1 -0
  753. package/dist/utils/id.d.ts +7 -0
  754. package/dist/utils/id.d.ts.map +1 -0
  755. package/dist/utils/id.js +9 -0
  756. package/dist/utils/id.js.map +1 -0
  757. package/package.json +24 -3
@@ -0,0 +1,258 @@
1
+ /**
2
+ * NotificationCenter page template
3
+ *
4
+ * Generates NotificationCenterPage as a local source file.
5
+ * Page imports sub-components from @loom-framework/frontend-antd and
6
+ * registers its own i18n keys via registerMessages().
7
+ */
8
+ export function notificationCenterPageTemplate() {
9
+ return `import React, { useState, useCallback } from 'react';
10
+ import { Table, Button, Space, Tag, Typography, Popconfirm, Select, message, Breadcrumb, Flex } from 'antd';
11
+ import { CheckOutlined, DeleteOutlined, HomeOutlined } from '@ant-design/icons';
12
+ import { useNotificationCenter, useAppShell, useLocale, registerMessages } from '@loom-framework/frontend-antd';
13
+
14
+ registerMessages('zh-CN', {
15
+ 'notification.markRead': '已读',
16
+ 'notification.markAllRead': '全部已读',
17
+ 'notification.batchMarkRead': '批量已读',
18
+ 'notification.batchDelete': '批量删除',
19
+ 'notification.colType': '类型',
20
+ 'notification.colTitle': '标题',
21
+ 'notification.colDescription': '描述',
22
+ 'notification.colSource': '来源',
23
+ 'notification.backToList': '返回列表',
24
+ 'notification.notFound': '通知不存在或已被删除',
25
+ 'notification.clearAll': '清空所有',
26
+ 'notification.clearConfirm': '确认清空所有通知?',
27
+ 'notification.deleteConfirm': '确认删除该通知?',
28
+ 'notification.unread': '未读',
29
+ 'notification.all': '全部',
30
+ 'notification.type.info': '信息',
31
+ 'notification.type.warning': '警告',
32
+ 'notification.type.error': '错误',
33
+ 'notification.type.success': '成功',
34
+ 'notification.source.system': '系统',
35
+ 'notification.source.event': '事件',
36
+ 'notification.source.cli': '命令行',
37
+ });
38
+
39
+ registerMessages('en-US', {
40
+ 'notification.markRead': 'Mark read',
41
+ 'notification.markAllRead': 'Mark all read',
42
+ 'notification.batchMarkRead': 'Batch mark read',
43
+ 'notification.batchDelete': 'Batch delete',
44
+ 'notification.colType': 'Type',
45
+ 'notification.colTitle': 'Title',
46
+ 'notification.colDescription': 'Description',
47
+ 'notification.colSource': 'Source',
48
+ 'notification.backToList': 'Back to list',
49
+ 'notification.notFound': 'Notification not found or has been deleted',
50
+ 'notification.clearAll': 'Clear all',
51
+ 'notification.clearConfirm': 'Clear all notifications?',
52
+ 'notification.deleteConfirm': 'Delete this notification?',
53
+ 'notification.unread': 'Unread',
54
+ 'notification.all': 'All',
55
+ 'notification.type.info': 'Info',
56
+ 'notification.type.warning': 'Warning',
57
+ 'notification.type.error': 'Error',
58
+ 'notification.type.success': 'Success',
59
+ 'notification.source.system': 'System',
60
+ 'notification.source.event': 'Event',
61
+ 'notification.source.cli': 'CLI',
62
+ });
63
+
64
+ const NOTIFICATION_TYPE_COLORS: Record<string, string> = {
65
+ info: 'blue',
66
+ warning: 'orange',
67
+ error: 'red',
68
+ success: 'green',
69
+ };
70
+
71
+ const NOTIFICATION_SOURCE_COLORS: Record<string, string> = {
72
+ system: 'default',
73
+ event: 'purple',
74
+ cli: 'cyan',
75
+ };
76
+
77
+ export default function NotificationCenterPage() {
78
+ const { notifications, loading, fetchNotifications, markRead, markAllRead, deleteNotification, clearAll, markBatchRead, deleteBatch, selectNotification } = useNotificationCenter();
79
+ const { breadcrumbs, onNavClick } = useAppShell();
80
+ const { t } = useLocale();
81
+ const [filter, setFilter] = useState<string>('all');
82
+ const [selectedRowKeys, setSelectedRowKeys] = useState<React.Key[]>([]);
83
+
84
+ const handleFilterChange = useCallback((value: string) => {
85
+ setFilter(value);
86
+ if (value === 'unread') {
87
+ fetchNotifications({ limit: 50, unreadOnly: true });
88
+ } else {
89
+ fetchNotifications({ limit: 50 });
90
+ }
91
+ }, [fetchNotifications]);
92
+
93
+ const handleMarkAllRead = useCallback(async () => {
94
+ await markAllRead();
95
+ message.success(t('notification.markAllRead'));
96
+ }, [markAllRead, t]);
97
+
98
+ const handleBatchMarkRead = useCallback(async () => {
99
+ const ids = selectedRowKeys as string[];
100
+ await markBatchRead(ids);
101
+ setSelectedRowKeys([]);
102
+ message.success(t('notification.batchMarkRead'));
103
+ }, [markBatchRead, selectedRowKeys, t]);
104
+
105
+ const handleBatchDelete = useCallback(async () => {
106
+ const ids = selectedRowKeys as string[];
107
+ await deleteBatch(ids);
108
+ setSelectedRowKeys([]);
109
+ message.success(t('notification.batchDelete'));
110
+ }, [deleteBatch, selectedRowKeys, t]);
111
+
112
+ const handleClearAll = useCallback(async () => {
113
+ await clearAll();
114
+ setSelectedRowKeys([]);
115
+ message.success(t('notification.clearAll'));
116
+ }, [clearAll, t]);
117
+
118
+ const handleMarkRead = useCallback(async (id: string) => {
119
+ await markRead(id);
120
+ }, [markRead]);
121
+
122
+ const handleDelete = useCallback(async (id: string) => {
123
+ await deleteNotification(id);
124
+ }, [deleteNotification]);
125
+
126
+ const columns = [
127
+ {
128
+ title: t('notification.colType'),
129
+ dataIndex: 'type',
130
+ key: 'type',
131
+ width: 80,
132
+ render: (type: string) => <Tag color={NOTIFICATION_TYPE_COLORS[type] || 'default'}>{t(\`notification.type.\${type}\`)}</Tag>,
133
+ },
134
+ {
135
+ title: t('notification.colTitle'),
136
+ dataIndex: 'title',
137
+ key: 'title',
138
+ render: (title: string, record: { read: boolean }) => (
139
+ <Typography.Text strong={!record.read}>{title}</Typography.Text>
140
+ ),
141
+ },
142
+ {
143
+ title: t('notification.colDescription'),
144
+ dataIndex: 'description',
145
+ key: 'description',
146
+ ellipsis: true,
147
+ render: (desc: string) => (
148
+ <Typography.Text type="secondary" ellipsis>{desc}</Typography.Text>
149
+ ),
150
+ },
151
+ {
152
+ title: t('notification.colSource'),
153
+ dataIndex: 'source',
154
+ key: 'source',
155
+ width: 90,
156
+ render: (source: string) => <Tag color={NOTIFICATION_SOURCE_COLORS[source] || 'default'}>{t(\`notification.source.\${source}\`) || source}</Tag>,
157
+ },
158
+ {
159
+ title: t('field.createdAt'),
160
+ dataIndex: 'createdAt',
161
+ key: 'createdAt',
162
+ width: 140,
163
+ render: (val: string) => <Typography.Text type="secondary">{val ? new Date(val).toLocaleString() : '-'}</Typography.Text>,
164
+ },
165
+ {
166
+ title: t('common.action'),
167
+ key: 'action',
168
+ width: 100,
169
+ render: (_: unknown, record: { id: string; read: boolean }) => (
170
+ <Space size={0}>
171
+ {!record.read && (
172
+ <Button type="text" size="small" icon={<CheckOutlined />} onClick={(e) => { e.stopPropagation(); handleMarkRead(record.id); }}>
173
+ {t('notification.markRead')}
174
+ </Button>
175
+ )}
176
+ <Popconfirm
177
+ title={t('notification.deleteConfirm')}
178
+ onConfirm={() => handleDelete(record.id)}
179
+ >
180
+ <Button type="text" danger size="small" icon={<DeleteOutlined />} onClick={(e) => e.stopPropagation()} />
181
+ </Popconfirm>
182
+ </Space>
183
+ ),
184
+ },
185
+ ];
186
+
187
+ const filterOptions = [
188
+ { value: 'all', label: t('notification.all') },
189
+ { value: 'unread', label: t('notification.unread') },
190
+ { value: 'info', label: t('notification.type.info') },
191
+ { value: 'warning', label: t('notification.type.warning') },
192
+ { value: 'error', label: t('notification.type.error') },
193
+ { value: 'success', label: t('notification.type.success') },
194
+ ];
195
+
196
+ const filteredNotifications = filter === 'all' || filter === 'unread'
197
+ ? notifications
198
+ : notifications.filter(n => n.type === filter);
199
+
200
+ const hasSelected = selectedRowKeys.length > 0;
201
+
202
+ return (
203
+ <div style={{ display: 'flex', flexDirection: 'column', flex: 1, minHeight: 0 }}>
204
+ <Flex justify="space-between" align="center" style={{ marginBottom: 12 }}>
205
+ <Breadcrumb items={[{ title: <HomeOutlined onClick={() => onNavClick?.('')} style={{ cursor: 'pointer' }} /> }, ...(breadcrumbs || []).map((b: { title: string; path?: string }) => ({ title: b.path ? <a onClick={() => { if (b.path) onNavClick?.(b.path); }}>{b.title}</a> : b.title }))]} />
206
+ <Space>
207
+ <Select
208
+ value={filter}
209
+ onChange={handleFilterChange}
210
+ options={filterOptions}
211
+ style={{ width: 120 }}
212
+ />
213
+ <Button icon={<CheckOutlined />} onClick={handleMarkAllRead}>{t('notification.markAllRead')}</Button>
214
+ <Popconfirm title={t('notification.clearConfirm')} onConfirm={handleClearAll}>
215
+ <Button danger>{t('notification.clearAll')}</Button>
216
+ </Popconfirm>
217
+ {hasSelected && (
218
+ <>
219
+ <Button icon={<CheckOutlined />} onClick={handleBatchMarkRead}>
220
+ {t('notification.batchMarkRead')} ({selectedRowKeys.length})
221
+ </Button>
222
+ <Popconfirm title={t('notification.deleteConfirm')} onConfirm={handleBatchDelete}>
223
+ <Button danger icon={<DeleteOutlined />}>
224
+ {t('notification.batchDelete')} ({selectedRowKeys.length})
225
+ </Button>
226
+ </Popconfirm>
227
+ </>
228
+ )}
229
+ </Space>
230
+ </Flex>
231
+ <div style={{ flex: 1, minHeight: 0, overflow: 'hidden' }}>
232
+ <Table
233
+ dataSource={filteredNotifications}
234
+ columns={columns}
235
+ rowKey="id"
236
+ loading={loading}
237
+ pagination={{ pageSize: 20, showTotal: (total: number) => t('crud.total', { total }) }}
238
+ size="middle"
239
+ scroll={{ x: 'max-content' }}
240
+ rowSelection={{
241
+ selectedRowKeys,
242
+ onChange: (keys) => setSelectedRowKeys(keys),
243
+ }}
244
+ onRow={(record) => ({
245
+ onClick: () => {
246
+ selectNotification(record.id);
247
+ onNavClick?.('notification-detail');
248
+ },
249
+ style: { cursor: 'pointer' },
250
+ })}
251
+ />
252
+ </div>
253
+ </div>
254
+ );
255
+ }
256
+ `;
257
+ }
258
+ //# sourceMappingURL=notification-center-page.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-center-page.js","sourceRoot":"","sources":["../../../src/cli/templates/notification-center-page.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,UAAU,8BAA8B;IAC5C,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuPR,CAAC;AACF,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * NotificationDetail page template
3
+ *
4
+ * Generates NotificationDetailPage as a local source file.
5
+ * Page imports sub-components from @loom-framework/frontend-antd and
6
+ * registers its own i18n keys via registerMessages().
7
+ */
8
+ export declare function notificationDetailPageTemplate(): string;
9
+ //# sourceMappingURL=notification-detail-page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-detail-page.d.ts","sourceRoot":"","sources":["../../../src/cli/templates/notification-detail-page.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,wBAAgB,8BAA8B,IAAI,MAAM,CA6FvD"}
@@ -0,0 +1,102 @@
1
+ /**
2
+ * NotificationDetail page template
3
+ *
4
+ * Generates NotificationDetailPage as a local source file.
5
+ * Page imports sub-components from @loom-framework/frontend-antd and
6
+ * registers its own i18n keys via registerMessages().
7
+ */
8
+ export function notificationDetailPageTemplate() {
9
+ return `import React from 'react';
10
+ import { Tag, Typography, Empty, Breadcrumb, Button, Space, Flex } from 'antd';
11
+ import { ArrowLeftOutlined, HomeOutlined } from '@ant-design/icons';
12
+ import { XMarkdown } from '@ant-design/x-markdown';
13
+ import '@ant-design/x-markdown/themes/light.css';
14
+ import '@ant-design/x-markdown/themes/dark.css';
15
+ import { useNotificationCenter, useAppShell, useLocale, useLoomTheme, registerMessages } from '@loom-framework/frontend-antd';
16
+
17
+ registerMessages('zh-CN', {
18
+ 'notification.backToList': '返回列表',
19
+ 'notification.notFound': '通知不存在或已被删除',
20
+ 'notification.type.info': '信息',
21
+ 'notification.type.warning': '警告',
22
+ 'notification.type.error': '错误',
23
+ 'notification.type.success': '成功',
24
+ 'notification.source.system': '系统',
25
+ 'notification.source.event': '事件',
26
+ 'notification.source.cli': '命令行',
27
+ });
28
+
29
+ registerMessages('en-US', {
30
+ 'notification.backToList': 'Back to list',
31
+ 'notification.notFound': 'Notification not found or has been deleted',
32
+ 'notification.type.info': 'Info',
33
+ 'notification.type.warning': 'Warning',
34
+ 'notification.type.error': 'Error',
35
+ 'notification.type.success': 'Success',
36
+ 'notification.source.system': 'System',
37
+ 'notification.source.event': 'Event',
38
+ 'notification.source.cli': 'CLI',
39
+ });
40
+
41
+ const NOTIFICATION_TYPE_COLORS: Record<string, string> = {
42
+ info: 'blue',
43
+ warning: 'orange',
44
+ error: 'red',
45
+ success: 'green',
46
+ };
47
+
48
+ const NOTIFICATION_SOURCE_COLORS: Record<string, string> = {
49
+ system: 'default',
50
+ event: 'purple',
51
+ cli: 'cyan',
52
+ };
53
+
54
+ export default function NotificationDetailPage() {
55
+ const { notifications, selectedNotificationId } = useNotificationCenter();
56
+ const { breadcrumbs, onNavClick } = useAppShell();
57
+ const { t } = useLocale();
58
+ const { mode } = useLoomTheme();
59
+
60
+ const notification = notifications.find(n => n.id === selectedNotificationId) ?? null;
61
+
62
+ const themeClass = mode === 'dark' ? 'x-markdown-dark' : 'x-markdown-light';
63
+
64
+ if (!notification) {
65
+ return (
66
+ <div style={{ display: 'flex', flexDirection: 'column', flex: 1, minHeight: 0 }}>
67
+ <Empty description={t('notification.notFound')}>
68
+ <Button type="primary" onClick={() => onNavClick?.('notifications')}>
69
+ <ArrowLeftOutlined /> {t('notification.backToList')}
70
+ </Button>
71
+ </Empty>
72
+ </div>
73
+ );
74
+ }
75
+
76
+ return (
77
+ <div style={{ display: 'flex', flexDirection: 'column', flex: 1, minHeight: 0 }}>
78
+ <Flex justify="space-between" align="center" style={{ marginBottom: 12 }}>
79
+ <Breadcrumb items={[{ title: <HomeOutlined onClick={() => onNavClick?.('')} style={{ cursor: 'pointer' }} /> }, ...(breadcrumbs || []).map((b: { title: string; path?: string }) => ({ title: b.path ? <a onClick={() => { if (b.path) onNavClick?.(b.path); }}>{b.title}</a> : b.title }))]} />
80
+ <Button icon={<ArrowLeftOutlined />} onClick={() => onNavClick?.('notifications')}>
81
+ {t('notification.backToList')}
82
+ </Button>
83
+ </Flex>
84
+
85
+ <div style={{ marginBottom: 16 }}>
86
+ <Space size={8} align="center" style={{ marginBottom: 8 }}>
87
+ <Tag color={NOTIFICATION_TYPE_COLORS[notification.type]}>{t(\`notification.type.\${notification.type}\`)}</Tag>
88
+ <Tag color={NOTIFICATION_SOURCE_COLORS[notification.source] || 'default'}>{t(\`notification.source.\${notification.source}\`) || notification.source}</Tag>
89
+ <Typography.Text type="secondary">{notification.createdAt ? new Date(notification.createdAt).toLocaleString() : '-'}</Typography.Text>
90
+ </Space>
91
+ <Typography.Title level={4} style={{ marginBottom: 8 }}>{notification.title}</Typography.Title>
92
+ </div>
93
+
94
+ <div className={themeClass} style={{ flex: 1, overflow: 'auto' }}>
95
+ <XMarkdown content={notification.description || ''} />
96
+ </div>
97
+ </div>
98
+ );
99
+ }
100
+ `;
101
+ }
102
+ //# sourceMappingURL=notification-detail-page.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-detail-page.js","sourceRoot":"","sources":["../../../src/cli/templates/notification-detail-page.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,UAAU,8BAA8B;IAC5C,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2FR,CAAC;AACF,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * package.json template
3
+ */
4
+ export interface PackageJsonTemplateOptions {
5
+ name: string;
6
+ version: string;
7
+ }
8
+ export declare function createPackageJson(options: PackageJsonTemplateOptions): object;
9
+ //# sourceMappingURL=package-json.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package-json.d.ts","sourceRoot":"","sources":["../../../src/cli/templates/package-json.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,0BAA0B,GAAG,MAAM,CAoC7E"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * package.json template
3
+ */
4
+ export function createPackageJson(options) {
5
+ return {
6
+ name: options.name,
7
+ version: '0.1.0',
8
+ type: 'module',
9
+ scripts: {
10
+ dev: 'loom dev',
11
+ build: 'loom build',
12
+ generate: 'loom generate capabilities',
13
+ },
14
+ dependencies: {
15
+ '@loom-framework/core': `^${options.version}`,
16
+ '@loom-framework/frontend-antd': `^${options.version}`,
17
+ 'fastify': '^5.2.0',
18
+ '@ant-design/x': '^2.5.0',
19
+ '@ant-design/x-sdk': '^2.5.0',
20
+ '@ant-design/x-markdown': '^2.5.0',
21
+ '@ant-design/icons': '^6.1.1',
22
+ '@fastify/cors': '^10.0.0',
23
+ '@fastify/static': '^8.0.0',
24
+ 'react': '^19.0.0',
25
+ 'react-dom': '^19.0.0',
26
+ 'antd': '^6.3.5',
27
+ '@antv/g2': '^5.4.0',
28
+ 'dayjs': '^1.11.0',
29
+ },
30
+ devDependencies: {
31
+ 'typescript': '^5.6.0',
32
+ 'tsx': '^4.7.0',
33
+ 'vite': '^6.0.0',
34
+ '@types/node': '^22.0.0',
35
+ '@types/react': '^19.0.0',
36
+ '@types/react-dom': '^19.0.0',
37
+ '@vitejs/plugin-react': '^4.3.0',
38
+ },
39
+ };
40
+ }
41
+ //# sourceMappingURL=package-json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package-json.js","sourceRoot":"","sources":["../../../src/cli/templates/package-json.ts"],"names":[],"mappings":"AAAA;;GAEG;AAOH,MAAM,UAAU,iBAAiB,CAAC,OAAmC;IACnE,OAAO;QACL,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE;YACP,GAAG,EAAE,UAAU;YACf,KAAK,EAAE,YAAY;YACnB,QAAQ,EAAE,4BAA4B;SACvC;QACD,YAAY,EAAE;YACZ,sBAAsB,EAAE,IAAI,OAAO,CAAC,OAAO,EAAE;YAC7C,+BAA+B,EAAE,IAAI,OAAO,CAAC,OAAO,EAAE;YACtD,SAAS,EAAE,QAAQ;YACnB,eAAe,EAAE,QAAQ;YACzB,mBAAmB,EAAE,QAAQ;YAC7B,wBAAwB,EAAE,QAAQ;YAClC,mBAAmB,EAAE,QAAQ;YAC7B,eAAe,EAAE,SAAS;YAC1B,iBAAiB,EAAE,QAAQ;YAC3B,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,SAAS;YACtB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,SAAS;SACnB;QACD,eAAe,EAAE;YACf,YAAY,EAAE,QAAQ;YACtB,KAAK,EAAE,QAAQ;YACf,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,SAAS;YACxB,cAAc,EAAE,SAAS;YACzB,kBAAkB,EAAE,SAAS;YAC7B,sBAAsB,EAAE,QAAQ;SACjC;KACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * ProcessManagementPage Template
3
+ *
4
+ * Follows SkillManagementPage patterns: flex column layout, breadcrumb,
5
+ * theme tokens, showLine/blockNode tree, i18n, Card wrapper.
6
+ */
7
+ export declare function processManagementPageTemplate(): string;
8
+ //# sourceMappingURL=process-management-page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"process-management-page.d.ts","sourceRoot":"","sources":["../../../src/cli/templates/process-management-page.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,wBAAgB,6BAA6B,IAAI,MAAM,CA83BtD"}