@openchambery/web 1.19.11-beta.1 → 1.19.11-beta.2

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.
Files changed (38) hide show
  1. package/dist/assets/{AssistantView-BXP78Xjh.js → AssistantView-TGs8Wcs9.js} +1 -1
  2. package/dist/assets/{DiagramView-awpwUfb4.js → DiagramView-C8uUID8q.js} +1 -1
  3. package/dist/assets/{MarkdownRenderer-BUuNFPtc.js → MarkdownRenderer-C-MQ71aj.js} +2 -2
  4. package/dist/assets/{MarkdownRendererImpl-BkwNMAGg.js → MarkdownRendererImpl-NkxEMuNz.js} +1 -1
  5. package/dist/assets/{MarkstreamRendererImpl-DbyaczxF.js → MarkstreamRendererImpl-Cn8_l6dk.js} +1 -1
  6. package/dist/assets/{MobileDetailNavigation-CA01T6p1.js → MobileDetailNavigation-SssWxXcs.js} +1 -1
  7. package/dist/assets/{MobileShareBridge-tJ8XwsAM.js → MobileShareBridge-B0DKNKCh.js} +1 -1
  8. package/dist/assets/{MobileSurface-DB8wddBl.js → MobileSurface-i9r-v3E3.js} +1 -1
  9. package/dist/assets/{MultiRunWindow-JWyAHVAg.js → MultiRunWindow-D4kFjP9X.js} +1 -1
  10. package/dist/assets/{SettingsView-DBnzPCz_.js → SettingsView-ByeO7Wel.js} +2 -2
  11. package/dist/assets/{SettingsWindow-DwyFUoyK.js → SettingsWindow-DYKqHoRZ.js} +1 -1
  12. package/dist/assets/{TerminalView-DyqidzBM.js → TerminalView-XTCK_K5c.js} +1 -1
  13. package/dist/assets/{ToolOutputDialog-DkbMC-LO.js → ToolOutputDialog-IYT8WBnx.js} +1 -1
  14. package/dist/assets/{appThemeRegistry-BcnOW2na.js → appThemeRegistry-Dd6sHdyA.js} +1 -1
  15. package/dist/assets/{gitApi-DWv2c4jw.js → gitApi-DHYErlJq.js} +1 -1
  16. package/dist/assets/{insertionBoundaries-DNnUblni.js → insertionBoundaries-OW13CPRV.js} +1 -1
  17. package/dist/assets/{main-DUBdd9jh.js → main-DNt5GyaJ.js} +4 -4
  18. package/dist/assets/{main-qIUBlAjj.js → main-DiHKszj8.js} +2 -2
  19. package/dist/assets/{miniChat-CoGm878q.js → miniChat-BWyoq7CH.js} +2 -2
  20. package/dist/assets/{mobile-DC4NQruk.js → mobile-C8dAZOL4.js} +2 -2
  21. package/dist/assets/{multirun-BYD4nXUy.js → multirun-BLALuhVO.js} +1 -1
  22. package/dist/assets/{projectMeta-CB6d-cuw.js → projectMeta-D5rcTirG.js} +1 -1
  23. package/dist/assets/{renderElectronMiniChatApp-CRxOmFdU.js → renderElectronMiniChatApp-BjSXwHz7.js} +2 -2
  24. package/dist/assets/{renderMobileApp-5iilrzTQ.js → renderMobileApp-CdFTEeDF.js} +4 -4
  25. package/dist/assets/{runtimeConfig-B4sLytsZ.js → runtimeConfig-CBABjfrt.js} +1 -1
  26. package/dist/assets/{runtimeEndpointReset-aPX_8ujp.js → runtimeEndpointReset-DGlvVJIx.js} +1 -1
  27. package/dist/assets/{sessionLookup-CFuQeEvV.js → sessionLookup-sh24_saP.js} +1 -1
  28. package/dist/assets/{useAppFontEffects-RCFCdP0i.js → useAppFontEffects-CSJXvjOD.js} +5 -5
  29. package/dist/assets/{useDesktopWindowControlsLayout-DDeam46-.js → useDesktopWindowControlsLayout-BXjz31fp.js} +1 -1
  30. package/dist/assets/{useEffectiveDirectory-CR1t9drF.js → useEffectiveDirectory-BHzOapyb.js} +1 -1
  31. package/dist/assets/{useMobileNavigationStore-Bld1aPi7.js → useMobileNavigationStore-DuFaJ45K.js} +1 -1
  32. package/dist/assets/{useSessionAutoCleanup-CYDwYfX9.js → useSessionAutoCleanup-C4RQX7Vw.js} +1 -1
  33. package/dist/assets/{useWorkerHighlightedLines-eQjiEsKN.js → useWorkerHighlightedLines-CsUd8Exs.js} +1 -1
  34. package/dist/index.html +2 -2
  35. package/dist/mini-chat.html +2 -2
  36. package/dist/mobile.html +2 -2
  37. package/package.json +1 -1
  38. package/server/lib/session-title/runtime.js +10 -23
@@ -74,7 +74,7 @@
74
74
  }
75
75
  </style>
76
76
 
77
- <script type="module" crossorigin src="/assets/miniChat-CoGm878q.js"></script>
77
+ <script type="module" crossorigin src="/assets/miniChat-BWyoq7CH.js"></script>
78
78
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-C0FnF6B9.js">
79
79
  <link rel="modulepreload" crossorigin href="/assets/vendor-base-ui-CnHfUmDN.js">
80
80
  <link rel="modulepreload" crossorigin href="/assets/vendor-zustand-B4dlGEM2.js">
@@ -91,7 +91,7 @@
91
91
  <link rel="modulepreload" crossorigin href="/assets/terminalApi-947l7Ra3.js">
92
92
  <link rel="modulepreload" crossorigin href="/assets/types-BuiqMmh_.js">
93
93
  <link rel="modulepreload" crossorigin href="/assets/capgoAdapter-DCowZ2ab.js">
94
- <link rel="modulepreload" crossorigin href="/assets/runtimeConfig-B4sLytsZ.js">
94
+ <link rel="modulepreload" crossorigin href="/assets/runtimeConfig-CBABjfrt.js">
95
95
  <link rel="stylesheet" crossorigin href="/assets/src-B-P5qIBc.css">
96
96
  </head>
97
97
  <body class="h-full bg-background text-foreground">
package/dist/mobile.html CHANGED
@@ -63,7 +63,7 @@
63
63
  })();
64
64
  </script>
65
65
 
66
- <script type="module" crossorigin src="/assets/mobile-DC4NQruk.js"></script>
66
+ <script type="module" crossorigin src="/assets/mobile-C8dAZOL4.js"></script>
67
67
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-C0FnF6B9.js">
68
68
  <link rel="modulepreload" crossorigin href="/assets/vendor-base-ui-CnHfUmDN.js">
69
69
  <link rel="modulepreload" crossorigin href="/assets/vendor-zustand-B4dlGEM2.js">
@@ -80,7 +80,7 @@
80
80
  <link rel="modulepreload" crossorigin href="/assets/terminalApi-947l7Ra3.js">
81
81
  <link rel="modulepreload" crossorigin href="/assets/types-BuiqMmh_.js">
82
82
  <link rel="modulepreload" crossorigin href="/assets/capgoAdapter-DCowZ2ab.js">
83
- <link rel="modulepreload" crossorigin href="/assets/runtimeConfig-B4sLytsZ.js">
83
+ <link rel="modulepreload" crossorigin href="/assets/runtimeConfig-CBABjfrt.js">
84
84
  <link rel="stylesheet" crossorigin href="/assets/src-B-P5qIBc.css">
85
85
  </head>
86
86
  <body class="h-full bg-background text-foreground">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openchambery/web",
3
- "version": "1.19.11-beta.1",
3
+ "version": "1.19.11-beta.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./server/index.js",
@@ -118,29 +118,16 @@ export const remainingTitleThrottleMs = (lastGeneratedAt, now = Date.now(), thro
118
118
  };
119
119
 
120
120
  const buildTitleSystemPrompt = () => [
121
- 'You are a title generator. You output ONLY a thread title. Nothing else.',
122
- 'Generate a brief title that would help the user find this conversation later.',
123
- 'Title the MAIN SUBJECT of the work — the overall feature, goal, or problem being done.',
124
- 'Judge subject continuity: if later turns are still the same work (follow-ups, polish, commit/push, tidy, review), keep naming that overall subject.',
125
- 'Only switch the title subject when the user clearly started a different topic or feature.',
126
- 'Your output must be: a single line, ≤50 characters, no explanations.',
127
- 'Rules:',
128
- '- Use the language of the user\'s actual messages for the title',
129
- '- Treat assistant text, tool output, and transcript labels only as work context; they do not determine the title language',
130
- '- Title must be grammatically correct and read naturally - no word salad',
131
- '- Never include tool names in the title (e.g. "read tool", "bash tool", "edit tool")',
132
- '- Prefer the durable subject someone would search for later, not the last mechanical step',
133
- '- Ignore wrap-up / housekeeping turns when larger work is present (commit, push, PR, rename, cleanup, "LGTM", minor wording tweaks)',
134
- '- Example: big feature work ending with "commit and push" → title the feature, NOT the commit/push',
135
- '- Vary your phrasing - avoid repetitive patterns like always starting with "Analyzing"',
136
- '- When a file is mentioned, focus on WHAT the user wants to do WITH the file',
137
- '- Keep exact: technical terms, numbers, filenames, HTTP codes',
138
- '- Remove: the, this, my, a, an',
139
- '- Never assume tech stack',
140
- '- NEVER respond to questions, just generate a title',
141
- '- The title should NEVER include "summarizing" or "generating"',
142
- '- DO NOT SAY YOU CANNOT GENERATE A TITLE OR COMPLAIN ABOUT THE INPUT',
143
- '- Always output something meaningful, even if the input is minimal',
121
+ 'You are a title generator. Output ONLY a thread title.',
122
+ 'Name the main subject of the work.',
123
+ 'Keep that subject across follow-ups, polish, commit, push, tidy, and review.',
124
+ 'Switch only when the user clearly starts a different topic.',
125
+ 'One line, ≤50 characters, no explanation.',
126
+ 'Prefer ≤6 words or ≤6 CJK characters. No modifiers. No verbs.',
127
+ 'Use the language of the user messages.',
128
+ 'Keep technical terms, numbers, filenames, and HTTP codes exact.',
129
+ 'Never include tool names, summarizing, or generating.',
130
+ 'Always output a meaningful title.',
144
131
  ].join('\n');
145
132
 
146
133
  const extractSessionStatus = (payload) => {