engine7 7.1.30 → 7.1.32
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.mjs +8 -12
- package/dist/engine-startup.mjs +1205 -1669
- package/dist/main.mjs +1219 -1683
- package/package.json +59 -59
- package/src/memory/everos/python/__pycache__/agentic_search.cpython-314.pyc +0 -0
- package/src/memory/everos/python/__pycache__/agentic_server.cpython-314.pyc +0 -0
- package/src/memory/everos/python/agentic_search.py +6 -1
package/dist/cli.mjs
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
+
const require=(await import('node:module')).createRequire(import.meta.url)
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
|
-
var __esm = (fn, res
|
|
4
|
-
|
|
5
|
-
try {
|
|
6
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
7
|
-
} catch (e) {
|
|
8
|
-
throw err = [e], e;
|
|
9
|
-
}
|
|
4
|
+
var __esm = (fn, res) => function __init() {
|
|
5
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
10
6
|
};
|
|
11
7
|
var __export = (target, all) => {
|
|
12
8
|
for (var name in all)
|
|
@@ -188,8 +184,8 @@ function collectRecentSessions(agentsDir, _days = 7) {
|
|
|
188
184
|
}
|
|
189
185
|
async function doExport(opts) {
|
|
190
186
|
const { agentName, stateDir, note, dryRun: dryRun2 } = opts;
|
|
191
|
-
const workspace = opts.workspace || path.join(stateDir, "workspace");
|
|
192
|
-
const engineHome = path.join(os.homedir(), ".engine7");
|
|
187
|
+
const workspace = (opts.workspace || path.join(stateDir, "workspace")).replace(/[/\\]+$/, "");
|
|
188
|
+
const engineHome = path.join(os.homedir(), ".engine7").replace(/[/\\]+$/, "");
|
|
193
189
|
console.log(`\u{1F4E6} engine7 export`);
|
|
194
190
|
console.log(` agent: ${agentName}`);
|
|
195
191
|
console.log(` state: ${stateDir}`);
|
|
@@ -331,9 +327,9 @@ async function doImport(opts) {
|
|
|
331
327
|
process.exit(1);
|
|
332
328
|
}
|
|
333
329
|
const manifest = JSON.parse(fs.readFileSync(manifestPath, "utf-8"));
|
|
334
|
-
const workspace = path.join(stateDir, "workspace").replace(/\\/g, "/");
|
|
335
|
-
const engineHome = path.join(os.homedir(), ".engine7").replace(/\\/g, "/");
|
|
336
|
-
const dirs = { workspace, stateDir: stateDir.replace(/\\/g, "/"), engineHome };
|
|
330
|
+
const workspace = path.join(stateDir, "workspace").replace(/\\/g, "/").replace(/[/\\]+$/, "");
|
|
331
|
+
const engineHome = path.join(os.homedir(), ".engine7").replace(/\\/g, "/").replace(/[/\\]+$/, "");
|
|
332
|
+
const dirs = { workspace, stateDir: stateDir.replace(/\\/g, "/").replace(/[/\\]+$/, ""), engineHome };
|
|
337
333
|
console.log(` \u7248\u672C: ${manifest.version}`);
|
|
338
334
|
console.log(` \u521B\u5EFA: ${manifest.createdAt}`);
|
|
339
335
|
console.log(` \u6587\u4EF6\u6570: ${manifest.fileCount}`);
|