@tekmidian/pai 0.8.1 → 0.8.3
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/dist/cli/index.mjs
CHANGED
|
@@ -3793,7 +3793,7 @@ function cmdLogs(opts) {
|
|
|
3793
3793
|
}
|
|
3794
3794
|
function registerDaemonCommands(daemonCmd) {
|
|
3795
3795
|
daemonCmd.command("serve").description("Start the PAI daemon in the foreground").action(async () => {
|
|
3796
|
-
const { serve } = await import("../daemon-
|
|
3796
|
+
const { serve } = await import("../daemon-Ds9dTptY.mjs").then((n) => n.t);
|
|
3797
3797
|
const { loadConfig: lc, ensureConfigDir } = await import("../config-BuhHWyOK.mjs").then((n) => n.r);
|
|
3798
3798
|
ensureConfigDir();
|
|
3799
3799
|
await serve(lc());
|
package/dist/daemon/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import "../indexer-D53l5d1U.mjs";
|
|
|
8
8
|
import { t as PaiClient } from "../ipc-client-CoyUHPod.mjs";
|
|
9
9
|
import { i as ensureConfigDir, o as loadConfig } from "../config-BuhHWyOK.mjs";
|
|
10
10
|
import "../factory-Ygqe_bVZ.mjs";
|
|
11
|
-
import { n as serve } from "../daemon-
|
|
11
|
+
import { n as serve } from "../daemon-Ds9dTptY.mjs";
|
|
12
12
|
import "../state-C6_vqz7w.mjs";
|
|
13
13
|
import "../tools-DcaJlYDN.mjs";
|
|
14
14
|
import "../detector-jGBuYQJM.mjs";
|
|
@@ -1899,7 +1899,7 @@ function computeTopicOverlap(topicA, topicB) {
|
|
|
1899
1899
|
return union > 0 ? intersection / union : 0;
|
|
1900
1900
|
}
|
|
1901
1901
|
/** Threshold: below this overlap ratio, we consider topics different. */
|
|
1902
|
-
const TOPIC_OVERLAP_THRESHOLD = .
|
|
1902
|
+
const TOPIC_OVERLAP_THRESHOLD = .15;
|
|
1903
1903
|
/**
|
|
1904
1904
|
* Write (or update) the session note with the AI-generated summary.
|
|
1905
1905
|
*
|
|
@@ -3043,4 +3043,4 @@ var daemon_exports = /* @__PURE__ */ __exportAll({ serve: () => serve });
|
|
|
3043
3043
|
|
|
3044
3044
|
//#endregion
|
|
3045
3045
|
export { serve as n, daemon_exports as t };
|
|
3046
|
-
//# sourceMappingURL=daemon-
|
|
3046
|
+
//# sourceMappingURL=daemon-Ds9dTptY.mjs.map
|