@hyperspell/openclaw-hyperspell 0.8.0 → 0.8.1
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 +3 -1
- package/client.ts +8 -2
- package/commands/setup.ts +1 -0
- package/config.ts +9 -3
- package/openclaw.plugin.json +3 -0
- package/package.json +13 -3
package/README.md
CHANGED
|
@@ -7,9 +7,11 @@ OpenClaw plugin for [Hyperspell](https://hyperspell.com) - Context and memory fo
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
openclaw plugins install @hyperspell/openclaw-hyperspell
|
|
10
|
+
openclaw plugins install --dangerously-force-unsafe-install @hyperspell/openclaw-hyperspell
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
> **Note:** The `--dangerously-force-unsafe-install` flag is required because OpenClaw's automated install scanner detects standard operations that are essential to how the plugin works — opening your browser during setup, scheduling background jobs, and securely communicating with the Hyperspell API. These are normal, expected behaviors and the plugin does not execute arbitrary code or access data beyond what is needed to function. The source is fully open and auditable in this repository.
|
|
14
|
+
|
|
13
15
|
## Quick Start
|
|
14
16
|
|
|
15
17
|
Run the interactive setup wizard:
|
package/client.ts
CHANGED
|
@@ -27,7 +27,7 @@ export type Integration = {
|
|
|
27
27
|
id: string;
|
|
28
28
|
name: string;
|
|
29
29
|
provider: HyperspellSource;
|
|
30
|
-
icon: string;
|
|
30
|
+
icon: string | null;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
export type Connection = {
|
|
@@ -149,6 +149,7 @@ export class HyperspellClient {
|
|
|
149
149
|
score: doc.score ?? null,
|
|
150
150
|
url: (doc.metadata?.url as string | null) ?? null,
|
|
151
151
|
createdAt: (doc.metadata?.created_at as string | null) ?? null,
|
|
152
|
+
highlights: [],
|
|
152
153
|
}));
|
|
153
154
|
|
|
154
155
|
log.debugResponse("memories.search (with answer)", {
|
|
@@ -290,7 +291,12 @@ export class HyperspellClient {
|
|
|
290
291
|
session_id: options?.sessionId,
|
|
291
292
|
title: options?.title,
|
|
292
293
|
format: "openclaw",
|
|
293
|
-
|
|
294
|
+
// Cast: SDK 0.35 typing accepts only ["procedure" | "memory"], but the
|
|
295
|
+
// backend's mood extractor (hyperspell/hyperspell#581) accepts "mood".
|
|
296
|
+
// Remove this cast once the OpenAPI spec is updated.
|
|
297
|
+
extract: (options?.extract ?? ["procedure"]) as Array<
|
|
298
|
+
"procedure" | "memory"
|
|
299
|
+
>,
|
|
294
300
|
metadata: {
|
|
295
301
|
...options?.metadata,
|
|
296
302
|
openclaw_source: "agent_end",
|
package/commands/setup.ts
CHANGED
package/config.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export type HyperspellSource =
|
|
2
|
-
| "collections"
|
|
3
2
|
| "reddit"
|
|
4
3
|
| "notion"
|
|
5
4
|
| "slack"
|
|
@@ -8,7 +7,11 @@ export type HyperspellSource =
|
|
|
8
7
|
| "box"
|
|
9
8
|
| "google_drive"
|
|
10
9
|
| "vault"
|
|
11
|
-
| "web_crawler"
|
|
10
|
+
| "web_crawler"
|
|
11
|
+
| "dropbox"
|
|
12
|
+
| "github"
|
|
13
|
+
| "trace"
|
|
14
|
+
| "microsoft_teams";
|
|
12
15
|
|
|
13
16
|
export type KnowledgeGraphConfig = {
|
|
14
17
|
enabled: boolean;
|
|
@@ -49,7 +52,6 @@ const ALLOWED_KEYS = [
|
|
|
49
52
|
];
|
|
50
53
|
|
|
51
54
|
const VALID_SOURCES: HyperspellSource[] = [
|
|
52
|
-
"collections",
|
|
53
55
|
"reddit",
|
|
54
56
|
"notion",
|
|
55
57
|
"slack",
|
|
@@ -59,6 +61,10 @@ const VALID_SOURCES: HyperspellSource[] = [
|
|
|
59
61
|
"google_drive",
|
|
60
62
|
"vault",
|
|
61
63
|
"web_crawler",
|
|
64
|
+
"dropbox",
|
|
65
|
+
"github",
|
|
66
|
+
"trace",
|
|
67
|
+
"microsoft_teams",
|
|
62
68
|
];
|
|
63
69
|
|
|
64
70
|
function assertAllowedKeys(
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperspell/openclaw-hyperspell",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "OpenClaw Hyperspell memory plugin",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
"openclaw.plugin.json",
|
|
18
18
|
"README.md"
|
|
19
19
|
],
|
|
20
|
+
"author": "Hyperspell <hello@hyperspell.com> (https://hyperspell.com)",
|
|
21
|
+
"homepage": "https://hyperspell.com",
|
|
20
22
|
"repository": {
|
|
21
23
|
"type": "git",
|
|
22
24
|
"url": "git+https://github.com/hyperspell/hyperspell-openclaw.git"
|
|
@@ -32,7 +34,7 @@
|
|
|
32
34
|
"dependencies": {
|
|
33
35
|
"@clack/prompts": "^1.0.0",
|
|
34
36
|
"@sinclair/typebox": "^0.34.0",
|
|
35
|
-
"hyperspell": "^0.
|
|
37
|
+
"hyperspell": "^0.35.1"
|
|
36
38
|
},
|
|
37
39
|
"peerDependencies": {
|
|
38
40
|
"openclaw": ">=2026.1.29"
|
|
@@ -46,7 +48,15 @@
|
|
|
46
48
|
"extensions": [
|
|
47
49
|
"./index.ts"
|
|
48
50
|
],
|
|
49
|
-
"hooks": []
|
|
51
|
+
"hooks": [],
|
|
52
|
+
"compat": {
|
|
53
|
+
"pluginApi": ">=2026.1.29",
|
|
54
|
+
"minGatewayVersion": "2026.1.29"
|
|
55
|
+
},
|
|
56
|
+
"build": {
|
|
57
|
+
"openclawVersion": "2026.3.24-beta.2",
|
|
58
|
+
"pluginSdkVersion": "2026.3.24-beta.2"
|
|
59
|
+
}
|
|
50
60
|
},
|
|
51
61
|
"devDependencies": {
|
|
52
62
|
"typescript": "^5.9.3"
|