@mycompbox/compbox-mcp 1.21.6 → 1.21.7

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.
Files changed (2) hide show
  1. package/index.js +11 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -69,6 +69,9 @@ var init_session_events = __esm({
69
69
  });
70
70
 
71
71
  // ../shared/dist/types/mailbox.js
72
+ function isTerminalJobStatus(status) {
73
+ return TERMINAL_JOB_STATUSES.includes(status);
74
+ }
72
75
  function isMachineStatus(value) {
73
76
  return MACHINE_STATUSES.includes(value);
74
77
  }
@@ -110,7 +113,7 @@ function normalizeGitRemote(raw) {
110
113
  path4 = path4.replace(/^\/+/, "").replace(/\/+$/, "").replace(/\.git$/, "");
111
114
  return `https://${host}/${path4}`;
112
115
  }
113
- var MACHINE_STATUSES, JOB_TYPES, JOB_STATUSES, TURN_ROLES, START_EXECUTION_KINDS;
116
+ var MACHINE_STATUSES, JOB_TYPES, JOB_STATUSES, TERMINAL_JOB_STATUSES, TURN_ROLES, START_EXECUTION_KINDS;
114
117
  var init_mailbox = __esm({
115
118
  "../shared/dist/types/mailbox.js"() {
116
119
  "use strict";
@@ -126,9 +129,12 @@ var init_mailbox = __esm({
126
129
  "claimed",
127
130
  "running",
128
131
  "awaiting_input",
132
+ "cancelling",
129
133
  "done",
130
- "failed"
134
+ "failed",
135
+ "cancelled"
131
136
  ];
137
+ TERMINAL_JOB_STATUSES = ["done", "failed", "cancelled"];
132
138
  TURN_ROLES = ["agent", "user"];
133
139
  START_EXECUTION_KINDS = ["plan", "orchestrate", "refine"];
134
140
  }
@@ -2008,6 +2014,7 @@ __export(dist_exports, {
2008
2014
  SUMMARY_MAX: () => SUMMARY_MAX,
2009
2015
  SessionEventType: () => SessionEventType,
2010
2016
  TARGET_COMPLIANCE_TIER: () => TARGET_COMPLIANCE_TIER,
2017
+ TERMINAL_JOB_STATUSES: () => TERMINAL_JOB_STATUSES,
2011
2018
  TURN_ROLES: () => TURN_ROLES,
2012
2019
  agentSchema: () => agentSchema,
2013
2020
  aiProviderValues: () => aiProviderValues,
@@ -2063,6 +2070,7 @@ __export(dist_exports, {
2063
2070
  isSessionTaskEvent: () => isSessionTaskEvent,
2064
2071
  isSessionTaskProgressEvent: () => isSessionTaskProgressEvent,
2065
2072
  isSubscriptionStatus: () => isSubscriptionStatus,
2073
+ isTerminalJobStatus: () => isTerminalJobStatus,
2066
2074
  isTurnRole: () => isTurnRole,
2067
2075
  isValidModelId: () => isValidModelId,
2068
2076
  lockedRequestMessage: () => lockedRequestMessage,
@@ -12335,7 +12343,7 @@ function withLegacyToolCallRewrite(transport) {
12335
12343
  var SERVER_NAME = "compbox-mcp";
12336
12344
  function resolveServerVersion() {
12337
12345
  if (true) {
12338
- return "1.21.6";
12346
+ return "1.21.7";
12339
12347
  }
12340
12348
  const require2 = createRequire(import.meta.url);
12341
12349
  for (const candidate of ["../package.json", "./package.json"]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mycompbox/compbox-mcp",
3
- "version": "1.21.6",
3
+ "version": "1.21.7",
4
4
  "description": "CompBox MCP server - Uses HTTP API client (no direct database access)",
5
5
  "license": "MIT",
6
6
  "type": "module",