metainsight-context-engine 0.0.8 → 0.0.10
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/README.md +8 -8
- package/cos-bootstrap.ts +864 -0
- package/cos-operations.ts +780 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +29 -2
- package/dist/index.js.map +1 -1
- package/engine.ts +259 -0
- package/index.ts +1528 -0
- package/local-memory-sync.ts +1361 -0
- package/openclaw.plugin.json +2 -2
- package/package.json +4 -2
- package/types/openclaw-plugin-sdk.d.ts +103 -0
- package/types/pi-agent-core.d.ts +10 -0
package/README.md
CHANGED
|
@@ -90,8 +90,8 @@ npm install --omit=dev
|
|
|
90
90
|
|
|
91
91
|
// === 可选(建议不填, 以下均为默认值)===
|
|
92
92
|
"bucket": "openclaw-metainsight", // 推荐留空或使用默认值,插件会自动创建
|
|
93
|
-
"region": "ap-beijing",
|
|
94
|
-
"datasetName": "
|
|
93
|
+
"region": "ap-beijing", // 推荐留空或使用默认值,插件会自动创建
|
|
94
|
+
"datasetName": "", // 推荐留空或使用默认值,插件会自动创建
|
|
95
95
|
"agentId": "", // 默认取当前 agent 上下文中的 agentId
|
|
96
96
|
"memoryAutoRecall": true,
|
|
97
97
|
"localMemorySync": true,
|
|
@@ -120,12 +120,12 @@ npm install --omit=dev
|
|
|
120
120
|
|
|
121
121
|
#### 核心配置(建议不填, 使用插件全自动处理)
|
|
122
122
|
|
|
123
|
-
| 配置项 | 类型 | 默认值
|
|
124
|
-
| ------------- | ------ |
|
|
125
|
-
| `agentId` | string | `""`
|
|
126
|
-
| `bucket` | string | `openclaw-metainsight`
|
|
127
|
-
| `region` | string | `ap-beijing`
|
|
128
|
-
| `datasetName` | string | `
|
|
123
|
+
| 配置项 | 类型 | 默认值 | 说明 |
|
|
124
|
+
| ------------- | ------ | ---------------------- | ----------------------------------------------------------------------------------------- |
|
|
125
|
+
| `agentId` | string | `""` | Agent ID,用于多 agent 数据隔离。留空则自动取当前 agent 上下文中的 agentId |
|
|
126
|
+
| `bucket` | string | `openclaw-metainsight` | COS 存储桶名称(**推荐使用默认值,插件自动创建**;手动指定需确保地域一致) |
|
|
127
|
+
| `region` | string | `ap-beijing` | COS 区域,仅支持 `ap-beijing` / `ap-shanghai` / `ap-chengdu` |
|
|
128
|
+
| `datasetName` | string | `""` | CI 数据集名称(**推荐使用默认值,插件自动创建**;手动指定需确保与存储桶同地域且正确绑定) |
|
|
129
129
|
|
|
130
130
|
#### 记忆召回(建议不填, 使用插件全自动处理)
|
|
131
131
|
|