@ai-matrx/coding-sessions 0.3.0 → 0.3.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.
- package/CHANGELOG.md +12 -0
- package/dist/engine/index.cjs +4 -2
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.cts +1 -1
- package/dist/engine/index.d.ts +1 -1
- package/dist/engine/index.js +4 -2
- package/dist/engine/index.js.map +1 -1
- package/dist/{index-Bbe11HoB.d.cts → index-C1SV-xXK.d.cts} +2 -0
- package/dist/{index-Bbe11HoB.d.ts → index-C1SV-xXK.d.ts} +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +2 -2
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +2 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +2 -2
- package/dist/react/index.js.map +1 -1
- package/dist/server/index.cjs +4 -2
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.cts +2 -2
- package/dist/server/index.d.ts +2 -2
- package/dist/server/index.js +4 -2
- package/dist/server/index.js.map +1 -1
- package/dist/ui/assets/{index-U98AY8r-.js → index-BmQ1Kc7o.js} +1 -1
- package/dist/ui/index.html +1 -1
- package/package.json +2 -2
package/dist/server/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CodingSessionsMethod, a as CodingSessionsApi, b as CodingEvent, c as CodingSessionsEngine, d as CodingSessionsEngineOptions } from '../index-
|
|
2
|
-
export { e as CodingSessionsAgentsOptions } from '../index-
|
|
1
|
+
import { C as CodingSessionsMethod, a as CodingSessionsApi, b as CodingEvent, c as CodingSessionsEngine, d as CodingSessionsEngineOptions } from '../index-C1SV-xXK.cjs';
|
|
2
|
+
export { e as CodingSessionsAgentsOptions } from '../index-C1SV-xXK.cjs';
|
|
3
3
|
import '@ai-matrx/agents/portable';
|
|
4
4
|
import '@ai-matrx/data';
|
|
5
5
|
import '@ai-matrx/agents/portable/mcp';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CodingSessionsMethod, a as CodingSessionsApi, b as CodingEvent, c as CodingSessionsEngine, d as CodingSessionsEngineOptions } from '../index-
|
|
2
|
-
export { e as CodingSessionsAgentsOptions } from '../index-
|
|
1
|
+
import { C as CodingSessionsMethod, a as CodingSessionsApi, b as CodingEvent, c as CodingSessionsEngine, d as CodingSessionsEngineOptions } from '../index-C1SV-xXK.js';
|
|
2
|
+
export { e as CodingSessionsAgentsOptions } from '../index-C1SV-xXK.js';
|
|
3
3
|
import '@ai-matrx/agents/portable';
|
|
4
4
|
import '@ai-matrx/data';
|
|
5
5
|
import '@ai-matrx/agents/portable/mcp';
|
package/dist/server/index.js
CHANGED
|
@@ -1424,6 +1424,7 @@ import path5 from "path";
|
|
|
1424
1424
|
|
|
1425
1425
|
// src/sessions/titles.ts
|
|
1426
1426
|
var TITLE_MAX = 300;
|
|
1427
|
+
var UNTITLED = "(untitled)";
|
|
1427
1428
|
var BRIDGE_PLACEHOLDER = /^AI Matrx · [a-z-]+$/;
|
|
1428
1429
|
var TITLE_PRECEDENCE = [
|
|
1429
1430
|
/** The person's rename inside Matrx (Coding Sessions' preference). */
|
|
@@ -1727,7 +1728,8 @@ async function describeCodex(candidate, names) {
|
|
|
1727
1728
|
}
|
|
1728
1729
|
}
|
|
1729
1730
|
if (isSubAgent) return null;
|
|
1730
|
-
const
|
|
1731
|
+
const found = resolveSessionTitle({ app: names.get(candidate.id), "first-prompt": firstPrompt });
|
|
1732
|
+
const resolved = found ?? (candidate.size > HEAD_BYTES ? { title: UNTITLED, source: "unknown" } : null);
|
|
1731
1733
|
if (!resolved) return null;
|
|
1732
1734
|
return {
|
|
1733
1735
|
provider: "codex",
|
|
@@ -2114,7 +2116,7 @@ function overlayHint(chat, hints, expected) {
|
|
|
2114
2116
|
if (!expected) return chat;
|
|
2115
2117
|
if (hints === null) return { ...chat, titlePending: true };
|
|
2116
2118
|
const hint = hints.get(titleHintKey(chat.provider, chat.providerSessionId));
|
|
2117
|
-
if (!hint) return chat;
|
|
2119
|
+
if (!hint) return chat.titleSource === "unknown" ? { ...chat, unlisted: true } : chat;
|
|
2118
2120
|
return {
|
|
2119
2121
|
...chat,
|
|
2120
2122
|
title: hint.title,
|