@cplace/test-mcp-server 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -36
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +7 -1
- package/dist/api.js.map +1 -1
- package/dist/conditional-registration.d.ts.map +1 -1
- package/dist/conditional-registration.js +7 -1
- package/dist/conditional-registration.js.map +1 -1
- package/dist/index.js +56 -3
- package/dist/index.js.map +1 -1
- package/dist/profiles.d.ts.map +1 -1
- package/dist/profiles.js +8 -4
- package/dist/profiles.js.map +1 -1
- package/dist/tool-metadata.d.ts.map +1 -1
- package/dist/tool-metadata.js +3 -1
- package/dist/tool-metadata.js.map +1 -1
- package/dist/tools/board-widget.d.ts +432 -0
- package/dist/tools/board-widget.d.ts.map +1 -0
- package/dist/tools/board-widget.js +820 -0
- package/dist/tools/board-widget.js.map +1 -0
- package/dist/tools/generic-layouts.d.ts +1 -1
- package/dist/tools/generic-layouts.d.ts.map +1 -1
- package/dist/tools/generic-layouts.js +23 -1
- package/dist/tools/generic-layouts.js.map +1 -1
- package/dist/tools/jobs.d.ts +32 -0
- package/dist/tools/jobs.d.ts.map +1 -0
- package/dist/tools/jobs.js +193 -0
- package/dist/tools/jobs.js.map +1 -0
- package/dist/tools/script.d.ts +25 -0
- package/dist/tools/script.d.ts.map +1 -0
- package/dist/tools/script.js +121 -0
- package/dist/tools/script.js.map +1 -0
- package/dist/tools/search.d.ts +1 -1
- package/dist/tools/search.js +1 -1
- package/dist/tools/search.js.map +1 -1
- package/dist/tools/type-management.d.ts +2 -2
- package/dist/tools/widgets.d.ts +8 -5
- package/dist/tools/widgets.d.ts.map +1 -1
- package/dist/tools/widgets.js +143 -40
- package/dist/tools/widgets.js.map +1 -1
- package/dist/tools/workspace-admin.d.ts +11 -1
- package/dist/tools/workspace-admin.d.ts.map +1 -1
- package/dist/tools/workspace-admin.js +67 -8
- package/dist/tools/workspace-admin.js.map +1 -1
- package/dist/tools/workspace-core.d.ts +4 -1
- package/dist/tools/workspace-core.d.ts.map +1 -1
- package/dist/tools/workspace-core.js +38 -7
- package/dist/tools/workspace-core.js.map +1 -1
- package/dist/utils.d.ts +6 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +107 -1
- package/dist/utils.js.map +1 -1
- package/dist/widget-specifications/CLAUDE.md +288 -0
- package/dist/widget-specifications/DOCUMENTATION-STATUS.md +424 -0
- package/dist/widget-specifications/GENERATING-FROM-RESEARCH.md +61 -0
- package/dist/widget-specifications/WIDGET-TAGGING-SCHEME.md +217 -0
- package/dist/widget-specifications/_research_from_ga_products/.claude-settings.local.json +48 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-api-common-config-metadata-SyncMetadataTable/research.md +168 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-breadcrumbs-breadcrumbsWidget/research.md +125 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-cboard-main-board/research.md +373 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-citizenAi-askYourPageWidget/research.md +319 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-cplaceReportGeneration-generateReportWidget/research.md +295 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-employeeReportChart/research.md +230 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-employeeReportGrid/research.md +215 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-projectmanagerReportChart/research.md +192 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-projectmanagerReportGrid/research.md +178 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ctts-main-widget/research.md +332 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-demoWidgets-demoRichString/research.md +194 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-documentation-navigationWidget/research.md +426 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-dragAndDropImageView-imageWithTextAndListWidget/research.md +326 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-dragAndDropImageView-imageWithTextWidget/research.md +580 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-dragAndDropImageView-widget/research.md +281 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-draggablePageList-widget/research.md +210 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-dynamicCodeBlockWidget-dynamicCodeBlockWidget/research.md +250 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-attribute-conversion-widget-enumMappingTable/research.md +260 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-configuration-widget-attributeMappingTable/research.md +148 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-connector-extension-widget-cleanupConfigTable/research.md +138 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-connector-extension-widget-connectorSyncConfigsTable/research.md +150 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-ecf-connector-extension-widget-serverConnectionTable/research.md +181 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-extendedTreeTableWidget/research.md +253 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-horizontalDivider/research.md +261 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-startWizardWidget/research.md +211 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-stepEditorForWizardWidget/research.md +183 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-stepEditorWidget/research.md +298 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-stepManager/research.md +419 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-stepPreview/research.md +256 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-wizardActivation/research.md +174 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-wizardAnalysis/research.md +283 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-formsWizard-wizardLocalizations/research.md +193 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-genericInterface-api-widgets-triggerInterfaceButton/research.md +180 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-landingPageFromPage-quickOverview/research.md +186 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-landingPageFromPage-sessionUserNameWidget/research.md +158 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-landingPageFromPage-simpleListWithAttachment/research.md +135 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-layoutTabsWidget-widget/research.md +238 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-lowCodeWidgets-lowCodeButton/research.md +272 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-lowcode-ai-chatWidget/research.md +194 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-meeting-pageHeader/research.md +208 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-navigationTileWidget-widget/research.md +259 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-officeReports-headlineForReports/research.md +174 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-officeReports-scriptPlaceholders/research.md +233 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-officeReports-templatePlaceholders/research.md +150 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-orgaTree-edit/research.md +353 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-outlookMessageIntegration-outlookMessages/research.md +233 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-pageViewHeadline-widget/research.md +217 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-pdfPreview-widget/research.md +235 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-attributesGroup/research.md +525 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-batchJobQuickGlance/research.md +372 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-connectedAttributesGroup/research.md +408 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-dynamicIframe/research.md +198 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-platform-tableWidget/research.md +427 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-pptexport-pgPreviewWidget/research.md +151 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-projectTree-editProjects/research.md +163 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-projektplanung-scheduleLockState/research.md +174 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-projektplanung-subscriptions/research.md +316 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-qrCodeWidget/research.md +130 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-resourceManagement-resourcePlannerDefinition/research.md +331 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-rest-config-widget-productionModeHintWidget/research.md +332 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-simpleCalendar-calendar/research.md +284 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-simpleForm-widget/research.md +193 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-tableDetailViewWidget-widget/research.md +311 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-treeTableWidget/research.md +420 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-tuplesWidget-widget/research.md +295 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-videoWidget/research.md +154 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-visualizations-scriptingHighcharts/research.md +249 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-visualizations-scriptingLineChart/research.md +279 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-cplace-visualizations-tupleLineChart/research.md +221 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-attributeHistory/research.md +421 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-attributes/research.md +377 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-comments/research.md +254 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedBarChart/research.md +275 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedMatrix/research.md +396 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedPieChart/research.md +150 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedSingleAttribute/research.md +430 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-connectedTableFilter/research.md +468 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-customRichStringAttribute/research.md +120 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-embeddedSearchAsList/research.md +485 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-embeddedSearchAsTable/research.md +428 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-files/research.md +240 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-iframe/research.md +358 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-incomingLinks/research.md +242 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-incomingReferences/research.md +488 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-makeover-attributes/research.md +219 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-modificationInfo/research.md +141 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-myElements/research.md +116 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-richString/research.md +437 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-singleAttribute/research.md +1094 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-tags/research.md +332 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-platform-wiki/research.md +258 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-gantt/research.md +268 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-ganttTaskDemo/research.md +271 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-multiGantt/research.md +343 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-scheduleTreeTable/research.md +261 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-singleGantt/research.md +184 -0
- package/dist/widget-specifications/_research_from_ga_products/cf-projektplanung-singleGanttLink/research.md +188 -0
- package/dist/widget-specifications/_research_from_ga_products/de-2lforge-curves-widget/research.md +341 -0
- package/dist/widget-specifications/_research_from_ga_products/de-2lforge-toolbar-datePickerWidget/research.md +232 -0
- package/dist/widget-specifications/_research_from_ga_products/de-2lforge-toolbar-dropDownWidget/research.md +417 -0
- package/dist/widget-specifications/_research_from_ga_products/de-2lforge-toolbar-miscWidget/research.md +172 -0
- package/dist/widget-specifications/_research_from_ga_products/de-visualistik-visualRoadmap-widget/research.md +277 -0
- package/dist/widget-specifications/_research_from_ga_products/msg-scripts-imagegallery-basic/research.md +112 -0
- package/dist/widget-specifications/_research_from_ga_products/phase-0-discovery-approach.md +248 -0
- package/dist/widget-specifications/_research_from_ga_products/widget-definition-mapping.md +168 -0
- package/dist/widget-specifications/_research_from_ga_products/widget-documentation-project.md +259 -0
- package/dist/widget-specifications/_research_from_ga_products/widget-research-generation/generate.sh +100 -0
- package/dist/widget-specifications/_research_from_ga_products/widget-research-generation/parse-mapping.sh +35 -0
- package/dist/widget-specifications/_research_from_ga_products/widget-research-generation/template.md +38 -0
- package/dist/widget-specifications/_research_from_ga_products/widget-research-generation/widgets.txt +107 -0
- package/dist/widget-specifications/cf.cplace.api.common.config.metadata.SyncMetadataTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.api.common.config.metadata.SyncMetadataTable/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.api.common.config.metadata.SyncMetadataTable/_overview.md +40 -0
- package/dist/widget-specifications/cf.cplace.api.common.config.metadata.SyncMetadataTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.breadcrumbs.breadcrumbsWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.breadcrumbs.breadcrumbsWidget/_meta.json +8 -0
- package/dist/widget-specifications/cf.cplace.breadcrumbs.breadcrumbsWidget/_overview.md +74 -0
- package/dist/widget-specifications/cf.cplace.breadcrumbs.breadcrumbsWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.cboard.main.board/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.cboard.main.board/_implementation.md +37 -0
- package/dist/widget-specifications/cf.cplace.cboard.main.board/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.cboard.main.board/_overview.md +117 -0
- package/dist/widget-specifications/cf.cplace.cboard.main.board/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.citizenAi.askYourPageWidget/_meta.json +3 -0
- package/dist/widget-specifications/cf.cplace.citizenAi.askYourPageWidget/_overview.md +123 -0
- package/dist/widget-specifications/cf.cplace.citizenAi.askYourPageWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.cplaceReportGeneration.generateReportWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.cplaceReportGeneration.generateReportWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.cplaceReportGeneration.generateReportWidget/_overview.md +45 -0
- package/dist/widget-specifications/cf.cplace.cplaceReportGeneration.generateReportWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportChart/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportChart/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportChart/_overview.md +79 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportChart/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportGrid/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportGrid/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportGrid/_overview.md +45 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.employeeReportGrid/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportChart/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportChart/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportChart/_overview.md +68 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportChart/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportGrid/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportGrid/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportGrid/_overview.md +45 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.projectmanagerReportGrid/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.widget/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.widget/_overview.md +157 -0
- package/dist/widget-specifications/cf.cplace.ctts.main.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.demoWidgets.demoRichString/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.demoWidgets.demoRichString/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.demoWidgets.demoRichString/_overview.md +200 -0
- package/dist/widget-specifications/cf.cplace.demoWidgets.demoRichString/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.documentation.navigationWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.documentation.navigationWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.documentation.navigationWidget/_overview.md +27 -0
- package/dist/widget-specifications/cf.cplace.documentation.navigationWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextAndListWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextAndListWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextAndListWidget/_overview.md +79 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextAndListWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextWidget/_overview.md +176 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.imageWithTextWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.widget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.widget/_overview.md +85 -0
- package/dist/widget-specifications/cf.cplace.dragAndDropImageView.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.draggablePageList.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.draggablePageList.widget/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.draggablePageList.widget/_overview.md +93 -0
- package/dist/widget-specifications/cf.cplace.draggablePageList.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.dynamicCodeBlockWidget.dynamicCodeBlockWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.dynamicCodeBlockWidget.dynamicCodeBlockWidget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.dynamicCodeBlockWidget.dynamicCodeBlockWidget/_overview.md +75 -0
- package/dist/widget-specifications/cf.cplace.dynamicCodeBlockWidget.dynamicCodeBlockWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ecf.attribute.conversion.widget.enumMappingTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ecf.attribute.conversion.widget.enumMappingTable/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.ecf.attribute.conversion.widget.enumMappingTable/_overview.md +167 -0
- package/dist/widget-specifications/cf.cplace.ecf.attribute.conversion.widget.enumMappingTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ecf.configuration.widget.attributeMappingTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ecf.configuration.widget.attributeMappingTable/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.ecf.configuration.widget.attributeMappingTable/_overview.md +64 -0
- package/dist/widget-specifications/cf.cplace.ecf.configuration.widget.attributeMappingTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.cleanupConfigTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.cleanupConfigTable/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.cleanupConfigTable/_overview.md +61 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.cleanupConfigTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.connectorSyncConfigsTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.connectorSyncConfigsTable/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.connectorSyncConfigsTable/_overview.md +94 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.connectorSyncConfigsTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.serverConnectionTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.serverConnectionTable/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.serverConnectionTable/_overview.md +28 -0
- package/dist/widget-specifications/cf.cplace.ecf.connector.extension.widget.serverConnectionTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.extendedTreeTableWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.extendedTreeTableWidget/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.extendedTreeTableWidget/_overview.md +116 -0
- package/dist/widget-specifications/cf.cplace.extendedTreeTableWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.horizontalDivider/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.horizontalDivider/_meta.json +8 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.horizontalDivider/_overview.md +44 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.horizontalDivider/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.startWizardWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.startWizardWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.startWizardWidget/_overview.md +40 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.startWizardWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorForWizardWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorForWizardWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorForWizardWidget/_overview.md +47 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorForWizardWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorWidget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorWidget/_overview.md +23 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepEditorWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepManager/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepManager/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepManager/_overview.md +32 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepManager/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepPreview/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepPreview/_meta.json +8 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepPreview/_overview.md +29 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.stepPreview/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardActivation/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardActivation/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardActivation/_overview.md +69 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardActivation/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardAnalysis/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardAnalysis/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardAnalysis/_overview.md +91 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardAnalysis/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardLocalizations/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardLocalizations/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardLocalizations/_overview.md +48 -0
- package/dist/widget-specifications/cf.cplace.formsWizard.wizardLocalizations/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.genericInterface.api.widgets.triggerInterfaceButton/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.genericInterface.api.widgets.triggerInterfaceButton/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.genericInterface.api.widgets.triggerInterfaceButton/_overview.md +58 -0
- package/dist/widget-specifications/cf.cplace.genericInterface.api.widgets.triggerInterfaceButton/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.quickOverview/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.quickOverview/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.quickOverview/_overview.md +66 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.quickOverview/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.sessionUserNameWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.sessionUserNameWidget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.sessionUserNameWidget/_overview.md +52 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.sessionUserNameWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.simpleListWithAttachment/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.simpleListWithAttachment/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.simpleListWithAttachment/_overview.md +53 -0
- package/dist/widget-specifications/cf.cplace.landingPageFromPage.simpleListWithAttachment/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_implementation.md +6 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_meta.json +7 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_overview.md +115 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/cf.cplace.layoutTabsWidget.layoutSelection.md +2 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/cf.cplace.layoutTabsWidget.layouts.md +3 -0
- package/dist/widget-specifications/cf.cplace.layoutTabsWidget.widget/cf.cplace.layoutTabsWidget.sourceForLayouts.md +1 -0
- package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeButton/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeButton/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeButton/_overview.md +137 -0
- package/dist/widget-specifications/cf.cplace.lowCodeWidgets.lowCodeButton/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.lowcode.ai.chatWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.lowcode.ai.chatWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.lowcode.ai.chatWidget/_overview.md +63 -0
- package/dist/widget-specifications/cf.cplace.lowcode.ai.chatWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.meeting.pageHeader/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.meeting.pageHeader/_meta.json +12 -0
- package/dist/widget-specifications/cf.cplace.meeting.pageHeader/_overview.md +31 -0
- package/dist/widget-specifications/cf.cplace.meeting.pageHeader/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.navigationTileWidget.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.navigationTileWidget.widget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.navigationTileWidget.widget/_overview.md +71 -0
- package/dist/widget-specifications/cf.cplace.navigationTileWidget.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.officeReports.headlineForReports/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.officeReports.headlineForReports/_meta.json +8 -0
- package/dist/widget-specifications/cf.cplace.officeReports.headlineForReports/_overview.md +57 -0
- package/dist/widget-specifications/cf.cplace.officeReports.headlineForReports/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.officeReports.scriptPlaceholders/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.officeReports.scriptPlaceholders/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.officeReports.scriptPlaceholders/_overview.md +22 -0
- package/dist/widget-specifications/cf.cplace.officeReports.scriptPlaceholders/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.officeReports.templatePlaceholders/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.officeReports.templatePlaceholders/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.officeReports.templatePlaceholders/_overview.md +24 -0
- package/dist/widget-specifications/cf.cplace.officeReports.templatePlaceholders/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.orgaTree.edit/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.orgaTree.edit/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.orgaTree.edit/_overview.md +62 -0
- package/dist/widget-specifications/cf.cplace.orgaTree.edit/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.outlookMessageIntegration.outlookMessages/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.outlookMessageIntegration.outlookMessages/_meta.json +12 -0
- package/dist/widget-specifications/cf.cplace.outlookMessageIntegration.outlookMessages/_overview.md +50 -0
- package/dist/widget-specifications/cf.cplace.outlookMessageIntegration.outlookMessages/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.pageViewHeadline.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.pageViewHeadline.widget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.pageViewHeadline.widget/_overview.md +62 -0
- package/dist/widget-specifications/cf.cplace.pageViewHeadline.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.pdfPreview.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.pdfPreview.widget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.pdfPreview.widget/_overview.md +79 -0
- package/dist/widget-specifications/cf.cplace.pdfPreview.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_implementation.md +13 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_overview.md +108 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/absoluteSelection.md +9 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/layout.md +8 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/pageSelection.md +12 -0
- package/dist/widget-specifications/cf.cplace.platform.attributesGroup/relativeSelection.md +14 -0
- package/dist/widget-specifications/cf.cplace.platform.batchJobQuickGlance/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.platform.batchJobQuickGlance/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.platform.batchJobQuickGlance/_overview.md +52 -0
- package/dist/widget-specifications/cf.cplace.platform.batchJobQuickGlance/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_implementation.md +17 -0
- package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_overview.md +103 -0
- package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/cf.cplace.platform.attributesGroup.layout.md +8 -0
- package/dist/widget-specifications/cf.cplace.platform.connectedAttributesGroup/singleSelectionWidgetId.md +15 -0
- package/dist/widget-specifications/cf.cplace.platform.dynamicIframe/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.platform.dynamicIframe/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.platform.dynamicIframe/_overview.md +49 -0
- package/dist/widget-specifications/cf.cplace.platform.dynamicIframe/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.platform.tableWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.platform.tableWidget/_meta.json +12 -0
- package/dist/widget-specifications/cf.cplace.platform.tableWidget/_overview.md +188 -0
- package/dist/widget-specifications/cf.cplace.platform.tableWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.pptexport.pgPreviewWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.pptexport.pgPreviewWidget/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.pptexport.pgPreviewWidget/_overview.md +92 -0
- package/dist/widget-specifications/cf.cplace.pptexport.pgPreviewWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.projectTree.editProjects/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.projectTree.editProjects/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.projectTree.editProjects/_overview.md +81 -0
- package/dist/widget-specifications/cf.cplace.projectTree.editProjects/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.scheduleLockState/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.scheduleLockState/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.scheduleLockState/_overview.md +60 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.scheduleLockState/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.subscriptions/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.subscriptions/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.subscriptions/_overview.md +59 -0
- package/dist/widget-specifications/cf.cplace.projektplanung.subscriptions/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.qrCodeWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.qrCodeWidget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.qrCodeWidget/_overview.md +25 -0
- package/dist/widget-specifications/cf.cplace.qrCodeWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/_overview.md +78 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.rest.config.widget.productionModeHintWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.rest.config.widget.productionModeHintWidget/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.rest.config.widget.productionModeHintWidget/_overview.md +44 -0
- package/dist/widget-specifications/cf.cplace.rest.config.widget.productionModeHintWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.simpleCalendar.calendar/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.simpleCalendar.calendar/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.simpleCalendar.calendar/_overview.md +42 -0
- package/dist/widget-specifications/cf.cplace.simpleCalendar.calendar/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.simpleForm.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.simpleForm.widget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.simpleForm.widget/_overview.md +85 -0
- package/dist/widget-specifications/cf.cplace.simpleForm.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/_overview.md +92 -0
- package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.tableDetailViewWidget.widget/attributes.md +7 -0
- package/dist/widget-specifications/cf.cplace.treeTableWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.treeTableWidget/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.treeTableWidget/_overview.md +51 -0
- package/dist/widget-specifications/cf.cplace.treeTableWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.tuplesWidget.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.tuplesWidget.widget/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.tuplesWidget.widget/_overview.md +202 -0
- package/dist/widget-specifications/cf.cplace.tuplesWidget.widget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.videoWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.videoWidget/_meta.json +10 -0
- package/dist/widget-specifications/cf.cplace.videoWidget/_overview.md +65 -0
- package/dist/widget-specifications/cf.cplace.videoWidget/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_implementation.md +12 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_meta.json +9 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_overview.md +117 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/cf.cplace.visualization.dataSource.md +5 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/cf.cplace.visualization.search.md +10 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/script.md +29 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingHighcharts/tableWidgetId.md +10 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingLineChart/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingLineChart/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingLineChart/_overview.md +72 -0
- package/dist/widget-specifications/cf.cplace.visualizations.scriptingLineChart/_summary.md +1 -0
- package/dist/widget-specifications/cf.cplace.visualizations.tupleLineChart/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.cplace.visualizations.tupleLineChart/_meta.json +11 -0
- package/dist/widget-specifications/cf.cplace.visualizations.tupleLineChart/_overview.md +50 -0
- package/dist/widget-specifications/cf.cplace.visualizations.tupleLineChart/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.attributeHistory/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.attributeHistory/_meta.json +11 -0
- package/dist/widget-specifications/cf.platform.attributeHistory/_overview.md +79 -0
- package/dist/widget-specifications/cf.platform.attributeHistory/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.attributes/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.attributes/_meta.json +9 -0
- package/dist/widget-specifications/cf.platform.attributes/_overview.md +89 -0
- package/dist/widget-specifications/cf.platform.attributes/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.comments/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.comments/_meta.json +9 -0
- package/dist/widget-specifications/cf.platform.comments/_overview.md +52 -0
- package/dist/widget-specifications/cf.platform.comments/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.connectedBarChart/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.connectedBarChart/_implementation.md +10 -0
- package/dist/widget-specifications/cf.platform.connectedBarChart/_meta.json +11 -0
- package/dist/widget-specifications/cf.platform.connectedBarChart/_overview.md +70 -0
- package/dist/widget-specifications/cf.platform.connectedBarChart/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.connectedBarChart/search.md +15 -0
- package/dist/widget-specifications/cf.platform.connectedMatrix/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.connectedMatrix/_meta.json +11 -0
- package/dist/widget-specifications/cf.platform.connectedMatrix/_overview.md +189 -0
- package/dist/widget-specifications/cf.platform.connectedMatrix/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.connectedPieChart/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.connectedPieChart/_implementation.md +10 -0
- package/dist/widget-specifications/cf.platform.connectedPieChart/_meta.json +11 -0
- package/dist/widget-specifications/cf.platform.connectedPieChart/_overview.md +70 -0
- package/dist/widget-specifications/cf.platform.connectedPieChart/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.connectedPieChart/search.md +10 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_implementation.md +15 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_overview.md +69 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/attributeName.md +10 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/singleColumn.md +9 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/singleSelectionWidgetId.md +3 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/withLabel.md +11 -0
- package/dist/widget-specifications/cf.platform.connectedSingleAttribute/withValue.md +12 -0
- package/dist/widget-specifications/cf.platform.connectedTableFilter/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.connectedTableFilter/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.connectedTableFilter/_overview.md +89 -0
- package/dist/widget-specifications/cf.platform.connectedTableFilter/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.customRichStringAttribute/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.customRichStringAttribute/_meta.json +9 -0
- package/dist/widget-specifications/cf.platform.customRichStringAttribute/_overview.md +39 -0
- package/dist/widget-specifications/cf.platform.customRichStringAttribute/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsList/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsList/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsList/_overview.md +66 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsList/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsList/search.md +8 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_implementation.md +10 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_meta.json +11 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_overview.md +109 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/columns.md +14 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/multiSortColumns.md +16 -0
- package/dist/widget-specifications/cf.platform.embeddedSearchAsTable/search.md +8 -0
- package/dist/widget-specifications/cf.platform.files/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.files/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.files/_overview.md +74 -0
- package/dist/widget-specifications/cf.platform.files/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.iframe/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.iframe/_meta.json +9 -0
- package/dist/widget-specifications/cf.platform.iframe/_overview.md +77 -0
- package/dist/widget-specifications/cf.platform.iframe/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.incomingLinks/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.incomingLinks/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.incomingLinks/_overview.md +83 -0
- package/dist/widget-specifications/cf.platform.incomingLinks/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.incomingReferences/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.incomingReferences/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.incomingReferences/_overview.md +48 -0
- package/dist/widget-specifications/cf.platform.incomingReferences/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.makeover.attributes/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.makeover.attributes/_meta.json +9 -0
- package/dist/widget-specifications/cf.platform.makeover.attributes/_overview.md +48 -0
- package/dist/widget-specifications/cf.platform.makeover.attributes/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.modificationInfo/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.modificationInfo/_meta.json +9 -0
- package/dist/widget-specifications/cf.platform.modificationInfo/_overview.md +27 -0
- package/dist/widget-specifications/cf.platform.modificationInfo/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.myElements/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.myElements/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.myElements/_overview.md +69 -0
- package/dist/widget-specifications/cf.platform.myElements/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.richString/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.richString/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.richString/_overview.md +43 -0
- package/dist/widget-specifications/cf.platform.richString/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/_implementation.md +18 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/_overview.md +83 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.entity.md +10 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.quotedAttributeName.md +12 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.singleColumn.md +9 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.useParent.md +11 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.withLabel.md +11 -0
- package/dist/widget-specifications/cf.platform.singleAttribute/cf.platform.withValue.md +12 -0
- package/dist/widget-specifications/cf.platform.tags/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.tags/_meta.json +10 -0
- package/dist/widget-specifications/cf.platform.tags/_overview.md +49 -0
- package/dist/widget-specifications/cf.platform.tags/_summary.md +1 -0
- package/dist/widget-specifications/cf.platform.wiki/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.platform.wiki/_meta.json +9 -0
- package/dist/widget-specifications/cf.platform.wiki/_overview.md +32 -0
- package/dist/widget-specifications/cf.platform.wiki/_summary.md +1 -0
- package/dist/widget-specifications/cf.projektplanung.gantt/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.projektplanung.gantt/_meta.json +11 -0
- package/dist/widget-specifications/cf.projektplanung.gantt/_overview.md +61 -0
- package/dist/widget-specifications/cf.projektplanung.gantt/_summary.md +1 -0
- package/dist/widget-specifications/cf.projektplanung.ganttTaskDemo/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.projektplanung.ganttTaskDemo/_meta.json +10 -0
- package/dist/widget-specifications/cf.projektplanung.ganttTaskDemo/_overview.md +65 -0
- package/dist/widget-specifications/cf.projektplanung.ganttTaskDemo/_summary.md +1 -0
- package/dist/widget-specifications/cf.projektplanung.multiGantt/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.projektplanung.multiGantt/_meta.json +11 -0
- package/dist/widget-specifications/cf.projektplanung.multiGantt/_overview.md +73 -0
- package/dist/widget-specifications/cf.projektplanung.multiGantt/_summary.md +1 -0
- package/dist/widget-specifications/cf.projektplanung.scheduleTreeTable/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.projektplanung.scheduleTreeTable/_meta.json +10 -0
- package/dist/widget-specifications/cf.projektplanung.scheduleTreeTable/_overview.md +84 -0
- package/dist/widget-specifications/cf.projektplanung.scheduleTreeTable/_summary.md +1 -0
- package/dist/widget-specifications/cf.projektplanung.singleGantt/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.projektplanung.singleGantt/_meta.json +12 -0
- package/dist/widget-specifications/cf.projektplanung.singleGantt/_overview.md +27 -0
- package/dist/widget-specifications/cf.projektplanung.singleGantt/_summary.md +1 -0
- package/dist/widget-specifications/cf.projektplanung.singleGanttLink/_catalog-data.json +12 -0
- package/dist/widget-specifications/cf.projektplanung.singleGanttLink/_meta.json +10 -0
- package/dist/widget-specifications/cf.projektplanung.singleGanttLink/_overview.md +84 -0
- package/dist/widget-specifications/cf.projektplanung.singleGanttLink/_summary.md +1 -0
- package/dist/widget-specifications/de.2lforge.curves.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/de.2lforge.curves.widget/_meta.json +12 -0
- package/dist/widget-specifications/de.2lforge.curves.widget/_overview.md +73 -0
- package/dist/widget-specifications/de.2lforge.curves.widget/_summary.md +1 -0
- package/dist/widget-specifications/de.2lforge.toolbar.datePickerWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/de.2lforge.toolbar.datePickerWidget/_meta.json +9 -0
- package/dist/widget-specifications/de.2lforge.toolbar.datePickerWidget/_overview.md +67 -0
- package/dist/widget-specifications/de.2lforge.toolbar.datePickerWidget/_summary.md +1 -0
- package/dist/widget-specifications/de.2lforge.toolbar.dropDownWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/de.2lforge.toolbar.dropDownWidget/_meta.json +10 -0
- package/dist/widget-specifications/de.2lforge.toolbar.dropDownWidget/_overview.md +58 -0
- package/dist/widget-specifications/de.2lforge.toolbar.dropDownWidget/_summary.md +1 -0
- package/dist/widget-specifications/de.2lforge.toolbar.miscWidget/_catalog-data.json +12 -0
- package/dist/widget-specifications/de.2lforge.toolbar.miscWidget/_meta.json +8 -0
- package/dist/widget-specifications/de.2lforge.toolbar.miscWidget/_overview.md +43 -0
- package/dist/widget-specifications/de.2lforge.toolbar.miscWidget/_summary.md +1 -0
- package/dist/widget-specifications/de.visualistik.visualRoadmap.widget/_catalog-data.json +12 -0
- package/dist/widget-specifications/de.visualistik.visualRoadmap.widget/_meta.json +11 -0
- package/dist/widget-specifications/de.visualistik.visualRoadmap.widget/_overview.md +47 -0
- package/dist/widget-specifications/de.visualistik.visualRoadmap.widget/_summary.md +1 -0
- package/dist/widget-specifications/index.d.ts.map +1 -0
- package/dist/widget-specifications/index.js +55 -0
- package/dist/widget-specifications/index.js.map +1 -0
- package/dist/widget-specifications/msg.scripts.imagegallery.basic/_catalog-data.json +12 -0
- package/dist/widget-specifications/msg.scripts.imagegallery.basic/_meta.json +10 -0
- package/dist/widget-specifications/msg.scripts.imagegallery.basic/_overview.md +55 -0
- package/dist/widget-specifications/msg.scripts.imagegallery.basic/_summary.md +1 -0
- package/dist/widget-specifications/tag-registry.json +63 -0
- package/package.json +3 -2
|
@@ -0,0 +1,820 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { debugLogWithTag } from "../logger.js";
|
|
3
|
+
import { LayoutContextSchema } from './generic-layouts.js';
|
|
4
|
+
const TOOL_BOARD_GET_CONFIGURATION = 'cplace_board_get_configuration';
|
|
5
|
+
const TOOL_BOARD_CONFIGURE_CARDS = 'cplace_board_configure_cards';
|
|
6
|
+
const TOOL_BOARD_CONFIGURE_COLUMNS = 'cplace_board_configure_columns';
|
|
7
|
+
const TOOL_BOARD_CONFIGURE_SWIMLANES = 'cplace_board_configure_swimlanes';
|
|
8
|
+
const TOOL_BOARD_CONFIGURE_VISUAL = 'cplace_board_configure_visual';
|
|
9
|
+
const BOARD_WIDGET_TYPE = 'cf.cplace.cboard.main.board';
|
|
10
|
+
const DisplayAttributesSchema = z.object({
|
|
11
|
+
description: z.string().optional().describe("Attribute for card body text"),
|
|
12
|
+
date: z.string().optional().describe("Attribute for date display"),
|
|
13
|
+
tags: z.string().optional().describe("Attribute for colored tag pills"),
|
|
14
|
+
customIcons: z.array(z.string()).optional().describe("Attributes for icon indicators"),
|
|
15
|
+
additional: z.array(z.string()).optional().describe("Extra attributes shown on card")
|
|
16
|
+
}).optional();
|
|
17
|
+
const CardConfigurationSchema = z.object({
|
|
18
|
+
searchId: z.string().describe("Unique identifier for this card source - used to link columns/swimlanes"),
|
|
19
|
+
search: z.string().describe("WARNING: Do not manually construct! Use cplaceJson from cplace_search_pages response. Must have 'filters' array, e.g., {\"filters\":[{\"relativeSpace\":\"true\"},{\"types\":[\"cf.myType\"]}]}"),
|
|
20
|
+
typeId: z.string().optional().describe("Explicit page type (optional, inferred from search)"),
|
|
21
|
+
displayAttributes: DisplayAttributesSchema
|
|
22
|
+
});
|
|
23
|
+
const CardsInputSchema = z.array(CardConfigurationSchema)
|
|
24
|
+
.min(1)
|
|
25
|
+
.describe("Array of card source configurations. Order determines display priority.");
|
|
26
|
+
const LocalizedNamesSchema = z.object({
|
|
27
|
+
en: z.string().describe("English name"),
|
|
28
|
+
de: z.string().optional().describe("German name (optional)")
|
|
29
|
+
});
|
|
30
|
+
const MappingSchema = z.object({
|
|
31
|
+
searchId: z.string().describe("Must match a searchId from card configurations"),
|
|
32
|
+
attribute: z.string().describe("Attribute determining placement (e.g., 'cf.myType.status')"),
|
|
33
|
+
values: z.array(z.string()).describe("Attribute values mapping to this column/swimlane")
|
|
34
|
+
});
|
|
35
|
+
const StaticColumnSchema = z.object({
|
|
36
|
+
columnId: z.string().describe("Unique identifier for this column"),
|
|
37
|
+
names: LocalizedNamesSchema,
|
|
38
|
+
mappings: z.array(MappingSchema).min(1).describe("Value mappings per card source")
|
|
39
|
+
});
|
|
40
|
+
const StaticSwimlaneSchema = z.object({
|
|
41
|
+
swimlaneId: z.string().describe("Unique identifier for this swimlane"),
|
|
42
|
+
names: LocalizedNamesSchema,
|
|
43
|
+
mappings: z.array(MappingSchema).min(1).describe("Value mappings per card source")
|
|
44
|
+
});
|
|
45
|
+
const DynamicConfigSchema = z.object({
|
|
46
|
+
mappedAttributes: z.array(z.object({
|
|
47
|
+
searchId: z.string(),
|
|
48
|
+
attribute: z.string()
|
|
49
|
+
})).min(1),
|
|
50
|
+
timeGranularity: z.enum(["day", "week", "month", "quarter", "year"]).optional(),
|
|
51
|
+
dateRange: z.object({
|
|
52
|
+
start: z.string(),
|
|
53
|
+
end: z.string()
|
|
54
|
+
}).optional(),
|
|
55
|
+
dateFormatId: z.string().optional()
|
|
56
|
+
});
|
|
57
|
+
const VisualComponentsSchema = z.object({
|
|
58
|
+
showCardCount: z.boolean().optional().describe("Show card count in column headers"),
|
|
59
|
+
enableQuickAdd: z.boolean().optional().describe("Show '+' button to create new cards"),
|
|
60
|
+
showUnmappedContainer: z.boolean().optional().describe("Show container for cards without valid column mapping"),
|
|
61
|
+
unmappedContainerNames: LocalizedNamesSchema.optional().describe("Localized names for unmapped container"),
|
|
62
|
+
enableCardDetailsView: z.boolean().optional().describe("Show card details inline instead of navigation"),
|
|
63
|
+
showSpaceAfterLastColumn: z.boolean().optional().describe("Add visual spacing after last column"),
|
|
64
|
+
enableRecentHistory: z.boolean().optional().describe("Show button to highlight recently changed cards"),
|
|
65
|
+
recentHistoryWeeks: z.number().optional().describe("Time range for 'recent' cards (default: 2)")
|
|
66
|
+
});
|
|
67
|
+
const BOARD_TOOL_DEFINITIONS = {
|
|
68
|
+
[TOOL_BOARD_GET_CONFIGURATION]: {
|
|
69
|
+
description: `Get current board widget configuration in a structured format suitable for modification.
|
|
70
|
+
|
|
71
|
+
Returns the current state of:
|
|
72
|
+
- cards: Card sources (searches) with display attribute mappings
|
|
73
|
+
- columns: Column structure (static or dynamic mode)
|
|
74
|
+
- swimlanes: Swimlane structure (if enabled)
|
|
75
|
+
- visualComponents: UI settings and toggles
|
|
76
|
+
|
|
77
|
+
WORKFLOW: Use this tool first, then modify the relevant section and pass to the corresponding configure tool.`,
|
|
78
|
+
inputSchema: {
|
|
79
|
+
context: LayoutContextSchema,
|
|
80
|
+
widgetId: z.string().describe("The board widget ID (e.g., 'id_abc123')")
|
|
81
|
+
},
|
|
82
|
+
annotations: { title: "Get Board Configuration" }
|
|
83
|
+
},
|
|
84
|
+
[TOOL_BOARD_CONFIGURE_CARDS]: {
|
|
85
|
+
description: `Configure card sources for a board widget. Declares the complete set of card sources - existing sources not in the array will be removed.
|
|
86
|
+
|
|
87
|
+
IMPORTANT: Configure cards BEFORE columns/swimlanes, as they reference cards via searchId.
|
|
88
|
+
|
|
89
|
+
Each card source defines:
|
|
90
|
+
- searchId: Unique identifier used by columns/swimlanes to reference this source
|
|
91
|
+
- search: cplaceJson from cplace_search_pages (defines which pages become cards)
|
|
92
|
+
- displayAttributes: How card data is displayed (description, date, tags, icons)
|
|
93
|
+
|
|
94
|
+
**WARNING**: Do not manually construct search JSON! The search parameter requires a specific format with a "filters" array.
|
|
95
|
+
|
|
96
|
+
**Correct Usage**: Use the cplaceJson field from cplace_search_pages response
|
|
97
|
+
|
|
98
|
+
**Search JSON Workflow**:
|
|
99
|
+
1. Call cplace_search_pages with your desired filter (e.g., types, workspace)
|
|
100
|
+
2. Take the cplaceJson field from the response
|
|
101
|
+
3. Use that value for the search parameter
|
|
102
|
+
|
|
103
|
+
Example of CORRECT format: {"filters":[{"relativeSpace":"true"},{"types":["cf.myApp.myType"]}]}
|
|
104
|
+
Example of WRONG format: {"types":["cf.myApp.myType"]} (missing filters array - will cause "No value for filters" error)
|
|
105
|
+
|
|
106
|
+
WORKFLOW:
|
|
107
|
+
1. Get current config: cplace_board_get_configuration
|
|
108
|
+
2. Modify the cards array
|
|
109
|
+
3. Call this tool with the complete desired cards array`,
|
|
110
|
+
inputSchema: {
|
|
111
|
+
context: LayoutContextSchema,
|
|
112
|
+
widgetId: z.string().describe("The board widget ID"),
|
|
113
|
+
cards: CardsInputSchema
|
|
114
|
+
},
|
|
115
|
+
annotations: { title: "Configure Board Cards" }
|
|
116
|
+
},
|
|
117
|
+
[TOOL_BOARD_CONFIGURE_COLUMNS]: {
|
|
118
|
+
description: `Configure column structure for a board widget. Declares the complete column configuration.
|
|
119
|
+
|
|
120
|
+
MODES:
|
|
121
|
+
- static: Explicitly define columns with value mappings (most common)
|
|
122
|
+
- dynamic: Auto-generate columns from attribute values
|
|
123
|
+
|
|
124
|
+
IMPORTANT: All searchId references must exist in the board's card configurations.
|
|
125
|
+
Configure cards first if adding new card sources.
|
|
126
|
+
|
|
127
|
+
STATIC MODE: Array order = column order (left to right)
|
|
128
|
+
DYNAMIC MODE: Columns auto-generated; use for date-based or value-based grouping
|
|
129
|
+
|
|
130
|
+
WORKFLOW:
|
|
131
|
+
1. Ensure cards are configured with desired searchIds
|
|
132
|
+
2. Get current config: cplace_board_get_configuration
|
|
133
|
+
3. Modify or replace columns configuration
|
|
134
|
+
4. Call this tool with complete desired state`,
|
|
135
|
+
inputSchema: {
|
|
136
|
+
context: LayoutContextSchema,
|
|
137
|
+
widgetId: z.string().describe("The board widget ID"),
|
|
138
|
+
mode: z.enum(["static", "dynamic"]).describe("Column generation mode"),
|
|
139
|
+
columns: z.array(StaticColumnSchema).optional().describe("Static column definitions (required for static mode)"),
|
|
140
|
+
dynamicConfig: DynamicConfigSchema.optional().describe("Dynamic column configuration (required for dynamic mode)")
|
|
141
|
+
},
|
|
142
|
+
annotations: { title: "Configure Board Columns" }
|
|
143
|
+
},
|
|
144
|
+
[TOOL_BOARD_CONFIGURE_SWIMLANES]: {
|
|
145
|
+
description: `Configure swimlane structure for a board widget. Swimlanes create horizontal groupings within columns.
|
|
146
|
+
|
|
147
|
+
SET enabled: false to remove all swimlanes (flat board).
|
|
148
|
+
|
|
149
|
+
MODES (when enabled):
|
|
150
|
+
- static: Explicitly define swimlanes with value mappings
|
|
151
|
+
- dynamic: Auto-generate swimlanes from attribute values
|
|
152
|
+
|
|
153
|
+
IMPORTANT: All searchId references must exist in the board's card configurations.
|
|
154
|
+
|
|
155
|
+
WORKFLOW:
|
|
156
|
+
1. Ensure cards are configured with desired searchIds
|
|
157
|
+
2. Get current config: cplace_board_get_configuration
|
|
158
|
+
3. Modify or replace swimlanes configuration
|
|
159
|
+
4. Call this tool with complete desired state`,
|
|
160
|
+
inputSchema: {
|
|
161
|
+
context: LayoutContextSchema,
|
|
162
|
+
widgetId: z.string().describe("The board widget ID"),
|
|
163
|
+
enabled: z.boolean().describe("false = no swimlanes (flat board)"),
|
|
164
|
+
mode: z.enum(["static", "dynamic"]).optional().describe("Swimlane generation mode (required when enabled)"),
|
|
165
|
+
swimlanes: z.array(StaticSwimlaneSchema).optional().describe("Static swimlane definitions"),
|
|
166
|
+
dynamicConfig: DynamicConfigSchema.optional().describe("Dynamic swimlane configuration")
|
|
167
|
+
},
|
|
168
|
+
annotations: { title: "Configure Board Swimlanes" }
|
|
169
|
+
},
|
|
170
|
+
[TOOL_BOARD_CONFIGURE_VISUAL]: {
|
|
171
|
+
description: `Configure visual settings for a board widget. Controls UI features and display options.
|
|
172
|
+
|
|
173
|
+
Available settings:
|
|
174
|
+
- showCardCount: Show card count in column headers
|
|
175
|
+
- enableQuickAdd: Show "+" button to create new cards
|
|
176
|
+
- showUnmappedContainer: Show container for cards without valid column mapping
|
|
177
|
+
- enableCardDetailsView: Show card details inline instead of navigation
|
|
178
|
+
- showSpaceAfterLastColumn: Add visual spacing after last column
|
|
179
|
+
- enableRecentHistory: Show button to highlight recently changed cards
|
|
180
|
+
- recentHistoryWeeks: Time range for "recent" cards (default: 2)
|
|
181
|
+
|
|
182
|
+
Omitted settings retain their current values (this tool does partial updates for visual settings).`,
|
|
183
|
+
inputSchema: {
|
|
184
|
+
context: LayoutContextSchema,
|
|
185
|
+
widgetId: z.string().describe("The board widget ID"),
|
|
186
|
+
showCardCount: z.boolean().optional().describe("Show card count in column headers"),
|
|
187
|
+
enableQuickAdd: z.boolean().optional().describe("Show '+' button to create new cards"),
|
|
188
|
+
showUnmappedContainer: z.boolean().optional().describe("Show container for cards without valid column mapping"),
|
|
189
|
+
unmappedContainerNames: LocalizedNamesSchema.optional().describe("Localized names for unmapped container"),
|
|
190
|
+
enableCardDetailsView: z.boolean().optional().describe("Show card details inline instead of navigation"),
|
|
191
|
+
showSpaceAfterLastColumn: z.boolean().optional().describe("Add visual spacing after last column"),
|
|
192
|
+
enableRecentHistory: z.boolean().optional().describe("Show button to highlight recently changed cards"),
|
|
193
|
+
recentHistoryWeeks: z.number().optional().describe("Time range for 'recent' cards (default: 2)")
|
|
194
|
+
},
|
|
195
|
+
annotations: { title: "Configure Board Visual Settings" }
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
function findWidgetById(rows, widgetId) {
|
|
199
|
+
for (const row of rows || []) {
|
|
200
|
+
for (const column of row.columns || []) {
|
|
201
|
+
for (const widget of column.widgets || []) {
|
|
202
|
+
if (widget.id === widgetId) {
|
|
203
|
+
return widget;
|
|
204
|
+
}
|
|
205
|
+
if (widget.widgetsLayout?.rows) {
|
|
206
|
+
const nested = findWidgetById(widget.widgetsLayout.rows, widgetId);
|
|
207
|
+
if (nested)
|
|
208
|
+
return nested;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
return null;
|
|
214
|
+
}
|
|
215
|
+
function extractWidgetConfiguration(widget) {
|
|
216
|
+
const config = {};
|
|
217
|
+
const CBOARD_PREFIX = 'cf.cplace.cboard.';
|
|
218
|
+
const KNOWN_ATTRS = ['searchConfigurations', 'columnMapping', 'swimlaneMapping', 'visualComponents'];
|
|
219
|
+
const parseSearchConfigurations = (value) => {
|
|
220
|
+
return (value || []).map((v) => {
|
|
221
|
+
try {
|
|
222
|
+
return JSON.parse(v);
|
|
223
|
+
}
|
|
224
|
+
catch {
|
|
225
|
+
return null;
|
|
226
|
+
}
|
|
227
|
+
}).filter((v) => v !== null);
|
|
228
|
+
};
|
|
229
|
+
const getShortName = (name) => {
|
|
230
|
+
return name.startsWith(CBOARD_PREFIX) ? name.slice(CBOARD_PREFIX.length) : name;
|
|
231
|
+
};
|
|
232
|
+
if (widget.configuration && typeof widget.configuration === 'object' && !Array.isArray(widget.configuration)) {
|
|
233
|
+
for (const [key, value] of Object.entries(widget.configuration)) {
|
|
234
|
+
const shortName = getShortName(key);
|
|
235
|
+
if (shortName === 'searchConfigurations') {
|
|
236
|
+
config.searchConfigurations = parseSearchConfigurations(value);
|
|
237
|
+
}
|
|
238
|
+
else if (KNOWN_ATTRS.includes(shortName)) {
|
|
239
|
+
config[shortName] = value;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
return config;
|
|
243
|
+
}
|
|
244
|
+
for (const attr of Array.isArray(widget.configuration) ? widget.configuration : []) {
|
|
245
|
+
const shortName = getShortName(attr.name || '');
|
|
246
|
+
if (shortName === 'searchConfigurations') {
|
|
247
|
+
config.searchConfigurations = parseSearchConfigurations(attr.value);
|
|
248
|
+
}
|
|
249
|
+
else if (KNOWN_ATTRS.includes(shortName)) {
|
|
250
|
+
config[shortName] = attr.value;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
return config;
|
|
254
|
+
}
|
|
255
|
+
function validateSearchIdReferences(referencedIds, availableIds, contextDescription) {
|
|
256
|
+
const invalidIds = referencedIds.filter(id => !availableIds.includes(id));
|
|
257
|
+
if (invalidIds.length > 0) {
|
|
258
|
+
return {
|
|
259
|
+
valid: false,
|
|
260
|
+
error: `${contextDescription} references unknown searchId(s): ${invalidIds.map(id => `'${id}'`).join(', ')}. ` +
|
|
261
|
+
`Available searchIds: [${availableIds.map(id => `'${id}'`).join(', ')}]`
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
return { valid: true };
|
|
265
|
+
}
|
|
266
|
+
function transformRawToFriendly(rawConfig) {
|
|
267
|
+
const cards = (rawConfig.searchConfigurations || []).map((sc) => ({
|
|
268
|
+
searchId: sc.searchId,
|
|
269
|
+
search: sc.search,
|
|
270
|
+
typeId: sc.typeId,
|
|
271
|
+
displayAttributes: sc.attributesConfiguration ? {
|
|
272
|
+
description: sc.attributesConfiguration.descriptionAttribute,
|
|
273
|
+
date: sc.attributesConfiguration.dateAttribute,
|
|
274
|
+
tags: sc.attributesConfiguration.tagsAttribute,
|
|
275
|
+
customIcons: sc.attributesConfiguration.customIconsAttributes,
|
|
276
|
+
additional: sc.attributesConfiguration.displayAttributes
|
|
277
|
+
} : undefined
|
|
278
|
+
}));
|
|
279
|
+
let columns = null;
|
|
280
|
+
if (rawConfig.columnMapping) {
|
|
281
|
+
try {
|
|
282
|
+
const columnMapping = typeof rawConfig.columnMapping === 'string'
|
|
283
|
+
? JSON.parse(rawConfig.columnMapping)
|
|
284
|
+
: rawConfig.columnMapping;
|
|
285
|
+
columns = transformMappingToFriendly(columnMapping, 'column');
|
|
286
|
+
}
|
|
287
|
+
catch {
|
|
288
|
+
columns = null;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
let swimlanes = null;
|
|
292
|
+
if (rawConfig.swimlaneMapping) {
|
|
293
|
+
try {
|
|
294
|
+
const swimlaneMapping = typeof rawConfig.swimlaneMapping === 'string'
|
|
295
|
+
? JSON.parse(rawConfig.swimlaneMapping)
|
|
296
|
+
: rawConfig.swimlaneMapping;
|
|
297
|
+
swimlanes = transformMappingToFriendly(swimlaneMapping, 'swimlane');
|
|
298
|
+
}
|
|
299
|
+
catch {
|
|
300
|
+
swimlanes = null;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
let visualComponents = {};
|
|
304
|
+
if (rawConfig.visualComponents) {
|
|
305
|
+
try {
|
|
306
|
+
const rawVisual = typeof rawConfig.visualComponents === 'string'
|
|
307
|
+
? JSON.parse(rawConfig.visualComponents)
|
|
308
|
+
: rawConfig.visualComponents;
|
|
309
|
+
visualComponents = transformVisualToFriendly(rawVisual);
|
|
310
|
+
}
|
|
311
|
+
catch {
|
|
312
|
+
visualComponents = {};
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
return { cards, columns, swimlanes, visualComponents };
|
|
316
|
+
}
|
|
317
|
+
function transformMappingToFriendly(raw, elementType) {
|
|
318
|
+
const idField = elementType === 'column' ? 'columnId' : 'swimlaneId';
|
|
319
|
+
const pluralField = elementType === 'column' ? 'columns' : 'swimlanes';
|
|
320
|
+
const hasElements = raw.elements && raw.elements.length > 0;
|
|
321
|
+
const hasMappedAttributes = raw.mappedAttributes && raw.mappedAttributes.length > 0;
|
|
322
|
+
if (!hasElements && !hasMappedAttributes) {
|
|
323
|
+
return elementType === 'swimlane' ? { enabled: false } : null;
|
|
324
|
+
}
|
|
325
|
+
if (raw.dynamic) {
|
|
326
|
+
return {
|
|
327
|
+
mode: "dynamic",
|
|
328
|
+
...(elementType === 'swimlane' && { enabled: true }),
|
|
329
|
+
dynamicConfig: {
|
|
330
|
+
mappedAttributes: raw.mappedAttributes?.map((ma) => ({
|
|
331
|
+
searchId: ma.searchId,
|
|
332
|
+
attribute: ma.attributeSimpleName
|
|
333
|
+
})),
|
|
334
|
+
timeGranularity: raw.timeGranularity?.toLowerCase(),
|
|
335
|
+
dateRange: raw.dateRange,
|
|
336
|
+
dateFormatId: raw.dateFormatId
|
|
337
|
+
}
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
return {
|
|
341
|
+
mode: "static",
|
|
342
|
+
...(elementType === 'swimlane' && { enabled: true }),
|
|
343
|
+
[pluralField]: raw.elements?.map((el) => ({
|
|
344
|
+
[idField]: el.id,
|
|
345
|
+
names: el.localizedNames,
|
|
346
|
+
mappings: el.mappedValues?.map((mv) => ({
|
|
347
|
+
searchId: mv.searchId,
|
|
348
|
+
attribute: raw.mappedAttributes?.find((ma) => ma.searchId === mv.searchId)?.attributeSimpleName,
|
|
349
|
+
values: mv.values
|
|
350
|
+
}))
|
|
351
|
+
}))
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
function transformVisualToFriendly(raw) {
|
|
355
|
+
return {
|
|
356
|
+
showCardCount: raw.cardCountEnabled,
|
|
357
|
+
enableQuickAdd: raw.addCardButtonEnabled,
|
|
358
|
+
showUnmappedContainer: raw.unmappedCardsContainerEnabled,
|
|
359
|
+
unmappedContainerNames: raw.unmappedCardsContainerLocalizedNames,
|
|
360
|
+
enableCardDetailsView: raw.cardDetailsViewEnabled,
|
|
361
|
+
showSpaceAfterLastColumn: raw.spaceAfterLastColumnEnabled,
|
|
362
|
+
enableRecentHistory: raw.recentHistoryButtonEnabled,
|
|
363
|
+
recentHistoryWeeks: raw.recentHistoryTimeRangeWeeks
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
function transformCardsToRaw(cards) {
|
|
367
|
+
return cards.map(card => ({
|
|
368
|
+
searchId: card.searchId,
|
|
369
|
+
search: card.search,
|
|
370
|
+
typeId: card.typeId,
|
|
371
|
+
attributesConfiguration: card.displayAttributes ? {
|
|
372
|
+
descriptionAttribute: card.displayAttributes.description,
|
|
373
|
+
dateAttribute: card.displayAttributes.date,
|
|
374
|
+
tagsAttribute: card.displayAttributes.tags,
|
|
375
|
+
customIconsAttributes: card.displayAttributes.customIcons,
|
|
376
|
+
displayAttributes: card.displayAttributes.additional
|
|
377
|
+
} : undefined
|
|
378
|
+
}));
|
|
379
|
+
}
|
|
380
|
+
function transformColumnsToRaw(columnsConfig) {
|
|
381
|
+
if (columnsConfig.mode === "dynamic") {
|
|
382
|
+
return JSON.stringify({
|
|
383
|
+
dynamic: true,
|
|
384
|
+
mappedAttributes: columnsConfig.dynamicConfig.mappedAttributes.map((ma) => ({
|
|
385
|
+
searchId: ma.searchId,
|
|
386
|
+
attributeSimpleName: ma.attribute
|
|
387
|
+
})),
|
|
388
|
+
timeGranularity: columnsConfig.dynamicConfig.timeGranularity?.toUpperCase(),
|
|
389
|
+
dateRange: columnsConfig.dynamicConfig.dateRange,
|
|
390
|
+
dateFormatId: columnsConfig.dynamicConfig.dateFormatId,
|
|
391
|
+
elements: []
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
const mappedAttributesMap = new Map();
|
|
395
|
+
columnsConfig.columns.forEach((col) => {
|
|
396
|
+
col.mappings.forEach((m) => {
|
|
397
|
+
mappedAttributesMap.set(m.searchId, m.attribute);
|
|
398
|
+
});
|
|
399
|
+
});
|
|
400
|
+
return JSON.stringify({
|
|
401
|
+
dynamic: false,
|
|
402
|
+
mappedAttributes: Array.from(mappedAttributesMap.entries()).map(([searchId, attr]) => ({
|
|
403
|
+
searchId,
|
|
404
|
+
attributeSimpleName: attr
|
|
405
|
+
})),
|
|
406
|
+
elements: columnsConfig.columns.map((col) => ({
|
|
407
|
+
id: col.columnId,
|
|
408
|
+
localizedNames: col.names,
|
|
409
|
+
mappedValues: col.mappings.map((m) => ({
|
|
410
|
+
searchId: m.searchId,
|
|
411
|
+
values: m.values
|
|
412
|
+
}))
|
|
413
|
+
}))
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
function transformSwimlanesToRaw(swimlanesConfig) {
|
|
417
|
+
if (!swimlanesConfig.enabled) {
|
|
418
|
+
return JSON.stringify({
|
|
419
|
+
dynamic: false,
|
|
420
|
+
mappedAttributes: [],
|
|
421
|
+
elements: []
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
if (swimlanesConfig.mode === "dynamic") {
|
|
425
|
+
return JSON.stringify({
|
|
426
|
+
dynamic: true,
|
|
427
|
+
mappedAttributes: swimlanesConfig.dynamicConfig.mappedAttributes.map((ma) => ({
|
|
428
|
+
searchId: ma.searchId,
|
|
429
|
+
attributeSimpleName: ma.attribute
|
|
430
|
+
})),
|
|
431
|
+
timeGranularity: swimlanesConfig.dynamicConfig.timeGranularity?.toUpperCase(),
|
|
432
|
+
dateRange: swimlanesConfig.dynamicConfig.dateRange,
|
|
433
|
+
dateFormatId: swimlanesConfig.dynamicConfig.dateFormatId,
|
|
434
|
+
elements: []
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
const mappedAttributesMap = new Map();
|
|
438
|
+
swimlanesConfig.swimlanes.forEach((sl) => {
|
|
439
|
+
sl.mappings.forEach((m) => {
|
|
440
|
+
mappedAttributesMap.set(m.searchId, m.attribute);
|
|
441
|
+
});
|
|
442
|
+
});
|
|
443
|
+
return JSON.stringify({
|
|
444
|
+
dynamic: false,
|
|
445
|
+
mappedAttributes: Array.from(mappedAttributesMap.entries()).map(([searchId, attr]) => ({
|
|
446
|
+
searchId,
|
|
447
|
+
attributeSimpleName: attr
|
|
448
|
+
})),
|
|
449
|
+
elements: swimlanesConfig.swimlanes.map((sl) => ({
|
|
450
|
+
id: sl.swimlaneId,
|
|
451
|
+
localizedNames: sl.names,
|
|
452
|
+
mappedValues: sl.mappings.map((m) => ({
|
|
453
|
+
searchId: m.searchId,
|
|
454
|
+
values: m.values
|
|
455
|
+
}))
|
|
456
|
+
}))
|
|
457
|
+
});
|
|
458
|
+
}
|
|
459
|
+
function transformVisualToRaw(friendlyVisual) {
|
|
460
|
+
const fieldMapping = {
|
|
461
|
+
showCardCount: 'cardCountEnabled',
|
|
462
|
+
enableQuickAdd: 'addCardButtonEnabled',
|
|
463
|
+
showUnmappedContainer: 'unmappedCardsContainerEnabled',
|
|
464
|
+
unmappedContainerNames: 'unmappedCardsContainerLocalizedNames',
|
|
465
|
+
enableCardDetailsView: 'cardDetailsViewEnabled',
|
|
466
|
+
showSpaceAfterLastColumn: 'spaceAfterLastColumnEnabled',
|
|
467
|
+
enableRecentHistory: 'recentHistoryButtonEnabled',
|
|
468
|
+
recentHistoryWeeks: 'recentHistoryTimeRangeWeeks'
|
|
469
|
+
};
|
|
470
|
+
const raw = {};
|
|
471
|
+
for (const [friendlyName, rawName] of Object.entries(fieldMapping)) {
|
|
472
|
+
if (friendlyVisual[friendlyName] !== undefined) {
|
|
473
|
+
raw[rawName] = friendlyVisual[friendlyName];
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
return raw;
|
|
477
|
+
}
|
|
478
|
+
function buildUpdateRequestBody(context, widgetId, configuration) {
|
|
479
|
+
const baseParams = context.type === "page"
|
|
480
|
+
? { pageUID: context.pageUID }
|
|
481
|
+
: {
|
|
482
|
+
workspaceId: context.workspaceId,
|
|
483
|
+
typeInternalName: context.typeInternalName,
|
|
484
|
+
...(context.alternativeLayoutName && { alternativeLayoutName: context.alternativeLayoutName })
|
|
485
|
+
};
|
|
486
|
+
return {
|
|
487
|
+
...baseParams,
|
|
488
|
+
operation: {
|
|
489
|
+
type: "UPDATE",
|
|
490
|
+
widgetId,
|
|
491
|
+
newConfiguration: configuration
|
|
492
|
+
}
|
|
493
|
+
};
|
|
494
|
+
}
|
|
495
|
+
async function getCurrentBoardConfig(client, context, widgetId) {
|
|
496
|
+
try {
|
|
497
|
+
const endpoint = context.type === "page" ? "json/pageLayout" : "json/typeLayout";
|
|
498
|
+
const params = context.type === "page"
|
|
499
|
+
? { pageUID: context.pageUID }
|
|
500
|
+
: {
|
|
501
|
+
workspaceId: context.workspaceId,
|
|
502
|
+
typeInternalName: context.typeInternalName,
|
|
503
|
+
...(context.alternativeLayoutName && { alternativeLayoutName: context.alternativeLayoutName })
|
|
504
|
+
};
|
|
505
|
+
const layoutResult = await client.makeApiRequest(endpoint, 'GET', params);
|
|
506
|
+
const widget = findWidgetById(layoutResult.rows, widgetId);
|
|
507
|
+
if (!widget) {
|
|
508
|
+
return { error: `Board widget '${widgetId}' not found` };
|
|
509
|
+
}
|
|
510
|
+
if (widget.widgetType !== BOARD_WIDGET_TYPE) {
|
|
511
|
+
return { error: `Widget '${widgetId}' is not a board widget (found: ${widget.widgetType})` };
|
|
512
|
+
}
|
|
513
|
+
const rawConfig = extractWidgetConfiguration(widget);
|
|
514
|
+
const friendlyConfig = transformRawToFriendly(rawConfig);
|
|
515
|
+
return {
|
|
516
|
+
cards: friendlyConfig.cards,
|
|
517
|
+
visualComponents: friendlyConfig.visualComponents
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
catch (error) {
|
|
521
|
+
return { error: `Failed to get current configuration: ${error instanceof Error ? error.message : String(error)}` };
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
export function registerBoardWidgetTools(server, client) {
|
|
525
|
+
server.registerTool(TOOL_BOARD_GET_CONFIGURATION, BOARD_TOOL_DEFINITIONS[TOOL_BOARD_GET_CONFIGURATION], async ({ context, widgetId }) => {
|
|
526
|
+
debugLogWithTag('BOARD', `Getting board configuration for widget ${widgetId}`);
|
|
527
|
+
try {
|
|
528
|
+
const endpoint = context.type === "page" ? "json/pageLayout" : "json/typeLayout";
|
|
529
|
+
const params = context.type === "page"
|
|
530
|
+
? { pageUID: context.pageUID }
|
|
531
|
+
: {
|
|
532
|
+
workspaceId: context.workspaceId,
|
|
533
|
+
typeInternalName: context.typeInternalName,
|
|
534
|
+
...(context.alternativeLayoutName && { alternativeLayoutName: context.alternativeLayoutName })
|
|
535
|
+
};
|
|
536
|
+
const layoutResult = await client.makeApiRequest(endpoint, 'GET', params);
|
|
537
|
+
const widget = findWidgetById(layoutResult.rows, widgetId);
|
|
538
|
+
if (!widget) {
|
|
539
|
+
return {
|
|
540
|
+
content: [{ type: "text", text: `Board widget with ID '${widgetId}' not found in layout` }],
|
|
541
|
+
isError: true
|
|
542
|
+
};
|
|
543
|
+
}
|
|
544
|
+
if (widget.widgetType !== BOARD_WIDGET_TYPE) {
|
|
545
|
+
return {
|
|
546
|
+
content: [{ type: "text", text: `Widget '${widgetId}' is not a board widget (found: ${widget.widgetType})` }],
|
|
547
|
+
isError: true
|
|
548
|
+
};
|
|
549
|
+
}
|
|
550
|
+
const rawConfig = extractWidgetConfiguration(widget);
|
|
551
|
+
const isUnconfigured = (!rawConfig.searchConfigurations || rawConfig.searchConfigurations.length === 0)
|
|
552
|
+
&& !rawConfig.columnMapping
|
|
553
|
+
&& !rawConfig.swimlaneMapping;
|
|
554
|
+
if (isUnconfigured) {
|
|
555
|
+
debugLogWithTag('BOARD', `Board widget ${widgetId} is unconfigured (no card sources or mappings)`);
|
|
556
|
+
return {
|
|
557
|
+
content: [{ type: "text", text: JSON.stringify({
|
|
558
|
+
context,
|
|
559
|
+
widgetId,
|
|
560
|
+
configuration: {
|
|
561
|
+
status: "unconfigured",
|
|
562
|
+
cards: [],
|
|
563
|
+
columns: null,
|
|
564
|
+
swimlanes: null,
|
|
565
|
+
visualComponents: null
|
|
566
|
+
}
|
|
567
|
+
}, null, 2) }]
|
|
568
|
+
};
|
|
569
|
+
}
|
|
570
|
+
const friendlyConfig = transformRawToFriendly(rawConfig);
|
|
571
|
+
debugLogWithTag('BOARD', `Successfully retrieved board configuration with ${friendlyConfig.cards?.length || 0} card sources`);
|
|
572
|
+
return {
|
|
573
|
+
content: [{ type: "text", text: JSON.stringify({
|
|
574
|
+
context,
|
|
575
|
+
widgetId,
|
|
576
|
+
configuration: {
|
|
577
|
+
status: "configured",
|
|
578
|
+
...friendlyConfig
|
|
579
|
+
}
|
|
580
|
+
}, null, 2) }]
|
|
581
|
+
};
|
|
582
|
+
}
|
|
583
|
+
catch (error) {
|
|
584
|
+
debugLogWithTag('BOARD', `Error getting board configuration: ${error instanceof Error ? error.message : String(error)}`);
|
|
585
|
+
return {
|
|
586
|
+
content: [{ type: "text", text: `Failed to get board configuration: ${error instanceof Error ? error.message : String(error)}` }],
|
|
587
|
+
isError: true
|
|
588
|
+
};
|
|
589
|
+
}
|
|
590
|
+
});
|
|
591
|
+
server.registerTool(TOOL_BOARD_CONFIGURE_CARDS, BOARD_TOOL_DEFINITIONS[TOOL_BOARD_CONFIGURE_CARDS], async ({ context, widgetId, cards }) => {
|
|
592
|
+
debugLogWithTag('BOARD', `Configuring ${cards.length} card sources for widget ${widgetId}`);
|
|
593
|
+
try {
|
|
594
|
+
const searchIds = cards.map(c => c.searchId);
|
|
595
|
+
const duplicates = searchIds.filter((id, i) => searchIds.indexOf(id) !== i);
|
|
596
|
+
if (duplicates.length > 0) {
|
|
597
|
+
return {
|
|
598
|
+
content: [{ type: "text", text: `Duplicate searchId(s) found: ${[...new Set(duplicates)].join(', ')}. Each searchId must be unique.` }],
|
|
599
|
+
isError: true
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
const rawSearchConfigurations = transformCardsToRaw(cards);
|
|
603
|
+
const endpoint = context.type === "page" ? "json/pageLayout" : "json/typeLayout";
|
|
604
|
+
const searchConfigurationsValue = rawSearchConfigurations.map(sc => JSON.stringify(sc));
|
|
605
|
+
debugLogWithTag('BOARD', `searchConfigurationsValue: ${JSON.stringify(searchConfigurationsValue)}`);
|
|
606
|
+
const requestBody = buildUpdateRequestBody(context, widgetId, {
|
|
607
|
+
'cf.cplace.cboard.searchConfigurations': searchConfigurationsValue
|
|
608
|
+
});
|
|
609
|
+
await client.makeApiRequest(endpoint, 'PATCH', undefined, requestBody);
|
|
610
|
+
debugLogWithTag('BOARD', `Successfully configured ${cards.length} card sources`);
|
|
611
|
+
return {
|
|
612
|
+
content: [{ type: "text", text: JSON.stringify({
|
|
613
|
+
operation: "CONFIGURE_CARDS",
|
|
614
|
+
status: "SUCCESS",
|
|
615
|
+
context,
|
|
616
|
+
widgetId,
|
|
617
|
+
cardCount: cards.length,
|
|
618
|
+
searchIds: searchIds,
|
|
619
|
+
message: `Board cards configured successfully with ${cards.length} source(s)`
|
|
620
|
+
}, null, 2) }]
|
|
621
|
+
};
|
|
622
|
+
}
|
|
623
|
+
catch (error) {
|
|
624
|
+
debugLogWithTag('BOARD', `Error configuring cards: ${error instanceof Error ? error.message : String(error)}`);
|
|
625
|
+
return {
|
|
626
|
+
content: [{ type: "text", text: `Failed to configure board cards: ${error instanceof Error ? error.message : String(error)}` }],
|
|
627
|
+
isError: true
|
|
628
|
+
};
|
|
629
|
+
}
|
|
630
|
+
});
|
|
631
|
+
server.registerTool(TOOL_BOARD_CONFIGURE_COLUMNS, BOARD_TOOL_DEFINITIONS[TOOL_BOARD_CONFIGURE_COLUMNS], async ({ context, widgetId, mode, columns, dynamicConfig }) => {
|
|
632
|
+
debugLogWithTag('BOARD', `Configuring columns (${mode} mode) for widget ${widgetId}`);
|
|
633
|
+
try {
|
|
634
|
+
if (mode === "static" && (!columns || columns.length === 0)) {
|
|
635
|
+
return {
|
|
636
|
+
content: [{ type: "text", text: "Static mode requires at least one column definition" }],
|
|
637
|
+
isError: true
|
|
638
|
+
};
|
|
639
|
+
}
|
|
640
|
+
if (mode === "dynamic" && !dynamicConfig) {
|
|
641
|
+
return {
|
|
642
|
+
content: [{ type: "text", text: "Dynamic mode requires dynamicConfig" }],
|
|
643
|
+
isError: true
|
|
644
|
+
};
|
|
645
|
+
}
|
|
646
|
+
const currentConfig = await getCurrentBoardConfig(client, context, widgetId);
|
|
647
|
+
if (currentConfig.error) {
|
|
648
|
+
return {
|
|
649
|
+
content: [{ type: "text", text: currentConfig.error }],
|
|
650
|
+
isError: true
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
const availableSearchIds = currentConfig.cards?.map((c) => c.searchId) || [];
|
|
654
|
+
const referencedIds = mode === "static"
|
|
655
|
+
? [...new Set(columns.flatMap(col => col.mappings.map(m => m.searchId)))]
|
|
656
|
+
: (dynamicConfig?.mappedAttributes || []).map(ma => ma.searchId);
|
|
657
|
+
const validation = validateSearchIdReferences(referencedIds, availableSearchIds, "Column configuration");
|
|
658
|
+
if (!validation.valid) {
|
|
659
|
+
return {
|
|
660
|
+
content: [{ type: "text", text: validation.error }],
|
|
661
|
+
isError: true
|
|
662
|
+
};
|
|
663
|
+
}
|
|
664
|
+
const rawColumnMapping = transformColumnsToRaw({ mode, columns, dynamicConfig });
|
|
665
|
+
const endpoint = context.type === "page" ? "json/pageLayout" : "json/typeLayout";
|
|
666
|
+
const requestBody = buildUpdateRequestBody(context, widgetId, {
|
|
667
|
+
'cf.cplace.cboard.columnMapping': rawColumnMapping
|
|
668
|
+
});
|
|
669
|
+
await client.makeApiRequest(endpoint, 'PATCH', undefined, requestBody);
|
|
670
|
+
debugLogWithTag('BOARD', `Successfully configured columns in ${mode} mode`);
|
|
671
|
+
return {
|
|
672
|
+
content: [{ type: "text", text: JSON.stringify({
|
|
673
|
+
operation: "CONFIGURE_COLUMNS",
|
|
674
|
+
status: "SUCCESS",
|
|
675
|
+
context,
|
|
676
|
+
widgetId,
|
|
677
|
+
mode,
|
|
678
|
+
columnCount: mode === "static" ? columns.length : "dynamic",
|
|
679
|
+
message: `Board columns configured successfully (${mode} mode)`
|
|
680
|
+
}, null, 2) }]
|
|
681
|
+
};
|
|
682
|
+
}
|
|
683
|
+
catch (error) {
|
|
684
|
+
debugLogWithTag('BOARD', `Error configuring columns: ${error instanceof Error ? error.message : String(error)}`);
|
|
685
|
+
return {
|
|
686
|
+
content: [{ type: "text", text: `Failed to configure board columns: ${error instanceof Error ? error.message : String(error)}` }],
|
|
687
|
+
isError: true
|
|
688
|
+
};
|
|
689
|
+
}
|
|
690
|
+
});
|
|
691
|
+
server.registerTool(TOOL_BOARD_CONFIGURE_SWIMLANES, BOARD_TOOL_DEFINITIONS[TOOL_BOARD_CONFIGURE_SWIMLANES], async ({ context, widgetId, enabled, mode, swimlanes, dynamicConfig }) => {
|
|
692
|
+
debugLogWithTag('BOARD', `Configuring swimlanes (enabled: ${enabled}) for widget ${widgetId}`);
|
|
693
|
+
try {
|
|
694
|
+
if (!enabled) {
|
|
695
|
+
const rawSwimlaneMapping = transformSwimlanesToRaw({ enabled: false });
|
|
696
|
+
const endpoint = context.type === "page" ? "json/pageLayout" : "json/typeLayout";
|
|
697
|
+
const requestBody = buildUpdateRequestBody(context, widgetId, {
|
|
698
|
+
'cf.cplace.cboard.swimlaneMapping': rawSwimlaneMapping
|
|
699
|
+
});
|
|
700
|
+
await client.makeApiRequest(endpoint, 'PATCH', undefined, requestBody);
|
|
701
|
+
return {
|
|
702
|
+
content: [{ type: "text", text: JSON.stringify({
|
|
703
|
+
operation: "CONFIGURE_SWIMLANES",
|
|
704
|
+
status: "SUCCESS",
|
|
705
|
+
context,
|
|
706
|
+
widgetId,
|
|
707
|
+
enabled: false,
|
|
708
|
+
message: "Board swimlanes disabled (flat board)"
|
|
709
|
+
}, null, 2) }]
|
|
710
|
+
};
|
|
711
|
+
}
|
|
712
|
+
if (!mode) {
|
|
713
|
+
return {
|
|
714
|
+
content: [{ type: "text", text: "Mode is required when swimlanes are enabled" }],
|
|
715
|
+
isError: true
|
|
716
|
+
};
|
|
717
|
+
}
|
|
718
|
+
if (mode === "static" && (!swimlanes || swimlanes.length === 0)) {
|
|
719
|
+
return {
|
|
720
|
+
content: [{ type: "text", text: "Static mode requires at least one swimlane definition" }],
|
|
721
|
+
isError: true
|
|
722
|
+
};
|
|
723
|
+
}
|
|
724
|
+
if (mode === "dynamic" && !dynamicConfig) {
|
|
725
|
+
return {
|
|
726
|
+
content: [{ type: "text", text: "Dynamic mode requires dynamicConfig" }],
|
|
727
|
+
isError: true
|
|
728
|
+
};
|
|
729
|
+
}
|
|
730
|
+
const currentConfig = await getCurrentBoardConfig(client, context, widgetId);
|
|
731
|
+
if (currentConfig.error) {
|
|
732
|
+
return {
|
|
733
|
+
content: [{ type: "text", text: currentConfig.error }],
|
|
734
|
+
isError: true
|
|
735
|
+
};
|
|
736
|
+
}
|
|
737
|
+
const availableSearchIds = currentConfig.cards?.map((c) => c.searchId) || [];
|
|
738
|
+
const referencedIds = mode === "static"
|
|
739
|
+
? [...new Set(swimlanes.flatMap(sl => sl.mappings.map(m => m.searchId)))]
|
|
740
|
+
: (dynamicConfig?.mappedAttributes || []).map(ma => ma.searchId);
|
|
741
|
+
const validation = validateSearchIdReferences(referencedIds, availableSearchIds, "Swimlane configuration");
|
|
742
|
+
if (!validation.valid) {
|
|
743
|
+
return {
|
|
744
|
+
content: [{ type: "text", text: validation.error }],
|
|
745
|
+
isError: true
|
|
746
|
+
};
|
|
747
|
+
}
|
|
748
|
+
const rawSwimlaneMapping = transformSwimlanesToRaw({ enabled: true, mode, swimlanes, dynamicConfig });
|
|
749
|
+
const endpoint = context.type === "page" ? "json/pageLayout" : "json/typeLayout";
|
|
750
|
+
const requestBody = buildUpdateRequestBody(context, widgetId, {
|
|
751
|
+
'cf.cplace.cboard.swimlaneMapping': rawSwimlaneMapping
|
|
752
|
+
});
|
|
753
|
+
await client.makeApiRequest(endpoint, 'PATCH', undefined, requestBody);
|
|
754
|
+
debugLogWithTag('BOARD', `Successfully configured swimlanes in ${mode} mode`);
|
|
755
|
+
return {
|
|
756
|
+
content: [{ type: "text", text: JSON.stringify({
|
|
757
|
+
operation: "CONFIGURE_SWIMLANES",
|
|
758
|
+
status: "SUCCESS",
|
|
759
|
+
context,
|
|
760
|
+
widgetId,
|
|
761
|
+
enabled: true,
|
|
762
|
+
mode,
|
|
763
|
+
swimlaneCount: mode === "static" ? swimlanes.length : "dynamic",
|
|
764
|
+
message: `Board swimlanes configured successfully (${mode} mode)`
|
|
765
|
+
}, null, 2) }]
|
|
766
|
+
};
|
|
767
|
+
}
|
|
768
|
+
catch (error) {
|
|
769
|
+
debugLogWithTag('BOARD', `Error configuring swimlanes: ${error instanceof Error ? error.message : String(error)}`);
|
|
770
|
+
return {
|
|
771
|
+
content: [{ type: "text", text: `Failed to configure board swimlanes: ${error instanceof Error ? error.message : String(error)}` }],
|
|
772
|
+
isError: true
|
|
773
|
+
};
|
|
774
|
+
}
|
|
775
|
+
});
|
|
776
|
+
server.registerTool(TOOL_BOARD_CONFIGURE_VISUAL, BOARD_TOOL_DEFINITIONS[TOOL_BOARD_CONFIGURE_VISUAL], async ({ context, widgetId, ...visualSettings }) => {
|
|
777
|
+
debugLogWithTag('BOARD', `Configuring visual settings for widget ${widgetId}`);
|
|
778
|
+
try {
|
|
779
|
+
const currentConfig = await getCurrentBoardConfig(client, context, widgetId);
|
|
780
|
+
if (currentConfig.error) {
|
|
781
|
+
return {
|
|
782
|
+
content: [{ type: "text", text: currentConfig.error }],
|
|
783
|
+
isError: true
|
|
784
|
+
};
|
|
785
|
+
}
|
|
786
|
+
const currentVisual = currentConfig.visualComponents || {};
|
|
787
|
+
const currentRaw = transformVisualToRaw(currentVisual);
|
|
788
|
+
const newRaw = transformVisualToRaw(visualSettings);
|
|
789
|
+
const mergedRaw = { ...currentRaw, ...newRaw };
|
|
790
|
+
const rawVisualComponents = JSON.stringify(mergedRaw);
|
|
791
|
+
const endpoint = context.type === "page" ? "json/pageLayout" : "json/typeLayout";
|
|
792
|
+
const requestBody = buildUpdateRequestBody(context, widgetId, {
|
|
793
|
+
'cf.cplace.cboard.visualComponents': rawVisualComponents
|
|
794
|
+
});
|
|
795
|
+
await client.makeApiRequest(endpoint, 'PATCH', undefined, requestBody);
|
|
796
|
+
debugLogWithTag('BOARD', `Successfully configured visual settings`);
|
|
797
|
+
const appliedSettings = Object.keys(visualSettings).filter(k => visualSettings[k] !== undefined);
|
|
798
|
+
return {
|
|
799
|
+
content: [{ type: "text", text: JSON.stringify({
|
|
800
|
+
operation: "CONFIGURE_VISUAL",
|
|
801
|
+
status: "SUCCESS",
|
|
802
|
+
context,
|
|
803
|
+
widgetId,
|
|
804
|
+
appliedSettings,
|
|
805
|
+
message: "Board visual settings configured successfully"
|
|
806
|
+
}, null, 2) }]
|
|
807
|
+
};
|
|
808
|
+
}
|
|
809
|
+
catch (error) {
|
|
810
|
+
debugLogWithTag('BOARD', `Error configuring visual settings: ${error instanceof Error ? error.message : String(error)}`);
|
|
811
|
+
return {
|
|
812
|
+
content: [{ type: "text", text: `Failed to configure board visual settings: ${error instanceof Error ? error.message : String(error)}` }],
|
|
813
|
+
isError: true
|
|
814
|
+
};
|
|
815
|
+
}
|
|
816
|
+
});
|
|
817
|
+
debugLogWithTag('BOARD', 'Registered 5 board widget configuration tools');
|
|
818
|
+
}
|
|
819
|
+
export { BOARD_TOOL_DEFINITIONS };
|
|
820
|
+
//# sourceMappingURL=board-widget.js.map
|