@agnishc/edb-auto-name-session 0.8.1 → 0.10.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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.10.3] - 2026-05-15
4
+
5
+ ### Changed
6
+ - Improved session title generation prompt to prioritize searchable, specific names and use memorable funny coding-themed fallbacks for vague first messages.
7
+
8
+ ## [0.8.2] - 2026-05-11
9
+
3
10
  ## [0.8.1] - 2026-05-11
4
11
 
5
12
  ## [0.7.0] - 2026-05-11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agnishc/edb-auto-name-session",
3
- "version": "0.8.1",
3
+ "version": "0.10.3",
4
4
  "description": "Pi extension: replace Pi's first-message session label with a generated title",
5
5
  "keywords": [
6
6
  "pi-package",
package/src/index.ts CHANGED
@@ -5,12 +5,17 @@ import { extractUserText, sanitizeSessionName, shouldArmAutoNaming } from "./tit
5
5
  const MODEL_PROVIDER = "opencode";
6
6
  const MODEL_ID = "big-pickle";
7
7
 
8
- const SYSTEM_PROMPT = `You create short session titles for coding and technical work.
8
+ const SYSTEM_PROMPT = `You create searchable session titles for coding and technical work.
9
+ The user uses these titles later to find old sessions, so prefer memorable, specific words over generic summaries.
9
10
  Return exactly one title based only on the user's first message.
11
+
10
12
  Rules:
11
13
  - Prefer 2 to 6 words
12
14
  - Use Title Case
13
- - Mention the task, feature, bug, or file focus when clear
15
+ - Include the task, feature, bug, file, package, command, model, or error when clear
16
+ - Avoid generic titles like Coding Help, Fix Bug, Update Code, or New Session
17
+ - If the message is vague, conversational, or lacks a clear task, return a funny but compact coding-themed title
18
+ - Funny fallback titles should be memorable, not random; examples: Mystery Bug Goblin, Keyboard Goblin Hour, Undefined Behavior Club
14
19
  - No quotes
15
20
  - No markdown
16
21
  - No labels like Title: