@notus-os/mcp 0.1.5 → 0.1.6

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.
@@ -19245,10 +19245,11 @@ var init_zod = __esm({
19245
19245
  // src/tools/clients.ts
19246
19246
  var clients_exports = {};
19247
19247
  __export(clients_exports, {
19248
+ get_career_history: () => get_career_history,
19248
19249
  get_client_detail: () => get_client_detail,
19249
19250
  list_clients: () => list_clients
19250
19251
  });
19251
- var listClientsSchema, list_clients, getClientDetailSchema, get_client_detail;
19252
+ var listClientsSchema, list_clients, getClientDetailSchema, get_client_detail, getCareerHistorySchema, get_career_history;
19252
19253
  var init_clients = __esm({
19253
19254
  "src/tools/clients.ts"() {
19254
19255
  "use strict";
@@ -19273,7 +19274,7 @@ var init_clients = __esm({
19273
19274
  });
19274
19275
  get_client_detail = {
19275
19276
  name: "get_client_detail",
19276
- description: "Fetch a single client's full roadmap: profile, setup phase status, risk signals, assigned Content Strategist, internal notus Slack channel ID (slack_channel_id \u2014 #client-name-notus-internal, the notus team's coordination channel, NOT the client-facing one), and current strategist notes. Requires clientId (UUID). Pass organizationId when the client belongs to multiple orgs you manage.",
19277
+ description: "Fetch a single client's full roadmap: profile, setup phase status, risk signals, assigned Content Strategist, internal notus Slack channel ID (slack_channel_id \u2014 #client-name-notus-internal, the notus team's coordination channel, NOT the client-facing one), current strategist notes, and the full captured LinkedIn career_history when available. Requires clientId (UUID). Pass organizationId when the client belongs to multiple orgs you manage.",
19277
19278
  inputSchema: getClientDetailSchema,
19278
19279
  handler: async (args, ctx) => {
19279
19280
  const query = {};
@@ -19281,7 +19282,25 @@ var init_clients = __esm({
19281
19282
  return ctx.api.get(`/api/strategist/clients/${args.clientId}/roadmap`, { query });
19282
19283
  }
19283
19284
  };
19284
- registerTools(list_clients, get_client_detail);
19285
+ getCareerHistorySchema = external_exports.object({
19286
+ clientId: external_exports.string().uuid(),
19287
+ organizationId: external_exports.string().uuid().optional()
19288
+ });
19289
+ get_career_history = {
19290
+ name: "get_career_history",
19291
+ description: `Return the client's verified LinkedIn career history \u2014 the array of roles (company, title, start/end dates, location, description) captured once during deep dive prep from LinkedIn Experience screenshots. This is the source of truth for ANY factual claim about past employers or dates; transcripts routinely mis-hear proper nouns ("Oxid" for Evolute, "Infinis" for Infinys). Also returns provenance: captured_at, captured_by_user_id + full_name, captured_from (deep_dive_prep | profile_revamp | manual_edit), and source_content_source_id. When not yet captured, career_history is null \u2014 ask the strategist to share the Experience screenshots in a deep dive prep chat so the AI can call save_career_history. Requires clientId (UUID). Pass organizationId when the client belongs to multiple orgs you manage.`,
19292
+ inputSchema: getCareerHistorySchema,
19293
+ handler: async (args, ctx) => {
19294
+ const query = {};
19295
+ if (args.organizationId) query.organization_id = args.organizationId;
19296
+ const res = await ctx.api.get(
19297
+ `/api/strategist/clients/${args.clientId}/roadmap`,
19298
+ { query }
19299
+ );
19300
+ return { career_history: res.career_history ?? null };
19301
+ }
19302
+ };
19303
+ registerTools(list_clients, get_client_detail, get_career_history);
19285
19304
  }
19286
19305
  });
19287
19306
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@notus-os/mcp",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "notusOS MCP server — Claude Code as a full interface to notusOS",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",