@tacitai/mcp-server 0.6.55 → 0.7.0

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.
@@ -146,6 +146,14 @@ const addJobSchema = z.object({
146
146
  company_name: z.string().optional().describe('Company name'),
147
147
  location: z.string().optional().describe('Job location'),
148
148
  employment_type: z.string().optional().describe('Employment type (e.g. "full_time", "contract")'),
149
+ salary_min: z.number().optional().describe('Minimum salary'),
150
+ salary_max: z.number().optional().describe('Maximum salary'),
151
+ salary_currency: z.string().optional().describe('Salary currency code (e.g. "CAD", "USD")'),
152
+ remote_policy: z.string().optional().describe('Remote work policy ("remote", "hybrid", "onsite")'),
153
+ application_url: z.string().optional().describe('Direct application URL (may differ from posting URL)'),
154
+ requirements: z.string().optional().describe('Key requirements as extracted text'),
155
+ responsibilities: z.string().optional().describe('Key responsibilities as extracted text'),
156
+ notes: z.string().optional().describe('Personal notes about the job'),
149
157
  });
150
158
  const updateJobSchema = z.object({
151
159
  artifact_id: z.string().uuid().describe('Job artifact UUID'),
@@ -332,7 +340,7 @@ export function registerCareerTools(server, getClientFn) {
332
340
  }
333
341
  });
334
342
  // ── 8. tacit_career_add_job ────────────────────────────────────────────
335
- server.tool('tacit_career_add_job', 'Add a job posting to a campaign. Provide a URL (fetched and extracted), pasted text, or structured fields. job_title is always required. Deduplicates on URL — returns the existing card with duplicate:true on conflict.', addJobSchema.shape, async (args) => {
343
+ server.tool('tacit_career_add_job', 'Add a job posting to a campaign. Provide a URL (fetched and extracted), pasted text, or structured fields (salary, remote policy, application URL, requirements, responsibilities, notes). job_title is always required. Deduplicates on URL — returns the existing card with duplicate:true on conflict.', addJobSchema.shape, async (args) => {
336
344
  const blocked = flagGuard();
337
345
  if (blocked)
338
346
  return blocked;
@@ -355,6 +363,22 @@ export function registerCareerTools(server, getClientFn) {
355
363
  };
356
364
  if (input.url)
357
365
  metadata['posting_url'] = input.url;
366
+ if (input.salary_min !== undefined)
367
+ metadata['salary_min'] = input.salary_min;
368
+ if (input.salary_max !== undefined)
369
+ metadata['salary_max'] = input.salary_max;
370
+ if (input.salary_currency)
371
+ metadata['salary_currency'] = input.salary_currency;
372
+ if (input.remote_policy)
373
+ metadata['remote_policy'] = input.remote_policy;
374
+ if (input.application_url)
375
+ metadata['application_url'] = input.application_url;
376
+ if (input.requirements)
377
+ metadata['requirements'] = input.requirements;
378
+ if (input.responsibilities)
379
+ metadata['responsibilities'] = input.responsibilities;
380
+ if (input.notes)
381
+ metadata['notes'] = input.notes;
358
382
  const body = {
359
383
  title: input.job_title,
360
384
  domain: 'CAREER',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tacitai/mcp-server",
3
- "version": "0.6.55",
3
+ "version": "0.7.0",
4
4
  "description": "stdio MCP server wrapping Tacit /api/v1 REST/SSE API",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {