@starascendin/lifeos-mcp 0.7.14 → 0.7.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.
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.7.14";
2
- export declare const BUILD_TIME = "2026-02-20T20:56:47.104Z";
1
+ export declare const VERSION = "0.7.16";
2
+ export declare const BUILD_TIME = "2026-02-21T03:17:47.042Z";
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED — do not edit. Regenerated on every build.
2
- export const VERSION = "0.7.14";
3
- export const BUILD_TIME = "2026-02-20T20:56:47.104Z";
2
+ export const VERSION = "0.7.16";
3
+ export const BUILD_TIME = "2026-02-21T03:17:47.042Z";
package/dist/index.js CHANGED
@@ -3863,6 +3863,78 @@ const TOOLS = [
3863
3863
  required: ["title", "summary"],
3864
3864
  },
3865
3865
  },
3866
+ // ==================== LLM Council Tools ====================
3867
+ {
3868
+ name: "llm_council_deliberate",
3869
+ description: "Run a full LLM Council deliberation (Karpathy's 3-stage process). Stage 1: Multiple models answer your query in parallel. Stage 2: Each model anonymously peer-reviews and ranks the others' responses. Stage 3: A chairman model synthesizes the best answer from all responses and rankings. Returns the complete deliberation with all 3 stages. This is a long-running operation (2-10 minutes depending on tier).",
3870
+ inputSchema: {
3871
+ type: "object",
3872
+ properties: {
3873
+ query: {
3874
+ type: "string",
3875
+ description: "The question or prompt to deliberate on",
3876
+ },
3877
+ tier: {
3878
+ type: "string",
3879
+ enum: ["normal", "pro"],
3880
+ description: "Model tier. 'normal' uses GPT-4o, Claude Sonnet 4, Gemini 2.5 Pro, Grok 3. 'pro' uses GPT-5.2 Pro, Claude Opus 4.5, Gemini 3 Pro, Grok 4. Default: normal",
3881
+ },
3882
+ title: {
3883
+ type: "string",
3884
+ description: "Optional title for the conversation (auto-generated from query if not provided)",
3885
+ },
3886
+ councilModels: {
3887
+ type: "array",
3888
+ items: {
3889
+ type: "object",
3890
+ properties: {
3891
+ modelId: { type: "string" },
3892
+ modelName: { type: "string" },
3893
+ },
3894
+ required: ["modelId", "modelName"],
3895
+ },
3896
+ description: "Optional custom council models (overrides tier selection)",
3897
+ },
3898
+ chairmanModel: {
3899
+ type: "object",
3900
+ properties: {
3901
+ modelId: { type: "string" },
3902
+ modelName: { type: "string" },
3903
+ },
3904
+ required: ["modelId", "modelName"],
3905
+ description: "Optional custom chairman model (overrides tier selection)",
3906
+ },
3907
+ },
3908
+ required: ["query"],
3909
+ },
3910
+ },
3911
+ {
3912
+ name: "llm_council_list_conversations",
3913
+ description: "List past LLM Council conversations. Returns conversation IDs, titles, models used, and timestamps.",
3914
+ inputSchema: {
3915
+ type: "object",
3916
+ properties: {
3917
+ limit: {
3918
+ type: "number",
3919
+ description: "Max conversations to return (default: 20)",
3920
+ },
3921
+ },
3922
+ },
3923
+ },
3924
+ {
3925
+ name: "llm_council_get_deliberation",
3926
+ description: "Get the full details of a past LLM Council deliberation, including all 3 stages: individual responses, peer evaluations with rankings, and chairman synthesis.",
3927
+ inputSchema: {
3928
+ type: "object",
3929
+ properties: {
3930
+ conversationId: {
3931
+ type: "string",
3932
+ description: "The conversation ID to retrieve",
3933
+ },
3934
+ },
3935
+ required: ["conversationId"],
3936
+ },
3937
+ },
3866
3938
  // MCP Server Info
3867
3939
  {
3868
3940
  name: "get_version",
@@ -5189,6 +5261,39 @@ server.setRequestHandler(GetPromptRequestSchema, async (request) => {
5189
5261
  server.setRequestHandler(CallToolRequestSchema, async (request) => {
5190
5262
  const { name, arguments: args } = request.params;
5191
5263
  try {
5264
+ // Handle LLM Council deliberation (special endpoint, long-running)
5265
+ if (name === "llm_council_deliberate") {
5266
+ const url = `${CONVEX_URL}/llm-council/mcp-deliberate`;
5267
+ const params = args || {};
5268
+ const response = await fetch(url, {
5269
+ method: "POST",
5270
+ headers: {
5271
+ "Content-Type": "application/json",
5272
+ "X-API-Key": API_KEY,
5273
+ },
5274
+ body: JSON.stringify({
5275
+ userId: USER_ID,
5276
+ query: params.query,
5277
+ tier: params.tier,
5278
+ title: params.title,
5279
+ councilModels: params.councilModels,
5280
+ chairmanModel: params.chairmanModel,
5281
+ }),
5282
+ });
5283
+ if (!response.ok) {
5284
+ const errorText = await response.text();
5285
+ throw new Error(`LLM Council error (${response.status}): ${errorText}`);
5286
+ }
5287
+ const result = await response.json();
5288
+ return {
5289
+ content: [
5290
+ {
5291
+ type: "text",
5292
+ text: JSON.stringify(result, null, 2),
5293
+ },
5294
+ ],
5295
+ };
5296
+ }
5192
5297
  // Handle local-only tools (no Convex call needed)
5193
5298
  if (name === "get_version") {
5194
5299
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starascendin/lifeos-mcp",
3
- "version": "0.7.14",
3
+ "version": "0.7.16",
4
4
  "description": "MCP server for LifeOS Project Management - manage projects, tasks, notes, and contacts via AI assistants",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",