@cplace/test-mcp-server 1.0.0 → 1.1.4

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 (637) hide show
  1. package/README.md +57 -36
  2. package/dist/api.d.ts.map +1 -1
  3. package/dist/api.js +7 -1
  4. package/dist/api.js.map +1 -1
  5. package/dist/conditional-registration.d.ts.map +1 -1
  6. package/dist/conditional-registration.js +7 -1
  7. package/dist/conditional-registration.js.map +1 -1
  8. package/dist/csvUtils.d.ts.map +1 -1
  9. package/dist/index.js +70 -5
  10. package/dist/index.js.map +1 -1
  11. package/dist/preference-file.d.ts +1 -1
  12. package/dist/preference-file.d.ts.map +1 -1
  13. package/dist/preference-file.js +1 -1
  14. package/dist/preference-file.js.map +1 -1
  15. package/dist/profiles.d.ts.map +1 -1
  16. package/dist/profiles.js +8 -4
  17. package/dist/profiles.js.map +1 -1
  18. package/dist/searchSchema.d.ts.map +1 -1
  19. package/dist/searchSchema.js +0 -10
  20. package/dist/searchSchema.js.map +1 -1
  21. package/dist/tool-metadata.d.ts.map +1 -1
  22. package/dist/tool-metadata.js +3 -1
  23. package/dist/tool-metadata.js.map +1 -1
  24. package/dist/tools/board-widget.d.ts +432 -0
  25. package/dist/tools/board-widget.d.ts.map +1 -0
  26. package/dist/tools/board-widget.js +810 -0
  27. package/dist/tools/board-widget.js.map +1 -0
  28. package/dist/tools/generic-layouts.d.ts +1 -1
  29. package/dist/tools/generic-layouts.d.ts.map +1 -1
  30. package/dist/tools/generic-layouts.js +28 -6
  31. package/dist/tools/generic-layouts.js.map +1 -1
  32. package/dist/tools/jobs.d.ts +32 -0
  33. package/dist/tools/jobs.d.ts.map +1 -0
  34. package/dist/tools/jobs.js +193 -0
  35. package/dist/tools/jobs.js.map +1 -0
  36. package/dist/tools/profile-management.d.ts.map +1 -1
  37. package/dist/tools/profile-management.js +1 -1
  38. package/dist/tools/profile-management.js.map +1 -1
  39. package/dist/tools/script.d.ts +25 -0
  40. package/dist/tools/script.d.ts.map +1 -0
  41. package/dist/tools/script.js +121 -0
  42. package/dist/tools/script.js.map +1 -0
  43. package/dist/tools/search.d.ts +1 -1
  44. package/dist/tools/search.js +1 -1
  45. package/dist/tools/search.js.map +1 -1
  46. package/dist/tools/type-management.d.ts +2 -2
  47. package/dist/tools/version-check.d.ts.map +1 -1
  48. package/dist/tools/version-check.js +13 -24
  49. package/dist/tools/version-check.js.map +1 -1
  50. package/dist/tools/widgets.d.ts +8 -5
  51. package/dist/tools/widgets.d.ts.map +1 -1
  52. package/dist/tools/widgets.js +123 -40
  53. package/dist/tools/widgets.js.map +1 -1
  54. package/dist/tools/workspace-admin.d.ts +11 -1
  55. package/dist/tools/workspace-admin.d.ts.map +1 -1
  56. package/dist/tools/workspace-admin.js +67 -8
  57. package/dist/tools/workspace-admin.js.map +1 -1
  58. package/dist/tools/workspace-core.d.ts +4 -1
  59. package/dist/tools/workspace-core.d.ts.map +1 -1
  60. package/dist/tools/workspace-core.js +38 -7
  61. package/dist/tools/workspace-core.js.map +1 -1
  62. package/dist/utils.d.ts +6 -0
  63. package/dist/utils.d.ts.map +1 -1
  64. package/dist/utils.js +108 -2
  65. package/dist/utils.js.map +1 -1
  66. package/dist/widget-specifications/CLAUDE.md +288 -0
  67. package/dist/widget-specifications/DOCUMENTATION-STATUS.md +424 -0
  68. package/dist/widget-specifications/GENERATING-FROM-RESEARCH.md +61 -0
  69. package/dist/widget-specifications/WIDGET-TAGGING-SCHEME.md +217 -0
  70. package/dist/widget-specifications/_research_from_ga_products/.claude-settings.local.json +48 -0
  71. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-api-common-config-metadata-SyncMetadataTable/research.md +168 -0
  72. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-breadcrumbs-breadcrumbsWidget/research.md +125 -0
  73. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-cboard-main-board/research.md +373 -0
  74. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-citizenAi-askYourPageWidget/research.md +319 -0
  75. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-cplaceReportGeneration-generateReportWidget/research.md +295 -0
  76. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-employeeReportChart/research.md +230 -0
  77. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-employeeReportGrid/research.md +215 -0
  78. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-projectmanagerReportChart/research.md +192 -0
  79. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-projectmanagerReportGrid/research.md +178 -0
  80. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-widget/research.md +332 -0
  81. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-demoWidgets-demoRichString/research.md +194 -0
  82. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-documentation-navigationWidget/research.md +426 -0
  83. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-dragAndDropImageView-imageWithTextAndListWidget/research.md +326 -0
  84. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-dragAndDropImageView-imageWithTextWidget/research.md +580 -0
  85. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-dragAndDropImageView-widget/research.md +281 -0
  86. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-draggablePageList-widget/research.md +210 -0
  87. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-dynamicCodeBlockWidget-dynamicCodeBlockWidget/research.md +250 -0
  88. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-attribute-conversion-widget-enumMappingTable/research.md +260 -0
  89. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-configuration-widget-attributeMappingTable/research.md +148 -0
  90. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-connector-extension-widget-cleanupConfigTable/research.md +138 -0
  91. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-connector-extension-widget-connectorSyncConfigsTable/research.md +150 -0
  92. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-connector-extension-widget-serverConnectionTable/research.md +181 -0
  93. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-extendedTreeTableWidget/research.md +253 -0
  94. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-horizontalDivider/research.md +261 -0
  95. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-startWizardWidget/research.md +211 -0
  96. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-stepEditorForWizardWidget/research.md +183 -0
  97. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-stepEditorWidget/research.md +298 -0
  98. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-stepManager/research.md +419 -0
  99. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-stepPreview/research.md +256 -0
  100. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-wizardActivation/research.md +174 -0
  101. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-wizardAnalysis/research.md +283 -0
  102. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-wizardLocalizations/research.md +193 -0
  103. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-genericInterface-api-widgets-triggerInterfaceButton/research.md +180 -0
  104. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-landingPageFromPage-quickOverview/research.md +186 -0
  105. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-landingPageFromPage-sessionUserNameWidget/research.md +158 -0
  106. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-landingPageFromPage-simpleListWithAttachment/research.md +135 -0
  107. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-layoutTabsWidget-widget/research.md +238 -0
  108. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-lowCodeWidgets-lowCodeButton/research.md +272 -0
  109. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-lowcode-ai-chatWidget/research.md +194 -0
  110. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-meeting-pageHeader/research.md +208 -0
  111. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-navigationTileWidget-widget/research.md +259 -0
  112. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-officeReports-headlineForReports/research.md +174 -0
  113. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-officeReports-scriptPlaceholders/research.md +233 -0
  114. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-officeReports-templatePlaceholders/research.md +150 -0
  115. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-orgaTree-edit/research.md +353 -0
  116. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-outlookMessageIntegration-outlookMessages/research.md +233 -0
  117. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-pageViewHeadline-widget/research.md +217 -0
  118. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-pdfPreview-widget/research.md +235 -0
  119. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-attributesGroup/research.md +525 -0
  120. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-batchJobQuickGlance/research.md +372 -0
  121. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-connectedAttributesGroup/research.md +408 -0
  122. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-dynamicIframe/research.md +198 -0
  123. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-tableWidget/research.md +427 -0
  124. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-pptexport-pgPreviewWidget/research.md +151 -0
  125. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-projectTree-editProjects/research.md +163 -0
  126. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-projektplanung-scheduleLockState/research.md +174 -0
  127. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-projektplanung-subscriptions/research.md +316 -0
  128. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-qrCodeWidget/research.md +130 -0
  129. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-resourceManagement-resourcePlannerDefinition/research.md +331 -0
  130. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-rest-config-widget-productionModeHintWidget/research.md +332 -0
  131. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-simpleCalendar-calendar/research.md +284 -0
  132. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-simpleForm-widget/research.md +193 -0
  133. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-tableDetailViewWidget-widget/research.md +311 -0
  134. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-treeTableWidget/research.md +420 -0
  135. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-tuplesWidget-widget/research.md +295 -0
  136. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-videoWidget/research.md +154 -0
  137. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-visualizations-scriptingHighcharts/research.md +249 -0
  138. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-visualizations-scriptingLineChart/research.md +279 -0
  139. package/dist/widget-specifications/_research_from_ga_products/cf-cplace-visualizations-tupleLineChart/research.md +221 -0
  140. package/dist/widget-specifications/_research_from_ga_products/cf-platform-attributeHistory/research.md +421 -0
  141. package/dist/widget-specifications/_research_from_ga_products/cf-platform-attributes/research.md +377 -0
  142. package/dist/widget-specifications/_research_from_ga_products/cf-platform-comments/research.md +254 -0
  143. package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedBarChart/research.md +275 -0
  144. package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedMatrix/research.md +396 -0
  145. package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedPieChart/research.md +150 -0
  146. package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedSingleAttribute/research.md +430 -0
  147. package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedTableFilter/research.md +468 -0
  148. package/dist/widget-specifications/_research_from_ga_products/cf-platform-customRichStringAttribute/research.md +120 -0
  149. package/dist/widget-specifications/_research_from_ga_products/cf-platform-embeddedSearchAsList/research.md +485 -0
  150. package/dist/widget-specifications/_research_from_ga_products/cf-platform-embeddedSearchAsTable/research.md +428 -0
  151. package/dist/widget-specifications/_research_from_ga_products/cf-platform-files/research.md +240 -0
  152. package/dist/widget-specifications/_research_from_ga_products/cf-platform-iframe/research.md +358 -0
  153. package/dist/widget-specifications/_research_from_ga_products/cf-platform-incomingLinks/research.md +242 -0
  154. package/dist/widget-specifications/_research_from_ga_products/cf-platform-incomingReferences/research.md +488 -0
  155. package/dist/widget-specifications/_research_from_ga_products/cf-platform-makeover-attributes/research.md +219 -0
  156. package/dist/widget-specifications/_research_from_ga_products/cf-platform-modificationInfo/research.md +141 -0
  157. package/dist/widget-specifications/_research_from_ga_products/cf-platform-myElements/research.md +116 -0
  158. package/dist/widget-specifications/_research_from_ga_products/cf-platform-richString/research.md +437 -0
  159. package/dist/widget-specifications/_research_from_ga_products/cf-platform-singleAttribute/research.md +1094 -0
  160. package/dist/widget-specifications/_research_from_ga_products/cf-platform-tags/research.md +332 -0
  161. package/dist/widget-specifications/_research_from_ga_products/cf-platform-wiki/research.md +258 -0
  162. package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-gantt/research.md +268 -0
  163. package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-ganttTaskDemo/research.md +271 -0
  164. package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-multiGantt/research.md +343 -0
  165. package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-scheduleTreeTable/research.md +261 -0
  166. package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-singleGantt/research.md +184 -0
  167. package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-singleGanttLink/research.md +188 -0
  168. package/dist/widget-specifications/_research_from_ga_products/de-2lforge-curves-widget/research.md +341 -0
  169. package/dist/widget-specifications/_research_from_ga_products/de-2lforge-toolbar-datePickerWidget/research.md +232 -0
  170. package/dist/widget-specifications/_research_from_ga_products/de-2lforge-toolbar-dropDownWidget/research.md +417 -0
  171. package/dist/widget-specifications/_research_from_ga_products/de-2lforge-toolbar-miscWidget/research.md +172 -0
  172. package/dist/widget-specifications/_research_from_ga_products/de-visualistik-visualRoadmap-widget/research.md +277 -0
  173. package/dist/widget-specifications/_research_from_ga_products/msg-scripts-imagegallery-basic/research.md +112 -0
  174. package/dist/widget-specifications/_research_from_ga_products/phase-0-discovery-approach.md +248 -0
  175. package/dist/widget-specifications/_research_from_ga_products/widget-definition-mapping.md +168 -0
  176. package/dist/widget-specifications/_research_from_ga_products/widget-documentation-project.md +259 -0
  177. package/dist/widget-specifications/_research_from_ga_products/widget-research-generation/generate.sh +100 -0
  178. package/dist/widget-specifications/_research_from_ga_products/widget-research-generation/parse-mapping.sh +35 -0
  179. package/dist/widget-specifications/_research_from_ga_products/widget-research-generation/template.md +38 -0
  180. package/dist/widget-specifications/_research_from_ga_products/widget-research-generation/widgets.txt +107 -0
  181. package/dist/widget-specifications/cf.cplace.api.common.config.metadata.SyncMetadataTable/_catalog-data.json +12 -0
  182. package/dist/widget-specifications/cf.cplace.api.common.config.metadata.SyncMetadataTable/_meta.json +11 -0
  183. package/dist/widget-specifications/cf.cplace.api.common.config.metadata.SyncMetadataTable/_overview.md +40 -0
  184. package/dist/widget-specifications/cf.cplace.api.common.config.metadata.SyncMetadataTable/_summary.md +1 -0
  185. package/dist/widget-specifications/cf.cplace.breadcrumbs.breadcrumbsWidget/_catalog-data.json +12 -0
  186. package/dist/widget-specifications/cf.cplace.breadcrumbs.breadcrumbsWidget/_meta.json +8 -0
  187. package/dist/widget-specifications/cf.cplace.breadcrumbs.breadcrumbsWidget/_overview.md +74 -0
  188. package/dist/widget-specifications/cf.cplace.breadcrumbs.breadcrumbsWidget/_summary.md +1 -0
  189. package/dist/widget-specifications/cf.cplace.cboard.main.board/_catalog-data.json +12 -0
  190. package/dist/widget-specifications/cf.cplace.cboard.main.board/_implementation.md +37 -0
  191. package/dist/widget-specifications/cf.cplace.cboard.main.board/_meta.json +11 -0
  192. package/dist/widget-specifications/cf.cplace.cboard.main.board/_overview.md +117 -0
  193. package/dist/widget-specifications/cf.cplace.cboard.main.board/_summary.md +1 -0
  194. package/dist/widget-specifications/cf.cplace.citizenAi.askYourPageWidget/_meta.json +3 -0
  195. package/dist/widget-specifications/cf.cplace.citizenAi.askYourPageWidget/_overview.md +123 -0
  196. package/dist/widget-specifications/cf.cplace.citizenAi.askYourPageWidget/_summary.md +1 -0
  197. package/dist/widget-specifications/cf.cplace.cplaceReportGeneration.generateReportWidget/_catalog-data.json +12 -0
  198. package/dist/widget-specifications/cf.cplace.cplaceReportGeneration.generateReportWidget/_meta.json +10 -0
  199. package/dist/widget-specifications/cf.cplace.cplaceReportGeneration.generateReportWidget/_overview.md +45 -0
  200. package/dist/widget-specifications/cf.cplace.cplaceReportGeneration.generateReportWidget/_summary.md +1 -0
  201. package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportChart/_catalog-data.json +12 -0
  202. package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportChart/_meta.json +11 -0
  203. package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportChart/_overview.md +79 -0
  204. package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportChart/_summary.md +1 -0
  205. package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportGrid/_catalog-data.json +12 -0
  206. package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportGrid/_meta.json +11 -0
  207. package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportGrid/_overview.md +45 -0
  208. package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportGrid/_summary.md +1 -0
  209. package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportChart/_catalog-data.json +12 -0
  210. package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportChart/_meta.json +11 -0
  211. package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportChart/_overview.md +68 -0
  212. package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportChart/_summary.md +1 -0
  213. package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportGrid/_catalog-data.json +12 -0
  214. package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportGrid/_meta.json +9 -0
  215. package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportGrid/_overview.md +45 -0
  216. package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportGrid/_summary.md +1 -0
  217. package/dist/widget-specifications/cf.cplace.ctts.main.widget/_catalog-data.json +12 -0
  218. package/dist/widget-specifications/cf.cplace.ctts.main.widget/_meta.json +11 -0
  219. package/dist/widget-specifications/cf.cplace.ctts.main.widget/_overview.md +157 -0
  220. package/dist/widget-specifications/cf.cplace.ctts.main.widget/_summary.md +1 -0
  221. package/dist/widget-specifications/cf.cplace.demoWidgets.demoRichString/_catalog-data.json +12 -0
  222. package/dist/widget-specifications/cf.cplace.demoWidgets.demoRichString/_meta.json +10 -0
  223. package/dist/widget-specifications/cf.cplace.demoWidgets.demoRichString/_overview.md +200 -0
  224. package/dist/widget-specifications/cf.cplace.demoWidgets.demoRichString/_summary.md +1 -0
  225. package/dist/widget-specifications/cf.cplace.documentation.navigationWidget/_catalog-data.json +12 -0
  226. package/dist/widget-specifications/cf.cplace.documentation.navigationWidget/_meta.json +10 -0
  227. package/dist/widget-specifications/cf.cplace.documentation.navigationWidget/_overview.md +27 -0
  228. package/dist/widget-specifications/cf.cplace.documentation.navigationWidget/_summary.md +1 -0
  229. package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextAndListWidget/_catalog-data.json +12 -0
  230. package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextAndListWidget/_meta.json +10 -0
  231. package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextAndListWidget/_overview.md +79 -0
  232. package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextAndListWidget/_summary.md +1 -0
  233. package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextWidget/_catalog-data.json +12 -0
  234. package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextWidget/_meta.json +10 -0
  235. package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextWidget/_overview.md +176 -0
  236. package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextWidget/_summary.md +1 -0
  237. package/dist/widget-specifications/cf.cplace.dragAndDropImageView.widget/_catalog-data.json +12 -0
  238. package/dist/widget-specifications/cf.cplace.dragAndDropImageView.widget/_meta.json +10 -0
  239. package/dist/widget-specifications/cf.cplace.dragAndDropImageView.widget/_overview.md +85 -0
  240. package/dist/widget-specifications/cf.cplace.dragAndDropImageView.widget/_summary.md +1 -0
  241. package/dist/widget-specifications/cf.cplace.draggablePageList.widget/_catalog-data.json +12 -0
  242. package/dist/widget-specifications/cf.cplace.draggablePageList.widget/_meta.json +11 -0
  243. package/dist/widget-specifications/cf.cplace.draggablePageList.widget/_overview.md +93 -0
  244. package/dist/widget-specifications/cf.cplace.draggablePageList.widget/_summary.md +1 -0
  245. package/dist/widget-specifications/cf.cplace.dynamicCodeBlockWidget.dynamicCodeBlockWidget/_catalog-data.json +12 -0
  246. package/dist/widget-specifications/cf.cplace.dynamicCodeBlockWidget.dynamicCodeBlockWidget/_meta.json +9 -0
  247. package/dist/widget-specifications/cf.cplace.dynamicCodeBlockWidget.dynamicCodeBlockWidget/_overview.md +75 -0
  248. package/dist/widget-specifications/cf.cplace.dynamicCodeBlockWidget.dynamicCodeBlockWidget/_summary.md +1 -0
  249. package/dist/widget-specifications/cf.cplace.ecf.attribute.conversion.widget.enumMappingTable/_catalog-data.json +12 -0
  250. package/dist/widget-specifications/cf.cplace.ecf.attribute.conversion.widget.enumMappingTable/_meta.json +10 -0
  251. package/dist/widget-specifications/cf.cplace.ecf.attribute.conversion.widget.enumMappingTable/_overview.md +167 -0
  252. package/dist/widget-specifications/cf.cplace.ecf.attribute.conversion.widget.enumMappingTable/_summary.md +1 -0
  253. package/dist/widget-specifications/cf.cplace.ecf.configuration.widget.attributeMappingTable/_catalog-data.json +12 -0
  254. package/dist/widget-specifications/cf.cplace.ecf.configuration.widget.attributeMappingTable/_meta.json +10 -0
  255. package/dist/widget-specifications/cf.cplace.ecf.configuration.widget.attributeMappingTable/_overview.md +64 -0
  256. package/dist/widget-specifications/cf.cplace.ecf.configuration.widget.attributeMappingTable/_summary.md +1 -0
  257. package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.cleanupConfigTable/_catalog-data.json +12 -0
  258. package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.cleanupConfigTable/_meta.json +11 -0
  259. package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.cleanupConfigTable/_overview.md +61 -0
  260. package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.cleanupConfigTable/_summary.md +1 -0
  261. package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.connectorSyncConfigsTable/_catalog-data.json +12 -0
  262. package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.connectorSyncConfigsTable/_meta.json +11 -0
  263. package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.connectorSyncConfigsTable/_overview.md +94 -0
  264. package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.connectorSyncConfigsTable/_summary.md +1 -0
  265. package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.serverConnectionTable/_catalog-data.json +12 -0
  266. package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.serverConnectionTable/_meta.json +10 -0
  267. package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.serverConnectionTable/_overview.md +28 -0
  268. package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.serverConnectionTable/_summary.md +1 -0
  269. package/dist/widget-specifications/cf.cplace.extendedTreeTableWidget/_catalog-data.json +12 -0
  270. package/dist/widget-specifications/cf.cplace.extendedTreeTableWidget/_meta.json +11 -0
  271. package/dist/widget-specifications/cf.cplace.extendedTreeTableWidget/_overview.md +116 -0
  272. package/dist/widget-specifications/cf.cplace.extendedTreeTableWidget/_summary.md +1 -0
  273. package/dist/widget-specifications/cf.cplace.formsWizard.horizontalDivider/_catalog-data.json +12 -0
  274. package/dist/widget-specifications/cf.cplace.formsWizard.horizontalDivider/_meta.json +8 -0
  275. package/dist/widget-specifications/cf.cplace.formsWizard.horizontalDivider/_overview.md +44 -0
  276. package/dist/widget-specifications/cf.cplace.formsWizard.horizontalDivider/_summary.md +1 -0
  277. package/dist/widget-specifications/cf.cplace.formsWizard.startWizardWidget/_catalog-data.json +12 -0
  278. package/dist/widget-specifications/cf.cplace.formsWizard.startWizardWidget/_meta.json +10 -0
  279. package/dist/widget-specifications/cf.cplace.formsWizard.startWizardWidget/_overview.md +40 -0
  280. package/dist/widget-specifications/cf.cplace.formsWizard.startWizardWidget/_summary.md +1 -0
  281. package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorForWizardWidget/_catalog-data.json +12 -0
  282. package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorForWizardWidget/_meta.json +10 -0
  283. package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorForWizardWidget/_overview.md +47 -0
  284. package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorForWizardWidget/_summary.md +1 -0
  285. package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorWidget/_catalog-data.json +12 -0
  286. package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorWidget/_meta.json +9 -0
  287. package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorWidget/_overview.md +23 -0
  288. package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorWidget/_summary.md +1 -0
  289. package/dist/widget-specifications/cf.cplace.formsWizard.stepManager/_catalog-data.json +12 -0
  290. package/dist/widget-specifications/cf.cplace.formsWizard.stepManager/_meta.json +10 -0
  291. package/dist/widget-specifications/cf.cplace.formsWizard.stepManager/_overview.md +32 -0
  292. package/dist/widget-specifications/cf.cplace.formsWizard.stepManager/_summary.md +1 -0
  293. package/dist/widget-specifications/cf.cplace.formsWizard.stepPreview/_catalog-data.json +12 -0
  294. package/dist/widget-specifications/cf.cplace.formsWizard.stepPreview/_meta.json +8 -0
  295. package/dist/widget-specifications/cf.cplace.formsWizard.stepPreview/_overview.md +29 -0
  296. package/dist/widget-specifications/cf.cplace.formsWizard.stepPreview/_summary.md +1 -0
  297. package/dist/widget-specifications/cf.cplace.formsWizard.wizardActivation/_catalog-data.json +12 -0
  298. package/dist/widget-specifications/cf.cplace.formsWizard.wizardActivation/_meta.json +9 -0
  299. package/dist/widget-specifications/cf.cplace.formsWizard.wizardActivation/_overview.md +69 -0
  300. package/dist/widget-specifications/cf.cplace.formsWizard.wizardActivation/_summary.md +1 -0
  301. package/dist/widget-specifications/cf.cplace.formsWizard.wizardAnalysis/_catalog-data.json +12 -0
  302. package/dist/widget-specifications/cf.cplace.formsWizard.wizardAnalysis/_meta.json +10 -0
  303. package/dist/widget-specifications/cf.cplace.formsWizard.wizardAnalysis/_overview.md +91 -0
  304. package/dist/widget-specifications/cf.cplace.formsWizard.wizardAnalysis/_summary.md +1 -0
  305. package/dist/widget-specifications/cf.cplace.formsWizard.wizardLocalizations/_catalog-data.json +12 -0
  306. package/dist/widget-specifications/cf.cplace.formsWizard.wizardLocalizations/_meta.json +10 -0
  307. package/dist/widget-specifications/cf.cplace.formsWizard.wizardLocalizations/_overview.md +48 -0
  308. package/dist/widget-specifications/cf.cplace.formsWizard.wizardLocalizations/_summary.md +1 -0
  309. package/dist/widget-specifications/cf.cplace.genericInterface.api.widgets.triggerInterfaceButton/_catalog-data.json +12 -0
  310. package/dist/widget-specifications/cf.cplace.genericInterface.api.widgets.triggerInterfaceButton/_meta.json +9 -0
  311. package/dist/widget-specifications/cf.cplace.genericInterface.api.widgets.triggerInterfaceButton/_overview.md +58 -0
  312. package/dist/widget-specifications/cf.cplace.genericInterface.api.widgets.triggerInterfaceButton/_summary.md +1 -0
  313. package/dist/widget-specifications/cf.cplace.landingPageFromPage.quickOverview/_catalog-data.json +12 -0
  314. package/dist/widget-specifications/cf.cplace.landingPageFromPage.quickOverview/_meta.json +10 -0
  315. package/dist/widget-specifications/cf.cplace.landingPageFromPage.quickOverview/_overview.md +66 -0
  316. package/dist/widget-specifications/cf.cplace.landingPageFromPage.quickOverview/_summary.md +1 -0
  317. package/dist/widget-specifications/cf.cplace.landingPageFromPage.sessionUserNameWidget/_catalog-data.json +12 -0
  318. package/dist/widget-specifications/cf.cplace.landingPageFromPage.sessionUserNameWidget/_meta.json +9 -0
  319. package/dist/widget-specifications/cf.cplace.landingPageFromPage.sessionUserNameWidget/_overview.md +52 -0
  320. package/dist/widget-specifications/cf.cplace.landingPageFromPage.sessionUserNameWidget/_summary.md +1 -0
  321. package/dist/widget-specifications/cf.cplace.landingPageFromPage.simpleListWithAttachment/_catalog-data.json +12 -0
  322. package/dist/widget-specifications/cf.cplace.landingPageFromPage.simpleListWithAttachment/_meta.json +10 -0
  323. package/dist/widget-specifications/cf.cplace.landingPageFromPage.simpleListWithAttachment/_overview.md +53 -0
  324. package/dist/widget-specifications/cf.cplace.landingPageFromPage.simpleListWithAttachment/_summary.md +1 -0
  325. package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_catalog-data.json +12 -0
  326. package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_implementation.md +6 -0
  327. package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_meta.json +7 -0
  328. package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_overview.md +115 -0
  329. package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_summary.md +1 -0
  330. package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/cf.cplace.layoutTabsWidget.layoutSelection.md +2 -0
  331. package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/cf.cplace.layoutTabsWidget.layouts.md +3 -0
  332. package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/cf.cplace.layoutTabsWidget.sourceForLayouts.md +1 -0
  333. package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeButton/_catalog-data.json +12 -0
  334. package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeButton/_meta.json +10 -0
  335. package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeButton/_overview.md +137 -0
  336. package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeButton/_summary.md +1 -0
  337. package/dist/widget-specifications/cf.cplace.lowcode.ai.chatWidget/_catalog-data.json +12 -0
  338. package/dist/widget-specifications/cf.cplace.lowcode.ai.chatWidget/_meta.json +10 -0
  339. package/dist/widget-specifications/cf.cplace.lowcode.ai.chatWidget/_overview.md +63 -0
  340. package/dist/widget-specifications/cf.cplace.lowcode.ai.chatWidget/_summary.md +1 -0
  341. package/dist/widget-specifications/cf.cplace.meeting.pageHeader/_catalog-data.json +12 -0
  342. package/dist/widget-specifications/cf.cplace.meeting.pageHeader/_meta.json +12 -0
  343. package/dist/widget-specifications/cf.cplace.meeting.pageHeader/_overview.md +31 -0
  344. package/dist/widget-specifications/cf.cplace.meeting.pageHeader/_summary.md +1 -0
  345. package/dist/widget-specifications/cf.cplace.navigationTileWidget.widget/_catalog-data.json +12 -0
  346. package/dist/widget-specifications/cf.cplace.navigationTileWidget.widget/_meta.json +9 -0
  347. package/dist/widget-specifications/cf.cplace.navigationTileWidget.widget/_overview.md +71 -0
  348. package/dist/widget-specifications/cf.cplace.navigationTileWidget.widget/_summary.md +1 -0
  349. package/dist/widget-specifications/cf.cplace.officeReports.headlineForReports/_catalog-data.json +12 -0
  350. package/dist/widget-specifications/cf.cplace.officeReports.headlineForReports/_meta.json +8 -0
  351. package/dist/widget-specifications/cf.cplace.officeReports.headlineForReports/_overview.md +57 -0
  352. package/dist/widget-specifications/cf.cplace.officeReports.headlineForReports/_summary.md +1 -0
  353. package/dist/widget-specifications/cf.cplace.officeReports.scriptPlaceholders/_catalog-data.json +12 -0
  354. package/dist/widget-specifications/cf.cplace.officeReports.scriptPlaceholders/_meta.json +10 -0
  355. package/dist/widget-specifications/cf.cplace.officeReports.scriptPlaceholders/_overview.md +22 -0
  356. package/dist/widget-specifications/cf.cplace.officeReports.scriptPlaceholders/_summary.md +1 -0
  357. package/dist/widget-specifications/cf.cplace.officeReports.templatePlaceholders/_catalog-data.json +12 -0
  358. package/dist/widget-specifications/cf.cplace.officeReports.templatePlaceholders/_meta.json +10 -0
  359. package/dist/widget-specifications/cf.cplace.officeReports.templatePlaceholders/_overview.md +24 -0
  360. package/dist/widget-specifications/cf.cplace.officeReports.templatePlaceholders/_summary.md +1 -0
  361. package/dist/widget-specifications/cf.cplace.orgaTree.edit/_catalog-data.json +12 -0
  362. package/dist/widget-specifications/cf.cplace.orgaTree.edit/_meta.json +11 -0
  363. package/dist/widget-specifications/cf.cplace.orgaTree.edit/_overview.md +62 -0
  364. package/dist/widget-specifications/cf.cplace.orgaTree.edit/_summary.md +1 -0
  365. package/dist/widget-specifications/cf.cplace.outlookMessageIntegration.outlookMessages/_catalog-data.json +12 -0
  366. package/dist/widget-specifications/cf.cplace.outlookMessageIntegration.outlookMessages/_meta.json +12 -0
  367. package/dist/widget-specifications/cf.cplace.outlookMessageIntegration.outlookMessages/_overview.md +50 -0
  368. package/dist/widget-specifications/cf.cplace.outlookMessageIntegration.outlookMessages/_summary.md +1 -0
  369. package/dist/widget-specifications/cf.cplace.pageViewHeadline.widget/_catalog-data.json +12 -0
  370. package/dist/widget-specifications/cf.cplace.pageViewHeadline.widget/_meta.json +9 -0
  371. package/dist/widget-specifications/cf.cplace.pageViewHeadline.widget/_overview.md +62 -0
  372. package/dist/widget-specifications/cf.cplace.pageViewHeadline.widget/_summary.md +1 -0
  373. package/dist/widget-specifications/cf.cplace.pdfPreview.widget/_catalog-data.json +12 -0
  374. package/dist/widget-specifications/cf.cplace.pdfPreview.widget/_meta.json +9 -0
  375. package/dist/widget-specifications/cf.cplace.pdfPreview.widget/_overview.md +79 -0
  376. package/dist/widget-specifications/cf.cplace.pdfPreview.widget/_summary.md +1 -0
  377. package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_catalog-data.json +12 -0
  378. package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_implementation.md +13 -0
  379. package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_meta.json +9 -0
  380. package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_overview.md +108 -0
  381. package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_summary.md +1 -0
  382. package/dist/widget-specifications/cf.cplace.platform.attributesGroup/absoluteSelection.md +9 -0
  383. package/dist/widget-specifications/cf.cplace.platform.attributesGroup/layout.md +8 -0
  384. package/dist/widget-specifications/cf.cplace.platform.attributesGroup/pageSelection.md +12 -0
  385. package/dist/widget-specifications/cf.cplace.platform.attributesGroup/relativeSelection.md +14 -0
  386. package/dist/widget-specifications/cf.cplace.platform.batchJobQuickGlance/_catalog-data.json +12 -0
  387. package/dist/widget-specifications/cf.cplace.platform.batchJobQuickGlance/_meta.json +9 -0
  388. package/dist/widget-specifications/cf.cplace.platform.batchJobQuickGlance/_overview.md +52 -0
  389. package/dist/widget-specifications/cf.cplace.platform.batchJobQuickGlance/_summary.md +1 -0
  390. package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_catalog-data.json +12 -0
  391. package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_implementation.md +17 -0
  392. package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_meta.json +10 -0
  393. package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_overview.md +103 -0
  394. package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_summary.md +1 -0
  395. package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/cf.cplace.platform.attributesGroup.layout.md +8 -0
  396. package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/singleSelectionWidgetId.md +15 -0
  397. package/dist/widget-specifications/cf.cplace.platform.dynamicIframe/_catalog-data.json +12 -0
  398. package/dist/widget-specifications/cf.cplace.platform.dynamicIframe/_meta.json +9 -0
  399. package/dist/widget-specifications/cf.cplace.platform.dynamicIframe/_overview.md +49 -0
  400. package/dist/widget-specifications/cf.cplace.platform.dynamicIframe/_summary.md +1 -0
  401. package/dist/widget-specifications/cf.cplace.platform.tableWidget/_catalog-data.json +12 -0
  402. package/dist/widget-specifications/cf.cplace.platform.tableWidget/_meta.json +12 -0
  403. package/dist/widget-specifications/cf.cplace.platform.tableWidget/_overview.md +188 -0
  404. package/dist/widget-specifications/cf.cplace.platform.tableWidget/_summary.md +1 -0
  405. package/dist/widget-specifications/cf.cplace.pptexport.pgPreviewWidget/_catalog-data.json +12 -0
  406. package/dist/widget-specifications/cf.cplace.pptexport.pgPreviewWidget/_meta.json +11 -0
  407. package/dist/widget-specifications/cf.cplace.pptexport.pgPreviewWidget/_overview.md +92 -0
  408. package/dist/widget-specifications/cf.cplace.pptexport.pgPreviewWidget/_summary.md +1 -0
  409. package/dist/widget-specifications/cf.cplace.projectTree.editProjects/_catalog-data.json +12 -0
  410. package/dist/widget-specifications/cf.cplace.projectTree.editProjects/_meta.json +11 -0
  411. package/dist/widget-specifications/cf.cplace.projectTree.editProjects/_overview.md +81 -0
  412. package/dist/widget-specifications/cf.cplace.projectTree.editProjects/_summary.md +1 -0
  413. package/dist/widget-specifications/cf.cplace.projektplanung.scheduleLockState/_catalog-data.json +12 -0
  414. package/dist/widget-specifications/cf.cplace.projektplanung.scheduleLockState/_meta.json +10 -0
  415. package/dist/widget-specifications/cf.cplace.projektplanung.scheduleLockState/_overview.md +60 -0
  416. package/dist/widget-specifications/cf.cplace.projektplanung.scheduleLockState/_summary.md +1 -0
  417. package/dist/widget-specifications/cf.cplace.projektplanung.subscriptions/_catalog-data.json +12 -0
  418. package/dist/widget-specifications/cf.cplace.projektplanung.subscriptions/_meta.json +10 -0
  419. package/dist/widget-specifications/cf.cplace.projektplanung.subscriptions/_overview.md +59 -0
  420. package/dist/widget-specifications/cf.cplace.projektplanung.subscriptions/_summary.md +1 -0
  421. package/dist/widget-specifications/cf.cplace.qrCodeWidget/_catalog-data.json +12 -0
  422. package/dist/widget-specifications/cf.cplace.qrCodeWidget/_meta.json +9 -0
  423. package/dist/widget-specifications/cf.cplace.qrCodeWidget/_overview.md +25 -0
  424. package/dist/widget-specifications/cf.cplace.qrCodeWidget/_summary.md +1 -0
  425. package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/_catalog-data.json +12 -0
  426. package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/_meta.json +11 -0
  427. package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/_overview.md +78 -0
  428. package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/_summary.md +1 -0
  429. package/dist/widget-specifications/cf.cplace.rest.config.widget.productionModeHintWidget/_catalog-data.json +12 -0
  430. package/dist/widget-specifications/cf.cplace.rest.config.widget.productionModeHintWidget/_meta.json +9 -0
  431. package/dist/widget-specifications/cf.cplace.rest.config.widget.productionModeHintWidget/_overview.md +44 -0
  432. package/dist/widget-specifications/cf.cplace.rest.config.widget.productionModeHintWidget/_summary.md +1 -0
  433. package/dist/widget-specifications/cf.cplace.simpleCalendar.calendar/_catalog-data.json +12 -0
  434. package/dist/widget-specifications/cf.cplace.simpleCalendar.calendar/_meta.json +10 -0
  435. package/dist/widget-specifications/cf.cplace.simpleCalendar.calendar/_overview.md +42 -0
  436. package/dist/widget-specifications/cf.cplace.simpleCalendar.calendar/_summary.md +1 -0
  437. package/dist/widget-specifications/cf.cplace.simpleForm.widget/_catalog-data.json +12 -0
  438. package/dist/widget-specifications/cf.cplace.simpleForm.widget/_meta.json +10 -0
  439. package/dist/widget-specifications/cf.cplace.simpleForm.widget/_overview.md +85 -0
  440. package/dist/widget-specifications/cf.cplace.simpleForm.widget/_summary.md +1 -0
  441. package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/_catalog-data.json +12 -0
  442. package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/_meta.json +11 -0
  443. package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/_overview.md +92 -0
  444. package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/_summary.md +1 -0
  445. package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/attributes.md +7 -0
  446. package/dist/widget-specifications/cf.cplace.treeTableWidget/_catalog-data.json +12 -0
  447. package/dist/widget-specifications/cf.cplace.treeTableWidget/_meta.json +11 -0
  448. package/dist/widget-specifications/cf.cplace.treeTableWidget/_overview.md +51 -0
  449. package/dist/widget-specifications/cf.cplace.treeTableWidget/_summary.md +1 -0
  450. package/dist/widget-specifications/cf.cplace.tuplesWidget.widget/_catalog-data.json +12 -0
  451. package/dist/widget-specifications/cf.cplace.tuplesWidget.widget/_meta.json +11 -0
  452. package/dist/widget-specifications/cf.cplace.tuplesWidget.widget/_overview.md +202 -0
  453. package/dist/widget-specifications/cf.cplace.tuplesWidget.widget/_summary.md +1 -0
  454. package/dist/widget-specifications/cf.cplace.videoWidget/_catalog-data.json +12 -0
  455. package/dist/widget-specifications/cf.cplace.videoWidget/_meta.json +10 -0
  456. package/dist/widget-specifications/cf.cplace.videoWidget/_overview.md +65 -0
  457. package/dist/widget-specifications/cf.cplace.videoWidget/_summary.md +1 -0
  458. package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_catalog-data.json +12 -0
  459. package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_implementation.md +12 -0
  460. package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_meta.json +9 -0
  461. package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_overview.md +117 -0
  462. package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_summary.md +1 -0
  463. package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/cf.cplace.visualization.dataSource.md +5 -0
  464. package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/cf.cplace.visualization.search.md +10 -0
  465. package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/script.md +29 -0
  466. package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/tableWidgetId.md +10 -0
  467. package/dist/widget-specifications/cf.cplace.visualizations.scriptingLineChart/_catalog-data.json +12 -0
  468. package/dist/widget-specifications/cf.cplace.visualizations.scriptingLineChart/_meta.json +11 -0
  469. package/dist/widget-specifications/cf.cplace.visualizations.scriptingLineChart/_overview.md +72 -0
  470. package/dist/widget-specifications/cf.cplace.visualizations.scriptingLineChart/_summary.md +1 -0
  471. package/dist/widget-specifications/cf.cplace.visualizations.tupleLineChart/_catalog-data.json +12 -0
  472. package/dist/widget-specifications/cf.cplace.visualizations.tupleLineChart/_meta.json +11 -0
  473. package/dist/widget-specifications/cf.cplace.visualizations.tupleLineChart/_overview.md +50 -0
  474. package/dist/widget-specifications/cf.cplace.visualizations.tupleLineChart/_summary.md +1 -0
  475. package/dist/widget-specifications/cf.platform.attributeHistory/_catalog-data.json +12 -0
  476. package/dist/widget-specifications/cf.platform.attributeHistory/_meta.json +11 -0
  477. package/dist/widget-specifications/cf.platform.attributeHistory/_overview.md +79 -0
  478. package/dist/widget-specifications/cf.platform.attributeHistory/_summary.md +1 -0
  479. package/dist/widget-specifications/cf.platform.attributes/_catalog-data.json +12 -0
  480. package/dist/widget-specifications/cf.platform.attributes/_meta.json +9 -0
  481. package/dist/widget-specifications/cf.platform.attributes/_overview.md +89 -0
  482. package/dist/widget-specifications/cf.platform.attributes/_summary.md +1 -0
  483. package/dist/widget-specifications/cf.platform.comments/_catalog-data.json +12 -0
  484. package/dist/widget-specifications/cf.platform.comments/_meta.json +9 -0
  485. package/dist/widget-specifications/cf.platform.comments/_overview.md +52 -0
  486. package/dist/widget-specifications/cf.platform.comments/_summary.md +1 -0
  487. package/dist/widget-specifications/cf.platform.connectedBarChart/_catalog-data.json +12 -0
  488. package/dist/widget-specifications/cf.platform.connectedBarChart/_implementation.md +10 -0
  489. package/dist/widget-specifications/cf.platform.connectedBarChart/_meta.json +11 -0
  490. package/dist/widget-specifications/cf.platform.connectedBarChart/_overview.md +70 -0
  491. package/dist/widget-specifications/cf.platform.connectedBarChart/_summary.md +1 -0
  492. package/dist/widget-specifications/cf.platform.connectedBarChart/search.md +15 -0
  493. package/dist/widget-specifications/cf.platform.connectedMatrix/_catalog-data.json +12 -0
  494. package/dist/widget-specifications/cf.platform.connectedMatrix/_meta.json +11 -0
  495. package/dist/widget-specifications/cf.platform.connectedMatrix/_overview.md +189 -0
  496. package/dist/widget-specifications/cf.platform.connectedMatrix/_summary.md +1 -0
  497. package/dist/widget-specifications/cf.platform.connectedPieChart/_catalog-data.json +12 -0
  498. package/dist/widget-specifications/cf.platform.connectedPieChart/_implementation.md +10 -0
  499. package/dist/widget-specifications/cf.platform.connectedPieChart/_meta.json +11 -0
  500. package/dist/widget-specifications/cf.platform.connectedPieChart/_overview.md +70 -0
  501. package/dist/widget-specifications/cf.platform.connectedPieChart/_summary.md +1 -0
  502. package/dist/widget-specifications/cf.platform.connectedPieChart/search.md +10 -0
  503. package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_catalog-data.json +12 -0
  504. package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_implementation.md +15 -0
  505. package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_meta.json +10 -0
  506. package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_overview.md +69 -0
  507. package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_summary.md +1 -0
  508. package/dist/widget-specifications/cf.platform.connectedSingleAttribute/attributeName.md +10 -0
  509. package/dist/widget-specifications/cf.platform.connectedSingleAttribute/singleColumn.md +9 -0
  510. package/dist/widget-specifications/cf.platform.connectedSingleAttribute/singleSelectionWidgetId.md +3 -0
  511. package/dist/widget-specifications/cf.platform.connectedSingleAttribute/withLabel.md +11 -0
  512. package/dist/widget-specifications/cf.platform.connectedSingleAttribute/withValue.md +12 -0
  513. package/dist/widget-specifications/cf.platform.connectedTableFilter/_catalog-data.json +12 -0
  514. package/dist/widget-specifications/cf.platform.connectedTableFilter/_meta.json +10 -0
  515. package/dist/widget-specifications/cf.platform.connectedTableFilter/_overview.md +89 -0
  516. package/dist/widget-specifications/cf.platform.connectedTableFilter/_summary.md +1 -0
  517. package/dist/widget-specifications/cf.platform.customRichStringAttribute/_catalog-data.json +12 -0
  518. package/dist/widget-specifications/cf.platform.customRichStringAttribute/_meta.json +9 -0
  519. package/dist/widget-specifications/cf.platform.customRichStringAttribute/_overview.md +39 -0
  520. package/dist/widget-specifications/cf.platform.customRichStringAttribute/_summary.md +1 -0
  521. package/dist/widget-specifications/cf.platform.embeddedSearchAsList/_catalog-data.json +12 -0
  522. package/dist/widget-specifications/cf.platform.embeddedSearchAsList/_meta.json +10 -0
  523. package/dist/widget-specifications/cf.platform.embeddedSearchAsList/_overview.md +66 -0
  524. package/dist/widget-specifications/cf.platform.embeddedSearchAsList/_summary.md +1 -0
  525. package/dist/widget-specifications/cf.platform.embeddedSearchAsList/search.md +8 -0
  526. package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_catalog-data.json +12 -0
  527. package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_implementation.md +10 -0
  528. package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_meta.json +11 -0
  529. package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_overview.md +109 -0
  530. package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_summary.md +1 -0
  531. package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/columns.md +14 -0
  532. package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/multiSortColumns.md +16 -0
  533. package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/search.md +8 -0
  534. package/dist/widget-specifications/cf.platform.files/_catalog-data.json +12 -0
  535. package/dist/widget-specifications/cf.platform.files/_meta.json +10 -0
  536. package/dist/widget-specifications/cf.platform.files/_overview.md +74 -0
  537. package/dist/widget-specifications/cf.platform.files/_summary.md +1 -0
  538. package/dist/widget-specifications/cf.platform.iframe/_catalog-data.json +12 -0
  539. package/dist/widget-specifications/cf.platform.iframe/_meta.json +9 -0
  540. package/dist/widget-specifications/cf.platform.iframe/_overview.md +77 -0
  541. package/dist/widget-specifications/cf.platform.iframe/_summary.md +1 -0
  542. package/dist/widget-specifications/cf.platform.incomingLinks/_catalog-data.json +12 -0
  543. package/dist/widget-specifications/cf.platform.incomingLinks/_meta.json +10 -0
  544. package/dist/widget-specifications/cf.platform.incomingLinks/_overview.md +83 -0
  545. package/dist/widget-specifications/cf.platform.incomingLinks/_summary.md +1 -0
  546. package/dist/widget-specifications/cf.platform.incomingReferences/_catalog-data.json +12 -0
  547. package/dist/widget-specifications/cf.platform.incomingReferences/_meta.json +10 -0
  548. package/dist/widget-specifications/cf.platform.incomingReferences/_overview.md +48 -0
  549. package/dist/widget-specifications/cf.platform.incomingReferences/_summary.md +1 -0
  550. package/dist/widget-specifications/cf.platform.makeover.attributes/_catalog-data.json +12 -0
  551. package/dist/widget-specifications/cf.platform.makeover.attributes/_meta.json +9 -0
  552. package/dist/widget-specifications/cf.platform.makeover.attributes/_overview.md +48 -0
  553. package/dist/widget-specifications/cf.platform.makeover.attributes/_summary.md +1 -0
  554. package/dist/widget-specifications/cf.platform.modificationInfo/_catalog-data.json +12 -0
  555. package/dist/widget-specifications/cf.platform.modificationInfo/_meta.json +9 -0
  556. package/dist/widget-specifications/cf.platform.modificationInfo/_overview.md +27 -0
  557. package/dist/widget-specifications/cf.platform.modificationInfo/_summary.md +1 -0
  558. package/dist/widget-specifications/cf.platform.myElements/_catalog-data.json +12 -0
  559. package/dist/widget-specifications/cf.platform.myElements/_meta.json +10 -0
  560. package/dist/widget-specifications/cf.platform.myElements/_overview.md +69 -0
  561. package/dist/widget-specifications/cf.platform.myElements/_summary.md +1 -0
  562. package/dist/widget-specifications/cf.platform.richString/_catalog-data.json +12 -0
  563. package/dist/widget-specifications/cf.platform.richString/_meta.json +10 -0
  564. package/dist/widget-specifications/cf.platform.richString/_overview.md +43 -0
  565. package/dist/widget-specifications/cf.platform.richString/_summary.md +1 -0
  566. package/dist/widget-specifications/cf.platform.singleAttribute/_catalog-data.json +12 -0
  567. package/dist/widget-specifications/cf.platform.singleAttribute/_implementation.md +18 -0
  568. package/dist/widget-specifications/cf.platform.singleAttribute/_meta.json +10 -0
  569. package/dist/widget-specifications/cf.platform.singleAttribute/_overview.md +83 -0
  570. package/dist/widget-specifications/cf.platform.singleAttribute/_summary.md +1 -0
  571. package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.entity.md +10 -0
  572. package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.quotedAttributeName.md +12 -0
  573. package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.singleColumn.md +9 -0
  574. package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.useParent.md +11 -0
  575. package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.withLabel.md +11 -0
  576. package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.withValue.md +12 -0
  577. package/dist/widget-specifications/cf.platform.tags/_catalog-data.json +12 -0
  578. package/dist/widget-specifications/cf.platform.tags/_meta.json +10 -0
  579. package/dist/widget-specifications/cf.platform.tags/_overview.md +49 -0
  580. package/dist/widget-specifications/cf.platform.tags/_summary.md +1 -0
  581. package/dist/widget-specifications/cf.platform.wiki/_catalog-data.json +12 -0
  582. package/dist/widget-specifications/cf.platform.wiki/_meta.json +9 -0
  583. package/dist/widget-specifications/cf.platform.wiki/_overview.md +32 -0
  584. package/dist/widget-specifications/cf.platform.wiki/_summary.md +1 -0
  585. package/dist/widget-specifications/cf.projektplanung.gantt/_catalog-data.json +12 -0
  586. package/dist/widget-specifications/cf.projektplanung.gantt/_meta.json +11 -0
  587. package/dist/widget-specifications/cf.projektplanung.gantt/_overview.md +61 -0
  588. package/dist/widget-specifications/cf.projektplanung.gantt/_summary.md +1 -0
  589. package/dist/widget-specifications/cf.projektplanung.ganttTaskDemo/_catalog-data.json +12 -0
  590. package/dist/widget-specifications/cf.projektplanung.ganttTaskDemo/_meta.json +10 -0
  591. package/dist/widget-specifications/cf.projektplanung.ganttTaskDemo/_overview.md +65 -0
  592. package/dist/widget-specifications/cf.projektplanung.ganttTaskDemo/_summary.md +1 -0
  593. package/dist/widget-specifications/cf.projektplanung.multiGantt/_catalog-data.json +12 -0
  594. package/dist/widget-specifications/cf.projektplanung.multiGantt/_meta.json +11 -0
  595. package/dist/widget-specifications/cf.projektplanung.multiGantt/_overview.md +73 -0
  596. package/dist/widget-specifications/cf.projektplanung.multiGantt/_summary.md +1 -0
  597. package/dist/widget-specifications/cf.projektplanung.scheduleTreeTable/_catalog-data.json +12 -0
  598. package/dist/widget-specifications/cf.projektplanung.scheduleTreeTable/_meta.json +10 -0
  599. package/dist/widget-specifications/cf.projektplanung.scheduleTreeTable/_overview.md +84 -0
  600. package/dist/widget-specifications/cf.projektplanung.scheduleTreeTable/_summary.md +1 -0
  601. package/dist/widget-specifications/cf.projektplanung.singleGantt/_catalog-data.json +12 -0
  602. package/dist/widget-specifications/cf.projektplanung.singleGantt/_meta.json +12 -0
  603. package/dist/widget-specifications/cf.projektplanung.singleGantt/_overview.md +27 -0
  604. package/dist/widget-specifications/cf.projektplanung.singleGantt/_summary.md +1 -0
  605. package/dist/widget-specifications/cf.projektplanung.singleGanttLink/_catalog-data.json +12 -0
  606. package/dist/widget-specifications/cf.projektplanung.singleGanttLink/_meta.json +10 -0
  607. package/dist/widget-specifications/cf.projektplanung.singleGanttLink/_overview.md +84 -0
  608. package/dist/widget-specifications/cf.projektplanung.singleGanttLink/_summary.md +1 -0
  609. package/dist/widget-specifications/de.2lforge.curves.widget/_catalog-data.json +12 -0
  610. package/dist/widget-specifications/de.2lforge.curves.widget/_meta.json +12 -0
  611. package/dist/widget-specifications/de.2lforge.curves.widget/_overview.md +73 -0
  612. package/dist/widget-specifications/de.2lforge.curves.widget/_summary.md +1 -0
  613. package/dist/widget-specifications/de.2lforge.toolbar.datePickerWidget/_catalog-data.json +12 -0
  614. package/dist/widget-specifications/de.2lforge.toolbar.datePickerWidget/_meta.json +9 -0
  615. package/dist/widget-specifications/de.2lforge.toolbar.datePickerWidget/_overview.md +67 -0
  616. package/dist/widget-specifications/de.2lforge.toolbar.datePickerWidget/_summary.md +1 -0
  617. package/dist/widget-specifications/de.2lforge.toolbar.dropDownWidget/_catalog-data.json +12 -0
  618. package/dist/widget-specifications/de.2lforge.toolbar.dropDownWidget/_meta.json +10 -0
  619. package/dist/widget-specifications/de.2lforge.toolbar.dropDownWidget/_overview.md +58 -0
  620. package/dist/widget-specifications/de.2lforge.toolbar.dropDownWidget/_summary.md +1 -0
  621. package/dist/widget-specifications/de.2lforge.toolbar.miscWidget/_catalog-data.json +12 -0
  622. package/dist/widget-specifications/de.2lforge.toolbar.miscWidget/_meta.json +8 -0
  623. package/dist/widget-specifications/de.2lforge.toolbar.miscWidget/_overview.md +43 -0
  624. package/dist/widget-specifications/de.2lforge.toolbar.miscWidget/_summary.md +1 -0
  625. package/dist/widget-specifications/de.visualistik.visualRoadmap.widget/_catalog-data.json +12 -0
  626. package/dist/widget-specifications/de.visualistik.visualRoadmap.widget/_meta.json +11 -0
  627. package/dist/widget-specifications/de.visualistik.visualRoadmap.widget/_overview.md +47 -0
  628. package/dist/widget-specifications/de.visualistik.visualRoadmap.widget/_summary.md +1 -0
  629. package/dist/widget-specifications/index.d.ts.map +1 -0
  630. package/dist/widget-specifications/index.js +55 -0
  631. package/dist/widget-specifications/index.js.map +1 -0
  632. package/dist/widget-specifications/msg.scripts.imagegallery.basic/_catalog-data.json +12 -0
  633. package/dist/widget-specifications/msg.scripts.imagegallery.basic/_meta.json +10 -0
  634. package/dist/widget-specifications/msg.scripts.imagegallery.basic/_overview.md +55 -0
  635. package/dist/widget-specifications/msg.scripts.imagegallery.basic/_summary.md +1 -0
  636. package/dist/widget-specifications/tag-registry.json +63 -0
  637. package/package.json +4 -2
@@ -0,0 +1,121 @@
1
+ import { z } from "zod";
2
+ import { debugLogWithTag } from "../logger.js";
3
+ import { checkResponseSize } from "../utils.js";
4
+ const TOOL_EXECUTE_SCRIPT = 'cplace_execute_script';
5
+ const TOOL_EXECUTE_SCRIPT_WRITE = 'cplace_execute_script_write';
6
+ export const SCRIPT_TOOL_DEFINITIONS = {
7
+ [TOOL_EXECUTE_SCRIPT]: {
8
+ description: `Execute JavaScript in a sandboxed cplace environment for data queries, calculations, and analysis.
9
+
10
+ **Mode**: Read-only - scripts cannot modify data (no page.set, cplace.actions.createPage, etc.)
11
+
12
+ **Timeout**: 30 seconds maximum execution time
13
+
14
+ **Return Value Restrictions**:
15
+ - Primitives: strings, numbers, booleans, null, dates (as ISO strings)
16
+ - Arrays containing only primitives (no nested arrays or objects)
17
+ - Objects containing only primitive values (no nested objects)
18
+ - Cannot return cplace objects (Page, Person) directly - extract values first
19
+
20
+ **Important**: This tool requires knowledge of the cplace low-code JavaScript API. Ensure you have access to cplace low-code documentation to write effective scripts.`,
21
+ inputSchema: {
22
+ script: z.string().describe(`JavaScript code to execute. Must return a JSON-serializable value.
23
+
24
+ The script has access to cplace low-code APIs (cplace.search, cplace.pages, Filters, etc.) but runs in read-only mode.
25
+
26
+ Examples:
27
+ - Simple: "return 2 + 2"
28
+ - Search: "return cplace.search().add(Filters.type('cf.cplace.project')).findAll().map(function(p) { return p.getName(); });"
29
+ - Extract: "var page = cplace.search().add(Filters.uid('page/abc')).findFirst(); return { name: page.getName() };"`)
30
+ },
31
+ annotations: { title: "Execute Script" }
32
+ },
33
+ [TOOL_EXECUTE_SCRIPT_WRITE]: {
34
+ description: `⚠️ WRITE OPERATIONS ENABLED: Execute JavaScript that can create, modify, and delete pages.
35
+
36
+ Requires low-code edit permission (mayEditLowCode). Use cplace_execute_script for read-only operations.
37
+
38
+ **Timeout**: 30 seconds maximum execution time
39
+
40
+ **Available Action APIs**:
41
+ - cplace.actions().createPage(params) - Create new pages
42
+ - page.set(attributeName, value) - Set attribute values on pages
43
+ - cplace.actions().deletePage(page) - Delete pages
44
+
45
+ **Return Value Restrictions**: Same as read-only tool (primitives, flat arrays/objects only)
46
+
47
+ **Important**: This tool requires knowledge of the cplace low-code JavaScript API. Ensure you have access to cplace low-code documentation to write effective scripts.`,
48
+ inputSchema: {
49
+ script: z.string().describe(`JavaScript code to execute with write capabilities. Must return a JSON-serializable value.
50
+
51
+ The script has access to all cplace low-code APIs including action APIs for creating, modifying, and deleting pages.
52
+
53
+ Examples:
54
+ - Create page: "var page = cplace.actions().createPage({ space: cplace.utils().getSpaceByName('My Workspace'), customType: 'cf.cplace.project.Task', customAttributes: { 'cf.cplace.project.title': 'New Task' } }); return { uid: page.getUid(), name: page.getName() };"
55
+ - Update page: "var page = cplace.utils().getPageById('page/abc123'); page.set('cf.cplace.project.status', 'Completed'); return { success: true };"
56
+ - Delete page: "var page = cplace.utils().getPageById('page/abc123'); cplace.actions().deletePage(page); return { deleted: true };"`)
57
+ },
58
+ annotations: { title: "Execute Script (Write)" }
59
+ }
60
+ };
61
+ export function registerScriptTools(server, client) {
62
+ server.registerTool(TOOL_EXECUTE_SCRIPT, SCRIPT_TOOL_DEFINITIONS[TOOL_EXECUTE_SCRIPT], async ({ script }) => {
63
+ debugLogWithTag('SCRIPT', `Executing script (${script.length} chars)`);
64
+ try {
65
+ const response = await client.makeApiRequest('json/script/execute', 'POST', undefined, { script });
66
+ const result = { result: response };
67
+ const sizeCheck = checkResponseSize(result);
68
+ if (sizeCheck.tooLarge) {
69
+ debugLogWithTag('SCRIPT', `Response too large: ${sizeCheck.actualSize} characters`);
70
+ return {
71
+ content: [{
72
+ type: "text",
73
+ text: `Script result too large (${sizeCheck.actualSize} characters). Modify your script to return less data (e.g., use .slice(), limit array size, or return specific fields only).`
74
+ }],
75
+ isError: true
76
+ };
77
+ }
78
+ debugLogWithTag('SCRIPT', 'Script executed successfully');
79
+ return {
80
+ content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
81
+ };
82
+ }
83
+ catch (error) {
84
+ debugLogWithTag('SCRIPT', `Error: ${error instanceof Error ? error.message : String(error)}`);
85
+ return {
86
+ content: [{ type: "text", text: `Error executing script: ${error instanceof Error ? error.message : String(error)}` }],
87
+ isError: true
88
+ };
89
+ }
90
+ });
91
+ server.registerTool(TOOL_EXECUTE_SCRIPT_WRITE, SCRIPT_TOOL_DEFINITIONS[TOOL_EXECUTE_SCRIPT_WRITE], async ({ script }) => {
92
+ debugLogWithTag('SCRIPT', `Executing write script (${script.length} chars)`);
93
+ try {
94
+ const response = await client.makeApiRequest('json/script/execute-with-actions', 'POST', undefined, { script });
95
+ const result = { result: response };
96
+ const sizeCheck = checkResponseSize(result);
97
+ if (sizeCheck.tooLarge) {
98
+ debugLogWithTag('SCRIPT', `Response too large: ${sizeCheck.actualSize} characters`);
99
+ return {
100
+ content: [{
101
+ type: "text",
102
+ text: `Script result too large (${sizeCheck.actualSize} characters). Modify your script to return less data (e.g., use .slice(), limit array size, or return specific fields only).`
103
+ }],
104
+ isError: true
105
+ };
106
+ }
107
+ debugLogWithTag('SCRIPT', 'Write script executed successfully');
108
+ return {
109
+ content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
110
+ };
111
+ }
112
+ catch (error) {
113
+ debugLogWithTag('SCRIPT', `Error: ${error instanceof Error ? error.message : String(error)}`);
114
+ return {
115
+ content: [{ type: "text", text: `Error executing script: ${error instanceof Error ? error.message : String(error)}` }],
116
+ isError: true
117
+ };
118
+ }
119
+ });
120
+ }
121
+ //# sourceMappingURL=script.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"script.js","sourceRoot":"","sources":["../../src/tools/script.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGhD,MAAM,mBAAmB,GAAG,uBAAuB,CAAC;AACpD,MAAM,yBAAyB,GAAG,6BAA6B,CAAC;AAGhE,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,CAAC,mB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,eAAe,CAAC,QAAQ,EAAE,uBAAuB,SAAS,CAAC,UAAU,aAAa,CAAC,CAAC;gBACpF,OAAO;oBACL,OAAO,EAAE,CAAC;4BACR,IAAI,EAAE,MAAM;4BACZ,IAAI,EAAE,4BAA4B,SAAS,CAAC,UAAU,8HAA8H;yBACrL,CAAC;oBACF,OAAO,EAAE,IAAI;iBACd,CAAC;YACJ,CAAC;YAED,eAAe,CAAC,QAAQ,EAAE,oCAAoC,CAAC,CAAC;YAChE,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;aACnE,CAAC;QAEJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,eAAe,CAAC,QAAQ,EAAE,UAAU,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YAC9F,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,2BAA2B,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC;gBACtH,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC"}
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  import { CplaceApiClient } from '../api.js';
4
4
  export declare const SEARCH_TOOL_DEFINITIONS: {
5
5
  readonly cplace_search_pages: {
6
- readonly description: "Search pages of a type in cplace.";
6
+ readonly description: "Search pages of a type in cplace. The response includes a 'cplaceJson' field - use this when configuring search for embedded table/list widgets (cf.platform.embeddedSearchAsTable, cf.platform.embeddedSearchAsList).";
7
7
  readonly inputSchema: {
8
8
  readonly workspaceId: z.ZodOptional<z.ZodString>;
9
9
  readonly internalTypeName: z.ZodString;
@@ -9,7 +9,7 @@ const TOOL_SEARCH_PAGES_FULLTEXT = 'cplace_search_pages_fulltext';
9
9
  const TOOL_LIST_PAGES_OF_TYPE = 'cplace_list_pages_of_type';
10
10
  export const SEARCH_TOOL_DEFINITIONS = {
11
11
  [TOOL_SEARCH_PAGES]: {
12
- description: "Search pages of a type in cplace.",
12
+ description: "Search pages of a type in cplace. The response includes a 'cplaceJson' field - use this when configuring search for embedded table/list widgets (cf.platform.embeddedSearchAsTable, cf.platform.embeddedSearchAsList).",
13
13
  inputSchema: {
14
14
  workspaceId: z.string().optional().describe("The ID of the workspace to search in. If not provided, searches across all accessible workspaces."),
15
15
  internalTypeName: z.string().describe(`The internal name of the type to filter by. Examples:
@@ -1 +1 @@
1
- {"version":3,"file":"search.js","sourceRoot":"","sources":["../../src/tools/search.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,kBAAkB,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,iCAAiC,EAAE,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AAGrE,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;AAChD,MAAM,0BAA0B,GAAG,8BAA8B,CAAC;AAClE,MAAM,uBAAuB,GAAG,2BAA2B,CAAC;AAG5D,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,CAAC,iBAAiB,CAAC,EAAE;QACnB,WAAW,EAAE,mCAAmC;QAChD,WAAW,EAAE;YACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mGAAmG,CAAC;YAChJ,gBAA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E,MAAM,CAAC,OAAO;aACxB,CAAC;YAGF,MAAM,SAAS,GAAG,iBAAiB,CAAC,cAAc,CAAC,CAAC;YACpD,IAAI,SAAS,CAAC,QAAQ,EAAE,CAAC;gBACvB,OAAO;oBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC;iBACxD,CAAC;YACJ,CAAC;YAED,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;aAC3E,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,2BAA2B,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC;gBACtH,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC"}
@@ -73,7 +73,7 @@ export declare const TYPE_MANAGEMENT_TOOL_DEFINITIONS: {
73
73
  providerClass: z.ZodOptional<z.ZodString>;
74
74
  providerSimpleName: z.ZodOptional<z.ZodString>;
75
75
  }, "strip", z.ZodTypeAny, {
76
- constraintType: "string" | "number" | "boolean" | "workflow" | "longString" | "richString" | "localizedString" | "date" | "color" | "reference" | "textEnumeration" | "numberEnumeration" | "dynamicEnumeration";
76
+ constraintType: "string" | "number" | "boolean" | "workflow" | "date" | "reference" | "textEnumeration" | "numberEnumeration" | "dynamicEnumeration" | "longString" | "richString" | "localizedString" | "color";
77
77
  pattern?: string | undefined;
78
78
  patternErrorMessage?: Record<string, string> | undefined;
79
79
  precision?: number | undefined;
@@ -94,7 +94,7 @@ export declare const TYPE_MANAGEMENT_TOOL_DEFINITIONS: {
94
94
  providerClass?: string | undefined;
95
95
  providerSimpleName?: string | undefined;
96
96
  }, {
97
- constraintType: "string" | "number" | "boolean" | "workflow" | "longString" | "richString" | "localizedString" | "date" | "color" | "reference" | "textEnumeration" | "numberEnumeration" | "dynamicEnumeration";
97
+ constraintType: "string" | "number" | "boolean" | "workflow" | "date" | "reference" | "textEnumeration" | "numberEnumeration" | "dynamicEnumeration" | "longString" | "richString" | "localizedString" | "color";
98
98
  pattern?: string | undefined;
99
99
  patternErrorMessage?: Record<string, string> | undefined;
100
100
  precision?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"version-check.d.ts","sourceRoot":"","sources":["../../src/tools/version-check.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AA8B5C,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,QAoFlF"}
1
+ {"version":3,"file":"version-check.d.ts","sourceRoot":"","sources":["../../src/tools/version-check.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AA8B5C,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,QAqFlF"}
@@ -1,3 +1,4 @@
1
+ import semver from 'semver';
1
2
  import { readFileSync } from 'fs';
2
3
  import { fileURLToPath } from 'url';
3
4
  import { dirname, join } from 'path';
@@ -25,7 +26,7 @@ export function registerVersionCheckTool(server, client) {
25
26
  try {
26
27
  const backendResponse = await client.makeApiRequest('json/version', 'GET');
27
28
  const backendExpectedVersion = backendResponse.apiVersion;
28
- const isCompatible = FRONTEND_VERSION === backendExpectedVersion;
29
+ const isCompatible = semver.satisfies(FRONTEND_VERSION, backendExpectedVersion);
29
30
  if (isCompatible) {
30
31
  return {
31
32
  content: [{
@@ -43,19 +44,20 @@ export function registerVersionCheckTool(server, client) {
43
44
  };
44
45
  }
45
46
  else {
46
- const frontendIsNewer = compareVersions(FRONTEND_VERSION, backendExpectedVersion) > 0;
47
- const guidance = frontendIsNewer
47
+ const minVersion = semver.minVersion(backendExpectedVersion);
48
+ const isBelowRange = minVersion && semver.lt(FRONTEND_VERSION, minVersion.version);
49
+ const guidance = isBelowRange
48
50
  ? {
49
- action: "MCP SERVER DOWNGRADE OR BACKEND UPGRADE NEEDED",
50
- recommendation: `Two resolution options:
51
- Option A: Downgrade MCP server to version ${backendExpectedVersion} by updating your Claude Desktop/Code configuration to use @cplace/test-mcp-server@${backendExpectedVersion}
52
- Option B: Contact administrator to upgrade cplace backend to the latest version`,
53
- explanation: "Your MCP server package is newer than what the backend expects. You can either downgrade the MCP server or upgrade the backend."
51
+ action: "MCP SERVER UPGRADE NEEDED",
52
+ recommendation: `Upgrade MCP server package to version ${minVersion?.version} or higher. If using npx without version pin, simply restart Claude to auto-upgrade. Otherwise, update your configuration to @cplace/test-mcp-server@${minVersion?.version} or later.`,
53
+ explanation: `Backend accepts versions matching: ${backendExpectedVersion}. Your version ${FRONTEND_VERSION} is below the minimum required.`
54
54
  }
55
55
  : {
56
- action: "MCP SERVER UPGRADE NEEDED",
57
- recommendation: `Upgrade MCP server package to version ${backendExpectedVersion}. If using npx without version pin, simply restart Claude to auto-upgrade. Otherwise, update your configuration to @cplace/test-mcp-server@${backendExpectedVersion}`,
58
- explanation: "Backend has been upgraded and expects newer MCP server package version."
56
+ action: "MCP SERVER DOWNGRADE OR BACKEND UPGRADE NEEDED",
57
+ recommendation: `Two resolution options:
58
+ Option A: Downgrade MCP server to a version matching ${backendExpectedVersion} by updating your Claude Desktop/Code configuration
59
+ Option B: Contact administrator to upgrade cplace backend to support version ${FRONTEND_VERSION}`,
60
+ explanation: `Your MCP server package version ${FRONTEND_VERSION} is newer than what the backend accepts (${backendExpectedVersion}). Backend needs to be updated to declare a range that includes your version.`
59
61
  };
60
62
  return {
61
63
  content: [{
@@ -91,17 +93,4 @@ Option B: Contact administrator to upgrade cplace backend to the latest version`
91
93
  }
92
94
  });
93
95
  }
94
- function compareVersions(v1, v2) {
95
- const parts1 = v1.split('.').map(Number);
96
- const parts2 = v2.split('.').map(Number);
97
- for (let i = 0; i < Math.max(parts1.length, parts2.length); i++) {
98
- const part1 = parts1[i] || 0;
99
- const part2 = parts2[i] || 0;
100
- if (part1 > part2)
101
- return 1;
102
- if (part1 < part2)
103
- return -1;
104
- }
105
- return 0;
106
- }
107
96
  //# sourceMappingURL=version-check.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version-check.js","sourceRoot":"","sources":["../../src/tools/version-check.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAGrC,MAAM,gCAAgC,GAAG,oCAAoC,CAAC;AAM9E,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AACtC,MAAM,eAAe,GAAG,IAAI,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC;AAE9D,SAAS,kBAAkB;IACzB,IAAI,CAAC;QACH,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC;QACtE,OAAO,WAAW,CAAC,OAAO,CAAC;IAC7B,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAGf,OAAO,CAAC,KAAK,CAAC,+CAA+C,EAAE,KAAK,CAAC,CAAC;QACtE,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAED,MAAM,gBAAgB,GA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AgB,iCAAiC;qBAC7I;oBACH,CAAC,CAAC;wBACE,MAAM,EAAE,gDAAgD;wBACxD,cAAc,EAAE;uDACuB,sBAAsB;+EACE,gBAAgB,EAAE;wBACjF,WAAW,EAAE,mCAAmC,gBAAgB,4CAA4C,sBAAsB,+EAA+E;qBAClN,CAAC;gBAEN,OAAO;oBACL,OAAO,EAAE,CAAC;4BACR,IAAI,EAAE,MAAM;4BACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC;gCACnB,MAAM,EAAE,UAAU;gCAClB,OAAO,EAAE,8BAA8B;gCACvC,OAAO,EAAE;oCACP,sBAAsB,EAAE,gBAAgB;oCACxC,sBAAsB,EAAE,sBAAsB;oCAC9C,WAAW,EAAE,yBAAyB;iCACvC;gCACD,GAAG,QAAQ;6BACZ,EAAE,IAAI,EAAE,CAAC,CAAC;yBACZ,CAAC;oBACF,OAAO,EAAE,IAAI;iBACd,CAAC;YACJ,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAEf,OAAO;gBACL,OAAO,EAAE,CAAC;wBACR,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC;4BACnB,MAAM,EAAE,OAAO;4BACf,OAAO,EAAE,yCAAyC;4BAClD,MAAM,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;4BAC9D,UAAU,EAAE,sIAAsI;yBACnJ,EAAE,IAAI,EAAE,CAAC,CAAC;qBACZ,CAAC;gBACF,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC"}
@@ -3,21 +3,24 @@ import { z } from "zod";
3
3
  import { CplaceApiClient } from '../api.js';
4
4
  export declare const WIDGET_TOOL_DEFINITIONS: {
5
5
  readonly cplace_list_widget_definitions: {
6
- readonly description: "Get a list of all available widget definitions in the system that support the specified embedding context, with their basic metadata including names, descriptions, and apps";
6
+ readonly description: "Get a list of all available widget definitions in the system that support the specified embedding context, with their basic metadata including names, descriptions, and apps.\n\n⚠️ APP DEPENDENCY CHECK: Each widget includes a 'requiredApp' field:\n- null: Widget is always available (platform widget, no app dependency)\n- \"cf.cplace.someApp\": Widget requires this app to be installed in the workspace\n\nBEFORE SELECTING A WIDGET for a specific workspace, verify the required app is installed using cplace_list_workspace_apps. Widgets with uninstalled requiredApp cannot be added to layouts.";
7
7
  readonly inputSchema: {
8
8
  readonly embeddingContext: z.ZodDefault<z.ZodEnum<["AS_WIDGET", "INSIDE_RICHSTRING", "INSIDE_WIDGET"]>>;
9
+ readonly tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9
10
  };
10
11
  readonly annotations: {
11
12
  readonly title: "List Widget Definitions";
12
13
  };
13
14
  };
14
15
  readonly cplace_get_widget_definition: {
15
- readonly description: "Get detailed widget configuration schema.\n\n🔍 ALWAYS USE BEFORE ADDING/CONFIGURING WIDGETS to understand:\n- Required vs optional attributes\n- Correct attribute names (often not intuitive!)\n- Expected data types and formats\n- Available enumeration values\n\nCOMMON GOTCHAS:\n- Bar charts use 'attributeName' not 'attribute'\n- Connected charts need 'tableWidgetId' to link to tables\n- Attribute names often need single quotes: \"'cf.cplace.myAttribute'\"\n- LocalizedString format: {\"en\": \"English\", \"de\": \"German\"}\n\nWidget kinds: 'cf.platform.connectedBarChart', 'cf.platform.wiki', etc.";
16
+ readonly description: "Get widget definition with configurable detail level.\n\nALWAYS includes:\n- widgetKind, localizedName\n- summary (from widget specifications)\n\nOPTIONAL depth control:\n- includeOverview: true adds conceptual documentation (overview)\n- includeDetails: true adds attributes array and implementation hints\n\nCOMMON USAGE:\n- Quick check: just widgetKinds (minimal response)\n- Understanding: includeOverview: true\n- Implementation: includeDetails: true\n- Full details: both flags true\n\nWidget kinds: 'cf.platform.connectedBarChart', 'cf.platform.wiki', etc.";
16
17
  readonly inputSchema: {
17
- readonly widgetKind: z.ZodString;
18
+ readonly widgetKinds: z.ZodArray<z.ZodString, "many">;
19
+ readonly includeOverview: z.ZodDefault<z.ZodBoolean>;
20
+ readonly includeDetails: z.ZodDefault<z.ZodBoolean>;
18
21
  };
19
22
  readonly annotations: {
20
- readonly title: "Get Widget Definition Details";
23
+ readonly title: "Get Widget Definition";
21
24
  };
22
25
  };
23
26
  readonly cplace_get_widget_details: {
@@ -76,7 +79,7 @@ export declare const WIDGET_TOOL_DEFINITIONS: {
76
79
  };
77
80
  };
78
81
  readonly cplace_add_widget_to_embedded_layout: {
79
- readonly description: "Add widget to page or type embedded layout. Enables adding widgets to nested layouts like those within AttributesGroup widgets.";
82
+ readonly description: "Add widget to page or type embedded layout. Enables adding widgets to nested layouts like those within AttributesGroup widgets.\n\n⚠️ APP DEPENDENCY: Verify the widget's requiredApp is installed in the workspace using cplace_list_workspace_apps before adding. Widgets with uninstalled requiredApp will fail.";
80
83
  readonly inputSchema: {
81
84
  readonly context: z.ZodUnion<[z.ZodObject<{
82
85
  type: z.ZodLiteral<"page">;
@@ -1 +1 @@
1
- {"version":3,"file":"widgets.d.ts","sourceRoot":"","sources":["../../src/tools/widgets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAuC5C,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgG1B,CAAC;AAEX,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,QA4V7E"}
1
+ {"version":3,"file":"widgets.d.ts","sourceRoot":"","sources":["../../src/tools/widgets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AA8E5C,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2H1B,CAAC;AAEX,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,QAsY7E"}
@@ -2,6 +2,30 @@ import { z } from "zod";
2
2
  import { debugLogWithTag } from "../logger.js";
3
3
  import { transformMultiplicityToBoolean } from '../utils.js';
4
4
  import { PositionSchema, WIDGET_CONFIG_DESCRIPTION } from './common-schemas.js';
5
+ import { WIDGET_SPECIFICATIONS } from '../widget-specifications/index.js';
6
+ import { readFileSync } from 'fs';
7
+ import { fileURLToPath } from 'url';
8
+ import { dirname, join } from 'path';
9
+ const __filename = fileURLToPath(import.meta.url);
10
+ const __dirname = dirname(__filename);
11
+ function loadTagRegistry() {
12
+ const tagRegistryPath = join(__dirname, '..', 'widget-specifications', 'tag-registry.json');
13
+ const content = readFileSync(tagRegistryPath, 'utf8');
14
+ return JSON.parse(content);
15
+ }
16
+ function buildTagFilterDescription() {
17
+ const tagRegistry = loadTagRegistry();
18
+ let description = 'Filter widgets by tags (OR logic - returns widgets matching ANY tag).\n\n';
19
+ for (const dimension of Object.values(tagRegistry.dimensions)) {
20
+ const dim = dimension;
21
+ description += `**${dim.description}**:\n`;
22
+ for (const [tagKey, tagDesc] of Object.entries(dim.tags)) {
23
+ description += `- ${tagKey}: ${tagDesc}\n`;
24
+ }
25
+ description += '\n';
26
+ }
27
+ return description.trim();
28
+ }
5
29
  const TOOL_LIST_WIDGET_DEFINITIONS = 'cplace_list_widget_definitions';
6
30
  const TOOL_GET_WIDGET_DEFINITION = 'cplace_get_widget_definition';
7
31
  const TOOL_GET_WIDGET_DETAILS = 'cplace_get_widget_details';
@@ -10,21 +34,46 @@ const TOOL_ADD_WIDGET_TO_EMBEDDED_LAYOUT = 'cplace_add_widget_to_embedded_layout
10
34
  const TOOL_REMOVE_WIDGET_FROM_EMBEDDED_LAYOUT = 'cplace_remove_widget_from_embedded_layout';
11
35
  export const WIDGET_TOOL_DEFINITIONS = {
12
36
  [TOOL_LIST_WIDGET_DEFINITIONS]: {
13
- description: "Get a list of all available widget definitions in the system that support the specified embedding context, with their basic metadata including names, descriptions, and apps",
37
+ description: `Get a list of all available widget definitions in the system that support the specified embedding context, with their basic metadata including names, descriptions, and apps.
38
+
39
+ ⚠️ APP DEPENDENCY CHECK: Each widget includes a 'requiredApp' field:
40
+ - null: Widget is always available (platform widget, no app dependency)
41
+ - "cf.cplace.someApp": Widget requires this app to be installed in the workspace
42
+
43
+ BEFORE SELECTING A WIDGET for a specific workspace, verify the required app is installed using cplace_list_workspace_apps. Widgets with uninstalled requiredApp cannot be added to layouts.`,
14
44
  inputSchema: {
15
45
  embeddingContext: z.enum(["AS_WIDGET", "INSIDE_RICHSTRING", "INSIDE_WIDGET"]).default("AS_WIDGET").describe(`Filter widgets by embedding context support:
16
46
  - AS_WIDGET (default): Widgets that support full widget embedding with frame and title
17
47
  - INSIDE_RICHSTRING: Widgets that can be embedded in rich text content without frame
18
- - INSIDE_WIDGET: Widgets that can be embedded inside other widgets without frame`)
48
+ - INSIDE_WIDGET: Widgets that can be embedded inside other widgets without frame`),
49
+ tags: z.array(z.string()).optional().describe(buildTagFilterDescription())
19
50
  },
20
51
  annotations: { title: "List Widget Definitions" }
21
52
  },
22
53
  [TOOL_GET_WIDGET_DEFINITION]: {
23
- description: "Get detailed widget configuration schema.\n\n🔍 ALWAYS USE BEFORE ADDING/CONFIGURING WIDGETS to understand:\n- Required vs optional attributes\n- Correct attribute names (often not intuitive!)\n- Expected data types and formats\n- Available enumeration values\n\nCOMMON GOTCHAS:\n- Bar charts use 'attributeName' not 'attribute'\n- Connected charts need 'tableWidgetId' to link to tables\n- Attribute names often need single quotes: \"'cf.cplace.myAttribute'\"\n- LocalizedString format: {\"en\": \"English\", \"de\": \"German\"}\n\nWidget kinds: 'cf.platform.connectedBarChart', 'cf.platform.wiki', etc.",
54
+ description: `Get widget definition with configurable detail level.
55
+
56
+ ALWAYS includes:
57
+ - widgetKind, localizedName
58
+ - summary (from widget specifications)
59
+
60
+ OPTIONAL depth control:
61
+ - includeOverview: true → adds conceptual documentation (overview)
62
+ - includeDetails: true → adds attributes array and implementation hints
63
+
64
+ COMMON USAGE:
65
+ - Quick check: just widgetKinds (minimal response)
66
+ - Understanding: includeOverview: true
67
+ - Implementation: includeDetails: true
68
+ - Full details: both flags true
69
+
70
+ Widget kinds: 'cf.platform.connectedBarChart', 'cf.platform.wiki', etc.`,
24
71
  inputSchema: {
25
- widgetKind: z.string().describe("The widget kind identifier (e.g., 'cf.cplace.platform.table', 'cf.platform.wiki')")
72
+ widgetKinds: z.array(z.string()).describe("Array of widget kind identifiers (e.g., ['cf.platform.embeddedSearchAsTable', 'cf.platform.connectedBarChart'])"),
73
+ includeOverview: z.boolean().default(false).describe("Include conceptual documentation from _overview.md. Use when you need to understand widget purpose and capabilities."),
74
+ includeDetails: z.boolean().default(false).describe("Include attributes array and implementation hints from _implementation.md. Use when you need to configure the widget.")
26
75
  },
27
- annotations: { title: "Get Widget Definition Details" }
76
+ annotations: { title: "Get Widget Definition" }
28
77
  },
29
78
  [TOOL_GET_WIDGET_DETAILS]: {
30
79
  description: "Get detailed configuration for a specific widget within a page layout. Use this after cplace_get_page_layout_overview to examine specific widget configurations.",
@@ -57,7 +106,9 @@ export const WIDGET_TOOL_DEFINITIONS = {
57
106
  annotations: { title: "Get Embedded Layout" }
58
107
  },
59
108
  [TOOL_ADD_WIDGET_TO_EMBEDDED_LAYOUT]: {
60
- description: "Add widget to page or type embedded layout. Enables adding widgets to nested layouts like those within AttributesGroup widgets.",
109
+ description: `Add widget to page or type embedded layout. Enables adding widgets to nested layouts like those within AttributesGroup widgets.
110
+
111
+ ⚠️ APP DEPENDENCY: Verify the widget's requiredApp is installed in the workspace using cplace_list_workspace_apps before adding. Widgets with uninstalled requiredApp will fail.`,
61
112
  inputSchema: {
62
113
  context: z.union([
63
114
  z.object({
@@ -106,24 +157,30 @@ export const WIDGET_TOOL_DEFINITIONS = {
106
157
  }
107
158
  };
108
159
  export function registerWidgetTools(server, client) {
109
- const WIDGET_ATTRIBUTE_ENHANCEMENTS = {
110
- 'cf.cplace.platform.attributesGroup': {
111
- 'cf.cplace.platform.attributesGroup.pageSelection': {
112
- validValues: {
113
- 'embedding': 'Use the current embedding page (the page containing this widget)',
114
- 'parent': 'Use the parent page of the embedding page',
115
- 'absolute': 'Use an absolute page reference (requires cf.cplace.platform.attributesGroup.absoluteSelection)',
116
- 'relative': 'Use a relative reference through an attribute (requires cf.cplace.platform.attributesGroup.relativeSelection)'
117
- },
118
- defaultValue: 'embedding',
119
- note: 'This attribute determines which page\'s attributes are displayed in the widget'
120
- }
121
- },
122
- };
123
- server.registerTool(TOOL_LIST_WIDGET_DEFINITIONS, WIDGET_TOOL_DEFINITIONS[TOOL_LIST_WIDGET_DEFINITIONS], async ({ embeddingContext = "AS_WIDGET" }) => {
124
- debugLogWithTag('WIDGETS', `Starting widget definitions list request with embeddingContext: ${embeddingContext}`);
160
+ server.registerTool(TOOL_LIST_WIDGET_DEFINITIONS, WIDGET_TOOL_DEFINITIONS[TOOL_LIST_WIDGET_DEFINITIONS], async ({ embeddingContext = "AS_WIDGET", tags }) => {
161
+ debugLogWithTag('WIDGETS', `Starting widget definitions list request with embeddingContext: ${embeddingContext}${tags?.length ? `, tags: ${tags.join(', ')}` : ''}`);
125
162
  try {
126
163
  const result = await client.makeApiRequest('json/widget-definitions', 'GET', { embeddingContext });
164
+ if (result && typeof result === 'object' && Array.isArray(result.widgetDefinitions)) {
165
+ result.widgetDefinitions.forEach((widget) => {
166
+ const widgetSpecs = WIDGET_SPECIFICATIONS[widget.widgetKind];
167
+ if (widgetSpecs?.['_summary']) {
168
+ widget.summary = widgetSpecs['_summary'];
169
+ }
170
+ if (widgetSpecs?._meta?.requiredApp !== undefined) {
171
+ widget.requiredApp = widgetSpecs._meta.requiredApp;
172
+ }
173
+ });
174
+ debugLogWithTag('WIDGETS', `Enriched ${result.widgetDefinitions.filter((w) => w.summary).length} widgets with summaries`);
175
+ }
176
+ if (tags?.length && result.widgetDefinitions) {
177
+ result.widgetDefinitions = result.widgetDefinitions.filter((widget) => {
178
+ const widgetSpecs = WIDGET_SPECIFICATIONS[widget.widgetKind];
179
+ const widgetTags = widgetSpecs?._meta?.tags || [];
180
+ return tags.some(tag => widgetTags.includes(tag));
181
+ });
182
+ debugLogWithTag('WIDGETS', `Filtered to ${result.widgetDefinitions.length} widgets matching tags: ${tags.join(', ')}`);
183
+ }
127
184
  debugLogWithTag('WIDGETS', `Retrieved widget definitions for context: ${embeddingContext}`);
128
185
  return {
129
186
  content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
@@ -139,34 +196,60 @@ export function registerWidgetTools(server, client) {
139
196
  };
140
197
  }
141
198
  });
142
- server.registerTool(TOOL_GET_WIDGET_DEFINITION, WIDGET_TOOL_DEFINITIONS[TOOL_GET_WIDGET_DEFINITION], async ({ widgetKind }) => {
143
- debugLogWithTag('WIDGETS', `Starting widget definition request for: ${widgetKind}`);
199
+ server.registerTool(TOOL_GET_WIDGET_DEFINITION, WIDGET_TOOL_DEFINITIONS[TOOL_GET_WIDGET_DEFINITION], async ({ widgetKinds, includeOverview = false, includeDetails = false }) => {
200
+ debugLogWithTag('WIDGETS', `Starting widget definition request for: ${widgetKinds.join(', ')} (includeOverview: ${includeOverview}, includeDetails: ${includeDetails})`);
144
201
  try {
145
- const result = await client.makeApiRequest('json/widget-definition', 'GET', { widgetKind });
146
- if (result && result.configurationSchema && result.configurationSchema.attributes) {
147
- result.configurationSchema.attributes = transformMultiplicityToBoolean(result.configurationSchema.attributes);
148
- const widgetEnhancements = WIDGET_ATTRIBUTE_ENHANCEMENTS[widgetKind];
149
- if (widgetEnhancements) {
150
- result.configurationSchema.attributes = result.configurationSchema.attributes.map((attr) => {
151
- const enhancement = widgetEnhancements[attr.name];
152
- if (enhancement) {
153
- attr.hiddenKnowledge = enhancement;
154
- debugLogWithTag('WIDGETS', `Enhanced attribute ${attr.name} with hidden knowledge`);
202
+ const results = await Promise.all(widgetKinds.map(async (widgetKind) => {
203
+ try {
204
+ const result = await client.makeApiRequest('json/widget-definition', 'GET', { widgetKind });
205
+ const widgetSpecs = WIDGET_SPECIFICATIONS[widgetKind];
206
+ const response = {
207
+ widgetKind: result.widgetKind,
208
+ localizedName: result.localizedName,
209
+ summary: widgetSpecs?.['_summary'] ?? null
210
+ };
211
+ if (includeOverview) {
212
+ response.overview = widgetSpecs?.['_overview'] ?? null;
213
+ }
214
+ if (includeDetails) {
215
+ let attributes = result.configurationSchema?.attributes || [];
216
+ attributes = transformMultiplicityToBoolean(attributes);
217
+ if (widgetSpecs) {
218
+ attributes = attributes.map((attr) => {
219
+ const fullAttrName = `${widgetKind}.${attr.name}`;
220
+ const specification = widgetSpecs[fullAttrName];
221
+ if (specification && typeof specification === 'string') {
222
+ attr.specification = specification;
223
+ }
224
+ return attr;
225
+ });
155
226
  }
156
- return attr;
157
- });
227
+ const implementation = widgetSpecs?.['_implementation'];
228
+ if (implementation && typeof implementation === 'string') {
229
+ response.implementation = implementation;
230
+ }
231
+ response.attributesCount = result.configurationSchema?.attributesCount;
232
+ response.attributes = attributes;
233
+ }
234
+ return response;
158
235
  }
159
- }
160
- debugLogWithTag('WIDGETS', `Retrieved widget definition for: ${widgetKind}`);
236
+ catch (error) {
237
+ return {
238
+ widgetKind,
239
+ error: error instanceof Error ? error.message : String(error)
240
+ };
241
+ }
242
+ }));
243
+ debugLogWithTag('WIDGETS', `Retrieved definitions for ${results.filter(r => !('error' in r)).length}/${widgetKinds.length} widgets`);
161
244
  return {
162
- content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
245
+ content: [{ type: "text", text: JSON.stringify(results, null, 2) }]
163
246
  };
164
247
  }
165
248
  catch (error) {
166
249
  return {
167
250
  content: [{
168
251
  type: "text",
169
- text: `Error retrieving widget definition for ${widgetKind}: ${error instanceof Error ? error.message : String(error)}`
252
+ text: `Error retrieving widget definitions: ${error instanceof Error ? error.message : String(error)}`
170
253
  }],
171
254
  isError: true
172
255
  };