@cocorograph/hub-agent 0.8.80 → 0.8.81
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/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import path from "node:path"
|
|
2
2
|
import { listChatTargets } from "./chat-targets.mjs"
|
|
3
|
+
import { hubProjectsBase } from "./chat-workspace.mjs"
|
|
3
4
|
import { getChatSignal as defaultGetChatSignal } from "./chat-signals.mjs"
|
|
4
5
|
import { describeLiveSessionsUnion } from "./live-sessions.mjs"
|
|
5
6
|
import { sessionNameFor } from "./session-names.mjs"
|
|
@@ -142,5 +143,7 @@ export async function buildChatSessionsSnapshot({
|
|
|
142
143
|
)
|
|
143
144
|
if (replace) live[prior] = attachChatSignal(item, cwd, getChatSignal, logger)
|
|
144
145
|
}
|
|
145
|
-
|
|
146
|
+
// chat-targets.mjs の fs.readdir(hubProjectsBase()) と同じ絶対パスに揃える(~ は展開しない)。
|
|
147
|
+
const projects_base = path.resolve(hubProjectsBase())
|
|
148
|
+
return { targets, live, errors, projects_base }
|
|
146
149
|
}
|