@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.
- package/dist/tools/prompts.d.ts +1 -1
- package/dist/tools/prompts.js +8 -6
- package/package.json +1 -1
package/dist/tools/prompts.d.ts
CHANGED
|
@@ -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 =
|
|
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;
|
package/dist/tools/prompts.js
CHANGED
|
@@ -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).
|
|
7
|
-
// headroom
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
//
|
|
11
|
-
|
|
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
|
{
|