@cplace/test-mcp-server 0.1.14 → 1.0.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 +275 -75
- package/dist/api.d.ts +4 -0
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js.map +1 -1
- package/dist/conditional-registration.d.ts.map +1 -1
- package/dist/conditional-registration.js +21 -3
- package/dist/conditional-registration.js.map +1 -1
- package/dist/index.js +82 -99
- package/dist/index.js.map +1 -1
- package/dist/preference-file.d.ts +16 -0
- package/dist/preference-file.d.ts.map +1 -0
- package/dist/preference-file.js +133 -0
- package/dist/preference-file.js.map +1 -0
- package/dist/profiles.d.ts +1 -3
- package/dist/profiles.d.ts.map +1 -1
- package/dist/profiles.js +60 -107
- package/dist/profiles.js.map +1 -1
- package/dist/searchConversion.d.ts.map +1 -1
- package/dist/searchConversion.js +18 -5
- package/dist/searchConversion.js.map +1 -1
- package/dist/searchSchema.d.ts +25 -25
- package/dist/searchSchema.d.ts.map +1 -1
- package/dist/searchSchema.js +5 -5
- package/dist/searchSchema.js.map +1 -1
- package/dist/token-hashing.d.ts +3 -0
- package/dist/token-hashing.d.ts.map +1 -0
- package/dist/token-hashing.js +18 -0
- package/dist/token-hashing.js.map +1 -0
- package/dist/tool-metadata.d.ts +2 -0
- package/dist/tool-metadata.d.ts.map +1 -0
- package/dist/tool-metadata.js +43 -0
- package/dist/tool-metadata.js.map +1 -0
- package/dist/tools/change-listeners.d.ts +30 -0
- package/dist/tools/change-listeners.d.ts.map +1 -1
- package/dist/tools/change-listeners.js +24 -18
- package/dist/tools/change-listeners.js.map +1 -1
- package/dist/tools/common-schemas.d.ts +2 -0
- package/dist/tools/common-schemas.d.ts.map +1 -1
- package/dist/tools/common-schemas.js +16 -0
- package/dist/tools/common-schemas.js.map +1 -1
- package/dist/tools/csv-export.d.ts +1849 -0
- package/dist/tools/csv-export.d.ts.map +1 -0
- package/dist/tools/csv-export.js +61 -0
- package/dist/tools/csv-export.js.map +1 -0
- package/dist/tools/generic-layouts.d.ts +332 -0
- package/dist/tools/generic-layouts.d.ts.map +1 -0
- package/dist/tools/generic-layouts.js +490 -0
- package/dist/tools/generic-layouts.js.map +1 -0
- package/dist/tools/get-operations.d.ts +16 -0
- package/dist/tools/get-operations.d.ts.map +1 -0
- package/dist/tools/get-operations.js +63 -0
- package/dist/tools/get-operations.js.map +1 -0
- package/dist/tools/pages.d.ts +55 -0
- package/dist/tools/pages.d.ts.map +1 -1
- package/dist/tools/pages.js +217 -209
- package/dist/tools/pages.js.map +1 -1
- package/dist/tools/ppt-export-schemas.d.ts +16 -16
- package/dist/tools/ppt-export.d.ts +1493 -0
- package/dist/tools/ppt-export.d.ts.map +1 -1
- package/dist/tools/ppt-export.js +23 -17
- package/dist/tools/ppt-export.js.map +1 -1
- package/dist/tools/profile-management.d.ts +20 -0
- package/dist/tools/profile-management.d.ts.map +1 -0
- package/dist/tools/profile-management.js +250 -0
- package/dist/tools/profile-management.js.map +1 -0
- package/dist/tools/references.d.ts +36 -0
- package/dist/tools/references.d.ts.map +1 -1
- package/dist/tools/references.js +48 -45
- package/dist/tools/references.js.map +1 -1
- package/dist/tools/richstring-widgets.d.ts +51 -0
- package/dist/tools/richstring-widgets.d.ts.map +1 -0
- package/dist/tools/richstring-widgets.js +173 -0
- package/dist/tools/richstring-widgets.js.map +1 -0
- package/dist/tools/schedule.d.ts +14 -0
- package/dist/tools/schedule.d.ts.map +1 -1
- package/dist/tools/schedule.js +7 -3
- package/dist/tools/schedule.js.map +1 -1
- package/dist/tools/script-logs.d.ts +29 -0
- package/dist/tools/script-logs.d.ts.map +1 -0
- package/dist/tools/script-logs.js +144 -0
- package/dist/tools/script-logs.js.map +1 -0
- package/dist/tools/search.d.ts +1870 -0
- package/dist/tools/search.d.ts.map +1 -1
- package/dist/tools/search.js +49 -75
- package/dist/tools/search.js.map +1 -1
- package/dist/tools/system.d.ts +2 -1
- package/dist/tools/system.d.ts.map +1 -1
- package/dist/tools/system.js +68 -2
- package/dist/tools/system.js.map +1 -1
- package/dist/tools/type-layouts.d.ts +37 -0
- package/dist/tools/type-layouts.d.ts.map +1 -1
- package/dist/tools/type-layouts.js +57 -11
- package/dist/tools/type-layouts.js.map +1 -1
- package/dist/tools/type-management.d.ts +134 -0
- package/dist/tools/type-management.d.ts.map +1 -0
- package/dist/tools/{workspace.js → type-management.js} +67 -307
- package/dist/tools/type-management.js.map +1 -0
- package/dist/tools/users.d.ts +19 -0
- package/dist/tools/users.d.ts.map +1 -1
- package/dist/tools/users.js +14 -28
- package/dist/tools/users.js.map +1 -1
- package/dist/tools/validators.d.ts +28 -0
- package/dist/tools/validators.d.ts.map +1 -1
- package/dist/tools/validators.js +21 -15
- package/dist/tools/validators.js.map +1 -1
- package/dist/tools/version-check.d.ts +4 -0
- package/dist/tools/version-check.d.ts.map +1 -0
- package/dist/tools/version-check.js +107 -0
- package/dist/tools/version-check.js.map +1 -0
- package/dist/tools/version-history.d.ts +48 -0
- package/dist/tools/version-history.d.ts.map +1 -1
- package/dist/tools/version-history.js +39 -29
- package/dist/tools/version-history.js.map +1 -1
- package/dist/tools/widgets.d.ts +182 -0
- package/dist/tools/widgets.d.ts.map +1 -1
- package/dist/tools/widgets.js +213 -590
- package/dist/tools/widgets.js.map +1 -1
- package/dist/tools/workflow-scripts.d.ts +40 -0
- package/dist/tools/workflow-scripts.d.ts.map +1 -0
- package/dist/tools/workflow-scripts.js +186 -0
- package/dist/tools/workflow-scripts.js.map +1 -0
- package/dist/tools/workflow.d.ts +70 -0
- package/dist/tools/workflow.d.ts.map +1 -0
- package/dist/tools/workflow.js +259 -0
- package/dist/tools/workflow.js.map +1 -0
- package/dist/tools/workspace-admin.d.ts +40 -0
- package/dist/tools/workspace-admin.d.ts.map +1 -0
- package/dist/tools/workspace-admin.js +125 -0
- package/dist/tools/workspace-admin.js.map +1 -0
- package/dist/tools/workspace-core.d.ts +45 -0
- package/dist/tools/workspace-core.d.ts.map +1 -0
- package/dist/tools/workspace-core.js +153 -0
- package/dist/tools/workspace-core.js.map +1 -0
- package/dist/types.d.ts +3 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/url-parsing.d.ts +6 -0
- package/dist/url-parsing.d.ts.map +1 -0
- package/dist/url-parsing.js +25 -0
- package/dist/url-parsing.js.map +1 -0
- package/dist/utils/dateValidation.d.ts +5 -0
- package/dist/utils/dateValidation.d.ts.map +1 -0
- package/dist/utils/dateValidation.js +57 -0
- package/dist/utils/dateValidation.js.map +1 -0
- package/dist/utils.js +7 -7
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
- package/dist/tools/workspace.d.ts +0 -4
- package/dist/tools/workspace.d.ts.map +0 -1
- package/dist/tools/workspace.js.map +0 -1
package/README.md
CHANGED
|
@@ -6,24 +6,20 @@ The server supports a profile-based tool loading system to optimize LLM context
|
|
|
6
6
|
|
|
7
7
|
## Installation & Setup
|
|
8
8
|
|
|
9
|
-
> **⚠️ Important**: The `CPLACE_URL` must end with a forward slash (`/`) when working with a tenant. Missing this slash will result in 404 errors.
|
|
10
|
-
>
|
|
11
|
-
> ✅ Correct: `https://your-cplace-instance.com/your-tenant/`
|
|
12
|
-
> ❌ Incorrect: `https://your-cplace-instance.com/your-tenant`
|
|
13
|
-
|
|
14
9
|
### Claude Desktop Installation
|
|
15
10
|
|
|
16
|
-
#### Basic Setup
|
|
17
|
-
By default,
|
|
11
|
+
#### Basic Setup
|
|
12
|
+
By default, only the core tools are loaded. Add this entry to your Claude Desktop MCP server configuration file:
|
|
18
13
|
|
|
14
|
+
**Option 1: Separate credentials (traditional)**
|
|
19
15
|
```json
|
|
20
16
|
{
|
|
21
17
|
"mcpServers": {
|
|
22
18
|
"cplace": {
|
|
23
19
|
"command": "npx",
|
|
24
|
-
"args": ["@cplace/test-mcp-server"],
|
|
20
|
+
"args": ["--ignore-existing", "-y", "@cplace/test-mcp-server@latest"],
|
|
25
21
|
"env": {
|
|
26
|
-
"CPLACE_URL": "https://your-cplace-instance.com/your-tenant
|
|
22
|
+
"CPLACE_URL": "https://your-cplace-instance.com/your-tenant",
|
|
27
23
|
"API_TOKEN": "your-api-token"
|
|
28
24
|
}
|
|
29
25
|
}
|
|
@@ -31,18 +27,15 @@ By default, all tools are loaded. Add this entry to your Claude Desktop MCP serv
|
|
|
31
27
|
}
|
|
32
28
|
```
|
|
33
29
|
|
|
34
|
-
|
|
35
|
-
To load only specific tool groups and reduce LLM context usage, add the `--profiles` argument:
|
|
36
|
-
|
|
30
|
+
**Option 2: URL-embedded credentials**
|
|
37
31
|
```json
|
|
38
32
|
{
|
|
39
33
|
"mcpServers": {
|
|
40
34
|
"cplace": {
|
|
41
35
|
"command": "npx",
|
|
42
|
-
"args": ["@cplace/test-mcp-server"
|
|
36
|
+
"args": ["--ignore-existing", "-y", "@cplace/test-mcp-server@latest"],
|
|
43
37
|
"env": {
|
|
44
|
-
"CPLACE_URL": "https://your-cplace-instance.com/your-tenant
|
|
45
|
-
"API_TOKEN": "your-api-token"
|
|
38
|
+
"CPLACE_URL": "https://your-api-token@your-cplace-instance.com/your-tenant"
|
|
46
39
|
}
|
|
47
40
|
}
|
|
48
41
|
}
|
|
@@ -52,19 +45,19 @@ To load only specific tool groups and reduce LLM context usage, add the `--profi
|
|
|
52
45
|
### Claude Code Installation
|
|
53
46
|
|
|
54
47
|
#### All tools (default):
|
|
48
|
+
**Option 1: Separate credentials**
|
|
55
49
|
```bash
|
|
56
50
|
claude mcp add cplace \
|
|
57
|
-
--env CPLACE_URL=https://your-cplace-instance.com/your-tenant
|
|
51
|
+
--env CPLACE_URL=https://your-cplace-instance.com/your-tenant \
|
|
58
52
|
--env API_TOKEN=your-api-token \
|
|
59
|
-
-- npx -y @cplace/test-mcp-server
|
|
53
|
+
-- npx --ignore-existing -y @cplace/test-mcp-server@latest
|
|
60
54
|
```
|
|
61
55
|
|
|
62
|
-
|
|
56
|
+
**Option 2: URL-embedded credentials**
|
|
63
57
|
```bash
|
|
64
58
|
claude mcp add cplace \
|
|
65
|
-
--env CPLACE_URL=https://your-cplace-instance.com/your-tenant
|
|
66
|
-
--
|
|
67
|
-
-- npx -y @cplace/test-mcp-server --profiles=layouts
|
|
59
|
+
--env CPLACE_URL=https://your-api-token@your-cplace-instance.com/your-tenant \
|
|
60
|
+
-- npx --ignore-existing -y @cplace/test-mcp-server@latest
|
|
68
61
|
```
|
|
69
62
|
|
|
70
63
|
Verify the installation:
|
|
@@ -72,6 +65,44 @@ Verify the installation:
|
|
|
72
65
|
claude mcp list
|
|
73
66
|
```
|
|
74
67
|
|
|
68
|
+
### Installing a Specific Version
|
|
69
|
+
|
|
70
|
+
By default, `npx` installs the latest version of the MCP server. To install a specific version, add the version number to the package name:
|
|
71
|
+
|
|
72
|
+
#### Claude Desktop
|
|
73
|
+
```json
|
|
74
|
+
{
|
|
75
|
+
"mcpServers": {
|
|
76
|
+
"cplace": {
|
|
77
|
+
"command": "npx",
|
|
78
|
+
"args": ["--ignore-existing", "-y", "@cplace/test-mcp-server@0.1.15"],
|
|
79
|
+
"env": {
|
|
80
|
+
"CPLACE_URL": "https://your-cplace-instance.com/your-tenant",
|
|
81
|
+
"API_TOKEN": "your-api-token"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
#### Claude Code
|
|
89
|
+
```bash
|
|
90
|
+
claude mcp add cplace \
|
|
91
|
+
--env CPLACE_URL=https://your-cplace-instance.com/your-tenant \
|
|
92
|
+
--env API_TOKEN=your-api-token \
|
|
93
|
+
-- npx --ignore-existing -y @cplace/test-mcp-server@0.1.15
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
**Note**: Replace `0.1.15` with your desired version number. You can find available versions on [npm](https://www.npmjs.com/package/@cplace/test-mcp-server?activeTab=versions).
|
|
97
|
+
|
|
98
|
+
## Authentication Notes
|
|
99
|
+
|
|
100
|
+
The installation examples above show two authentication approaches:
|
|
101
|
+
- **Separate credentials**: Traditional `CPLACE_URL` + `API_TOKEN` approach
|
|
102
|
+
- **URL-embedded credentials**: Token embedded in the URL like `https://token@host.com/tenant`
|
|
103
|
+
|
|
104
|
+
**Priority**: If both `API_TOKEN` and URL-embedded credentials are provided, `API_TOKEN` takes precedence. This ensures backwards compatibility and allows secure credential override.
|
|
105
|
+
|
|
75
106
|
## cplace Requirements
|
|
76
107
|
|
|
77
108
|
The `cplace-citizen-ai` repository must be part of the deployment. These plugins must be activated:
|
|
@@ -97,84 +128,242 @@ The following configuration properties must be set for API Token authentication
|
|
|
97
128
|
4. Add the MCP server configuration to Claude Desktop
|
|
98
129
|
5. Open Claude Desktop - the cplace tools should now be available
|
|
99
130
|
|
|
131
|
+
## Version Compatibility
|
|
132
|
+
|
|
133
|
+
The MCP server and cplace backend must be synchronized to work correctly. Version mismatches can occur when either component is upgraded independently.
|
|
134
|
+
|
|
135
|
+
### Checking Version Compatibility
|
|
136
|
+
|
|
137
|
+
Ask Claude to check version compatibility:
|
|
138
|
+
```
|
|
139
|
+
Check the version compatibility between the MCP server and the cplace backend
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Claude will internally use the `cplace_check_version_compatibility` tool to perform the check.
|
|
143
|
+
|
|
144
|
+
### Understanding the Results
|
|
145
|
+
|
|
146
|
+
Claude will report one of these outcomes:
|
|
147
|
+
|
|
148
|
+
#### ✅ Compatible
|
|
149
|
+
|
|
150
|
+
Your MCP server package version matches what the backend expects. Everything is working correctly, and no action is needed.
|
|
151
|
+
|
|
152
|
+
#### ⚠️ Version Mismatch
|
|
153
|
+
|
|
154
|
+
The versions don't match. There are two possible scenarios:
|
|
155
|
+
|
|
156
|
+
##### Scenario 1: MCP Server Newer Than Backend
|
|
157
|
+
|
|
158
|
+
```
|
|
159
|
+
⚠️ Version Mismatch Detected
|
|
160
|
+
|
|
161
|
+
Your MCP server package is newer than what the cplace backend currently supports:
|
|
162
|
+
|
|
163
|
+
- Your MCP server package version: 1.0.5
|
|
164
|
+
- Backend expects version: 1.0.2
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
**What This Means:** The cplace backend hasn't been upgraded yet to support features in your MCP server package version. This could lead to unexpected behavior or errors when using certain tools.
|
|
168
|
+
|
|
169
|
+
**Resolution Options:**
|
|
170
|
+
|
|
171
|
+
**Option A: Downgrade MCP Server (Recommended for Local Installations)**
|
|
172
|
+
|
|
173
|
+
If you're using a local MCP server installation, you can downgrade to match the backend version. Follow the instructions in the [Installing a Specific Version](#installing-a-specific-version) section above to install version `1.0.2` (the version your backend expects).
|
|
174
|
+
|
|
175
|
+
Example for Claude Desktop:
|
|
176
|
+
```json
|
|
177
|
+
{
|
|
178
|
+
"mcpServers": {
|
|
179
|
+
"cplace": {
|
|
180
|
+
"command": "npx",
|
|
181
|
+
"args": ["--ignore-existing", "-y", "@cplace/test-mcp-server@1.0.2"],
|
|
182
|
+
"env": {
|
|
183
|
+
"CPLACE_URL": "https://your-cplace-instance.com/your-tenant",
|
|
184
|
+
"API_TOKEN": "your-api-token"
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
After updating the configuration, close and reopen Claude Desktop, then run the version check again to confirm compatibility.
|
|
192
|
+
|
|
193
|
+
**Option B: Upgrade Backend**
|
|
194
|
+
|
|
195
|
+
Contact your cplace administrator to upgrade the backend deployment to the latest version.
|
|
196
|
+
|
|
197
|
+
##### Scenario 2: Backend Newer Than MCP Server
|
|
198
|
+
|
|
199
|
+
```
|
|
200
|
+
⚠️ Version Mismatch Detected
|
|
201
|
+
|
|
202
|
+
Your cplace backend has been upgraded and now expects a newer package version:
|
|
203
|
+
|
|
204
|
+
- Your MCP server package version: 1.0.2
|
|
205
|
+
- Backend expects version: 1.0.5
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
**What This Means:** The backend has been upgraded with new features that require a newer MCP server package version.
|
|
209
|
+
|
|
210
|
+
**Resolution:**
|
|
211
|
+
|
|
212
|
+
The MCP server will automatically upgrade to the latest version on the next restart when using `@latest`. If you're using a version-pinned installation (e.g., `@1.0.2`), update your configuration to either specify the new version or use `@latest` to always fetch the newest version:
|
|
213
|
+
|
|
214
|
+
Example for Claude Desktop (auto-upgrade to latest):
|
|
215
|
+
```json
|
|
216
|
+
{
|
|
217
|
+
"mcpServers": {
|
|
218
|
+
"cplace": {
|
|
219
|
+
"command": "npx",
|
|
220
|
+
"args": ["--ignore-existing", "-y", "@cplace/test-mcp-server@latest"],
|
|
221
|
+
"env": {
|
|
222
|
+
"CPLACE_URL": "https://your-cplace-instance.com/your-tenant",
|
|
223
|
+
"API_TOKEN": "your-api-token"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
Close and reopen Claude Desktop to apply the changes, then run the version check again to confirm compatibility.
|
|
231
|
+
|
|
100
232
|
## Changing the cplace System
|
|
101
233
|
|
|
102
234
|
To change `CPLACE_URL` or `API_TOKEN`, update the values in the Claude Desktop configuration, then close & reopen Claude Desktop.
|
|
103
235
|
|
|
104
236
|
## Profile System
|
|
105
237
|
|
|
106
|
-
The server uses a profile-based tool loading system to optimize LLM context usage. By default, **
|
|
238
|
+
The MCP server uses a profile-based tool loading system to optimize LLM context usage. By default, only the **core** profile is loaded if no profiles are specified, providing essential operations while keeping context usage low. You can load additional tool groups by specifying profiles via CLI arguments or by using the `cplace_manage_profiles` tool.
|
|
107
239
|
|
|
108
|
-
### Available Tool
|
|
240
|
+
### Available Tool Profiles
|
|
109
241
|
|
|
110
|
-
|
|
|
111
|
-
|
|
112
|
-
|
|
|
113
|
-
|
|
|
114
|
-
|
|
|
115
|
-
|
|
|
116
|
-
|
|
|
117
|
-
|
|
|
118
|
-
|
|
|
119
|
-
|
|
|
242
|
+
| Profile | Description | Tool Count |
|
|
243
|
+
|---------|-------------|------------|
|
|
244
|
+
| `core` | Essential operations | 18 tools |
|
|
245
|
+
| `workspace-admin` | Workspace creation and app management | 3 tools |
|
|
246
|
+
| `history` | Version history | 4 tools |
|
|
247
|
+
| `layouts` | Widget and layout management | 21 tools |
|
|
248
|
+
| `types-write` | Type and attribute management | 2 tools |
|
|
249
|
+
| `low-code` | Validators, change listeners, workflows | 11 tools |
|
|
250
|
+
| `ppt-export` | PowerPoint export | 2 tools |
|
|
251
|
+
| `csv-export` | CSV export functionality | 1 tool |
|
|
252
|
+
| `schedule` | Schedule analysis | 1 tool |
|
|
253
|
+
|
|
254
|
+
### Token Usage by Profile
|
|
255
|
+
|
|
256
|
+
The visualization below shows the LLM context token usage for each profile. Loading multiple profiles increases the total context consumed:
|
|
257
|
+
|
|
258
|
+
```
|
|
259
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
260
|
+
│ LAYOUTS 20.8k ████████████████████████████████████████ │
|
|
261
|
+
│ CORE 17.4k ██████████████████████████████████ │
|
|
262
|
+
│ LOW_CODE 10.3k ████████████████ │
|
|
263
|
+
│ PPT_EXPORT 5.2k ████████ │
|
|
264
|
+
│ TYPES_WRITE 3.4k █████ │
|
|
265
|
+
│ HISTORY 2.8k ████ │
|
|
266
|
+
│ WORKSPACE_ADMIN 2.3k ███ │
|
|
267
|
+
│ CSV_EXPORT 2.2k ███ │
|
|
268
|
+
│ SCHEDULE 860 █ │
|
|
269
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
270
|
+
Total: ~65.3k tokens across all profiles
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
**Note**: The core profile is always loaded automatically. When you specify additional profiles, their token counts are added to the core profile's usage.
|
|
120
274
|
|
|
121
275
|
### Profile Usage Examples
|
|
122
276
|
|
|
123
277
|
```bash
|
|
124
|
-
#
|
|
125
|
-
npx @cplace/test-mcp-server
|
|
126
|
-
|
|
127
|
-
# Just core functionality
|
|
128
|
-
npx @cplace/test-mcp-server --profiles=core
|
|
278
|
+
# Default - core functionality only
|
|
279
|
+
npx --ignore-existing -y @cplace/test-mcp-server@latest
|
|
129
280
|
|
|
130
281
|
# Dashboard development (core + layouts)
|
|
131
|
-
npx @cplace/test-mcp-server --profiles=layouts
|
|
282
|
+
npx --ignore-existing -y @cplace/test-mcp-server@latest --profiles=layouts
|
|
132
283
|
|
|
133
|
-
# Type development (core +
|
|
134
|
-
npx @cplace/test-mcp-server --profiles=
|
|
284
|
+
# Type development (core + types-write + low-code)
|
|
285
|
+
npx --ignore-existing -y @cplace/test-mcp-server@latest --profiles=types-write+low-code
|
|
135
286
|
|
|
136
|
-
#
|
|
137
|
-
npx @cplace/test-mcp-server --profiles=
|
|
287
|
+
# Load all available profiles
|
|
288
|
+
npx --ignore-existing -y @cplace/test-mcp-server@latest --profiles=all
|
|
138
289
|
```
|
|
139
290
|
|
|
140
|
-
###
|
|
291
|
+
### Dynamic Profile Management
|
|
292
|
+
|
|
293
|
+
You can ask Claude to manage profiles at runtime using natural language. Claude will use the `cplace_manage_profiles` tool to handle your requests:
|
|
294
|
+
|
|
295
|
+
**Example messages:**
|
|
296
|
+
- "What profiles are currently active?"
|
|
297
|
+
- "Show me all available profiles"
|
|
298
|
+
- "Switch to the layouts and types-write profiles"
|
|
299
|
+
|
|
300
|
+
**Note**: Profile changes are saved to `~/.cplace-mcp-profiles.json` but require a server reconnect to take effect. The MCP server loads tools once at startup and cannot dynamically register/unregister tools during runtime.
|
|
301
|
+
|
|
302
|
+
**To reconnect in Claude Code**: Use the `/mcp` command, then select the cplace MCP server and click `Reconnect`.
|
|
303
|
+
**To reconnect in Claude Desktop**: Close and reopen the application.
|
|
141
304
|
|
|
142
|
-
|
|
305
|
+
### Profile Resolution Priority
|
|
143
306
|
|
|
144
|
-
|
|
307
|
+
The server uses a three-tier priority system to determine which profiles are active at startup:
|
|
308
|
+
|
|
309
|
+
1. **Stored Preferences (Highest Priority)**: Profiles saved via `cplace_manage_profiles` tool, stored in `~/.cplace-mcp-profiles.json`. These are path-specific (keyed by working directory), user-specific (API token hash), and tenant-specific (URL).
|
|
310
|
+
|
|
311
|
+
2. **CLI Argument (Medium Priority)**: The `--profiles=` argument in your MCP server configuration. Used when no stored preference exists for the current directory/user/tenant combination.
|
|
312
|
+
|
|
313
|
+
3. **Code Default (Lowest Priority)**: Falls back to the "core" profile only when neither stored preferences nor CLI arguments are provided.
|
|
314
|
+
|
|
315
|
+
**Special Rules**:
|
|
316
|
+
- The "core" profile is always included automatically, regardless of configuration
|
|
317
|
+
- Profile preferences are directory-specific: `/project-a` can have different profiles than `/project-b` for the same user
|
|
318
|
+
- The `cplace_manage_profiles` tool is always available
|
|
319
|
+
|
|
320
|
+
## Available Profiles and Tools
|
|
145
321
|
|
|
146
322
|
### Core (Always Loaded)
|
|
147
323
|
Essential operations including workspace navigation, page CRUD operations, search, users, and references.
|
|
148
324
|
|
|
325
|
+
**Workspace Management:**
|
|
149
326
|
- `cplace_list_workspaces` - Get all workspaces with essential properties
|
|
150
327
|
- `cplace_get_workspace_details` - Get comprehensive details about a specific workspace including all metadata, permissions, type definitions, styling, and configuration
|
|
151
|
-
- `cplace_create_workspace` - Create a new workspace with specified configuration including name, permissions, and apps
|
|
152
|
-
- `cplace_list_workspace_apps` - Get comprehensive information about applications within a workspace, including installed apps, available apps for installation, dependency information, and compatibility status
|
|
153
|
-
- `cplace_install_workspace_app` - Install a specific application into a workspace, including automatic dependency resolution
|
|
154
328
|
- `cplace_list_types` - List all types available in a workspace
|
|
155
329
|
- `cplace_get_type_datamodel` - Get the datamodel of a type including its attributes, constraints, and permissions
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
- `
|
|
159
|
-
- `
|
|
330
|
+
|
|
331
|
+
**Page Operations:**
|
|
332
|
+
- `cplace_get_by_uid` - Get entity (page or person) by UID with full details
|
|
333
|
+
- `cplace_manage_page` - Create or update a page with attributes and content
|
|
160
334
|
- `cplace_delete_page` - Permanently delete a single page (leaf pages only)
|
|
161
335
|
- `cplace_delete_page_with_children` - Permanently delete a page and optionally all its children
|
|
336
|
+
- `cplace_copy_page` - Copy a page with optional children to a new location
|
|
337
|
+
|
|
338
|
+
**Search:**
|
|
162
339
|
- `cplace_search_pages` - Search pages of a type in cplace with advanced filtering
|
|
163
340
|
- `cplace_search_pages_fulltext` - Make a fulltext search across all pages in cplace
|
|
164
341
|
- `cplace_list_pages_of_type` - List all pages of a specific type in a workspace
|
|
165
|
-
|
|
342
|
+
|
|
343
|
+
**Users & References:**
|
|
166
344
|
- `cplace_get_person_by_name` - Get details about a person by searching for their name
|
|
167
345
|
- `cplace_get_current_user` - Get information about the currently logged-in user
|
|
168
|
-
- `
|
|
169
|
-
|
|
170
|
-
|
|
346
|
+
- `cplace_get_incoming_references` - Get incoming references for pages or types
|
|
347
|
+
|
|
348
|
+
**Utilities:**
|
|
349
|
+
- `cplace_get_icon_names` - Get all available icon names in the cplace system (FontAwesome, cplace custom, HUI utility icons)
|
|
350
|
+
- `cplace_check_version_compatibility` - Check version compatibility between the MCP server and the cplace backend API
|
|
351
|
+
|
|
352
|
+
**Profile Management:**
|
|
353
|
+
- `cplace_manage_profiles` - Dynamically manage active profiles
|
|
354
|
+
|
|
355
|
+
### Workspace Admin (Profile: workspace-admin)
|
|
356
|
+
Workspace creation and app management.
|
|
357
|
+
|
|
358
|
+
- `cplace_create_workspace` - Create a new workspace with specified configuration including name, permissions, and apps
|
|
359
|
+
- `cplace_list_workspace_apps` - Get comprehensive information about applications within a workspace, including installed apps, available apps for installation, dependency information, and compatibility status
|
|
360
|
+
- `cplace_install_workspace_app` - Install a specific application into a workspace, including automatic dependency resolution
|
|
171
361
|
|
|
172
362
|
### Layouts (Profile: layouts)
|
|
173
|
-
Widget and dashboard layout management.
|
|
363
|
+
Widget and dashboard layout management, plus richstring widget operations.
|
|
174
364
|
|
|
175
365
|
- `cplace_list_widget_definitions` - Get a list of all available widget definitions with their metadata
|
|
176
366
|
- `cplace_get_widget_definition` - Get detailed information about a specific widget definition including its configuration schema
|
|
177
|
-
- `cplace_get_page_layout_overview` - Get the high-level layout structure of a page including rows, columns, and widget summaries
|
|
178
367
|
- `cplace_get_widget_details` - Get detailed configuration for a specific widget within a page layout
|
|
179
368
|
- `cplace_add_widget_to_layout` - Add a new widget to a page layout at a specific position
|
|
180
369
|
- `cplace_remove_widget_from_layout` - Remove an existing widget from a page layout
|
|
@@ -183,26 +372,44 @@ Widget and dashboard layout management.
|
|
|
183
372
|
- `cplace_get_embedded_layout` - Get the widget layout structure of an embedded widget within a container widget
|
|
184
373
|
- `cplace_add_widget_to_embedded_layout` - Add a new widget to an embedded layout within a container widget
|
|
185
374
|
- `cplace_remove_widget_from_embedded_layout` - Remove an existing widget from an embedded layout within a container widget
|
|
186
|
-
- `cplace_compact_page_layout` - Remove all empty rows from a page layout, compacting it by keeping only rows with widgets
|
|
187
|
-
- `cplace_add_row_to_page_layout` - Create a new row with specific column layout in a page layout
|
|
188
375
|
- `cplace_get_type_layout` - Get widget layout structure of a specific type definition (default or alternative layout)
|
|
189
376
|
- `cplace_list_type_alternative_layouts` - List all available layouts for a type with usage statistics (default + alternatives)
|
|
190
|
-
|
|
191
|
-
|
|
377
|
+
- `cplace_create_type_alternative_layout` - Create a new alternative layout for a specific type definition
|
|
378
|
+
- `cplace_layout_get_overview` - Get layout structure for page or type (unified interface)
|
|
379
|
+
- `cplace_layout_add_widget` - Add widget to page or type layout (unified interface)
|
|
380
|
+
- `cplace_layout_remove_widget` - Remove widget from page or type layout (unified interface)
|
|
381
|
+
- `cplace_layout_add_row` - Add row structure to page or type layout (unified interface)
|
|
382
|
+
- `cplace_layout_get_widget_details` - Get detailed widget configuration from page or type layout (unified interface)
|
|
383
|
+
- `cplace_layout_update_widget` - Update widget configuration or collapse state in page or type layout (unified interface)
|
|
384
|
+
- `cplace_layout_move_widget` - Move widget to different position in page or type layout (unified interface)
|
|
385
|
+
- `cplace_layout_compact` - Remove empty rows from page or type layout (unified interface)
|
|
386
|
+
- `cplace_richstring_extract_widgets` - Extract all embedded widgets from a richstring attribute value
|
|
387
|
+
- `cplace_richstring_insert_widget` - Insert a widget into a richstring attribute at a specific position
|
|
388
|
+
- `cplace_richstring_update_widget` - Update an existing widget configuration within a richstring attribute
|
|
389
|
+
- `cplace_richstring_delete_widget` - Delete a widget from a richstring attribute
|
|
390
|
+
|
|
391
|
+
### Type and Attribute Definition (Profile: types-write)
|
|
192
392
|
Type and attribute creation and updates.
|
|
193
393
|
|
|
194
394
|
- `cplace_manage_type_definition` - Create or update type definitions in a workspace with comprehensive configuration options
|
|
195
395
|
- `cplace_manage_attribute_definition` - Create or update attribute definitions within existing type definitions
|
|
196
396
|
|
|
197
|
-
### Low-Code (Profile:
|
|
198
|
-
Validators and
|
|
397
|
+
### Low-Code (Profile: low-code)
|
|
398
|
+
Validators, change listeners, workflow state machines, workflow scripts, and script logging.
|
|
199
399
|
|
|
200
400
|
- `cplace_get_validator_by_attribute` - Get JavaScript validator script and metadata for a specific attribute
|
|
201
401
|
- `cplace_manage_validator` - Create or update JavaScript validators for attribute definitions
|
|
202
402
|
- `cplace_get_change_listeners_by_type` - Get all JavaScript automation scripts (change listeners) for a type
|
|
203
403
|
- `cplace_manage_change_listener` - Create or update JavaScript automation scripts that execute when specified attributes change
|
|
204
|
-
|
|
205
|
-
|
|
404
|
+
- `cplace_manage_workflow_state` - Create or update workflow states for type definitions with comprehensive configuration
|
|
405
|
+
- `cplace_delete_workflow_state` - Delete a workflow state from a type definition
|
|
406
|
+
- `cplace_manage_workflow_transition` - Create or update workflow transitions between states with validation and JavaScript actions
|
|
407
|
+
- `cplace_delete_workflow_transition` - Delete a workflow transition from a type definition
|
|
408
|
+
- `cplace_get_workflow_script` - Get the JavaScript script associated with a workflow state or transition
|
|
409
|
+
- `cplace_manage_workflow_script` - Create or update JavaScript scripts for workflow states or transitions
|
|
410
|
+
- `cplace_get_script_logs` - Retrieve filtered and paginated script execution logs for debugging and monitoring low-code scripts
|
|
411
|
+
|
|
412
|
+
### PPT Export (Profile: ppt-export)
|
|
206
413
|
PowerPoint export profiles.
|
|
207
414
|
|
|
208
415
|
- `cplace_create_ppt_export_profile` - Create PowerPoint Export Profiles with comprehensive configuration for page layout, timeline settings, task classes, and visual formatting
|
|
@@ -216,7 +423,7 @@ Version history and change tracking.
|
|
|
216
423
|
- `cplace_get_page_diff` - Compare page states between two timestamps and return the differences
|
|
217
424
|
- `cplace_get_page_changesets_summary` - Get a summary of recent changes for a page (convenience tool for last 7 days by default)
|
|
218
425
|
|
|
219
|
-
### CSV Export (Profile:
|
|
426
|
+
### CSV Export (Profile: csv-export)
|
|
220
427
|
CSV export functionality for search results.
|
|
221
428
|
|
|
222
429
|
- `cplace_search_pages_csv` - Export search results to CSV format
|
|
@@ -229,10 +436,3 @@ Schedule analysis and cross-schedule dependencies.
|
|
|
229
436
|
## Development
|
|
230
437
|
|
|
231
438
|
For development setup, contribution guidelines, and extending the server, see [DEVELOPMENT.md](DEVELOPMENT.md).
|
|
232
|
-
|
|
233
|
-
## Troubleshooting
|
|
234
|
-
|
|
235
|
-
### 404 Errors
|
|
236
|
-
If you're getting 404 errors, ensure your `CPLACE_URL` ends with a forward slash (`/`) when working with a tenant:
|
|
237
|
-
- ✅ Correct: `https://your-cplace-instance.com/your-tenant/`
|
|
238
|
-
- ❌ Incorrect: `https://your-cplace-instance.com/your-tenant`
|
package/dist/api.d.ts
CHANGED
|
@@ -156,6 +156,9 @@ export interface TypePermissions {
|
|
|
156
156
|
export interface TypeDefinitionApiResponse {
|
|
157
157
|
result: TypeDefinitionDetailed;
|
|
158
158
|
}
|
|
159
|
+
export interface VersionApiResponse {
|
|
160
|
+
apiVersion: string;
|
|
161
|
+
}
|
|
159
162
|
export interface ApiEndpoints {
|
|
160
163
|
'json/workspaces': WorkspaceDetailed[];
|
|
161
164
|
'json/page': PageDetailed;
|
|
@@ -163,6 +166,7 @@ export interface ApiEndpoints {
|
|
|
163
166
|
'json/search': SearchApiResponse;
|
|
164
167
|
'json/type-definition': TypeDefinitionDetailed;
|
|
165
168
|
'json/fulltext-search': SearchApiResponse;
|
|
169
|
+
'json/version': VersionApiResponse;
|
|
166
170
|
}
|
|
167
171
|
export declare class CplaceApiClient {
|
|
168
172
|
private config;
|
package/dist/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAe,MAAM,YAAY,CAAC;AAIvD,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,oBAAoB,CAAC;IAClC,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,eAAe,EAAE,wBAAwB,CAAC;CAC3C;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,cAAc,EAAE,GAAG,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,uBAAuB,E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C,EAAE,GAAG,GACT,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IAGrB,cAAc,CAAC,CAAC,GAAG,GAAG,EAC1B,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,EAC5C,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC5B,IAAI,CAAC,EAAE,GAAG,GACT,OAAO,CAAC,CAAC,CAAC;CAuFd"}
|
package/dist/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AA2M9C,MAAM,OAAO,eAAe;IAClB,MAAM,CAAe;IAE7B,YAAY,MAAoB;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAkBD,KAAK,CAAC,cAAc,CAClB,QAAgB,EAChB,SAA8C,KAAK,EACnD,MAA4B,EAC5B,IAAU;QAEV,eAAe,CAAC,YAAY,EAAE,UAAU,MAAM,yBAAyB,QAAQ,EAAE,CAAC,CAAC;QACnF,eAAe,CAAC,YAAY,EAAE,WAAW,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QACnE,eAAe,CAAC,YAAY,EAAE,SAAS,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAE/D,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,E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AI,CAAC,SAAS,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;gBAE9F,MAAM,YAAY,GAAG,YAAY,CAAC,KAAK,IAAI,YAAY,CAAC,YAAY,IAAI,eAAe,CAAC;gBACxF,MAAM,IAAI,KAAK,CAAC,cAAc,YAAY,aAAa,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;YAC7E,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC9B,eAAe,CAAC,YAAY,EAAE,eAAe,KAAK,CAAC,QAAQ,EAAE,MAAM,MAAM,KAAK,CAAC,QAAQ,EAAE,UAAU,EAAE,CAAC,CAAC;gBACvG,eAAe,CAAC,YAAY,EAAE,kBAAkB,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;gBACxF,eAAe,CAAC,YAAY,EAAE,eAAe,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;gBAC9D,MAAM,IAAI,KAAK,CAAC,mBAAmB,KAAK,CAAC,OAAO,aAAa,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,CAAC,CAAC;YAC1F,CAAC;iBAAM,CAAC;gBACN,eAAe,CAAC,YAAY,EAAE,mBAAmB,KAAK,EAAE,CAAC,CAAC;gBAC1D,MAAM,KAAK,CAAC;YACd,CAAC;QACH,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditional-registration.d.ts","sourceRoot":"","sources":["../src/conditional-registration.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"conditional-registration.d.ts","sourceRoot":"","sources":["../src/conditional-registration.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAuD3C,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE,eAAe,EACvB,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,GACxB,IAAI,CAeN"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { getRequiredModules } from './profiles.js';
|
|
2
2
|
import { debugLogWithTag } from './logger.js';
|
|
3
|
-
import {
|
|
3
|
+
import { registerWorkspaceCoreTools } from './tools/workspace-core.js';
|
|
4
|
+
import { registerWorkspaceAdminTools } from './tools/workspace-admin.js';
|
|
5
|
+
import { registerTypeManagementTools } from './tools/type-management.js';
|
|
4
6
|
import { registerPageTools } from './tools/pages.js';
|
|
5
7
|
import { registerSearchTools } from './tools/search.js';
|
|
8
|
+
import { registerCsvExportTools } from './tools/csv-export.js';
|
|
6
9
|
import { registerUserTools } from './tools/users.js';
|
|
7
10
|
import { registerReferenceTools } from './tools/references.js';
|
|
8
11
|
import { registerWidgetTools } from './tools/widgets.js';
|
|
@@ -12,10 +15,19 @@ import { registerChangeListenerTools } from './tools/change-listeners.js';
|
|
|
12
15
|
import { registerValidatorTools } from './tools/validators.js';
|
|
13
16
|
import { registerPPTExportProfileTools } from './tools/ppt-export.js';
|
|
14
17
|
import { registerScheduleTools } from './tools/schedule.js';
|
|
18
|
+
import { registerLayoutTools } from './tools/generic-layouts.js';
|
|
19
|
+
import { registerRichStringWidgetTools } from './tools/richstring-widgets.js';
|
|
20
|
+
import { registerWorkflowTools } from './tools/workflow.js';
|
|
21
|
+
import { registerWorkflowScriptTools } from './tools/workflow-scripts.js';
|
|
22
|
+
import { registerScriptLogsTools } from './tools/script-logs.js';
|
|
23
|
+
import { registerGetOperationTools } from './tools/get-operations.js';
|
|
15
24
|
const MODULE_REGISTRY = {
|
|
16
|
-
'workspace':
|
|
25
|
+
'workspace-core': registerWorkspaceCoreTools,
|
|
26
|
+
'workspace-admin': registerWorkspaceAdminTools,
|
|
27
|
+
'type-management': registerTypeManagementTools,
|
|
17
28
|
'pages': registerPageTools,
|
|
18
29
|
'search': registerSearchTools,
|
|
30
|
+
'csv-export': registerCsvExportTools,
|
|
19
31
|
'users': registerUserTools,
|
|
20
32
|
'references': registerReferenceTools,
|
|
21
33
|
'widgets': registerWidgetTools,
|
|
@@ -24,7 +36,13 @@ const MODULE_REGISTRY = {
|
|
|
24
36
|
'change-listeners': registerChangeListenerTools,
|
|
25
37
|
'validators': registerValidatorTools,
|
|
26
38
|
'ppt-export': registerPPTExportProfileTools,
|
|
27
|
-
'schedule': registerScheduleTools
|
|
39
|
+
'schedule': registerScheduleTools,
|
|
40
|
+
'generic-layouts': registerLayoutTools,
|
|
41
|
+
'richstring-widgets': registerRichStringWidgetTools,
|
|
42
|
+
'workflow': registerWorkflowTools,
|
|
43
|
+
'workflow-scripts': registerWorkflowScriptTools,
|
|
44
|
+
'script-logs': registerScriptLogsTools,
|
|
45
|
+
'get-operations': registerGetOperationTools
|
|
28
46
|
};
|
|
29
47
|
export function registerActiveTools(server, client, activeGroups) {
|
|
30
48
|
const requiredModules = getRequiredModules(activeGroups);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditional-registration.js","sourceRoot":"","sources":["../src/conditional-registration.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"conditional-registration.js","sourceRoot":"","sources":["../src/conditional-registration.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,2BAA2B,E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