@sage-protocol/openclaw-sage 0.1.0 → 0.1.2
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 +46 -0
- package/openclaw.plugin.json +20 -0
- package/package.json +4 -4
- package/src/index.ts +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# @sage-protocol/openclaw-sage
|
|
2
|
+
|
|
3
|
+
Sage Protocol MCP bridge plugin for OpenClaw. Provides prompt libraries, skills, governance, and on-chain operations directly in OpenClaw sessions.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
openclaw plugins install @sage-protocol/openclaw-sage
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Requirements
|
|
12
|
+
|
|
13
|
+
- [Sage CLI](https://github.com/sage-protocol/sage-cli) installed and available on PATH
|
|
14
|
+
- OpenClaw v0.1.0+
|
|
15
|
+
|
|
16
|
+
## Configuration
|
|
17
|
+
|
|
18
|
+
The plugin auto-detects the `sage` binary from PATH. To override:
|
|
19
|
+
|
|
20
|
+
```json
|
|
21
|
+
{
|
|
22
|
+
"sageBinary": "/path/to/sage"
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## What It Provides
|
|
27
|
+
|
|
28
|
+
The plugin exposes Sage Protocol MCP tools inside OpenClaw:
|
|
29
|
+
|
|
30
|
+
- **Prompts & Libraries** — search, list, create, and manage prompt libraries
|
|
31
|
+
- **Skills** — discover and activate skills from Sage Protocol, GitHub, or local sources
|
|
32
|
+
- **Builder** — AI-powered prompt recommendations and synthesis
|
|
33
|
+
- **Governance** — list DAOs, view proposals, check voting power
|
|
34
|
+
- **Hub** — start/stop additional MCP servers (memory, brave-search, github, etc.)
|
|
35
|
+
|
|
36
|
+
## Development
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npm install
|
|
40
|
+
npm run typecheck
|
|
41
|
+
npm test
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
|
|
46
|
+
MIT
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "openclaw-sage",
|
|
3
|
+
"uiHints": {
|
|
4
|
+
"sageBinary": {
|
|
5
|
+
"label": "Sage Binary Path",
|
|
6
|
+
"placeholder": "sage",
|
|
7
|
+
"help": "Path to sage CLI binary (auto-detected from PATH if empty)"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"configSchema": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"additionalProperties": false,
|
|
13
|
+
"properties": {
|
|
14
|
+
"sageBinary": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "Path to sage binary (default: auto-detect from PATH)"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sage-protocol/openclaw-sage",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Sage MCP bridge plugin for OpenClaw — prompt libraries, skills, governance, and on-chain operations",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"openclaw": {
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
"extensions": [
|
|
9
|
+
"./src/index.ts"
|
|
10
|
+
]
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
13
|
"typecheck": "tsc --noEmit",
|
package/src/index.ts
CHANGED
|
@@ -101,9 +101,9 @@ function toToolResult(mcpResult: unknown) {
|
|
|
101
101
|
let bridge: McpBridge | null = null;
|
|
102
102
|
|
|
103
103
|
const plugin = {
|
|
104
|
-
id: "sage
|
|
104
|
+
id: "openclaw-sage",
|
|
105
105
|
name: "Sage Protocol",
|
|
106
|
-
version: "0.1.
|
|
106
|
+
version: "0.1.2",
|
|
107
107
|
description:
|
|
108
108
|
"Sage MCP tools for prompt libraries, skills, governance, and on-chain operations",
|
|
109
109
|
|