@linxiraos/pi-mnemopi 1.1.12 → 1.1.13

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 CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [1.1.13] - 2026-09-10
6
+
7
+ - 上游 v18.1.16 同步,内部修复。
8
+
5
9
  ## [1.1.12] - 2026-09-10
6
10
 
7
11
  - 品牌与合并工具链维护版本;无本包用户可见变更。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@linxiraos/pi-mnemopi",
4
- "version": "1.1.12",
4
+ "version": "1.1.13",
5
5
  "description": "Local SQLite memory engine for Oh My Pi agents",
6
6
  "homepage": "https://linxira-os.github.io/zeta/",
7
7
  "author": "Can Boluk",
@@ -31,15 +31,18 @@
31
31
  "mnemopi": "src/cli.ts"
32
32
  },
33
33
  "scripts": {
34
- "check": "tsgo -p tsconfig.json --noEmit",
34
+ "check": "oxlint . && oxfmt --check --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx}' '{test,bench,examples,scripts}/**/*.ts' '*.ts' && bun run check:types",
35
35
  "check:types": "tsgo -p tsconfig.json --noEmit",
36
- "test": "bun test --parallel"
36
+ "lint": "oxlint .",
37
+ "test": "bun test --parallel",
38
+ "fix": "oxlint --fix --fix-suggestions . && bun run fmt",
39
+ "fmt": "oxfmt --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx}' '{test,bench,examples,scripts}/**/*.ts' '*.ts'"
37
40
  },
38
41
  "dependencies": {
39
- "@linxiraos/pi-ai": "1.1.12",
40
- "@linxiraos/pi-catalog": "1.1.12",
41
- "@linxiraos/pi-natives": "1.1.12",
42
- "@linxiraos/pi-utils": "1.1.12"
42
+ "@linxiraos/pi-ai": "1.1.13",
43
+ "@linxiraos/pi-catalog": "1.1.13",
44
+ "@linxiraos/pi-natives": "1.1.13",
45
+ "@linxiraos/pi-utils": "1.1.13"
43
46
  },
44
47
  "peerDependencies": {
45
48
  "fastembed": "2.1.0",
@@ -99,8 +99,10 @@ export interface RememberFacadeOptions {
99
99
  readonly memory_type?: string | null;
100
100
  }
101
101
 
102
- export interface RecallFacadeOptions
103
- extends Omit<RecallOptions, "temporalHalflife" | "vecWeight" | "ftsWeight" | "importanceWeight"> {
102
+ export interface RecallFacadeOptions extends Omit<
103
+ RecallOptions,
104
+ "temporalHalflife" | "vecWeight" | "ftsWeight" | "importanceWeight"
105
+ > {
104
106
  readonly from_date?: string | null;
105
107
  readonly to_date?: string | null;
106
108
  readonly source?: string | null;
@@ -212,7 +214,7 @@ function resolveRuntimeOptions(options: MnemopiOptions): ResolvedMnemopiRuntimeO
212
214
  const llmEnabled = hasOwn(options, "llmEnabled")
213
215
  ? options.llmEnabled
214
216
  : (nestedLlm?.enabled ??
215
- (nestedLlm?.baseUrl !== undefined ||
217
+ (nestedLlm?.baseUrl !== undefined ||
216
218
  nestedLlm?.apiKey !== undefined ||
217
219
  nestedLlm?.maxTokens !== undefined ||
218
220
  nestedLlm?.complete !== undefined ||
@@ -13,8 +13,7 @@ export interface OrchestratorBeam extends BeamMemoryState {
13
13
  }
14
14
 
15
15
  export interface OrchestrateRecallOptions
16
- extends Omit<RecallOptions, "queryEmbedding">,
17
- Omit<PolyphonicRecallOptions, "queryEmbedding"> {
16
+ extends Omit<RecallOptions, "queryEmbedding">, Omit<PolyphonicRecallOptions, "queryEmbedding"> {
18
17
  readonly queryEmbedding?: readonly number[] | Float32Array | null;
19
18
  readonly enhanced?: boolean;
20
19
  readonly forcePolyphonic?: boolean;