@ai-agent-forge/plugin-memory 0.88.12 → 0.88.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/agent-forge.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "packageFormatVersion": 1,
3
3
  "id": "agent-forge.plugin.memory",
4
- "pluginVersion": "0.88.12",
4
+ "pluginVersion": "0.88.13",
5
5
  "apiVersion": "1",
6
6
  "minHostVersion": "0.84.4",
7
7
  "platform": {
@@ -11232,6 +11232,27 @@ var ArtifactTokenIssueCommandSchema = StrictObject({
11232
11232
  sessionId: IdSchema,
11233
11233
  artifactId: IdSchema
11234
11234
  });
11235
+ var ArtifactListCommandSchema = StrictObject({
11236
+ command: build_default.Literal("artifact_list"),
11237
+ sessionId: IdSchema
11238
+ });
11239
+ var FileSearchCommandSchema = StrictObject({
11240
+ command: build_default.Literal("file_search"),
11241
+ sessionId: IdSchema,
11242
+ // 空串合法=预览模式(@ 触发即展示前 limit 条,mock 与组件契约同语义)。
11243
+ query: build_default.String(),
11244
+ limit: build_default.Optional(build_default.Integer({ minimum: 1, maximum: 50 }))
11245
+ });
11246
+ var FileSearchResultSchema = StrictObject({
11247
+ command: build_default.Literal("file_search"),
11248
+ results: build_default.Array(
11249
+ StrictObject({
11250
+ name: build_default.String(),
11251
+ path: build_default.String()
11252
+ })
11253
+ ),
11254
+ truncated: build_default.Boolean()
11255
+ });
11235
11256
  var LeaseRenewCommandSchema = StrictObject({
11236
11257
  command: build_default.Literal("lease_renew"),
11237
11258
  sessionId: IdSchema
@@ -11274,6 +11295,8 @@ var CommandSchema = build_default.Union([
11274
11295
  ArtifactStatCommandSchema,
11275
11296
  ArtifactReadCommandSchema,
11276
11297
  ArtifactTokenIssueCommandSchema,
11298
+ ArtifactListCommandSchema,
11299
+ FileSearchCommandSchema,
11277
11300
  LeaseRenewCommandSchema,
11278
11301
  OperationSubmitCommandSchema,
11279
11302
  OperationCancelCommandSchema,
@@ -11340,6 +11363,10 @@ var ArtifactTokenIssueResultSchema = StrictObject({
11340
11363
  sessionId: IdSchema,
11341
11364
  artifactId: IdSchema
11342
11365
  });
11366
+ var ArtifactListResultSchema = StrictObject({
11367
+ command: build_default.Literal("artifact_list"),
11368
+ artifacts: build_default.Array(ArtifactRefSchema)
11369
+ });
11343
11370
  var ReplayEventSchema = StrictObject({
11344
11371
  cursor: build_default.Integer({ minimum: 1 }),
11345
11372
  event: build_default.Union([
@@ -11388,6 +11415,8 @@ var CommandResultSchema = build_default.Union([
11388
11415
  ArtifactStatResultSchema,
11389
11416
  ArtifactReadResultSchema,
11390
11417
  ArtifactTokenIssueResultSchema,
11418
+ ArtifactListResultSchema,
11419
+ FileSearchResultSchema,
11391
11420
  OperationAckResultSchema
11392
11421
  ]);
11393
11422
  var ClientHelloSchema = StrictObject({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-agent-forge/plugin-memory",
3
- "version": "0.88.12",
3
+ "version": "0.88.13",
4
4
  "description": "First-party memory capability plugin for Agent Forge (memory_write/recall/list/forget over the M5 Memory Foundation)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -48,7 +48,7 @@
48
48
  "@huggingface/transformers": "4.3.0",
49
49
  "@lancedb/lancedb": "0.39.0",
50
50
  "typebox": "1.3.27",
51
- "@ai-agent-forge/plugin-sdk": "^0.88.12"
51
+ "@ai-agent-forge/plugin-sdk": "^0.88.13"
52
52
  },
53
53
  "devDependencies": {
54
54
  "shx": "0.3.4",
package/plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "agent-forge.plugin.memory",
3
- "version": "0.88.12",
3
+ "version": "0.88.13",
4
4
  "apiVersion": "1-draft",
5
5
  "entry": "./dist/entry.js",
6
6
  "hostVersion": ">=0.84.4",