@remnic/cli 9.45.2 → 9.45.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.
Files changed (2) hide show
  1. package/dist/index.js +23 -3
  2. package/package.json +29 -29
package/dist/index.js CHANGED
@@ -138,6 +138,7 @@ import {
138
138
  OPERATION_NAMES,
139
139
  validateCapabilitiesForMint
140
140
  } from "@remnic/core";
141
+ import { resolveRemnicPluginEntry } from "@remnic/core/plugin-id.js";
141
142
 
142
143
  // src/commands/meetings.ts
143
144
  import fs from "fs";
@@ -7748,6 +7749,26 @@ async function writeBenchReproManifestForPackageRun(args) {
7748
7749
  console.warn(`WARNING: failed to write reproducibility manifest: ${message}`);
7749
7750
  }
7750
7751
  }
7752
+ function loadStandaloneConvergeCommandConfig() {
7753
+ const configPath = resolveConfigPath();
7754
+ const raw = fs12.existsSync(configPath) ? JSON.parse(fs12.readFileSync(configPath, "utf8")) : {};
7755
+ return parseConfig5(resolveRemnicConfigRecord4(raw));
7756
+ }
7757
+ function parseConvergePluginConfig(value) {
7758
+ if (value === null || typeof value !== "object" || Array.isArray(value)) return void 0;
7759
+ if (Object.keys(value).length === 0) return void 0;
7760
+ return parseConfig5(resolveRemnicConfigRecord4(value));
7761
+ }
7762
+ function loadConvergeCommandConfig() {
7763
+ if (readCompatEnv("REMNIC_CONFIG_PATH", "ENGRAM_CONFIG_PATH")) {
7764
+ return loadStandaloneConvergeCommandConfig();
7765
+ }
7766
+ const openclawConfig = readOpenclawConfig(resolveOpenclawConfigPath());
7767
+ const pluginEntry = resolveRemnicPluginEntry(openclawConfig);
7768
+ const pluginConfig = parseConvergePluginConfig(pluginEntry?.["config"]);
7769
+ if (pluginConfig) return pluginConfig;
7770
+ return loadStandaloneConvergeCommandConfig();
7771
+ }
7751
7772
  function resolveConfigPath(cliPath) {
7752
7773
  if (cliPath) return path15.resolve(expandTilde(cliPath));
7753
7774
  const envPath = readCompatEnv("REMNIC_CONFIG_PATH", "ENGRAM_CONFIG_PATH");
@@ -14561,9 +14582,7 @@ Options:
14561
14582
  await cmdConverge(action, args, json);
14562
14583
  break;
14563
14584
  }
14564
- const configPath = resolveConfigPath();
14565
- const raw = fs12.existsSync(configPath) ? JSON.parse(fs12.readFileSync(configPath, "utf8")) : {};
14566
- const config = parseConfig5(resolveRemnicConfigRecord4(raw));
14585
+ const config = loadConvergeCommandConfig();
14567
14586
  await cmdConverge(action, args, json, config);
14568
14587
  break;
14569
14588
  }
@@ -15101,6 +15120,7 @@ export {
15101
15120
  hydrateOfflineSnapshotContent,
15102
15121
  isOfflineMissingContentDeferrablePath,
15103
15122
  isOfflineSnapshotPostFallbackError,
15123
+ loadConvergeCommandConfig,
15104
15124
  main,
15105
15125
  offlinePartialHydrationForPaths,
15106
15126
  offlineSnapshotBasePostBody,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnic/cli",
3
- "version": "9.45.2",
3
+ "version": "9.45.3",
4
4
  "description": "CLI for Remnic memory — init, query, doctor, daemon management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -26,24 +26,24 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "yaml": "^2.4.2",
29
- "@remnic/server": "^9.45.2",
30
- "@remnic/core": "^9.45.2",
31
- "@remnic/plugin-pi": "^9.45.2"
29
+ "@remnic/plugin-pi": "^9.45.3",
30
+ "@remnic/server": "^9.45.3",
31
+ "@remnic/core": "^9.45.3"
32
32
  },
33
33
  "peerDependencies": {
34
- "@remnic/bench": "^9.45.2",
35
- "@remnic/export-weclone": "^9.45.2",
36
- "@remnic/import-weclone": "^9.45.2",
37
- "@remnic/import-chatgpt": "^9.45.2",
38
- "@remnic/import-claude": "^9.45.2",
39
- "@remnic/import-gemini": "^9.45.2",
40
- "@remnic/import-lossless-claw": "^9.45.2",
41
- "@remnic/import-mem0": "^9.45.2",
42
- "@remnic/import-supermemory": "^9.45.2",
43
- "@remnic/connector-limitless": "^9.45.2",
44
- "@remnic/connector-bee": "^9.45.2",
45
- "@remnic/connector-omi": "^9.45.2",
46
- "@remnic/capture-audio": "^9.45.2"
34
+ "@remnic/bench": "^9.45.3",
35
+ "@remnic/export-weclone": "^9.45.3",
36
+ "@remnic/import-weclone": "^9.45.3",
37
+ "@remnic/import-chatgpt": "^9.45.3",
38
+ "@remnic/import-claude": "^9.45.3",
39
+ "@remnic/import-gemini": "^9.45.3",
40
+ "@remnic/import-lossless-claw": "^9.45.3",
41
+ "@remnic/import-mem0": "^9.45.3",
42
+ "@remnic/import-supermemory": "^9.45.3",
43
+ "@remnic/connector-limitless": "^9.45.3",
44
+ "@remnic/connector-bee": "^9.45.3",
45
+ "@remnic/connector-omi": "^9.45.3",
46
+ "@remnic/capture-audio": "^9.45.3"
47
47
  },
48
48
  "peerDependenciesMeta": {
49
49
  "@remnic/bench": {
@@ -89,18 +89,18 @@
89
89
  "devDependencies": {
90
90
  "tsup": "^8.5.1",
91
91
  "typescript": "^5.9.3",
92
- "@remnic/bench": "9.45.2",
93
- "@remnic/export-weclone": "9.45.2",
94
- "@remnic/import-claude": "9.45.2",
95
- "@remnic/import-gemini": "9.45.2",
96
- "@remnic/import-weclone": "9.45.2",
97
- "@remnic/import-lossless-claw": "9.45.2",
98
- "@remnic/import-supermemory": "9.45.2",
99
- "@remnic/connector-limitless": "9.45.2",
100
- "@remnic/import-mem0": "9.45.2",
101
- "@remnic/import-chatgpt": "9.45.2",
102
- "@remnic/connector-omi": "9.45.2",
103
- "@remnic/connector-bee": "9.45.2"
92
+ "@remnic/bench": "9.45.3",
93
+ "@remnic/export-weclone": "9.45.3",
94
+ "@remnic/import-weclone": "9.45.3",
95
+ "@remnic/import-chatgpt": "9.45.3",
96
+ "@remnic/import-gemini": "9.45.3",
97
+ "@remnic/import-claude": "9.45.3",
98
+ "@remnic/import-lossless-claw": "9.45.3",
99
+ "@remnic/import-supermemory": "9.45.3",
100
+ "@remnic/connector-limitless": "9.45.3",
101
+ "@remnic/import-mem0": "9.45.3",
102
+ "@remnic/connector-omi": "9.45.3",
103
+ "@remnic/connector-bee": "9.45.3"
104
104
  },
105
105
  "license": "MIT",
106
106
  "repository": {