@hydra_db/openclaw 0.1.1 → 0.2.0

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 CHANGED
@@ -5,7 +5,7 @@ State-of-the-art agentic memory for OpenClaw powered by [Hydra DB](https://hydra
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- openclaw plugins install @hydra_db/openclaw-hydra-db
8
+ openclaw plugins install @hydra_db/openclaw
9
9
  ```
10
10
 
11
11
  Restart OpenClaw after installing.
@@ -32,7 +32,7 @@ openclaw hydra onboard
32
32
  openclaw hydra onboard --advanced
33
33
  ```
34
34
 
35
- The wizard guides you through configuration with colored prompts and **writes your config to** `plugins.entries.openclaw-hydra-db.config` inside OpenClaw's settings file.
35
+ The wizard guides you through configuration with colored prompts and **writes your config to** `plugins.entries.openclaw.config` inside OpenClaw's settings file.
36
36
 
37
37
  The path is resolved in the same order OpenClaw itself uses:
38
38
 
@@ -74,7 +74,7 @@ Or configure directly in OpenClaw's settings file:
74
74
  {
75
75
  "plugins": {
76
76
  "entries": {
77
- "openclaw-hydra-db": {
77
+ "openclaw": {
78
78
  "enabled": true,
79
79
  "config": {
80
80
  "apiKey": "${HYDRA_OPENCLAW_API_KEY}",
@@ -239,11 +239,11 @@ function persistConfig(configObj: Record<string, unknown>): boolean {
239
239
 
240
240
  if (!root.plugins) root.plugins = {}
241
241
  if (!root.plugins.entries) root.plugins.entries = {}
242
- if (!root.plugins.entries["openclaw-hydra-db"]) {
243
- root.plugins.entries["openclaw-hydra-db"] = { enabled: true }
242
+ if (!root.plugins.entries["openclaw"]) {
243
+ root.plugins.entries["openclaw"] = { enabled: true }
244
244
  }
245
245
 
246
- root.plugins.entries["openclaw-hydra-db"].config = configObj
246
+ root.plugins.entries["openclaw"].config = configObj
247
247
 
248
248
  fs.writeFileSync(OPENCLAW_CONFIG_PATH, JSON.stringify(root, null, 2) + "\n")
249
249
  return true
@@ -311,7 +311,7 @@ async function runBasicWizard(cfg?: HydraPluginConfig): Promise<void> {
311
311
  }
312
312
  } else {
313
313
  console.log()
314
- console.log(` ${c.yellow}${c.bold}Add to openclaw.json plugins.entries.openclaw-hydra-db.config:${c.reset}`)
314
+ console.log(` ${c.yellow}${c.bold}Add to openclaw.json plugins.entries.openclaw.config:${c.reset}`)
315
315
  console.log()
316
316
  for (const line of JSON.stringify(configObj, null, 2).split("\n")) {
317
317
  console.log(` ${c.cyan}${line}${c.reset}`)
@@ -415,7 +415,7 @@ async function runAdvancedWizard(cfg?: HydraPluginConfig): Promise<void> {
415
415
  }
416
416
  } else {
417
417
  console.log()
418
- console.log(` ${c.yellow}${c.bold}Add to openclaw.json plugins.entries.openclaw-hydra-db.config:${c.reset}`)
418
+ console.log(` ${c.yellow}${c.bold}Add to openclaw.json plugins.entries.openclaw.config:${c.reset}`)
419
419
  console.log()
420
420
  for (const line of JSON.stringify(configObj, null, 2).split("\n")) {
421
421
  console.log(` ${c.cyan}${line}${c.reset}`)
package/index.ts CHANGED
@@ -17,7 +17,7 @@ const NOT_CONFIGURED_MSG =
17
17
  "[hydra-db] Not configured. Run `openclaw hydra onboard` to set up credentials."
18
18
 
19
19
  export default {
20
- id: "openclaw-hydra-db",
20
+ id: "openclaw",
21
21
  name: "Hydra DB",
22
22
  description:
23
23
  "State-of-the-art agentic memory for OpenClaw powered by Hydra DB — auto-capture, recall, and graph-enriched context",
@@ -44,7 +44,7 @@ export default {
44
44
 
45
45
  if (!cfg) {
46
46
  api.registerService({
47
- id: "openclaw-hydra-db",
47
+ id: "openclaw",
48
48
  start: () => console.log(NOT_CONFIGURED_MSG),
49
49
  stop: () => {},
50
50
  })
@@ -97,7 +97,7 @@ export default {
97
97
  registerOnboardingSlashCommands(api, client, cfg)
98
98
 
99
99
  api.registerService({
100
- id: "openclaw-hydra-db",
100
+ id: "openclaw",
101
101
  start: () => log.info("plugin started"),
102
102
  stop: () => log.info("plugin stopped"),
103
103
  })
@@ -1,5 +1,5 @@
1
1
  {
2
- "id": "openclaw-hydra-db",
2
+ "id": "openclaw",
3
3
  "kind": "memory",
4
4
  "uiHints": {
5
5
  "apiKey": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hydra_db/openclaw",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "OpenClaw plugin for Hydra DB — the State-of-the-art agentic memory system with auto-capture, recall, and knowledge graph context for open-claw",
6
6
  "license": "MIT",
@@ -24,4 +24,4 @@
24
24
  "devDependencies": {
25
25
  "typescript": "^5.9.3"
26
26
  }
27
- }
27
+ }