@catladder/cli 0.0.0-main-76f21f20 → 0.0.0-main-bbb9c8e8
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/bundles/catenv/index.js +7 -4
- package/dist/bundles/cli/index.js +7 -4
- package/dist/pipeline/src/pipeline/agent/shared.js +7 -4
- package/dist/pipeline/src/pipeline/agent/shared.js.map +1 -1
- package/dist/pipeline/src/runner/index.d.ts +1 -1
- package/dist/pipeline/src/runner/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -6361,10 +6361,12 @@ exports.getMergeRequestPrompt = getMergeRequestPrompt;
|
|
|
6361
6361
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6362
6362
|
exports.callClaude = exports.baseSetupScript = exports.createBaseAgentJob = void 0;
|
|
6363
6363
|
const bashEscape_1 = __nccwpck_require__(2463);
|
|
6364
|
+
const runner_1 = __nccwpck_require__(4058);
|
|
6364
6365
|
const createBaseAgentJob = (context) => ({
|
|
6365
6366
|
stage: "agents",
|
|
6366
6367
|
envMode: "none",
|
|
6367
|
-
image: "node:24-alpine3.21",
|
|
6368
|
+
// image: "node:24-alpine3.21",
|
|
6369
|
+
image: (0, runner_1.getRunnerImage)("agent-claude"),
|
|
6368
6370
|
variables: {
|
|
6369
6371
|
MAX_MCP_OUTPUT_TOKENS: "75000",
|
|
6370
6372
|
GITLAB_PERSONAL_ACCESS_TOKEN: "$AGENT_GITLAB_PERSONAL_ACCESS_TOKEN", // TODO: we don't have global secret keys to configure yet
|
|
@@ -6373,9 +6375,10 @@ const createBaseAgentJob = (context) => ({
|
|
|
6373
6375
|
});
|
|
6374
6376
|
exports.createBaseAgentJob = createBaseAgentJob;
|
|
6375
6377
|
exports.baseSetupScript = [
|
|
6376
|
-
|
|
6377
|
-
"apk
|
|
6378
|
-
"
|
|
6378
|
+
// these are done in the image already
|
|
6379
|
+
// "apk update",
|
|
6380
|
+
// "apk add --no-cache git curl bash",
|
|
6381
|
+
//"npm install -g @anthropic-ai/claude-code",
|
|
6379
6382
|
"claude mcp add gitlab --env GITLAB_PERSONAL_ACCESS_TOKEN=$GITLAB_PERSONAL_ACCESS_TOKEN --env GITLAB_API_URL=$GITLAB_API_URL --env USE_PIPELINE='true' -- npx -y @zereight/mcp-gitlab",
|
|
6380
6383
|
];
|
|
6381
6384
|
const callClaude = ({ prompt }) => {
|
|
@@ -9543,10 +9543,12 @@ exports.getMergeRequestPrompt = getMergeRequestPrompt;
|
|
|
9543
9543
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9544
9544
|
exports.callClaude = exports.baseSetupScript = exports.createBaseAgentJob = void 0;
|
|
9545
9545
|
const bashEscape_1 = __nccwpck_require__(12463);
|
|
9546
|
+
const runner_1 = __nccwpck_require__(4058);
|
|
9546
9547
|
const createBaseAgentJob = (context) => ({
|
|
9547
9548
|
stage: "agents",
|
|
9548
9549
|
envMode: "none",
|
|
9549
|
-
image: "node:24-alpine3.21",
|
|
9550
|
+
// image: "node:24-alpine3.21",
|
|
9551
|
+
image: (0, runner_1.getRunnerImage)("agent-claude"),
|
|
9550
9552
|
variables: {
|
|
9551
9553
|
MAX_MCP_OUTPUT_TOKENS: "75000",
|
|
9552
9554
|
GITLAB_PERSONAL_ACCESS_TOKEN: "$AGENT_GITLAB_PERSONAL_ACCESS_TOKEN", // TODO: we don't have global secret keys to configure yet
|
|
@@ -9555,9 +9557,10 @@ const createBaseAgentJob = (context) => ({
|
|
|
9555
9557
|
});
|
|
9556
9558
|
exports.createBaseAgentJob = createBaseAgentJob;
|
|
9557
9559
|
exports.baseSetupScript = [
|
|
9558
|
-
|
|
9559
|
-
"apk
|
|
9560
|
-
"
|
|
9560
|
+
// these are done in the image already
|
|
9561
|
+
// "apk update",
|
|
9562
|
+
// "apk add --no-cache git curl bash",
|
|
9563
|
+
//"npm install -g @anthropic-ai/claude-code",
|
|
9561
9564
|
"claude mcp add gitlab --env GITLAB_PERSONAL_ACCESS_TOKEN=$GITLAB_PERSONAL_ACCESS_TOKEN --env GITLAB_API_URL=$GITLAB_API_URL --env USE_PIPELINE='true' -- npx -y @zereight/mcp-gitlab",
|
|
9562
9565
|
];
|
|
9563
9566
|
const callClaude = ({ prompt }) => {
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.callClaude = exports.baseSetupScript = exports.createBaseAgentJob = void 0;
|
|
4
4
|
const bashEscape_1 = require("../../bash/bashEscape");
|
|
5
|
+
const runner_1 = require("../../runner");
|
|
5
6
|
const createBaseAgentJob = (context) => ({
|
|
6
7
|
stage: "agents",
|
|
7
8
|
envMode: "none",
|
|
8
|
-
image: "node:24-alpine3.21",
|
|
9
|
+
// image: "node:24-alpine3.21",
|
|
10
|
+
image: (0, runner_1.getRunnerImage)("agent-claude"),
|
|
9
11
|
variables: {
|
|
10
12
|
MAX_MCP_OUTPUT_TOKENS: "75000",
|
|
11
13
|
GITLAB_PERSONAL_ACCESS_TOKEN: "$AGENT_GITLAB_PERSONAL_ACCESS_TOKEN", // TODO: we don't have global secret keys to configure yet
|
|
@@ -14,9 +16,10 @@ const createBaseAgentJob = (context) => ({
|
|
|
14
16
|
});
|
|
15
17
|
exports.createBaseAgentJob = createBaseAgentJob;
|
|
16
18
|
exports.baseSetupScript = [
|
|
17
|
-
|
|
18
|
-
"apk
|
|
19
|
-
"
|
|
19
|
+
// these are done in the image already
|
|
20
|
+
// "apk update",
|
|
21
|
+
// "apk add --no-cache git curl bash",
|
|
22
|
+
//"npm install -g @anthropic-ai/claude-code",
|
|
20
23
|
"claude mcp add gitlab --env GITLAB_PERSONAL_ACCESS_TOKEN=$GITLAB_PERSONAL_ACCESS_TOKEN --env GITLAB_API_URL=$GITLAB_API_URL --env USE_PIPELINE='true' -- npx -y @zereight/mcp-gitlab",
|
|
21
24
|
];
|
|
22
25
|
const callClaude = ({ prompt }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../../pipeline/src/pipeline/agent/shared.ts"],"names":[],"mappings":";;;AAAA,sDAI+B;
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../../pipeline/src/pipeline/agent/shared.ts"],"names":[],"mappings":";;;AAAA,sDAI+B;AAC/B,yCAA8C;AAGvC,MAAM,kBAAkB,GAAG,CAChC,OAAqB,EAC4B,EAAE,CAAC,CAAC;IACrD,KAAK,EAAE,QAAQ;IACf,OAAO,EAAE,MAAM;IACf,+BAA+B;IAC/B,KAAK,EAAE,IAAA,uBAAc,EAAC,cAAc,CAAC;IACrC,SAAS,EAAE;QACT,qBAAqB,EAAE,OAAO;QAC9B,4BAA4B,EAAE,qCAAqC,EAAE,0DAA0D;QAC/H,cAAc,EAAE,gBAAgB;KACjC;CACF,CAAC,CAAC;AAZU,QAAA,kBAAkB,sBAY5B;AAEU,QAAA,eAAe,GAAG;IAC7B,sCAAsC;IACtC,gBAAgB;IAChB,sCAAsC;IACtC,6CAA6C;IAC7C,sLAAsL;CACvL,CAAC;AAEK,MAAM,UAAU,GAAG,CAAC,EAAE,MAAM,EAAsB,EAAE,EAAE;IAC3D,OAAO;QACL,kBAAkB,IAAA,2BAAc,EAC9B,IAAA,+BAAkB,EAAC,IAAA,4BAAe,EAAC,MAAM,CAAC,CAAC,CAC5C,GAAG;QACJ,mBAAmB;QACnB,wJAAwJ;KACzJ,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,UAAU,cAQrB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type RunnerImageName = "jobs-default" | "jobs-meteor" | "jobs-testing-chrome" | "kubernetes" | "docker-build" | "gcloud" | "semantic-release";
|
|
1
|
+
export type RunnerImageName = "jobs-default" | "jobs-meteor" | "jobs-testing-chrome" | "kubernetes" | "docker-build" | "gcloud" | "semantic-release" | "agent-claude";
|
|
2
2
|
export declare const getRunnerImage: (imageName: RunnerImageName) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../pipeline/src/runner/index.ts"],"names":[],"mappings":";;;AAAA,4CAAmE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../pipeline/src/runner/index.ts"],"names":[],"mappings":";;;AAAA,4CAAmE;AAW5D,MAAM,cAAc,GAAG,CAAC,SAA0B,EAAE,EAAE,CAC3D,2BAAe,GAAG,GAAG,GAAG,SAAS,GAAG,GAAG,GAAG,8BAAkB,CAAC;AADlD,QAAA,cAAc,kBACoC"}
|