@beastmode-develeap/beastmode 0.1.9 → 0.1.10

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/index.js CHANGED
@@ -4338,7 +4338,11 @@ ${summary.join("\n")}`;
4338
4338
  }
4339
4339
  const scopeContext = scope !== "factory" ? `
4340
4340
  You are scoped to project "${scope}". Focus answers on this project only.` : "\nYou have factory-wide scope. Answer questions about any/all projects.";
4341
- const wrappedPrompt = `IMPORTANT CONTEXT \u2014 READ BEFORE RESPONDING:
4341
+ let prompt;
4342
+ if (session.claudeSessionId) {
4343
+ prompt = content;
4344
+ } else {
4345
+ prompt = `IMPORTANT CONTEXT \u2014 READ BEFORE RESPONDING:
4342
4346
  You are the BeastMode chat assistant. You have ALL the data you need below. Do NOT use curl, do NOT reference Monday.com, do NOT ask for permissions. The task board data is provided inline.
4343
4347
  ${scopeContext}
4344
4348
 
@@ -4350,9 +4354,10 @@ Factory path: ${session.factoryPath}
4350
4354
  USER QUESTION: ${content}
4351
4355
 
4352
4356
  Respond concisely using the board data above. Do not try to fetch data externally.`;
4357
+ }
4353
4358
  const args = [
4354
4359
  "-p",
4355
- wrappedPrompt,
4360
+ prompt,
4356
4361
  "--output-format",
4357
4362
  "stream-json",
4358
4363
  "--verbose"