@mycompbox/compbox-mcp 1.21.15 → 1.21.16
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/index.js +28 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -113,7 +113,7 @@ function normalizeGitRemote(raw) {
|
|
|
113
113
|
path4 = path4.replace(/^\/+/, "").replace(/\/+$/, "").replace(/\.git$/, "");
|
|
114
114
|
return `https://${host}/${path4}`;
|
|
115
115
|
}
|
|
116
|
-
var MACHINE_STATUSES, JOB_TYPES, JOB_STATUSES, TERMINAL_JOB_STATUSES, TURN_ROLES, START_EXECUTION_KINDS, MIN_CLI_FOR_REPLY_RESUME;
|
|
116
|
+
var MACHINE_STATUSES, JOB_TYPES, JOB_STATUSES, TERMINAL_JOB_STATUSES, TURN_ROLES, CHECK_MODES, START_EXECUTION_KINDS, MIN_CLI_FOR_REPLY_RESUME;
|
|
117
117
|
var init_mailbox = __esm({
|
|
118
118
|
"../shared/dist/types/mailbox.js"() {
|
|
119
119
|
"use strict";
|
|
@@ -137,6 +137,7 @@ var init_mailbox = __esm({
|
|
|
137
137
|
];
|
|
138
138
|
TERMINAL_JOB_STATUSES = ["done", "failed", "cancelled"];
|
|
139
139
|
TURN_ROLES = ["agent", "user"];
|
|
140
|
+
CHECK_MODES = ["every", "smart", "end"];
|
|
140
141
|
START_EXECUTION_KINDS = ["plan", "orchestrate", "refine", "follow_up"];
|
|
141
142
|
MIN_CLI_FOR_REPLY_RESUME = "1.21.10";
|
|
142
143
|
}
|
|
@@ -447,6 +448,13 @@ var init_ai_providers = __esm({
|
|
|
447
448
|
}
|
|
448
449
|
});
|
|
449
450
|
|
|
451
|
+
// ../shared/dist/cloud-runs.js
|
|
452
|
+
var init_cloud_runs = __esm({
|
|
453
|
+
"../shared/dist/cloud-runs.js"() {
|
|
454
|
+
"use strict";
|
|
455
|
+
}
|
|
456
|
+
});
|
|
457
|
+
|
|
450
458
|
// ../shared/dist/model-catalog.js
|
|
451
459
|
function getModelById(id) {
|
|
452
460
|
return MODEL_CATALOG.find((m) => m.id === id);
|
|
@@ -2434,6 +2442,20 @@ function githubRepoKey(remote) {
|
|
|
2434
2442
|
return null;
|
|
2435
2443
|
return `${owner}/${name}`.toLowerCase();
|
|
2436
2444
|
}
|
|
2445
|
+
function canonicalRemoteKey(remote) {
|
|
2446
|
+
if (typeof remote !== "string")
|
|
2447
|
+
return null;
|
|
2448
|
+
const normalized = normalizeGitRemote(remote);
|
|
2449
|
+
if (normalized === "")
|
|
2450
|
+
return null;
|
|
2451
|
+
return normalized.toLowerCase();
|
|
2452
|
+
}
|
|
2453
|
+
function sameGitRemote(a, b) {
|
|
2454
|
+
const keyA = canonicalRemoteKey(a);
|
|
2455
|
+
if (keyA === null)
|
|
2456
|
+
return false;
|
|
2457
|
+
return keyA === canonicalRemoteKey(b);
|
|
2458
|
+
}
|
|
2437
2459
|
var init_github_repo = __esm({
|
|
2438
2460
|
"../shared/dist/github-repo.js"() {
|
|
2439
2461
|
"use strict";
|
|
@@ -3015,6 +3037,7 @@ __export(dist_exports, {
|
|
|
3015
3037
|
APPEND_DESCRIPTION_MAX: () => APPEND_DESCRIPTION_MAX,
|
|
3016
3038
|
AWS_REGIONS: () => AWS_REGIONS,
|
|
3017
3039
|
AZURE_DEPLOY_IDENTITY: () => AZURE_DEPLOY_IDENTITY,
|
|
3040
|
+
CHECK_MODES: () => CHECK_MODES,
|
|
3018
3041
|
CLOUD_SQL_MONTHLY_ESTIMATE_USD: () => CLOUD_SQL_MONTHLY_ESTIMATE_USD,
|
|
3019
3042
|
CLOUD_SQL_PROXY_VERSION: () => CLOUD_SQL_PROXY_VERSION,
|
|
3020
3043
|
COMPLETION_REPAIR_INSTRUCTION: () => COMPLETION_REPAIR_INSTRUCTION,
|
|
@@ -3076,6 +3099,7 @@ __export(dist_exports, {
|
|
|
3076
3099
|
buildGcpSetupScript: () => buildGcpSetupScript,
|
|
3077
3100
|
buildInterviewSystemPrompt: () => buildInterviewSystemPrompt,
|
|
3078
3101
|
buildStackFiles: () => buildStackFiles,
|
|
3102
|
+
canonicalRemoteKey: () => canonicalRemoteKey,
|
|
3079
3103
|
cloudRunUrl: () => cloudRunUrl,
|
|
3080
3104
|
cloudSqlInstanceName: () => cloudSqlInstanceName,
|
|
3081
3105
|
compareMachineVersions: () => compareMachineVersions,
|
|
@@ -3159,6 +3183,7 @@ __export(dist_exports, {
|
|
|
3159
3183
|
runStateSchema: () => runStateSchema,
|
|
3160
3184
|
safeReturnTo: () => safeReturnTo,
|
|
3161
3185
|
safeValidateSkillPackManifest: () => safeValidateSkillPackManifest,
|
|
3186
|
+
sameGitRemote: () => sameGitRemote,
|
|
3162
3187
|
savedContextFromRecord: () => savedContextFromRecord,
|
|
3163
3188
|
savedMessage: () => savedMessage,
|
|
3164
3189
|
shannonEntropy: () => shannonEntropy,
|
|
@@ -3184,6 +3209,7 @@ var init_dist = __esm({
|
|
|
3184
3209
|
init_utils();
|
|
3185
3210
|
init_skill_packs();
|
|
3186
3211
|
init_ai_providers();
|
|
3212
|
+
init_cloud_runs();
|
|
3187
3213
|
init_model_catalog();
|
|
3188
3214
|
init_pxpipe();
|
|
3189
3215
|
init_interview_definition();
|
|
@@ -13436,7 +13462,7 @@ function withLegacyToolCallRewrite(transport) {
|
|
|
13436
13462
|
var SERVER_NAME = "compbox-mcp";
|
|
13437
13463
|
function resolveServerVersion() {
|
|
13438
13464
|
if (true) {
|
|
13439
|
-
return "1.21.
|
|
13465
|
+
return "1.21.16";
|
|
13440
13466
|
}
|
|
13441
13467
|
const require2 = createRequire(import.meta.url);
|
|
13442
13468
|
for (const candidate of ["../package.json", "./package.json"]) {
|