@alfe.ai/openclaw-identity 0.1.30 → 0.1.32
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/plugin2.cjs +26 -1
- package/dist/plugin2.js +26 -1
- package/openclaw.plugin.json +1 -0
- package/package.json +2 -2
package/dist/plugin2.cjs
CHANGED
|
@@ -289,7 +289,7 @@ const plugin = {
|
|
|
289
289
|
}),
|
|
290
290
|
(0, _alfe_ai_openclaw_plugin_kit.defineTool)({
|
|
291
291
|
name: "lookup_identity",
|
|
292
|
-
description: "Search
|
|
292
|
+
description: "Search the bounded recent identity set by case-sensitive name prefix. Returns multiple matches. Use list_identities to browse the full tenant directory.",
|
|
293
293
|
parameters: _sinclair_typebox.Type.Object({
|
|
294
294
|
query: _sinclair_typebox.Type.Optional(_sinclair_typebox.Type.String({
|
|
295
295
|
description: "Text search query",
|
|
@@ -307,6 +307,31 @@ const plugin = {
|
|
|
307
307
|
status: params.status
|
|
308
308
|
})
|
|
309
309
|
}),
|
|
310
|
+
(0, _alfe_ai_openclaw_plugin_kit.defineTool)({
|
|
311
|
+
name: "list_identities",
|
|
312
|
+
description: "List people known to this tenant as safe identity summaries, newest-seen first. This is cursor-paginated: keep calling with the returned cursor until cursor is null, even if an intermediate page is empty. The directory can include external contacts; messageable is advisory and message_identity performs the current organization-membership check.",
|
|
313
|
+
parameters: _sinclair_typebox.Type.Object({
|
|
314
|
+
status: _sinclair_typebox.Type.Optional(_sinclair_typebox.Type.Union([
|
|
315
|
+
_sinclair_typebox.Type.Literal("anonymous"),
|
|
316
|
+
_sinclair_typebox.Type.Literal("partial"),
|
|
317
|
+
_sinclair_typebox.Type.Literal("identified"),
|
|
318
|
+
_sinclair_typebox.Type.Literal("verified")
|
|
319
|
+
])),
|
|
320
|
+
limit: _sinclair_typebox.Type.Optional(_sinclair_typebox.Type.Integer({
|
|
321
|
+
minimum: 1,
|
|
322
|
+
maximum: 100
|
|
323
|
+
})),
|
|
324
|
+
cursor: _sinclair_typebox.Type.Optional(_sinclair_typebox.Type.String({
|
|
325
|
+
description: "Opaque cursor returned by the previous page",
|
|
326
|
+
maxLength: 8192
|
|
327
|
+
}))
|
|
328
|
+
}),
|
|
329
|
+
handler: (params) => client.listIdentities({
|
|
330
|
+
status: params.status,
|
|
331
|
+
limit: params.limit,
|
|
332
|
+
cursor: params.cursor
|
|
333
|
+
})
|
|
334
|
+
}),
|
|
310
335
|
(0, _alfe_ai_openclaw_plugin_kit.defineTool)({
|
|
311
336
|
name: "merge_identities",
|
|
312
337
|
description: "Merge two identity records — transfers contacts, platforms, notes, tags, aliases to the survivor. Hard-move, transactional.",
|
package/dist/plugin2.js
CHANGED
|
@@ -289,7 +289,7 @@ const plugin = {
|
|
|
289
289
|
}),
|
|
290
290
|
defineTool({
|
|
291
291
|
name: "lookup_identity",
|
|
292
|
-
description: "Search
|
|
292
|
+
description: "Search the bounded recent identity set by case-sensitive name prefix. Returns multiple matches. Use list_identities to browse the full tenant directory.",
|
|
293
293
|
parameters: Type.Object({
|
|
294
294
|
query: Type.Optional(Type.String({
|
|
295
295
|
description: "Text search query",
|
|
@@ -307,6 +307,31 @@ const plugin = {
|
|
|
307
307
|
status: params.status
|
|
308
308
|
})
|
|
309
309
|
}),
|
|
310
|
+
defineTool({
|
|
311
|
+
name: "list_identities",
|
|
312
|
+
description: "List people known to this tenant as safe identity summaries, newest-seen first. This is cursor-paginated: keep calling with the returned cursor until cursor is null, even if an intermediate page is empty. The directory can include external contacts; messageable is advisory and message_identity performs the current organization-membership check.",
|
|
313
|
+
parameters: Type.Object({
|
|
314
|
+
status: Type.Optional(Type.Union([
|
|
315
|
+
Type.Literal("anonymous"),
|
|
316
|
+
Type.Literal("partial"),
|
|
317
|
+
Type.Literal("identified"),
|
|
318
|
+
Type.Literal("verified")
|
|
319
|
+
])),
|
|
320
|
+
limit: Type.Optional(Type.Integer({
|
|
321
|
+
minimum: 1,
|
|
322
|
+
maximum: 100
|
|
323
|
+
})),
|
|
324
|
+
cursor: Type.Optional(Type.String({
|
|
325
|
+
description: "Opaque cursor returned by the previous page",
|
|
326
|
+
maxLength: 8192
|
|
327
|
+
}))
|
|
328
|
+
}),
|
|
329
|
+
handler: (params) => client.listIdentities({
|
|
330
|
+
status: params.status,
|
|
331
|
+
limit: params.limit,
|
|
332
|
+
cursor: params.cursor
|
|
333
|
+
})
|
|
334
|
+
}),
|
|
310
335
|
defineTool({
|
|
311
336
|
name: "merge_identities",
|
|
312
337
|
description: "Merge two identity records — transfers contacts, platforms, notes, tags, aliases to the survivor. Hard-move, transactional.",
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfe.ai/openclaw-identity",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.32",
|
|
4
4
|
"description": "OpenClaw identity plugin — identity resolution, access gating, permission enforcement",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/plugin.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@auriclabs/roles": "0.1.1",
|
|
31
31
|
"@sinclair/typebox": "^0.34.48",
|
|
32
|
-
"@alfe.ai/agent-api-client": "0.
|
|
32
|
+
"@alfe.ai/agent-api-client": "0.17.1",
|
|
33
33
|
"@alfe.ai/config": "0.4.1",
|
|
34
34
|
"@alfe.ai/openclaw-plugin-kit": "0.2.0"
|
|
35
35
|
},
|