@kywi-software/mcp 0.14.0 → 0.15.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/AGENT-PATTERNS.md +153 -17
- package/dist/site/tools/components.d.ts.map +1 -1
- package/dist/site/tools/components.js +5 -3
- package/dist/site/tools/components.js.map +1 -1
- package/dist/site/tools/layout.d.ts.map +1 -1
- package/dist/site/tools/layout.js +33 -3
- package/dist/site/tools/layout.js.map +1 -1
- package/dist/site/tools/menus.d.ts +13 -0
- package/dist/site/tools/menus.d.ts.map +1 -1
- package/dist/site/tools/menus.js +18 -2
- package/dist/site/tools/menus.js.map +1 -1
- package/package.json +4 -4
- package/dist/__tests__/auto-detect.test.d.ts +0 -2
- package/dist/__tests__/auto-detect.test.d.ts.map +0 -1
- package/dist/__tests__/auto-detect.test.js +0 -134
- package/dist/__tests__/auto-detect.test.js.map +0 -1
- package/dist/__tests__/config.test.d.ts +0 -2
- package/dist/__tests__/config.test.d.ts.map +0 -1
- package/dist/__tests__/config.test.js +0 -72
- package/dist/__tests__/config.test.js.map +0 -1
- package/dist/__tests__/developer-mutation.test.d.ts +0 -2
- package/dist/__tests__/developer-mutation.test.d.ts.map +0 -1
- package/dist/__tests__/developer-mutation.test.js +0 -511
- package/dist/__tests__/developer-mutation.test.js.map +0 -1
- package/dist/__tests__/developer-read-only.test.d.ts +0 -2
- package/dist/__tests__/developer-read-only.test.d.ts.map +0 -1
- package/dist/__tests__/developer-read-only.test.js +0 -192
- package/dist/__tests__/developer-read-only.test.js.map +0 -1
- package/dist/__tests__/site-content-tools.test.d.ts +0 -2
- package/dist/__tests__/site-content-tools.test.d.ts.map +0 -1
- package/dist/__tests__/site-content-tools.test.js +0 -446
- package/dist/__tests__/site-content-tools.test.js.map +0 -1
- package/dist/__tests__/site-layout-tools.test.d.ts +0 -2
- package/dist/__tests__/site-layout-tools.test.d.ts.map +0 -1
- package/dist/__tests__/site-layout-tools.test.js +0 -316
- package/dist/__tests__/site-layout-tools.test.js.map +0 -1
- package/dist/__tests__/site-other-tools.test.d.ts +0 -2
- package/dist/__tests__/site-other-tools.test.d.ts.map +0 -1
- package/dist/__tests__/site-other-tools.test.js +0 -318
- package/dist/__tests__/site-other-tools.test.js.map +0 -1
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import { describe, it, expect, vi, beforeEach } from 'vitest';
|
|
2
|
-
import { handleGetConfigSummary, handleGetContentTypes, handleGetThemes, handleGetModules, handleGetPlugins, handlePreviewSchema, } from '../developer/tools/read-only.js';
|
|
3
|
-
vi.mock('node:fs', () => ({
|
|
4
|
-
readFileSync: vi.fn(),
|
|
5
|
-
}));
|
|
6
|
-
import { readFileSync } from 'node:fs';
|
|
7
|
-
const mockedReadFileSync = vi.mocked(readFileSync);
|
|
8
|
-
function createMockHttp() {
|
|
9
|
-
return {
|
|
10
|
-
get: vi.fn(),
|
|
11
|
-
post: vi.fn(),
|
|
12
|
-
put: vi.fn(),
|
|
13
|
-
delete: vi.fn(),
|
|
14
|
-
setToken: vi.fn(),
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
const sampleConfig = `
|
|
18
|
-
import { defineContentType, defineTheme, definePlugin, defineModule } from '@kywi/core'
|
|
19
|
-
|
|
20
|
-
defineContentType('page', {
|
|
21
|
-
label: 'Page',
|
|
22
|
-
baseType: 'page',
|
|
23
|
-
fields: [
|
|
24
|
-
{ name: 'title', type: 'text', label: 'Title' },
|
|
25
|
-
],
|
|
26
|
-
})
|
|
27
|
-
|
|
28
|
-
defineContentType('post', {
|
|
29
|
-
label: 'Blog Post',
|
|
30
|
-
baseType: 'page',
|
|
31
|
-
fields: [
|
|
32
|
-
{ name: 'title', type: 'text', label: 'Title' },
|
|
33
|
-
{ name: 'body', type: 'richtext', label: 'Body' },
|
|
34
|
-
],
|
|
35
|
-
})
|
|
36
|
-
|
|
37
|
-
defineTheme('default', {
|
|
38
|
-
label: 'Default Theme',
|
|
39
|
-
regions: ['header', 'main', 'footer'],
|
|
40
|
-
})
|
|
41
|
-
|
|
42
|
-
definePlugin('seo', {
|
|
43
|
-
label: 'SEO Plugin',
|
|
44
|
-
})
|
|
45
|
-
|
|
46
|
-
defineModule('analytics', {
|
|
47
|
-
label: 'Analytics',
|
|
48
|
-
})
|
|
49
|
-
`;
|
|
50
|
-
beforeEach(() => {
|
|
51
|
-
vi.clearAllMocks();
|
|
52
|
-
});
|
|
53
|
-
describe('Developer read-only tools', () => {
|
|
54
|
-
// ─── get_config_summary ──────────────────────────────────────────────────
|
|
55
|
-
describe('handleGetConfigSummary', () => {
|
|
56
|
-
it('filesystem mode: returns config summary', async () => {
|
|
57
|
-
mockedReadFileSync.mockReturnValue(sampleConfig);
|
|
58
|
-
const ctx = { mode: 'filesystem', configPath: '/project/kywi.config.ts' };
|
|
59
|
-
const result = await handleGetConfigSummary(ctx);
|
|
60
|
-
const data = JSON.parse(result.content[0].text);
|
|
61
|
-
expect(data.mode).toBe('filesystem');
|
|
62
|
-
expect(data.contentTypes).toBe(2);
|
|
63
|
-
expect(data.themes).toBe(1);
|
|
64
|
-
expect(data.plugins).toBe(1);
|
|
65
|
-
});
|
|
66
|
-
it('api mode: fetches from API', async () => {
|
|
67
|
-
const http = createMockHttp();
|
|
68
|
-
vi.mocked(http.get)
|
|
69
|
-
.mockResolvedValueOnce([{ name: 'page' }, { name: 'post' }])
|
|
70
|
-
.mockResolvedValueOnce([{ id: 'site1' }]);
|
|
71
|
-
const ctx = { mode: 'api', http };
|
|
72
|
-
const result = await handleGetConfigSummary(ctx);
|
|
73
|
-
const data = JSON.parse(result.content[0].text);
|
|
74
|
-
expect(data.mode).toBe('api');
|
|
75
|
-
expect(data.contentTypes).toBe(2);
|
|
76
|
-
expect(data.sites).toBe(1);
|
|
77
|
-
});
|
|
78
|
-
it('returns error when no source available', async () => {
|
|
79
|
-
const ctx = { mode: 'filesystem' };
|
|
80
|
-
const result = await handleGetConfigSummary(ctx);
|
|
81
|
-
expect(result.isError).toBe(true);
|
|
82
|
-
});
|
|
83
|
-
});
|
|
84
|
-
// ─── get_content_types ───────────────────────────────────────────────────
|
|
85
|
-
describe('handleGetContentTypes', () => {
|
|
86
|
-
it('filesystem mode: extracts content type names', async () => {
|
|
87
|
-
mockedReadFileSync.mockReturnValue(sampleConfig);
|
|
88
|
-
const ctx = { mode: 'filesystem', configPath: '/project/kywi.config.ts' };
|
|
89
|
-
const result = await handleGetContentTypes(ctx);
|
|
90
|
-
const data = JSON.parse(result.content[0].text);
|
|
91
|
-
expect(data.contentTypes).toEqual(['page', 'post']);
|
|
92
|
-
});
|
|
93
|
-
it('api mode: fetches from API', async () => {
|
|
94
|
-
const http = createMockHttp();
|
|
95
|
-
vi.mocked(http.get).mockResolvedValue([{ name: 'page' }, { name: 'post' }]);
|
|
96
|
-
const ctx = { mode: 'api', http };
|
|
97
|
-
const result = await handleGetContentTypes(ctx);
|
|
98
|
-
const data = JSON.parse(result.content[0].text);
|
|
99
|
-
expect(data.contentTypes).toEqual([{ name: 'page' }, { name: 'post' }]);
|
|
100
|
-
});
|
|
101
|
-
});
|
|
102
|
-
// ─── get_themes ──────────────────────────────────────────────────────────
|
|
103
|
-
describe('handleGetThemes', () => {
|
|
104
|
-
it('filesystem mode: extracts theme names', async () => {
|
|
105
|
-
mockedReadFileSync.mockReturnValue(sampleConfig);
|
|
106
|
-
const ctx = { mode: 'filesystem', configPath: '/project/kywi.config.ts' };
|
|
107
|
-
const result = await handleGetThemes(ctx);
|
|
108
|
-
const data = JSON.parse(result.content[0].text);
|
|
109
|
-
expect(data.themes).toEqual(['default']);
|
|
110
|
-
});
|
|
111
|
-
it('api mode: fetches from API', async () => {
|
|
112
|
-
const http = createMockHttp();
|
|
113
|
-
vi.mocked(http.get).mockResolvedValue([{ name: 'default' }]);
|
|
114
|
-
const ctx = { mode: 'api', http };
|
|
115
|
-
const result = await handleGetThemes(ctx);
|
|
116
|
-
const data = JSON.parse(result.content[0].text);
|
|
117
|
-
expect(data.themes).toEqual([{ name: 'default' }]);
|
|
118
|
-
});
|
|
119
|
-
it('api mode without http: returns error', async () => {
|
|
120
|
-
const ctx = { mode: 'api' };
|
|
121
|
-
const result = await handleGetThemes(ctx);
|
|
122
|
-
expect(result.isError).toBe(true);
|
|
123
|
-
expect(result.content[0].text).toContain('No config source available');
|
|
124
|
-
});
|
|
125
|
-
});
|
|
126
|
-
// ─── get_modules ─────────────────────────────────────────────────────────
|
|
127
|
-
describe('handleGetModules', () => {
|
|
128
|
-
it('filesystem mode: extracts module names', async () => {
|
|
129
|
-
mockedReadFileSync.mockReturnValue(sampleConfig);
|
|
130
|
-
const ctx = { mode: 'filesystem', configPath: '/project/kywi.config.ts' };
|
|
131
|
-
const result = await handleGetModules(ctx);
|
|
132
|
-
const data = JSON.parse(result.content[0].text);
|
|
133
|
-
expect(data.modules).toEqual(['analytics']);
|
|
134
|
-
});
|
|
135
|
-
it('api mode: fetches from API', async () => {
|
|
136
|
-
const http = createMockHttp();
|
|
137
|
-
vi.mocked(http.get).mockResolvedValue([{ name: 'analytics' }]);
|
|
138
|
-
const ctx = { mode: 'api', http };
|
|
139
|
-
const result = await handleGetModules(ctx);
|
|
140
|
-
const data = JSON.parse(result.content[0].text);
|
|
141
|
-
expect(data.modules).toEqual([{ name: 'analytics' }]);
|
|
142
|
-
});
|
|
143
|
-
it('api mode without http: returns error', async () => {
|
|
144
|
-
const ctx = { mode: 'api' };
|
|
145
|
-
const result = await handleGetModules(ctx);
|
|
146
|
-
expect(result.isError).toBe(true);
|
|
147
|
-
expect(result.content[0].text).toContain('No config source available');
|
|
148
|
-
});
|
|
149
|
-
});
|
|
150
|
-
// ─── get_plugins ─────────────────────────────────────────────────────────
|
|
151
|
-
describe('handleGetPlugins', () => {
|
|
152
|
-
it('filesystem mode: extracts plugin names', async () => {
|
|
153
|
-
mockedReadFileSync.mockReturnValue(sampleConfig);
|
|
154
|
-
const ctx = { mode: 'filesystem', configPath: '/project/kywi.config.ts' };
|
|
155
|
-
const result = await handleGetPlugins(ctx);
|
|
156
|
-
const data = JSON.parse(result.content[0].text);
|
|
157
|
-
expect(data.plugins).toEqual(['seo']);
|
|
158
|
-
});
|
|
159
|
-
it('api mode: fetches from API', async () => {
|
|
160
|
-
const http = createMockHttp();
|
|
161
|
-
vi.mocked(http.get).mockResolvedValue([{ name: 'seo' }]);
|
|
162
|
-
const ctx = { mode: 'api', http };
|
|
163
|
-
const result = await handleGetPlugins(ctx);
|
|
164
|
-
const data = JSON.parse(result.content[0].text);
|
|
165
|
-
expect(data.plugins).toEqual([{ name: 'seo' }]);
|
|
166
|
-
});
|
|
167
|
-
it('api mode without http: returns error', async () => {
|
|
168
|
-
const ctx = { mode: 'api' };
|
|
169
|
-
const result = await handleGetPlugins(ctx);
|
|
170
|
-
expect(result.isError).toBe(true);
|
|
171
|
-
expect(result.content[0].text).toContain('No config source available');
|
|
172
|
-
});
|
|
173
|
-
});
|
|
174
|
-
// ─── preview_schema ──────────────────────────────────────────────────────
|
|
175
|
-
describe('handlePreviewSchema', () => {
|
|
176
|
-
it('filesystem mode: returns schema preview note', async () => {
|
|
177
|
-
mockedReadFileSync.mockReturnValue(sampleConfig);
|
|
178
|
-
const ctx = { mode: 'filesystem', configPath: '/project/kywi.config.ts' };
|
|
179
|
-
const result = await handlePreviewSchema(ctx, {});
|
|
180
|
-
const data = JSON.parse(result.content[0].text);
|
|
181
|
-
expect(data.mode).toBe('filesystem');
|
|
182
|
-
expect(data.source).toBe('/project/kywi.config.ts');
|
|
183
|
-
});
|
|
184
|
-
it('non-filesystem mode: returns limitation note', async () => {
|
|
185
|
-
const ctx = { mode: 'api' };
|
|
186
|
-
const result = await handlePreviewSchema(ctx, {});
|
|
187
|
-
const data = JSON.parse(result.content[0].text);
|
|
188
|
-
expect(data.note).toContain('only available in filesystem or api mode');
|
|
189
|
-
});
|
|
190
|
-
});
|
|
191
|
-
});
|
|
192
|
-
//# sourceMappingURL=developer-read-only.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file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