dotmem 0.3.1 → 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 +23 -22
- package/OVERVIEW.md +3 -1
- package/README.md +11 -11
- package/agent.cjs +19624 -142
- package/agent.js +19613 -142
- package/bin/cli.cjs +98 -1
- package/bin/cli.js +89 -1
- package/bin/dotmem-burst-stats.cjs +850 -9
- package/bin/dotmem-burst-stats.js +827 -9
- package/bin/mcp.cjs +26 -1
- package/bin/mcp.js +20 -1
- package/built-in-context.json +2 -2
- package/cli.cjs +32979 -325
- package/cli.js +32924 -323
- package/env.cjs +6 -1
- package/env.js +4 -1
- package/global.cjs +19412 -142
- package/global.js +19379 -142
- package/index.cjs +24369 -176
- package/index.js +24309 -176
- package/mcp.cjs +26852 -211
- package/mcp.js +26813 -211
- package/package.json +1 -1
- package/types/global-types.d.ts +2 -0
- package/crew/CREW-CERTIFICATION-REPORT.md +0 -52
- package/crew/PHASE-1-DISCOVERY.md +0 -74
- package/crew/PHASE-2-SURFACE-ANALYSIS.md +0 -74
- package/crew/PHASE-3-IMPLEMENTATION-REPORT.md +0 -40
package/bin/mcp.cjs
CHANGED
|
@@ -1,2 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var process = require('process');
|
|
5
|
+
|
|
6
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
7
|
+
|
|
8
|
+
var process__default = /*#__PURE__*/_interopDefault(process);
|
|
9
|
+
|
|
10
|
+
var __origWarn = console.warn;
|
|
11
|
+
console.warn = (...args) => {
|
|
12
|
+
if (typeof args[0] === "string" && args[0].includes("Memorio IDB: IndexedDB is not available")) return;
|
|
13
|
+
__origWarn(...args);
|
|
14
|
+
};
|
|
15
|
+
var nodeMajorVersion = Number.parseInt(process__default.default.versions.node.split(".")[0] ?? "", 10);
|
|
16
|
+
if (!Number.isInteger(nodeMajorVersion) || nodeMajorVersion < 20) {
|
|
17
|
+
console.error("dotmem-mcp requires Node.js >=20; the normal dotmem runtime remains compatible with its declared Node.js version.");
|
|
18
|
+
process__default.default.exitCode = 1;
|
|
19
|
+
} else {
|
|
20
|
+
void (async () => {
|
|
21
|
+
const mcpModule = await import('../mcp.js');
|
|
22
|
+
await mcpModule.startDotMemMcpServer();
|
|
23
|
+
})().catch((error) => {
|
|
24
|
+
console.error(error instanceof Error ? error.message : String(error));
|
|
25
|
+
process__default.default.exitCode = 1;
|
|
26
|
+
});
|
|
27
|
+
}
|
package/bin/mcp.js
CHANGED
|
@@ -1,2 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
2
|
+
import process from 'process';
|
|
3
|
+
|
|
4
|
+
var __origWarn = console.warn;
|
|
5
|
+
console.warn = (...args) => {
|
|
6
|
+
if (typeof args[0] === "string" && args[0].includes("Memorio IDB: IndexedDB is not available")) return;
|
|
7
|
+
__origWarn(...args);
|
|
8
|
+
};
|
|
9
|
+
var nodeMajorVersion = Number.parseInt(process.versions.node.split(".")[0] ?? "", 10);
|
|
10
|
+
if (!Number.isInteger(nodeMajorVersion) || nodeMajorVersion < 20) {
|
|
11
|
+
console.error("dotmem-mcp requires Node.js >=20; the normal dotmem runtime remains compatible with its declared Node.js version.");
|
|
12
|
+
process.exitCode = 1;
|
|
13
|
+
} else {
|
|
14
|
+
void (async () => {
|
|
15
|
+
const mcpModule = await import('../mcp.js');
|
|
16
|
+
await mcpModule.startDotMemMcpServer();
|
|
17
|
+
})().catch((error) => {
|
|
18
|
+
console.error(error instanceof Error ? error.message : String(error));
|
|
19
|
+
process.exitCode = 1;
|
|
20
|
+
});
|
|
21
|
+
}
|
package/built-in-context.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": "dotmem.built-in-context",
|
|
3
3
|
"formatVersion": 1,
|
|
4
|
-
"sourceVersion": "0.3.
|
|
4
|
+
"sourceVersion": "0.3.2",
|
|
5
5
|
"buildFormatVersion": 1,
|
|
6
6
|
"documents": [
|
|
7
7
|
{
|
|
@@ -159,6 +159,6 @@
|
|
|
159
159
|
}
|
|
160
160
|
],
|
|
161
161
|
"manifestDigest": "sha256:08252706522dd233c77a6f93a5dc53db3a5567b46a2110e2cf3c4019c2348acb",
|
|
162
|
-
"aggregateDigest": "sha256:
|
|
162
|
+
"aggregateDigest": "sha256:6016fbf066ed22107bd72a206464deb1eb56d5ecf1c4db89ca91493ec851f989",
|
|
163
163
|
"documentCount": 17
|
|
164
164
|
}
|