@sellable/mcp 0.1.38-rc.2 → 0.1.38-rc.3

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.
@@ -47,7 +47,7 @@ export interface CompleteSenderResearchInput {
47
47
  credibilitySignalsFound?: number;
48
48
  notes?: string;
49
49
  }
50
- export declare const DEFAULT_SUBSKILL_PROMPT_CHUNK_CHARS = 40000;
50
+ export declare const DEFAULT_SUBSKILL_PROMPT_CHUNK_CHARS = 48000;
51
51
  export declare const MAX_SUBSKILL_PROMPT_CHUNK_CHARS = 48000;
52
52
  export declare const promptToolDefinitions: ({
53
53
  name: string;
@@ -3,12 +3,14 @@ import { getSkillByName, listSkills, stripFrontmatter } from "../skills.js";
3
3
  import { markCreateCampaignPromptLoaded, markResearchPromptLoaded, markSenderResearchCompleted, } from "./flow-preflight.js";
4
4
  // Chunk size sits below Claude Code's max-token cap on tool results
5
5
  // (empirically around ~50k chars — fetch_linkedin_profile breached at
6
- // 53,295 chars, which forced a python3 chunked-read fallback). 40k gives
7
- // headroom and cuts a 105k subskill prompt from 5 round trips at 24k →
8
- // 3 round trips at 40k, saving ~40% of agent latency on first load.
9
- // MAX leaves room for the agent to request slightly larger windows when
10
- // it knows the prompt fits, without breaching the cap.
11
- export const DEFAULT_SUBSKILL_PROMPT_CHUNK_CHARS = 40_000;
6
+ // 53,295 chars, which forced a python3 chunked-read fallback). 48k gives
7
+ // just-enough headroom under the cap. With Phase 125's split of
8
+ // create-campaign-v2 into entry + generate-message + tail subskills,
9
+ // every individual subskill (including auto-appended SOUL.md) fits in
10
+ // a single 48k chunk the agent reads the entry prompt in 1 round
11
+ // trip instead of 3-5, dropping first-message latency from ~9-15s to
12
+ // ~3s.
13
+ export const DEFAULT_SUBSKILL_PROMPT_CHUNK_CHARS = 48_000;
12
14
  export const MAX_SUBSKILL_PROMPT_CHUNK_CHARS = 48_000;
13
15
  export const promptToolDefinitions = [
14
16
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/mcp",
3
- "version": "0.1.38-rc.2",
3
+ "version": "0.1.38-rc.3",
4
4
  "type": "module",
5
5
  "description": "Sellable MCP server for Claude Code and Codex campaign workflows",
6
6
  "main": "dist/index.js",