engine7 7.1.140 → 7.1.142
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/bg-worker.mjs +16 -4
- package/dist/cli.mjs +4003 -1168
- package/dist/engine-startup.mjs +3136 -2143
- package/dist/main.mjs +3142 -2149
- package/dist/recall-worker.mjs +14 -2
- package/dist/sqlite-maintenance-worker.mjs +1 -1
- package/dist/topics-worker.mjs +56 -10
- package/dist/travel-activation-database.mjs +1077 -0
- package/dist/travel-authority.mjs +9 -3
- package/dist/travel-console.mjs +29 -17
- package/dist/travel-controller.mjs +16 -4
- package/dist/travel-data.mjs +364 -266
- package/dist/travel-gateway.mjs +559 -147
- package/dist/travel-host.mjs +1779 -1643
- package/dist/travel-initial-baseline.mjs +5961 -0
- package/dist/travel-node-data.mjs +149 -46
- package/dist/travel-node.mjs +1471 -1246
- package/dist/travel-pairing.mjs +562 -149
- package/dist/web-console.mjs +1065 -1449
- package/dlls/win32/msvcp140.dll +0 -0
- package/dlls/win32/vcruntime140.dll +0 -0
- package/dlls/win32/vcruntime140_1.dll +0 -0
- package/package.json +5 -3
package/dist/bg-worker.mjs
CHANGED
|
@@ -33067,10 +33067,22 @@ var init_reader = __esm({
|
|
|
33067
33067
|
|
|
33068
33068
|
// src/memory/topics-history/import-mem7.ts
|
|
33069
33069
|
import { DatabaseSync as DatabaseSync20 } from "node:sqlite";
|
|
33070
|
-
import { existsSync as existsSync23, writeFileSync as writeFileSync15 } from "node:fs";
|
|
33070
|
+
import { existsSync as existsSync23, renameSync as renameSync11, writeFileSync as writeFileSync15 } from "node:fs";
|
|
33071
33071
|
import { join as join48 } from "node:path";
|
|
33072
33072
|
function topicsImported(binding) {
|
|
33073
|
-
|
|
33073
|
+
if (!binding.stateDir) return false;
|
|
33074
|
+
const marker = join48(topicsHistoryRoot(binding), "topics-import.json");
|
|
33075
|
+
if (!existsSync23(marker)) return false;
|
|
33076
|
+
try {
|
|
33077
|
+
const done = readJson(marker);
|
|
33078
|
+
if ((done.report?.total ?? 0) > 0) return true;
|
|
33079
|
+
const retired = join48(topicsHistoryRoot(binding), `topics-import.degenerate-${(/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/g, "-")}.json`);
|
|
33080
|
+
renameSync11(marker, retired);
|
|
33081
|
+
console.warn(`[topics-import] total=0 \u5B8C\u6210\u6E05\u5355\u4F5C\u5E9F\uFF08\u6E05\u6D17\u9000\u5316\u5047\u5B8C\u6210\uFF0C\u95F8\u95E8\u91CD\u5F00\uFF09\u2192 ${retired}`);
|
|
33082
|
+
} catch {
|
|
33083
|
+
return false;
|
|
33084
|
+
}
|
|
33085
|
+
return false;
|
|
33074
33086
|
}
|
|
33075
33087
|
var init_import_mem7 = __esm({
|
|
33076
33088
|
"src/memory/topics-history/import-mem7.ts"() {
|
|
@@ -33978,7 +33990,7 @@ function prepareRoutedRelationshipNotifications(store, forbiddenTargets, sendabl
|
|
|
33978
33990
|
store.relationshipNotices.waitForRoute(scope, notice.id);
|
|
33979
33991
|
continue;
|
|
33980
33992
|
}
|
|
33981
|
-
const groupBlocked = route.channelType
|
|
33993
|
+
const groupBlocked = route.channelType !== "dm" || Boolean(forbiddenTargets?.has(route.channelTarget));
|
|
33982
33994
|
if (!groupBlocked && notice.state !== "queued" && !store.transaction(() => store.relationshipNotices.queue(scope, notice.id))) continue;
|
|
33983
33995
|
prepared.push({ notification: groupBlocked ? notice : store.relationshipNotices.get(scope, notice.id), route, groupBlocked });
|
|
33984
33996
|
}
|
|
@@ -35014,7 +35026,7 @@ init_schema_migrations();
|
|
|
35014
35026
|
// src/continuity/inventory.ts
|
|
35015
35027
|
import { isAbsolute as isAbsolute4, join as join42, relative as relative6, resolve as resolve16, sep as sep4 } from "node:path";
|
|
35016
35028
|
var STATE = new Set(`workspace agents auth configs cron media mem7 memory runtime session-memory steer tasks teams todos tools topics topics-history .everos .calendar calendar proactive skills prompts goals.json goal-events.jsonl SESSION-STATE.md install-identity.json license.json report-failures.jsonl report-state.json service-suggestions.json weixin cc-driver engines.json settings.json onboarding.json onboarding-tips.json remote-watchers.json plans telegram state`.split(" "));
|
|
35017
|
-
var CORE_DIRECTORIES = new Set(`agents auth configs cron mem7 memory runtime session-memory steer tasks teams todos tools .everos .calendar calendar .proactive proactive skills prompts .nudge hooks inner-voice goals plans private scripts state .voice-chat .desktopBuddy body`.split(" "));
|
|
35029
|
+
var CORE_DIRECTORIES = new Set(`agents auth configs cron mem7 memory runtime session-memory steer tasks teams todos tools .everos .calendar calendar .proactive proactive skills prompts topics .nudge hooks inner-voice goals plans private scripts state .voice-chat .desktopBuddy body`.split(" "));
|
|
35018
35030
|
var CORE_OMITTED = new Set(`media images videos audio content content-library docs output outputs dogfood-output backup backups topics-history node_modules .venvs venv .venv asr .cache cache caches tmp temp .playwright-mcp lancedb`.split(" "));
|
|
35019
35031
|
function isWithin(root, candidate) {
|
|
35020
35032
|
const rel = relative6(resolve16(root), resolve16(candidate));
|