@intentius/chant-lexicon-gitlab 0.37.2 → 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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "algorithm": "sha256",
3
3
  "artifacts": {
4
- "manifest.json": "e7bbf87e014415b020e30dc30b2df3c2c5ce8037f1db88029e2da082ee6b15b1",
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": "a4600b837019b14f68964ad8fe774d7c2773238d3eea3dd4c8aaef46d54ed8ed"
55
+ "composite": "bc52aa596002e5a01254bb3b8783b0d37ccb043987378f4a260b499dbbbacc9a"
56
56
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitlab",
3
- "version": "0.37.2",
3
+ "version": "0.38.0",
4
4
  "chantVersion": ">=0.1.0",
5
5
  "namespace": "GitLab",
6
6
  "intrinsics": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentius/chant-lexicon-gitlab",
3
- "version": "0.37.2",
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.37.2",
71
- "@intentius/chant-lexicon-github": "^0.37.2",
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": {
@@ -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:
@@ -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,