pi-caveman 1.0.9 → 1.0.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.
@@ -159,7 +159,10 @@ Respond like smart caveman. Cut all filler, keep technical substance.
159
159
 
160
160
  const INTENSITY: Record<Exclude<Level, "off" | "micro">, string> = {
161
161
  lite: `\
162
- No filler/hedging. Keep articles + full sentences. Professional but tight.
162
+ No filler, no hedging, no pleasantries. Keep articles and full sentences.
163
+ Write like a tight senior engineer in chat: complete sentences, plain prose,
164
+ no fragments unless natural. Technical terms exact. Short is good, choppy is not.
165
+ Prefer 2-4 sentence answers over bullet fragments when prose reads better.
163
166
  Example: "Your component re-renders because you create a new object reference each render. Wrap it in \`useMemo\`."`,
164
167
 
165
168
  full: `\
@@ -438,7 +441,11 @@ export default function caveman(pi: ExtensionAPI) {
438
441
  await ensureConfigLoaded();
439
442
  if (level === "off") return;
440
443
  const addition =
441
- level === "micro" ? MICRO_PROMPT : `${BASE}\n\n${INTENSITY[level]}\n\n${SAFETY}`;
444
+ level === "micro"
445
+ ? MICRO_PROMPT
446
+ : level === "lite"
447
+ ? `${INTENSITY.lite}\n\n${SAFETY}`
448
+ : `${BASE}\n\n${INTENSITY[level]}\n\n${SAFETY}`;
442
449
  return {
443
450
  systemPrompt: appendSystemPrompt(
444
451
  event.systemPrompt as string | string[] | null | undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-caveman",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Why use many token when few do trick. Caveman mode for pi — cuts ~75% output tokens while keeping full technical accuracy.",
5
5
  "keywords": [
6
6
  "pi-package",