@appaflytech/wappa-mcp 0.0.10 → 0.0.12
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 +40 -0
- package/dist/auth.d.ts +25 -0
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +35 -0
- package/dist/auth.js.map +1 -1
- package/dist/client.d.ts +39 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +159 -6
- package/dist/client.js.map +1 -1
- package/dist/factory.d.ts +32 -0
- package/dist/factory.d.ts.map +1 -0
- package/dist/factory.js +286 -0
- package/dist/factory.js.map +1 -0
- package/dist/http/auth.d.ts +33 -0
- package/dist/http/auth.d.ts.map +1 -0
- package/dist/http/auth.js +55 -0
- package/dist/http/auth.js.map +1 -0
- package/dist/http/session.d.ts +30 -0
- package/dist/http/session.d.ts.map +1 -0
- package/dist/http/session.js +56 -0
- package/dist/http/session.js.map +1 -0
- package/dist/http/transport.d.ts +21 -0
- package/dist/http/transport.d.ts.map +1 -0
- package/dist/http/transport.js +101 -0
- package/dist/http/transport.js.map +1 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -262
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +25 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +94 -0
- package/dist/server.js.map +1 -0
- package/dist/tools/ai-chat-sessions.d.ts +143 -0
- package/dist/tools/ai-chat-sessions.d.ts.map +1 -0
- package/dist/tools/ai-chat-sessions.js +144 -0
- package/dist/tools/ai-chat-sessions.js.map +1 -0
- package/dist/tools/app-users.d.ts +440 -0
- package/dist/tools/app-users.d.ts.map +1 -0
- package/dist/tools/app-users.js +347 -0
- package/dist/tools/app-users.js.map +1 -0
- package/dist/tools/component-categories.d.ts +157 -0
- package/dist/tools/component-categories.d.ts.map +1 -0
- package/dist/tools/component-categories.js +162 -0
- package/dist/tools/component-categories.js.map +1 -0
- package/dist/tools/countries.d.ts +148 -0
- package/dist/tools/countries.d.ts.map +1 -0
- package/dist/tools/countries.js +142 -0
- package/dist/tools/countries.js.map +1 -0
- package/dist/tools/db-routines.d.ts +229 -0
- package/dist/tools/db-routines.d.ts.map +1 -0
- package/dist/tools/db-routines.js +233 -0
- package/dist/tools/db-routines.js.map +1 -0
- package/dist/tools/dynamic-entities.d.ts +166 -0
- package/dist/tools/dynamic-entities.d.ts.map +1 -1
- package/dist/tools/dynamic-entities.js +156 -0
- package/dist/tools/dynamic-entities.js.map +1 -1
- package/dist/tools/entities.d.ts +119 -0
- package/dist/tools/entities.d.ts.map +1 -1
- package/dist/tools/entities.js +413 -4
- package/dist/tools/entities.js.map +1 -1
- package/dist/tools/error-logs.d.ts +67 -0
- package/dist/tools/error-logs.d.ts.map +1 -0
- package/dist/tools/error-logs.js +74 -0
- package/dist/tools/error-logs.js.map +1 -0
- package/dist/tools/general.d.ts.map +1 -1
- package/dist/tools/general.js +218 -0
- package/dist/tools/general.js.map +1 -1
- package/dist/tools/layouts.d.ts +21 -0
- package/dist/tools/layouts.d.ts.map +1 -1
- package/dist/tools/layouts.js +20 -2
- package/dist/tools/layouts.js.map +1 -1
- package/dist/tools/operations.d.ts +184 -0
- package/dist/tools/operations.d.ts.map +1 -0
- package/dist/tools/operations.js +217 -0
- package/dist/tools/operations.js.map +1 -0
- package/dist/tools/organizations.d.ts +178 -0
- package/dist/tools/organizations.d.ts.map +1 -0
- package/dist/tools/organizations.js +158 -0
- package/dist/tools/organizations.js.map +1 -0
- package/dist/tools/page-entities.d.ts +522 -0
- package/dist/tools/page-entities.d.ts.map +1 -0
- package/dist/tools/page-entities.js +535 -0
- package/dist/tools/page-entities.js.map +1 -0
- package/dist/tools/pages.d.ts +226 -0
- package/dist/tools/pages.d.ts.map +1 -1
- package/dist/tools/pages.js +473 -17
- package/dist/tools/pages.js.map +1 -1
- package/dist/tools/plans.d.ts +293 -0
- package/dist/tools/plans.d.ts.map +1 -0
- package/dist/tools/plans.js +213 -0
- package/dist/tools/plans.js.map +1 -0
- package/dist/tools/plugins.d.ts +230 -0
- package/dist/tools/plugins.d.ts.map +1 -0
- package/dist/tools/plugins.js +218 -0
- package/dist/tools/plugins.js.map +1 -0
- package/dist/tools/push-notifications.d.ts +261 -0
- package/dist/tools/push-notifications.d.ts.map +1 -0
- package/dist/tools/push-notifications.js +246 -0
- package/dist/tools/push-notifications.js.map +1 -0
- package/dist/tools/queries.d.ts +274 -0
- package/dist/tools/queries.d.ts.map +1 -1
- package/dist/tools/queries.js +319 -17
- package/dist/tools/queries.js.map +1 -1
- package/dist/tools/query-categories.d.ts +192 -0
- package/dist/tools/query-categories.d.ts.map +1 -0
- package/dist/tools/query-categories.js +204 -0
- package/dist/tools/query-categories.js.map +1 -0
- package/dist/tools/regions.d.ts +148 -0
- package/dist/tools/regions.d.ts.map +1 -0
- package/dist/tools/regions.js +148 -0
- package/dist/tools/regions.js.map +1 -0
- package/dist/tools/roles.d.ts +284 -0
- package/dist/tools/roles.d.ts.map +1 -0
- package/dist/tools/roles.js +291 -0
- package/dist/tools/roles.js.map +1 -0
- package/dist/tools/settings.d.ts +160 -0
- package/dist/tools/settings.d.ts.map +1 -0
- package/dist/tools/settings.js +187 -0
- package/dist/tools/settings.js.map +1 -0
- package/dist/tools/showcases.d.ts +184 -0
- package/dist/tools/showcases.d.ts.map +1 -0
- package/dist/tools/showcases.js +179 -0
- package/dist/tools/showcases.js.map +1 -0
- package/dist/tools/storage.d.ts +297 -0
- package/dist/tools/storage.d.ts.map +1 -0
- package/dist/tools/storage.js +302 -0
- package/dist/tools/storage.js.map +1 -0
- package/dist/tools/subscriptions.d.ts +166 -0
- package/dist/tools/subscriptions.d.ts.map +1 -0
- package/dist/tools/subscriptions.js +144 -0
- package/dist/tools/subscriptions.js.map +1 -0
- package/dist/tools/system-tools.d.ts +124 -0
- package/dist/tools/system-tools.d.ts.map +1 -0
- package/dist/tools/system-tools.js +147 -0
- package/dist/tools/system-tools.js.map +1 -0
- package/dist/tools/system-variables.d.ts +167 -0
- package/dist/tools/system-variables.d.ts.map +1 -0
- package/dist/tools/system-variables.js +176 -0
- package/dist/tools/system-variables.js.map +1 -0
- package/dist/tools/users.d.ts +266 -0
- package/dist/tools/users.d.ts.map +1 -0
- package/dist/tools/users.js +235 -0
- package/dist/tools/users.js.map +1 -0
- package/dist/tools/workflows.d.ts +278 -0
- package/dist/tools/workflows.d.ts.map +1 -0
- package/dist/tools/workflows.js +267 -0
- package/dist/tools/workflows.js.map +1 -0
- package/package.json +12 -3
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP Tools for WAP System Tools utilities
|
|
3
|
+
* SystemTools = read-only diagnostic/graph utilities over the platform's
|
|
4
|
+
* entity dependency graph (root entities, dependency traversal, global search).
|
|
5
|
+
* Site-scoped routes under /{site}/SystemTools.
|
|
6
|
+
*/
|
|
7
|
+
import { WapClient } from "../client.js";
|
|
8
|
+
export declare function getSystemToolTools(client: WapClient): {
|
|
9
|
+
list_root_entities: {
|
|
10
|
+
description: string;
|
|
11
|
+
inputSchema: {
|
|
12
|
+
type: "object";
|
|
13
|
+
properties: {
|
|
14
|
+
module: {
|
|
15
|
+
type: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
required: string[];
|
|
20
|
+
};
|
|
21
|
+
handler: (args: {
|
|
22
|
+
module: string;
|
|
23
|
+
}) => Promise<{
|
|
24
|
+
content: {
|
|
25
|
+
type: "text";
|
|
26
|
+
text: string;
|
|
27
|
+
}[];
|
|
28
|
+
}>;
|
|
29
|
+
};
|
|
30
|
+
get_entity_dependencies_advanced: {
|
|
31
|
+
description: string;
|
|
32
|
+
inputSchema: {
|
|
33
|
+
type: "object";
|
|
34
|
+
properties: {
|
|
35
|
+
referenceId: {
|
|
36
|
+
type: string;
|
|
37
|
+
description: string;
|
|
38
|
+
};
|
|
39
|
+
currentModule: {
|
|
40
|
+
type: string;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
including: {
|
|
44
|
+
type: string;
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
filter: {
|
|
48
|
+
type: string;
|
|
49
|
+
description: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
required: string[];
|
|
53
|
+
};
|
|
54
|
+
handler: (args: {
|
|
55
|
+
referenceId: string;
|
|
56
|
+
currentModule: string;
|
|
57
|
+
including?: string;
|
|
58
|
+
filter?: string;
|
|
59
|
+
}) => Promise<{
|
|
60
|
+
content: {
|
|
61
|
+
type: "text";
|
|
62
|
+
text: string;
|
|
63
|
+
}[];
|
|
64
|
+
}>;
|
|
65
|
+
};
|
|
66
|
+
get_entity_dependencies: {
|
|
67
|
+
description: string;
|
|
68
|
+
inputSchema: {
|
|
69
|
+
type: "object";
|
|
70
|
+
properties: {
|
|
71
|
+
referenceId: {
|
|
72
|
+
type: string;
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
rootModule: {
|
|
76
|
+
type: string;
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
currentModule: {
|
|
80
|
+
type: string;
|
|
81
|
+
description: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
required: string[];
|
|
85
|
+
};
|
|
86
|
+
handler: (args: {
|
|
87
|
+
referenceId: string;
|
|
88
|
+
rootModule: string;
|
|
89
|
+
currentModule: string;
|
|
90
|
+
}) => Promise<{
|
|
91
|
+
content: {
|
|
92
|
+
type: "text";
|
|
93
|
+
text: string;
|
|
94
|
+
}[];
|
|
95
|
+
}>;
|
|
96
|
+
};
|
|
97
|
+
system_global_search: {
|
|
98
|
+
description: string;
|
|
99
|
+
inputSchema: {
|
|
100
|
+
type: "object";
|
|
101
|
+
properties: {
|
|
102
|
+
q: {
|
|
103
|
+
type: string;
|
|
104
|
+
description: string;
|
|
105
|
+
};
|
|
106
|
+
including: {
|
|
107
|
+
type: string;
|
|
108
|
+
description: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
required: string[];
|
|
112
|
+
};
|
|
113
|
+
handler: (args: {
|
|
114
|
+
q: string;
|
|
115
|
+
including?: string;
|
|
116
|
+
}) => Promise<{
|
|
117
|
+
content: {
|
|
118
|
+
type: "text";
|
|
119
|
+
text: string;
|
|
120
|
+
}[];
|
|
121
|
+
}>;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
//# sourceMappingURL=system-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-tools.d.ts","sourceRoot":"","sources":["../../src/tools/system-tools.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,SAAS;;;;;;;;;;;;;wBAgBxB;YAAE,MAAM,EAAE,MAAM,CAAA;SAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA4ClB;YACpB,WAAW,EAAE,MAAM,CAAC;YACpB,aAAa,EAAE,MAAM,CAAC;YACtB,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,MAAM,CAAC,EAAE,MAAM,CAAC;SACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA6CqB;YACpB,WAAW,EAAE,MAAM,CAAC;YACpB,UAAU,EAAE,MAAM,CAAC;YACnB,aAAa,EAAE,MAAM,CAAC;SACvB;;;;;;;;;;;;;;;;;;;;;;;wBAyCqB;YAAE,CAAC,EAAE,MAAM,CAAC;YAAC,SAAS,CAAC,EAAE,MAAM,CAAA;SAAE;;;;;;;EAmB5D"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP Tools for WAP System Tools utilities
|
|
3
|
+
* SystemTools = read-only diagnostic/graph utilities over the platform's
|
|
4
|
+
* entity dependency graph (root entities, dependency traversal, global search).
|
|
5
|
+
* Site-scoped routes under /{site}/SystemTools.
|
|
6
|
+
*/
|
|
7
|
+
export function getSystemToolTools(client) {
|
|
8
|
+
return {
|
|
9
|
+
// ─── Root Entities ────────────────────────────────────────
|
|
10
|
+
list_root_entities: {
|
|
11
|
+
description: "Bir modülün kök (root) entity'lerini listeler. Bağımlılık grafiğinin başlangıç noktalarını bulmak için kullanılır.",
|
|
12
|
+
inputSchema: {
|
|
13
|
+
type: "object",
|
|
14
|
+
properties: {
|
|
15
|
+
module: {
|
|
16
|
+
type: "string",
|
|
17
|
+
description: "Kök entity'lerin getirileceği modül adı",
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
required: ["module"],
|
|
21
|
+
},
|
|
22
|
+
handler: async (args) => {
|
|
23
|
+
const params = {};
|
|
24
|
+
if (args.module !== undefined)
|
|
25
|
+
params.Module = String(args.module);
|
|
26
|
+
const result = await client.request("GET", "/{site}/SystemTools/root-entities", undefined, params);
|
|
27
|
+
return {
|
|
28
|
+
content: [
|
|
29
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
30
|
+
],
|
|
31
|
+
};
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
// ─── Entity Dependencies (Advanced) ───────────────────────
|
|
35
|
+
get_entity_dependencies_advanced: {
|
|
36
|
+
description: "Bir entity'nin gelişmiş bağımlılık ilişkilerini getirir. Belirli ilişki türlerini (including) dahil edebilir ve erişim türüne göre filtreleyebilirsiniz.",
|
|
37
|
+
inputSchema: {
|
|
38
|
+
type: "object",
|
|
39
|
+
properties: {
|
|
40
|
+
referenceId: {
|
|
41
|
+
type: "string",
|
|
42
|
+
description: "Bağımlılıkları getirilecek entity referans ID (GUID)",
|
|
43
|
+
},
|
|
44
|
+
currentModule: {
|
|
45
|
+
type: "string",
|
|
46
|
+
description: "Mevcut modül adı",
|
|
47
|
+
},
|
|
48
|
+
including: {
|
|
49
|
+
type: "string",
|
|
50
|
+
description: "Dahil edilecek ilişkilerin virgülle ayrılmış listesi (örn: \"A,B,C\")",
|
|
51
|
+
},
|
|
52
|
+
filter: {
|
|
53
|
+
type: "string",
|
|
54
|
+
description: "Erişim türüne (AccessType) göre filtre",
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
required: ["referenceId", "currentModule"],
|
|
58
|
+
},
|
|
59
|
+
handler: async (args) => {
|
|
60
|
+
const params = {};
|
|
61
|
+
if (args.referenceId !== undefined)
|
|
62
|
+
params.ReferenceId = String(args.referenceId);
|
|
63
|
+
if (args.currentModule !== undefined)
|
|
64
|
+
params.CurrentModule = String(args.currentModule);
|
|
65
|
+
if (args.including !== undefined)
|
|
66
|
+
params.Including = String(args.including);
|
|
67
|
+
if (args.filter !== undefined)
|
|
68
|
+
params.Filter = String(args.filter);
|
|
69
|
+
const result = await client.request("GET", "/{site}/SystemTools/entity-dependencies-advanced", undefined, params);
|
|
70
|
+
return {
|
|
71
|
+
content: [
|
|
72
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
73
|
+
],
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
// ─── Entity Dependencies (Basic) ──────────────────────────
|
|
78
|
+
get_entity_dependencies: {
|
|
79
|
+
description: "Bir entity'nin temel bağımlılık ilişkilerini getirir. Kök ve mevcut modül bağlamında entity'nin bağlı olduğu kayıtları döner.",
|
|
80
|
+
inputSchema: {
|
|
81
|
+
type: "object",
|
|
82
|
+
properties: {
|
|
83
|
+
referenceId: {
|
|
84
|
+
type: "string",
|
|
85
|
+
description: "Bağımlılıkları getirilecek entity referans ID (GUID)",
|
|
86
|
+
},
|
|
87
|
+
rootModule: {
|
|
88
|
+
type: "string",
|
|
89
|
+
description: "Kök (root) modül adı",
|
|
90
|
+
},
|
|
91
|
+
currentModule: {
|
|
92
|
+
type: "string",
|
|
93
|
+
description: "Mevcut modül adı",
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
required: ["referenceId", "rootModule", "currentModule"],
|
|
97
|
+
},
|
|
98
|
+
handler: async (args) => {
|
|
99
|
+
const params = {};
|
|
100
|
+
if (args.referenceId !== undefined)
|
|
101
|
+
params.ReferenceId = String(args.referenceId);
|
|
102
|
+
if (args.rootModule !== undefined)
|
|
103
|
+
params.RootModule = String(args.rootModule);
|
|
104
|
+
if (args.currentModule !== undefined)
|
|
105
|
+
params.CurrentModule = String(args.currentModule);
|
|
106
|
+
const result = await client.request("GET", "/{site}/SystemTools/entity-dependencies", undefined, params);
|
|
107
|
+
return {
|
|
108
|
+
content: [
|
|
109
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
110
|
+
],
|
|
111
|
+
};
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
// ─── Global Search ────────────────────────────────────────
|
|
115
|
+
system_global_search: {
|
|
116
|
+
description: "Platform genelinde entity'ler üzerinde global arama yapar. Sonuçlara dahil edilecek ilişki türlerini (including) belirtebilirsiniz.",
|
|
117
|
+
inputSchema: {
|
|
118
|
+
type: "object",
|
|
119
|
+
properties: {
|
|
120
|
+
q: {
|
|
121
|
+
type: "string",
|
|
122
|
+
description: "Arama terimi",
|
|
123
|
+
},
|
|
124
|
+
including: {
|
|
125
|
+
type: "string",
|
|
126
|
+
description: "Dahil edilecek ilişkilerin virgülle ayrılmış listesi (örn: \"A,B,C\")",
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
required: ["q"],
|
|
130
|
+
},
|
|
131
|
+
handler: async (args) => {
|
|
132
|
+
const params = {};
|
|
133
|
+
if (args.q !== undefined)
|
|
134
|
+
params.Q = String(args.q);
|
|
135
|
+
if (args.including !== undefined)
|
|
136
|
+
params.Including = String(args.including);
|
|
137
|
+
const result = await client.request("GET", "/{site}/SystemTools/global-search", undefined, params);
|
|
138
|
+
return {
|
|
139
|
+
content: [
|
|
140
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
141
|
+
],
|
|
142
|
+
};
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
//# sourceMappingURL=system-tools.js.map
|
|
@@ -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AAE,CAAC,GAAG,CAAC;aAChB;YACD,OAAO,EAAE,KAAK,EAAE,IAAuC,EAAE,EAAE;gBACzD,MAAM,MAAM,GAA2B,EAAE,CAAC;gBAC1C,IAAI,IAAI,CAAC,CAAC,KAAK,SAAS;oBAAE,MAAM,CAAC,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;gBACpD,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS;oBAC9B,MAAM,CAAC,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;gBAC5C,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,OAAO,CACjC,KAAK,EACL,mCAAmC,EACnC,SAAS,EACT,MAAM,CACP,CAAC;gBACF,OAAO;oBACL,OAAO,EAAE;wBACP,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE;qBACjE;iBACF,CAAC;YACJ,CAAC;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP Tools for WAP System Variables CRUD operations
|
|
3
|
+
* System Variables = site-scoped configuration key/value entries
|
|
4
|
+
*/
|
|
5
|
+
import { WapClient } from "../client.js";
|
|
6
|
+
export declare function getSystemVariableTools(client: WapClient): {
|
|
7
|
+
list_system_variables: {
|
|
8
|
+
description: string;
|
|
9
|
+
inputSchema: {
|
|
10
|
+
type: "object";
|
|
11
|
+
properties: {
|
|
12
|
+
key: {
|
|
13
|
+
type: string;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
title: {
|
|
17
|
+
type: string;
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
selectedModule: {
|
|
21
|
+
type: string;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
order: {
|
|
25
|
+
type: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
isDescending: {
|
|
29
|
+
type: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
pageIndex: {
|
|
33
|
+
type: string;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
pageLength: {
|
|
37
|
+
type: string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
handler: (args: {
|
|
43
|
+
key?: string;
|
|
44
|
+
title?: string;
|
|
45
|
+
selectedModule?: string;
|
|
46
|
+
order?: string;
|
|
47
|
+
isDescending?: boolean;
|
|
48
|
+
pageIndex?: number;
|
|
49
|
+
pageLength?: number;
|
|
50
|
+
}) => Promise<{
|
|
51
|
+
content: {
|
|
52
|
+
type: "text";
|
|
53
|
+
text: string;
|
|
54
|
+
}[];
|
|
55
|
+
}>;
|
|
56
|
+
};
|
|
57
|
+
get_system_variable: {
|
|
58
|
+
description: string;
|
|
59
|
+
inputSchema: {
|
|
60
|
+
type: "object";
|
|
61
|
+
properties: {
|
|
62
|
+
id: {
|
|
63
|
+
type: string;
|
|
64
|
+
description: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
required: string[];
|
|
68
|
+
};
|
|
69
|
+
handler: (args: {
|
|
70
|
+
id: string;
|
|
71
|
+
}) => Promise<{
|
|
72
|
+
content: {
|
|
73
|
+
type: "text";
|
|
74
|
+
text: string;
|
|
75
|
+
}[];
|
|
76
|
+
}>;
|
|
77
|
+
};
|
|
78
|
+
create_system_variable: {
|
|
79
|
+
description: string;
|
|
80
|
+
inputSchema: {
|
|
81
|
+
type: "object";
|
|
82
|
+
properties: {
|
|
83
|
+
title: {
|
|
84
|
+
type: string;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
key: {
|
|
88
|
+
type: string;
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
91
|
+
value: {
|
|
92
|
+
type: string;
|
|
93
|
+
description: string;
|
|
94
|
+
};
|
|
95
|
+
selectedModule: {
|
|
96
|
+
type: string;
|
|
97
|
+
description: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
required: string[];
|
|
101
|
+
};
|
|
102
|
+
handler: (args: {
|
|
103
|
+
title: string;
|
|
104
|
+
key: string;
|
|
105
|
+
value: Record<string, unknown>;
|
|
106
|
+
selectedModule?: string;
|
|
107
|
+
}) => Promise<{
|
|
108
|
+
content: {
|
|
109
|
+
type: "text";
|
|
110
|
+
text: string;
|
|
111
|
+
}[];
|
|
112
|
+
}>;
|
|
113
|
+
};
|
|
114
|
+
update_system_variable: {
|
|
115
|
+
description: string;
|
|
116
|
+
inputSchema: {
|
|
117
|
+
type: "object";
|
|
118
|
+
properties: {
|
|
119
|
+
id: {
|
|
120
|
+
type: string;
|
|
121
|
+
description: string;
|
|
122
|
+
};
|
|
123
|
+
title: {
|
|
124
|
+
type: string;
|
|
125
|
+
description: string;
|
|
126
|
+
};
|
|
127
|
+
value: {
|
|
128
|
+
type: string;
|
|
129
|
+
description: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
required: string[];
|
|
133
|
+
};
|
|
134
|
+
handler: (args: {
|
|
135
|
+
id: string;
|
|
136
|
+
title: string;
|
|
137
|
+
value: Record<string, unknown>;
|
|
138
|
+
}) => Promise<{
|
|
139
|
+
content: {
|
|
140
|
+
type: "text";
|
|
141
|
+
text: string;
|
|
142
|
+
}[];
|
|
143
|
+
}>;
|
|
144
|
+
};
|
|
145
|
+
delete_system_variable: {
|
|
146
|
+
description: string;
|
|
147
|
+
inputSchema: {
|
|
148
|
+
type: "object";
|
|
149
|
+
properties: {
|
|
150
|
+
id: {
|
|
151
|
+
type: string;
|
|
152
|
+
description: string;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
required: string[];
|
|
156
|
+
};
|
|
157
|
+
handler: (args: {
|
|
158
|
+
id: string;
|
|
159
|
+
}) => Promise<{
|
|
160
|
+
content: {
|
|
161
|
+
type: "text";
|
|
162
|
+
text: string;
|
|
163
|
+
}[];
|
|
164
|
+
}>;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
//# sourceMappingURL=system-variables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-variables.d.ts","sourceRoot":"","sources":["../../src/tools/system-variables.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAuC5B;YACpB,GAAG,CAAC,EAAE,MAAM,CAAC;YACb,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,cAAc,CAAC,EAAE,MAAM,CAAC;YACxB,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,YAAY,CAAC,EAAE,OAAO,CAAC;YACvB,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB;;;;;;;;;;;;;;;;;;;wBAoCqB;YAAE,EAAE,EAAE,MAAM,CAAA;SAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA0Cd;YACpB,KAAK,EAAE,MAAM,CAAC;YACd,GAAG,EAAE,MAAM,CAAC;YACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;YAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;SACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAiCqB;YACpB,EAAE,EAAE,MAAM,CAAC;YACX,KAAK,EAAE,MAAM,CAAC;YACd,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;SAChC;;;;;;;;;;;;;;;;;;;wBA4BqB;YAAE,EAAE,EAAE,MAAM,CAAA;SAAE;;;;;;;EAazC"}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP Tools for WAP System Variables CRUD operations
|
|
3
|
+
* System Variables = site-scoped configuration key/value entries
|
|
4
|
+
*/
|
|
5
|
+
export function getSystemVariableTools(client) {
|
|
6
|
+
return {
|
|
7
|
+
// ─── List System Variables ─────────────────────────────
|
|
8
|
+
list_system_variables: {
|
|
9
|
+
description: "Site'a ait tüm sistem değişkenlerini (system variables) listeler. Anahtar, başlık veya modüle göre filtrelenebilir ve sayfalanabilir.",
|
|
10
|
+
inputSchema: {
|
|
11
|
+
type: "object",
|
|
12
|
+
properties: {
|
|
13
|
+
key: {
|
|
14
|
+
type: "string",
|
|
15
|
+
description: "Sistem değişkeni anahtarı ile filtrele",
|
|
16
|
+
},
|
|
17
|
+
title: {
|
|
18
|
+
type: "string",
|
|
19
|
+
description: "Sistem değişkeni başlığı ile filtrele",
|
|
20
|
+
},
|
|
21
|
+
selectedModule: {
|
|
22
|
+
type: "string",
|
|
23
|
+
description: "İlgili modüle (selectedModule) göre filtrele",
|
|
24
|
+
},
|
|
25
|
+
order: {
|
|
26
|
+
type: "string",
|
|
27
|
+
description: "Sıralama yapılacak alan adı",
|
|
28
|
+
},
|
|
29
|
+
isDescending: {
|
|
30
|
+
type: "boolean",
|
|
31
|
+
description: "Sıralamanın azalan (true) veya artan (false) olması",
|
|
32
|
+
},
|
|
33
|
+
pageIndex: {
|
|
34
|
+
type: "number",
|
|
35
|
+
description: "Sayfa numarası (0-based)",
|
|
36
|
+
},
|
|
37
|
+
pageLength: {
|
|
38
|
+
type: "number",
|
|
39
|
+
description: "Sayfa boyutu (varsayılan: 10)",
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
handler: async (args) => {
|
|
44
|
+
const params = {};
|
|
45
|
+
if (args.key)
|
|
46
|
+
params.key = args.key;
|
|
47
|
+
if (args.title)
|
|
48
|
+
params.title = args.title;
|
|
49
|
+
if (args.selectedModule)
|
|
50
|
+
params.selectedModule = args.selectedModule;
|
|
51
|
+
if (args.order)
|
|
52
|
+
params.order = args.order;
|
|
53
|
+
if (args.isDescending !== undefined)
|
|
54
|
+
params.isDescending = String(args.isDescending);
|
|
55
|
+
if (args.pageIndex !== undefined)
|
|
56
|
+
params.pageIndex = String(args.pageIndex);
|
|
57
|
+
if (args.pageLength !== undefined)
|
|
58
|
+
params.pageLength = String(args.pageLength);
|
|
59
|
+
const result = await client.request("GET", "/{site}/SystemVariables", undefined, params);
|
|
60
|
+
return {
|
|
61
|
+
content: [
|
|
62
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
63
|
+
],
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
// ─── Get System Variable ───────────────────────────────
|
|
68
|
+
get_system_variable: {
|
|
69
|
+
description: "Belirli bir sistem değişkeninin detaylarını ID ile getirir.",
|
|
70
|
+
inputSchema: {
|
|
71
|
+
type: "object",
|
|
72
|
+
properties: {
|
|
73
|
+
id: { type: "string", description: "Sistem değişkeni ID (GUID)" },
|
|
74
|
+
},
|
|
75
|
+
required: ["id"],
|
|
76
|
+
},
|
|
77
|
+
handler: async (args) => {
|
|
78
|
+
const result = await client.request("GET", `/{site}/SystemVariables/${args.id}`);
|
|
79
|
+
return {
|
|
80
|
+
content: [
|
|
81
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
82
|
+
],
|
|
83
|
+
};
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
// ─── Create System Variable ────────────────────────────
|
|
87
|
+
create_system_variable: {
|
|
88
|
+
description: `Yeni bir sistem değişkeni oluşturur.
|
|
89
|
+
'title': Sistem değişkeninin görünen başlığı.
|
|
90
|
+
'key': Sistem değişkeninin benzersiz anahtarı.
|
|
91
|
+
'value': Değişkenin değeri (JSON nesnesi).
|
|
92
|
+
'selectedModule': Değişkenin ilişkili olduğu modül adı.`,
|
|
93
|
+
inputSchema: {
|
|
94
|
+
type: "object",
|
|
95
|
+
properties: {
|
|
96
|
+
title: {
|
|
97
|
+
type: "string",
|
|
98
|
+
description: "Sistem değişkeni başlığı",
|
|
99
|
+
},
|
|
100
|
+
key: {
|
|
101
|
+
type: "string",
|
|
102
|
+
description: "Sistem değişkeni benzersiz anahtarı",
|
|
103
|
+
},
|
|
104
|
+
value: {
|
|
105
|
+
type: "object",
|
|
106
|
+
description: "Değişkenin değeri (JSON nesnesi)",
|
|
107
|
+
},
|
|
108
|
+
selectedModule: {
|
|
109
|
+
type: "string",
|
|
110
|
+
description: "İlişkili modül adı (selectedModule)",
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
required: ["title", "key", "value"],
|
|
114
|
+
},
|
|
115
|
+
handler: async (args) => {
|
|
116
|
+
const result = await client.request("POST", "/{site}/SystemVariables", args);
|
|
117
|
+
return {
|
|
118
|
+
content: [
|
|
119
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
120
|
+
],
|
|
121
|
+
};
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
// ─── Update System Variable ────────────────────────────
|
|
125
|
+
update_system_variable: {
|
|
126
|
+
description: "Mevcut bir sistem değişkenini günceller. Yalnızca başlık ve değer güncellenebilir.",
|
|
127
|
+
inputSchema: {
|
|
128
|
+
type: "object",
|
|
129
|
+
properties: {
|
|
130
|
+
id: {
|
|
131
|
+
type: "string",
|
|
132
|
+
description: "Güncellenecek sistem değişkeni ID",
|
|
133
|
+
},
|
|
134
|
+
title: { type: "string", description: "Yeni başlık" },
|
|
135
|
+
value: {
|
|
136
|
+
type: "object",
|
|
137
|
+
description: "Yeni değer (JSON nesnesi)",
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
required: ["id", "title", "value"],
|
|
141
|
+
},
|
|
142
|
+
handler: async (args) => {
|
|
143
|
+
const { id, ...data } = args;
|
|
144
|
+
const result = await client.request("PUT", `/{site}/SystemVariables/${id}`, data);
|
|
145
|
+
return {
|
|
146
|
+
content: [
|
|
147
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
148
|
+
],
|
|
149
|
+
};
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
// ─── Delete System Variable ────────────────────────────
|
|
153
|
+
delete_system_variable: {
|
|
154
|
+
description: "Bir sistem değişkenini siler. DİKKAT: Bu işlem geri alınamaz.",
|
|
155
|
+
inputSchema: {
|
|
156
|
+
type: "object",
|
|
157
|
+
properties: {
|
|
158
|
+
id: {
|
|
159
|
+
type: "string",
|
|
160
|
+
description: "Silinecek sistem değişkeni ID",
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
required: ["id"],
|
|
164
|
+
},
|
|
165
|
+
handler: async (args) => {
|
|
166
|
+
const result = await client.request("DELETE", `/{site}/SystemVariables/${args.id}`);
|
|
167
|
+
return {
|
|
168
|
+
content: [
|
|
169
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
170
|
+
],
|
|
171
|
+
};
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
//# sourceMappingURL=system-variables.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-variables.js","sourceRoot":"","sources":["../../src/tools/system-variables.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,MAAM,UAAU,sBAAsB,CAAC,MAAiB;IACtD,OAAO;QACL,0DAA0D;QAC1D,qBAAqB,EAAE;YACrB,WAAW,EACT,uIAAuI;YACzI,WAAW,EAAE;gBACX,IAAI,EAAE,QAAiB;gBACvB,UAAU,EAAE;oBACV,GAAG,EAAE;wBACH,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,wCAAwC;qBACtD;oBACD,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,uCAAuC;qBACrD;oBACD,cAAc,EAAE;wBACd,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,8CAA8C;qBAC5D;oBACD,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,6BAA6B;qBAC3C;oB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