@intentius/chant-lexicon-gitlab 0.37.0 → 0.38.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/dist/codegen/docs.d.ts.map +1 -1
- package/dist/integrity.json +2 -2
- package/dist/manifest.json +1 -1
- package/package.json +3 -3
- package/src/codegen/docs.ts +0 -1
- package/src/migrate.mcp.test.ts +3 -3
- package/src/plugin.test.ts +1 -1
- package/src/plugin.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/codegen/docs.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAiFH;;GAEG;AACH,wBAAsB,YAAY,CAAC,IAAI,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/codegen/docs.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAiFH;;GAEG;AACH,wBAAsB,YAAY,CAAC,IAAI,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAu2B9E"}
|
package/dist/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "557704df60f9ab32d8843639fb833dc3caadd06f5413dc9bb843dd719348f1e2",
|
|
5
5
|
"meta.json": "931fc3246a55645b1493080bbeb160e5d205e42349e8bdca96ca243adb5f0da3",
|
|
6
6
|
"types/index.d.ts": "5cd2e99f135a929b72bdd822d00d780d39b1cd407ba0cfb3d511c7ac9d667b58",
|
|
7
7
|
"rules/artifact-no-expiry.ts": "3f3cabf9792cbf8207e53a25f506715466b19ec25e9c3b4d0d77fed6b2eb4542",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"skills/chant-gitlab-migrate.md": "4853d04980560b379e5b0f7267dcb0a1e5d5879cb9e9931681ce76b2a5fe69d8",
|
|
53
53
|
"skills/chant-gitlab-patterns.md": "6d9a44e9e8de4c3820be9d65381b0d2ede4cb3626aaaf0011e21838a9fbf556e"
|
|
54
54
|
},
|
|
55
|
-
"composite": "
|
|
55
|
+
"composite": "bc52aa596002e5a01254bb3b8783b0d37ccb043987378f4a260b499dbbbacc9a"
|
|
56
56
|
}
|
package/dist/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-gitlab",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.0",
|
|
4
4
|
"description": "GitLab CI lexicon for chant — declarative IaC in TypeScript",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://intentius.io/chant",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"typescript": "^5.9.3"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
|
-
"@intentius/chant": "^0.
|
|
71
|
-
"@intentius/chant-lexicon-github": "^0.
|
|
70
|
+
"@intentius/chant": "^0.38.0",
|
|
71
|
+
"@intentius/chant-lexicon-github": "^0.38.0",
|
|
72
72
|
"typescript": "^5.9.3"
|
|
73
73
|
},
|
|
74
74
|
"peerDependenciesMeta": {
|
package/src/codegen/docs.ts
CHANGED
|
@@ -106,7 +106,6 @@ export async function generateDocs(opts?: { verbose?: boolean }): Promise<void>
|
|
|
106
106
|
// depends on. The hand-written `reference()` usage guide moves to a
|
|
107
107
|
// separate "intrinsics-guide" page below — content unchanged, just no
|
|
108
108
|
// longer sharing a slug with generated data.
|
|
109
|
-
suppressPages: ["rules"],
|
|
110
109
|
examplesDir: join(pkgDir, "examples"),
|
|
111
110
|
extraPages: [
|
|
112
111
|
{
|
package/src/migrate.mcp.test.ts
CHANGED
|
@@ -14,12 +14,12 @@ describe("gitlab MCP migrate tool", () => {
|
|
|
14
14
|
// The MCP server applies ${plugin.name}: namespacing at registration
|
|
15
15
|
// time. Diff is pre-prefixed by createDiffTool; migrate is plain.
|
|
16
16
|
expect(names).toContain("gitlab:diff");
|
|
17
|
-
expect(names).toContain("migrate");
|
|
17
|
+
expect(names).toContain("gitlab:migrate");
|
|
18
18
|
});
|
|
19
19
|
|
|
20
20
|
test("handler translates a trivial workflow", async () => {
|
|
21
21
|
const tools = gitlabPlugin.mcpTools?.() ?? [];
|
|
22
|
-
const migrate = tools.find((t) => t.name === "migrate");
|
|
22
|
+
const migrate = tools.find((t) => t.name === "gitlab:migrate");
|
|
23
23
|
expect(migrate).toBeDefined();
|
|
24
24
|
const result = await migrate!.handler({
|
|
25
25
|
content: `on: push
|
|
@@ -40,7 +40,7 @@ jobs:
|
|
|
40
40
|
|
|
41
41
|
test("respects useComposites toggle", async () => {
|
|
42
42
|
const tools = gitlabPlugin.mcpTools?.() ?? [];
|
|
43
|
-
const migrate = tools.find((t) => t.name === "migrate")!;
|
|
43
|
+
const migrate = tools.find((t) => t.name === "gitlab:migrate")!;
|
|
44
44
|
const nodePipelineWorkflow = `on: push
|
|
45
45
|
jobs:
|
|
46
46
|
build:
|
package/src/plugin.test.ts
CHANGED
|
@@ -241,7 +241,7 @@ describe("gitlabPlugin", () => {
|
|
|
241
241
|
expect(tools.length).toBeGreaterThanOrEqual(2);
|
|
242
242
|
const names = tools.map((t) => t.name);
|
|
243
243
|
expect(names).toContain("gitlab:diff");
|
|
244
|
-
expect(names).toContain("migrate");
|
|
244
|
+
expect(names).toContain("gitlab:migrate");
|
|
245
245
|
// Read-only context tools (#327/#328)
|
|
246
246
|
expect(names).toContain("gitlab:checks");
|
|
247
247
|
expect(names).toContain("gitlab:pipeline");
|
package/src/plugin.ts
CHANGED
|
@@ -277,7 +277,7 @@ export const test = new Job({
|
|
|
277
277
|
// its security findings — before anything runs (#327/#328).
|
|
278
278
|
...gitlabContextTools(),
|
|
279
279
|
{
|
|
280
|
-
name: "migrate",
|
|
280
|
+
name: "gitlab:migrate",
|
|
281
281
|
description: "Translate a GitHub Actions workflow YAML into a GitLab CI/CD pipeline. Returns the rendered output plus diagnostic + provenance arrays.",
|
|
282
282
|
inputSchema: {
|
|
283
283
|
type: "object" as const,
|