@mycompbox/compbox-mcp 1.16.0 → 1.17.1

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 +27 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -156,6 +156,27 @@ var init_attachment = __esm({
156
156
  }
157
157
  });
158
158
 
159
+ // ../shared/dist/types/organization.js
160
+ function isSubscriptionStatus(value) {
161
+ return typeof value === "string" && SUBSCRIPTION_STATUSES.includes(value);
162
+ }
163
+ function isOrgRole(value) {
164
+ return typeof value === "string" && ORG_ROLES.includes(value);
165
+ }
166
+ var SUBSCRIPTION_STATUSES, ORG_ROLES;
167
+ var init_organization = __esm({
168
+ "../shared/dist/types/organization.js"() {
169
+ "use strict";
170
+ SUBSCRIPTION_STATUSES = [
171
+ "incomplete",
172
+ "active",
173
+ "past_due",
174
+ "canceled"
175
+ ];
176
+ ORG_ROLES = ["member", "admin"];
177
+ }
178
+ });
179
+
159
180
  // ../shared/dist/types/index.js
160
181
  var init_types = __esm({
161
182
  "../shared/dist/types/index.js"() {
@@ -167,6 +188,7 @@ var init_types = __esm({
167
188
  init_mailbox();
168
189
  init_interview();
169
190
  init_attachment();
191
+ init_organization();
170
192
  }
171
193
  });
172
194
 
@@ -621,8 +643,10 @@ __export(dist_exports, {
621
643
  JOB_TYPES: () => JOB_TYPES,
622
644
  MACHINE_STATUSES: () => MACHINE_STATUSES,
623
645
  MODEL_CATALOG: () => MODEL_CATALOG,
646
+ ORG_ROLES: () => ORG_ROLES,
624
647
  PXPIPE_DEFAULT_PROXY_URL: () => PXPIPE_DEFAULT_PROXY_URL,
625
648
  START_EXECUTION_KINDS: () => START_EXECUTION_KINDS,
649
+ SUBSCRIPTION_STATUSES: () => SUBSCRIPTION_STATUSES,
626
650
  SUMMARY_MAX: () => SUMMARY_MAX,
627
651
  SessionEventType: () => SessionEventType,
628
652
  TURN_ROLES: () => TURN_ROLES,
@@ -640,6 +664,7 @@ __export(dist_exports, {
640
664
  isJobStatus: () => isJobStatus,
641
665
  isJobType: () => isJobType,
642
666
  isMachineStatus: () => isMachineStatus,
667
+ isOrgRole: () => isOrgRole,
643
668
  isPxpipeEnabled: () => isPxpipeEnabled,
644
669
  isSessionErrorEvent: () => isSessionErrorEvent,
645
670
  isSessionFeatureEvent: () => isSessionFeatureEvent,
@@ -647,6 +672,7 @@ __export(dist_exports, {
647
672
  isSessionPhaseEvent: () => isSessionPhaseEvent,
648
673
  isSessionTaskEvent: () => isSessionTaskEvent,
649
674
  isSessionTaskProgressEvent: () => isSessionTaskProgressEvent,
675
+ isSubscriptionStatus: () => isSubscriptionStatus,
650
676
  isTurnRole: () => isTurnRole,
651
677
  isValidModelId: () => isValidModelId,
652
678
  mcpConfigSchema: () => mcpConfigSchema,
@@ -10806,7 +10832,7 @@ function withLegacyToolCallRewrite(transport) {
10806
10832
  var SERVER_NAME = "compbox-mcp";
10807
10833
  function resolveServerVersion() {
10808
10834
  if (true) {
10809
- return "1.16.0";
10835
+ return "1.17.1";
10810
10836
  }
10811
10837
  const require2 = createRequire(import.meta.url);
10812
10838
  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.16.0",
3
+ "version": "1.17.1",
4
4
  "description": "CompBox MCP server - Uses HTTP API client (no direct database access)",
5
5
  "license": "MIT",
6
6
  "type": "module",