@longtable/setup 0.1.15 → 0.1.16

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.
package/README.md CHANGED
@@ -31,8 +31,6 @@ Global setup should answer:
31
31
  - how much challenge or slowdown they want
32
32
  - what makes writing still feel like theirs
33
33
  - how visible disagreement should be by default
34
- - whether to configure MCP transport during setup
35
- - whether panel/team-style reviews should prefer native provider subagents when available
36
34
 
37
35
  Project and session intake belongs to `longtable start`, not library-level setup helpers.
38
36
 
package/dist/cli.js CHANGED
@@ -4,7 +4,7 @@ import { buildProviderChoices, buildQuickSetupFlow, createPersistedSetupOutput }
4
4
  import { installRuntimeConfigFromStoredSetup, loadSetupOutput, renderInstallSummary, renderSetupSummary, resolveDefaultSetupPath, saveSetupAndRuntimeConfig, saveSetupOutput, serializeSetupOutput } from "./persistence.js";
5
5
  function printUsage() {
6
6
  console.log(`Usage:
7
- longtable-setup init [--flow quickstart|interview] --provider <codex|claude> --field <field> --career-stage <stage> --experience <novice|intermediate|advanced> --checkpoint <low|balanced|high> [--authorship-signal <text>] [--entry-mode <explore|review|critique|draft|commit>] [--weakest-domain <theory|methodology|measurement|analysis|writing>] [--panel-preference <synthesis_only|show_on_conflict|always_visible>] [--agent-team <native_when_available|sequential_panel_only>] [--mcp <skip|print_config|write_provider|write_all>] [--json]
7
+ longtable-setup init [--flow quickstart|interview] --provider <codex|claude> --field <field> --career-stage <stage> --experience <novice|intermediate|advanced> --checkpoint <low|balanced|high> [--authorship-signal <text>] [--entry-mode <explore|review|critique|draft|commit>] [--weakest-domain <theory|methodology|measurement|analysis|writing>] [--panel-preference <synthesis_only|show_on_conflict|always_visible>] [--json]
8
8
  longtable-setup install [--path <file>] [--runtime-path <file>] [--json]
9
9
  longtable-setup show [--path <file>] [--json]
10
10
 
@@ -57,12 +57,6 @@ function toSetupAnswers(args) {
57
57
  : undefined,
58
58
  panelPreference: typeof args["panel-preference"] === "string" && args["panel-preference"].trim().length > 0
59
59
  ? args["panel-preference"].trim()
60
- : undefined,
61
- agentTeamPreference: typeof args["agent-team"] === "string" && args["agent-team"].trim().length > 0
62
- ? args["agent-team"].trim()
63
- : undefined,
64
- mcpPreference: typeof args.mcp === "string" && args.mcp.trim().length > 0
65
- ? args.mcp.trim()
66
60
  : undefined
67
61
  };
68
62
  }
@@ -92,28 +92,6 @@ export function buildQuickSetupFlow(flow = "quickstart") {
92
92
  { id: "show_on_conflict", label: "Show on conflict", description: "Surface panel disagreement when roles materially diverge." },
93
93
  { id: "always_visible", label: "Always visible", description: "Keep panel opinions visible by default." }
94
94
  ]
95
- },
96
- {
97
- id: "agentTeamPreference",
98
- prompt: "Should LongTable use provider-native agent teams or subagents when they are available?",
99
- required: false,
100
- kind: "single_choice",
101
- choices: [
102
- { id: "native_when_available", label: "Use when available", description: "Prefer native team/subagent surfaces, then fall back to LongTable's sequential panel." },
103
- { id: "sequential_panel_only", label: "Sequential panel only", description: "Always use LongTable's stable sequential panel orchestration." }
104
- ]
105
- },
106
- {
107
- id: "mcpPreference",
108
- prompt: "Should LongTable configure the MCP state server now?",
109
- required: false,
110
- kind: "single_choice",
111
- choices: [
112
- { id: "skip", label: "Skip MCP", description: "Do not change provider config files during setup." },
113
- { id: "print_config", label: "Print config only", description: "Show the MCP config without writing provider files." },
114
- { id: "write_provider", label: "Write selected provider", description: "Write MCP config for the provider selected in this setup." },
115
- { id: "write_all", label: "Write Codex and Claude", description: "Write MCP config for both Codex and Claude Code." }
116
- ]
117
95
  }
118
96
  ];
119
97
  }
@@ -211,12 +189,6 @@ export function createPersistedSetupOutput(answers, provider, flow = "quickstart
211
189
  : {}),
212
190
  ...(profileSeed.panelPreference
213
191
  ? { panelPreference: profileSeed.panelPreference }
214
- : {}),
215
- ...(profileSeed.agentTeamPreference
216
- ? { agentTeamPreference: profileSeed.agentTeamPreference }
217
- : {}),
218
- ...(profileSeed.mcpPreference
219
- ? { mcpPreference: profileSeed.mcpPreference }
220
192
  : {})
221
193
  };
222
194
  if (profileSeed.humanAuthorshipSignal) {
@@ -34,12 +34,6 @@ export function renderSetupSummary(output) {
34
34
  if (output.profileSeed.panelPreference) {
35
35
  lines.push(`panel preference: ${output.profileSeed.panelPreference}`);
36
36
  }
37
- if (output.profileSeed.agentTeamPreference) {
38
- lines.push(`agent team preference: ${output.profileSeed.agentTeamPreference}`);
39
- }
40
- if (output.profileSeed.mcpPreference) {
41
- lines.push(`mcp preference: ${output.profileSeed.mcpPreference}`);
42
- }
43
37
  return lines.join("\n");
44
38
  }
45
39
  export function resolveDefaultSetupPath(customPath) {
@@ -114,12 +108,6 @@ function renderCodexRuntimeConfig(output, setupPath) {
114
108
  ...(output.profileSeed.panelPreference
115
109
  ? [`panel_preference = "${output.profileSeed.panelPreference}"`]
116
110
  : []),
117
- ...(output.profileSeed.agentTeamPreference
118
- ? [`agent_team_preference = "${output.profileSeed.agentTeamPreference}"`]
119
- : []),
120
- ...(output.profileSeed.mcpPreference
121
- ? [`mcp_preference = "${output.profileSeed.mcpPreference}"`]
122
- : []),
123
111
  "",
124
112
  "[longtable.runtime_guidance]",
125
113
  `ask_at_least_two_questions_in_explore = ${runtimeGuidance.askAtLeastTwoQuestionsInExplore}`,
@@ -144,9 +132,7 @@ function renderClaudeRuntimeConfig(output, setupPath) {
144
132
  ? output.profileSeed.currentProjectType
145
133
  : undefined,
146
134
  weakestDomain: output.profileSeed.weakestDomain,
147
- panelPreference: output.profileSeed.panelPreference,
148
- agentTeamPreference: output.profileSeed.agentTeamPreference,
149
- mcpPreference: output.profileSeed.mcpPreference
135
+ panelPreference: output.profileSeed.panelPreference
150
136
  },
151
137
  runtimeGuidance
152
138
  }, null, 2);
package/dist/types.d.ts CHANGED
@@ -13,8 +13,6 @@ export interface SetupQuestion {
13
13
  choices?: SetupChoice[];
14
14
  }
15
15
  export type SetupFlow = "quickstart" | "interview";
16
- export type McpSetupPreference = "skip" | "print_config" | "write_provider" | "write_all";
17
- export type AgentTeamPreference = "native_when_available" | "sequential_panel_only";
18
16
  export interface SetupAnswers {
19
17
  field: string;
20
18
  careerStage: string;
@@ -25,8 +23,6 @@ export interface SetupAnswers {
25
23
  preferredEntryMode?: Exclude<InteractionMode, "submit">;
26
24
  weakestDomain?: Extract<keyof ResearcherConfidenceByDomain, string>;
27
25
  panelPreference?: "synthesis_only" | "show_on_conflict" | "always_visible";
28
- mcpPreference?: McpSetupPreference;
29
- agentTeamPreference?: AgentTeamPreference;
30
26
  }
31
27
  export interface ResearcherProfileSeed extends SetupAnswers {
32
28
  aiAutonomyPreference: "low" | "balanced" | "high";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longtable/setup",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "private": false,
5
5
  "description": "Researcher onboarding and setup flows for LongTable",
6
6
  "type": "module",
@@ -23,8 +23,8 @@
23
23
  "typecheck": "tsc -p tsconfig.json --noEmit"
24
24
  },
25
25
  "dependencies": {
26
- "@longtable/core": "0.1.15",
27
- "@longtable/memory": "0.1.15"
26
+ "@longtable/core": "0.1.16",
27
+ "@longtable/memory": "0.1.16"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "^22.0.0",