@signetai/connector-openclaw 0.147.18 → 0.147.21
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 +12 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,7 +6,8 @@ Signet connector for OpenClaw (and its earlier names: clawdbot, moltbot).
|
|
|
6
6
|
|
|
7
7
|
Unlike other harnesses, OpenClaw reads `~/.agents/AGENTS.md` directly, so no
|
|
8
8
|
generated output file is needed. Instead, this connector patches the JSON
|
|
9
|
-
config to point OpenClaw at the Signet workspace and
|
|
9
|
+
config to point OpenClaw at the Signet workspace and configures the Signet
|
|
10
|
+
memory plugin.
|
|
10
11
|
|
|
11
12
|
## Installation
|
|
12
13
|
|
|
@@ -40,16 +41,22 @@ await connector.install('~/.agents');
|
|
|
40
41
|
`OPENCLAW_HOME`, `CLAWDBOT_HOME`, `MOLDBOT_HOME`, `MOLTBOT_HOME`,
|
|
41
42
|
`OPENCLAW_STATE_HOME`
|
|
42
43
|
- Sets `agents.defaults.workspace` to point at `~/.agents`
|
|
43
|
-
-
|
|
44
|
+
- Selects `signet-memory-openclaw` as the memory plugin and adds it to
|
|
45
|
+
`plugins.allow`
|
|
46
|
+
- Grants the plugin the explicit `hooks.allowConversationAccess` permission
|
|
47
|
+
required for `agent_end` transcript capture
|
|
48
|
+
- Disables OpenClaw's built-in memory search and the legacy `signet-memory`
|
|
49
|
+
internal hook to prevent duplicate memory paths
|
|
44
50
|
- Creates hook handler files in `~/.agents/hooks/agent-memory/` for
|
|
45
|
-
`/remember`, `/recall`, and `/context`
|
|
51
|
+
legacy `/remember`, `/recall`, and `/context` command compatibility
|
|
46
52
|
|
|
47
53
|
## API
|
|
48
54
|
|
|
49
|
-
### `install(basePath: string): Promise<InstallResult>`
|
|
55
|
+
### `install(basePath: string, options?: OpenClawInstallOptions): Promise<InstallResult>`
|
|
50
56
|
|
|
51
57
|
Install the connector. Patches all found OpenClaw config files and installs
|
|
52
|
-
hook handler files.
|
|
58
|
+
hook handler files. The plugin runtime is the default; pass
|
|
59
|
+
`{ runtimePath: "legacy" }` only for an older OpenClaw runtime.
|
|
53
60
|
|
|
54
61
|
### `uninstall(basePath?: string): Promise<UninstallResult>`
|
|
55
62
|
|
package/dist/index.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ export declare class OpenClawConnector extends BaseConnector {
|
|
|
106
106
|
private getConfigCandidates;
|
|
107
107
|
/**
|
|
108
108
|
* Patch configs with plugin entry using the object format:
|
|
109
|
-
* plugins.entries["signet-memory-openclaw"] = { enabled, config }
|
|
109
|
+
* plugins.entries["signet-memory-openclaw"] = { enabled, hooks, config }
|
|
110
110
|
*
|
|
111
111
|
* Migrates:
|
|
112
112
|
* - Legacy array-style plugins (["signet-memory"] -> { entries: {...} })
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAKH,OAAO,EAAE,aAAa,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAmB,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAKH,OAAO,EAAE,aAAa,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAmB,MAAM,wBAAwB,CAAC;AAqDlH,MAAM,WAAW,sBAAsB;IACtC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAClC;AAED,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,G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OAAO,EAAE,MAAM,EAAE,CAAC;QAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;KAAE;IAkF7E;;;;;OAKG;IACH,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE;IAsJ5C,0DAA0D;IAC1D,OAAO,CAAC,YAAY;IAKpB,OAAO,CAAC,UAAU;CAIlB;AAMD,6CAA6C;AAC7C,wBAAgB,eAAe,IAAI,iBAAiB,CAEnD;AAED,eAAe,iBAAiB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -23241,6 +23241,9 @@ class OpenClawConnector extends BaseConnector {
|
|
|
23241
23241
|
entries: {
|
|
23242
23242
|
"signet-memory-openclaw": {
|
|
23243
23243
|
enabled: true,
|
|
23244
|
+
hooks: {
|
|
23245
|
+
allowConversationAccess: true
|
|
23246
|
+
},
|
|
23244
23247
|
config: {
|
|
23245
23248
|
daemonUrl: "http://localhost:3850"
|
|
23246
23249
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signetai/connector-openclaw",
|
|
3
|
-
"version": "0.147.
|
|
3
|
+
"version": "0.147.21",
|
|
4
4
|
"description": "Signet connector for OpenClaw - configures workspace and memory hooks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"test": "bun test"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@signetai/connector-base": "0.147.
|
|
29
|
-
"@signetai/core": "0.147.
|
|
28
|
+
"@signetai/connector-base": "0.147.21",
|
|
29
|
+
"@signetai/core": "0.147.21",
|
|
30
30
|
"json5": "^2.2.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|