@ai-matrx/coding-sessions 0.3.0 → 0.3.1
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 +6 -0
- package/dist/engine/index.cjs +3 -1
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.js +3 -1
- package/dist/engine/index.js.map +1 -1
- package/dist/server/index.cjs +3 -1
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.js +3 -1
- package/dist/server/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @ai-matrx/coding-sessions
|
|
2
2
|
|
|
3
|
+
## 0.3.1
|
|
4
|
+
|
|
5
|
+
- A long Codex rollout whose first message lies past the head read (a very large `session_meta`) is
|
|
6
|
+
kept as "(untitled)" (source "unknown") until the owner's name for it arrives — never dropped
|
|
7
|
+
(with an owner and no index read, 475 such chats on one Mac were missing from the list).
|
|
8
|
+
|
|
3
9
|
## 0.3.0
|
|
4
10
|
|
|
5
11
|
- With an owner of the apps' index (`titleHints`), this package reads none of the apps' own files:
|
package/dist/engine/index.cjs
CHANGED
|
@@ -1518,6 +1518,7 @@ var import_node_path5 = __toESM(require("path"), 1);
|
|
|
1518
1518
|
|
|
1519
1519
|
// src/sessions/titles.ts
|
|
1520
1520
|
var TITLE_MAX = 300;
|
|
1521
|
+
var UNTITLED = "(untitled)";
|
|
1521
1522
|
var BRIDGE_PLACEHOLDER = /^AI Matrx · [a-z-]+$/;
|
|
1522
1523
|
var TITLE_PRECEDENCE = [
|
|
1523
1524
|
/** The person's rename inside Matrx (Coding Sessions' preference). */
|
|
@@ -1821,7 +1822,8 @@ async function describeCodex(candidate, names) {
|
|
|
1821
1822
|
}
|
|
1822
1823
|
}
|
|
1823
1824
|
if (isSubAgent) return null;
|
|
1824
|
-
const
|
|
1825
|
+
const found = resolveSessionTitle({ app: names.get(candidate.id), "first-prompt": firstPrompt });
|
|
1826
|
+
const resolved = found ?? (candidate.size > HEAD_BYTES ? { title: UNTITLED, source: "unknown" } : null);
|
|
1825
1827
|
if (!resolved) return null;
|
|
1826
1828
|
return {
|
|
1827
1829
|
provider: "codex",
|