@tacitai/mcp-server 0.6.26 → 0.6.27

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.
@@ -12,6 +12,13 @@ export function registerOnboardingTools(server, getClient) {
12
12
  .optional()
13
13
  .describe('Comma-separated experience IDs the user has already completed (e.g. "first_light,feed_it"). ' +
14
14
  'Omit if unknown — the tool will start from the beginning.'),
15
+ skip_to: z
16
+ .string()
17
+ .optional()
18
+ .describe('Jump directly to a specific experience by ID or number (e.g. "research_publish" or "7"). ' +
19
+ 'ONLY use when the user explicitly asks to skip ahead or revisit a specific experience — ' +
20
+ 'for example "skip to experience 7", "take me to Research & Publish", or "go back to experience 5". ' +
21
+ 'Normal onboarding ALWAYS proceeds step by step. Never use skip_to on your own initiative.'),
15
22
  }, async (args) => {
16
23
  try {
17
24
  const client = await getClient();
@@ -26,13 +33,24 @@ export function registerOnboardingTools(server, getClient) {
26
33
  const tier3 = EXPERIENCES.filter(e => e.tier === 3);
27
34
  const tier1Complete = tier1.every(e => completedSet.has(e.id));
28
35
  let next;
29
- if (!tier1Complete) {
30
- next = tier1.find(e => !completedSet.has(e.id));
36
+ let skipped = false;
37
+ if (args.skip_to) {
38
+ const target = args.skip_to.trim().toLowerCase();
39
+ const byNum = parseInt(target, 10);
40
+ next = EXPERIENCES.find(e => e.id === target || e.num === byNum || e.name.toLowerCase() === target);
41
+ if (next) {
42
+ skipped = true;
43
+ }
31
44
  }
32
- else {
33
- next = tier2.find(e => !completedSet.has(e.id));
34
- if (!next)
35
- next = tier3.find(e => !completedSet.has(e.id));
45
+ if (!next) {
46
+ if (!tier1Complete) {
47
+ next = tier1.find(e => !completedSet.has(e.id));
48
+ }
49
+ else {
50
+ next = tier2.find(e => !completedSet.has(e.id));
51
+ if (!next)
52
+ next = tier3.find(e => !completedSet.has(e.id));
53
+ }
36
54
  }
37
55
  const lines = [];
38
56
  lines.push(`## Onboarding: ${state.name}`);
@@ -45,6 +63,10 @@ export function registerOnboardingTools(server, getClient) {
45
63
  lines.push('From here, build your own operating rhythm: set up recurring briefs, delegate complex tasks to crews, and let the system learn your patterns.');
46
64
  return success({ onboarding: lines.join('\n'), status: 'complete', completed: completedIds.length, total: EXPERIENCES.length });
47
65
  }
66
+ if (skipped) {
67
+ lines.push(`*Jumping to Experience ${next.num} as requested.*`);
68
+ lines.push('');
69
+ }
48
70
  lines.push(`### Next: Experience ${next.num} — ${next.name}`);
49
71
  lines.push(`*${next.tierName}*`);
50
72
  lines.push('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tacitai/mcp-server",
3
- "version": "0.6.26",
3
+ "version": "0.6.27",
4
4
  "description": "stdio MCP server wrapping Tacit /api/v1 REST/SSE API",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {