@remnic/cli 9.3.668 → 9.3.669
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/index.js +10 -4
- package/package.json +28 -28
package/dist/index.js
CHANGED
|
@@ -3110,8 +3110,13 @@ async function cmdImportLosslessClaw(argv, io, deps = {}) {
|
|
|
3110
3110
|
}
|
|
3111
3111
|
|
|
3112
3112
|
// src/index.ts
|
|
3113
|
-
var
|
|
3114
|
-
hostId
|
|
3113
|
+
var LazyPluginPiPublisher = class {
|
|
3114
|
+
constructor(hostId, select) {
|
|
3115
|
+
this.hostId = hostId;
|
|
3116
|
+
this.select = select;
|
|
3117
|
+
}
|
|
3118
|
+
hostId;
|
|
3119
|
+
select;
|
|
3115
3120
|
delegate;
|
|
3116
3121
|
async resolveExtensionRoot(env) {
|
|
3117
3122
|
return (await this.load()).resolveExtensionRoot(env);
|
|
@@ -3129,7 +3134,7 @@ var LazyPiMemoryExtensionPublisher = class {
|
|
|
3129
3134
|
return (await this.load()).unpublish();
|
|
3130
3135
|
}
|
|
3131
3136
|
async load() {
|
|
3132
|
-
this.delegate ??= loadPiPublisherModule().then((mod) => new
|
|
3137
|
+
this.delegate ??= loadPiPublisherModule().then((mod) => new (this.select(mod))()).catch((err) => {
|
|
3133
3138
|
this.delegate = void 0;
|
|
3134
3139
|
throw err;
|
|
3135
3140
|
});
|
|
@@ -3142,7 +3147,8 @@ async function loadPiPublisherModule() {
|
|
|
3142
3147
|
registerPublisher("codex", () => new CodexMemoryExtensionPublisher());
|
|
3143
3148
|
registerPublisher("claude-code", () => new ClaudeCodeMemoryExtensionPublisher());
|
|
3144
3149
|
registerPublisher("hermes", () => new HermesMemoryExtensionPublisher());
|
|
3145
|
-
registerPublisher("pi", () => new
|
|
3150
|
+
registerPublisher("pi", () => new LazyPluginPiPublisher("pi", (mod) => mod.PiMemoryExtensionPublisher));
|
|
3151
|
+
registerPublisher("omp", () => new LazyPluginPiPublisher("omp", (mod) => mod.OmpMemoryExtensionPublisher));
|
|
3146
3152
|
function readCompatEnv(primary, legacy) {
|
|
3147
3153
|
return process.env[primary] ?? process.env[legacy];
|
|
3148
3154
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/cli",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.669",
|
|
4
4
|
"description": "CLI for Remnic memory — init, query, doctor, daemon management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -26,23 +26,23 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"yaml": "^2.4.2",
|
|
29
|
-
"@remnic/
|
|
30
|
-
"@remnic/
|
|
31
|
-
"@remnic/
|
|
29
|
+
"@remnic/plugin-pi": "^9.3.669",
|
|
30
|
+
"@remnic/core": "^9.3.669",
|
|
31
|
+
"@remnic/server": "^9.3.669"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@remnic/bench": "^9.3.
|
|
35
|
-
"@remnic/export-weclone": "^9.3.
|
|
36
|
-
"@remnic/import-weclone": "^9.3.
|
|
37
|
-
"@remnic/import-chatgpt": "^9.3.
|
|
38
|
-
"@remnic/import-claude": "^9.3.
|
|
39
|
-
"@remnic/import-gemini": "^9.3.
|
|
40
|
-
"@remnic/import-lossless-claw": "^9.3.
|
|
41
|
-
"@remnic/import-mem0": "^9.3.
|
|
42
|
-
"@remnic/import-supermemory": "^9.3.
|
|
43
|
-
"@remnic/connector-limitless": "^9.3.
|
|
44
|
-
"@remnic/connector-bee": "^9.3.
|
|
45
|
-
"@remnic/connector-omi": "^9.3.
|
|
34
|
+
"@remnic/bench": "^9.3.669",
|
|
35
|
+
"@remnic/export-weclone": "^9.3.669",
|
|
36
|
+
"@remnic/import-weclone": "^9.3.669",
|
|
37
|
+
"@remnic/import-chatgpt": "^9.3.669",
|
|
38
|
+
"@remnic/import-claude": "^9.3.669",
|
|
39
|
+
"@remnic/import-gemini": "^9.3.669",
|
|
40
|
+
"@remnic/import-lossless-claw": "^9.3.669",
|
|
41
|
+
"@remnic/import-mem0": "^9.3.669",
|
|
42
|
+
"@remnic/import-supermemory": "^9.3.669",
|
|
43
|
+
"@remnic/connector-limitless": "^9.3.669",
|
|
44
|
+
"@remnic/connector-bee": "^9.3.669",
|
|
45
|
+
"@remnic/connector-omi": "^9.3.669"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
48
|
"@remnic/bench": {
|
|
@@ -85,18 +85,18 @@
|
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"tsup": "^8.5.1",
|
|
87
87
|
"typescript": "^5.9.3",
|
|
88
|
-
"@remnic/bench": "9.3.
|
|
89
|
-
"@remnic/export-weclone": "9.3.
|
|
90
|
-
"@remnic/import-weclone": "9.3.
|
|
91
|
-
"@remnic/import-chatgpt": "9.3.
|
|
92
|
-
"@remnic/import-claude": "9.3.
|
|
93
|
-
"@remnic/import-
|
|
94
|
-
"@remnic/import-lossless-claw": "9.3.
|
|
95
|
-
"@remnic/import-
|
|
96
|
-
"@remnic/import-
|
|
97
|
-
"@remnic/connector-
|
|
98
|
-
"@remnic/connector-
|
|
99
|
-
"@remnic/connector-
|
|
88
|
+
"@remnic/bench": "9.3.669",
|
|
89
|
+
"@remnic/export-weclone": "9.3.669",
|
|
90
|
+
"@remnic/import-weclone": "9.3.669",
|
|
91
|
+
"@remnic/import-chatgpt": "9.3.669",
|
|
92
|
+
"@remnic/import-claude": "9.3.669",
|
|
93
|
+
"@remnic/import-mem0": "9.3.669",
|
|
94
|
+
"@remnic/import-lossless-claw": "9.3.669",
|
|
95
|
+
"@remnic/import-supermemory": "9.3.669",
|
|
96
|
+
"@remnic/import-gemini": "9.3.669",
|
|
97
|
+
"@remnic/connector-limitless": "9.3.669",
|
|
98
|
+
"@remnic/connector-omi": "9.3.669",
|
|
99
|
+
"@remnic/connector-bee": "9.3.669"
|
|
100
100
|
},
|
|
101
101
|
"license": "MIT",
|
|
102
102
|
"repository": {
|