@agnishc/edb-auto-name-session 0.8.2 → 0.10.4
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 +7 -0
- package/package.json +1 -1
- package/src/index.ts +7 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.10.4] - 2026-05-15
|
|
4
|
+
|
|
5
|
+
## [0.10.3] - 2026-05-15
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- Improved session title generation prompt to prioritize searchable, specific names and use memorable funny coding-themed fallbacks for vague first messages.
|
|
9
|
+
|
|
3
10
|
## [0.8.2] - 2026-05-11
|
|
4
11
|
|
|
5
12
|
## [0.8.1] - 2026-05-11
|
package/package.json
CHANGED
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
|
|
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
|
-
-
|
|
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:
|