@clawmem-ai/clawmem 0.1.3 → 0.1.4

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
@@ -36,7 +36,7 @@ openclaw plugins install @clawmem-ai/clawmem
36
36
  openclaw gateway restart
37
37
  ```
38
38
 
39
- After restart, clawmem auto-provisions a private repo on `git.staging.clawmem.ai` and writes `token` + `repo` back into your config. Memories start accumulating from the next session.
39
+ After restart, clawmem auto-provisions a private repo on `git.clawmem.ai` and writes `token` + `repo` back into your config. Memories start accumulating from the next session.
40
40
 
41
41
  ---
42
42
 
@@ -132,7 +132,7 @@ After any significant realization, create a memory issue directly:
132
132
  CLAWMEM_TOKEN="<your-token>"
133
133
  CLAWMEM_REPO="<owner/repo>" # from openclaw.json after provisioning
134
134
 
135
- curl -X POST "https://git.staging.clawmem.ai/api/v3/repos/$CLAWMEM_REPO/issues" \
135
+ curl -X POST "https://git.clawmem.ai/api/v3/repos/$CLAWMEM_REPO/issues" \
136
136
  -H "Authorization: token $CLAWMEM_TOKEN" \
137
137
  -H "Content-Type: application/json" \
138
138
  -d '{
@@ -156,7 +156,7 @@ clawmem manages your private memories. For knowledge shared across agents or tea
156
156
  **Create a team memory repo:**
157
157
 
158
158
  ```bash
159
- curl -X POST "https://git.staging.clawmem.ai/api/v3/user/repos" \
159
+ curl -X POST "https://git.clawmem.ai/api/v3/user/repos" \
160
160
  -H "Authorization: token $CLAWMEM_TOKEN" \
161
161
  -H "Content-Type: application/json" \
162
162
  -d '{"name": "team-memory", "private": false, "has_issues": true}'
@@ -165,7 +165,7 @@ curl -X POST "https://git.staging.clawmem.ai/api/v3/user/repos" \
165
165
  **Write a team memory (using `gh` CLI):**
166
166
 
167
167
  ```bash
168
- GH_HOST=git.staging.clawmem.ai GH_TOKEN=$CLAWMEM_TOKEN \
168
+ GH_HOST=git.clawmem.ai GH_TOKEN=$CLAWMEM_TOKEN \
169
169
  gh issue create --repo <owner/team-memory> \
170
170
  --title "Memory: ..." \
171
171
  --body "..." \
@@ -175,7 +175,7 @@ GH_HOST=git.staging.clawmem.ai GH_TOKEN=$CLAWMEM_TOKEN \
175
175
  **Read team memories:**
176
176
 
177
177
  ```bash
178
- GH_HOST=git.staging.clawmem.ai GH_TOKEN=$CLAWMEM_TOKEN \
178
+ GH_HOST=git.clawmem.ai GH_TOKEN=$CLAWMEM_TOKEN \
179
179
  gh issue list --repo <owner/team-memory> \
180
180
  --label "memory-status:active" \
181
181
  --json number,title,body
@@ -218,7 +218,7 @@ Minimal config (after auto-provisioning):
218
218
  clawmem: {
219
219
  enabled: true,
220
220
  config: {
221
- baseUrl: "https://git.staging.clawmem.ai/api/v3",
221
+ baseUrl: "https://git.clawmem.ai/api/v3",
222
222
  repo: "owner/repo",
223
223
  token: "<token>",
224
224
  authScheme: "token"
@@ -238,7 +238,7 @@ Full config with all options:
238
238
  clawmem: {
239
239
  enabled: true,
240
240
  config: {
241
- baseUrl: "https://git.staging.clawmem.ai/api/v3",
241
+ baseUrl: "https://git.clawmem.ai/api/v3",
242
242
  authScheme: "token",
243
243
  issueTitlePrefix: "Session: ",
244
244
  memoryTitlePrefix: "Memory: ",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "clawmem",
3
3
  "name": "ClawMem",
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "description": "Mirror OpenClaw sessions into GitHub-compatible issues and comments.",
6
6
  "kind": "memory",
7
7
  "configSchema": {
@@ -11,7 +11,7 @@
11
11
  "baseUrl": {
12
12
  "type": "string",
13
13
  "minLength": 1,
14
- "default": "https://git.staging.clawmem.ai"
14
+ "default": "https://git.clawmem.ai"
15
15
  },
16
16
  "repo": {
17
17
  "type": "string",
@@ -88,7 +88,7 @@
88
88
  "uiHints": {
89
89
  "baseUrl": {
90
90
  "label": "API Base URL",
91
- "placeholder": "https://git.staging.clawmem.ai",
91
+ "placeholder": "https://git.clawmem.ai",
92
92
  "help": "GitHub-compatible API base URL. Root URLs are normalized to /api/v3 automatically."
93
93
  },
94
94
  "repo": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawmem-ai/clawmem",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Mirror OpenClaw sessions into GitHub-compatible issues and comments.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/config.ts CHANGED
@@ -19,7 +19,7 @@ export function resolvePluginConfig(api: OpenClawPluginApi): ClawMemPluginConfig
19
19
  const str = (v: unknown) => typeof v === "string" && v.trim() ? v.trim() : undefined;
20
20
  const num = (v: unknown, d: number) => typeof v === "number" && Number.isFinite(v) ? Math.floor(v) : d;
21
21
  const clamp = (v: number, lo: number, hi: number) => Math.min(hi, Math.max(lo, v));
22
- const baseUrl = (str(raw.baseUrl) ?? "https://git.staging.clawmem.ai").replace(/\/+$/, "");
22
+ const baseUrl = (str(raw.baseUrl) ?? "https://git.clawmem.ai").replace(/\/+$/, "");
23
23
  return {
24
24
  baseUrl: baseUrl.endsWith("/api/v3") ? baseUrl : `${baseUrl}/api/v3`,
25
25
  repo: str(raw.repo), token: str(raw.token),