@amoree-code/ocean 2.17.0 → 2.18.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.
@@ -37,12 +37,10 @@ export const CLIENT_ADAPTERS = [
37
37
  editor: jsonEditor(["mcpServers"]),
38
38
  },
39
39
  nativeMemory: "capture",
40
- // Normal chat uses the claude.ai name although it runs locally; agent mode names its own
41
- // `local-agent-mode-<server>` client.
42
- mcpClients: [
43
- { name: "claude-ai", mode: "chat" },
44
- { name: "local-agent-mode-ocean", mode: "agent" },
45
- ],
40
+ // Older builds sent `claude-ai` from chat and `local-agent-mode-<server>` from agent mode.
41
+ // Current builds send the agent-mode name from plain chat too (T-328: a chat call landed as
42
+ // `local-agent-mode-ocean`), so the name no longer tells the modes apart: one row, no modes.
43
+ mcpClients: [{ name: "claude-ai" }, { name: "local-agent-mode-ocean" }],
46
44
  },
47
45
  {
48
46
  id: "codex",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocean/brain",
3
- "version": "2.17.0",
3
+ "version": "2.18.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocean/context",
3
- "version": "2.17.0",
3
+ "version": "2.18.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -3,15 +3,15 @@
3
3
  // MEMORY_ERROR_CODES so a client can recover deterministically instead of parsing messages.
4
4
  export const MEMORY_CONTRACT_VERSION = 1;
5
5
  export const MEMORY_INSTRUCTIONS = [
6
- "Ocean is this user's single memory and environment; do not keep durable facts only in this client's own memory.",
6
+ "Ocean is this user's single memory and the authority over this client's own memory, which is only a copy; keep durable facts in Ocean.",
7
7
  // Only Ocean's server sends this text, so it is true wherever it is read. A record listing
8
8
  // clients that cannot connect is not about this session (T-307: Desktop chat misread it).
9
9
  "If you can call these tools, this client is connected to Ocean.",
10
- "Before answering about the user, their projects or past decisions, search with brain_search, read with brain_read or memory_read, and cite the record path.",
11
- "Use memory_write only when the user explicitly asks you to remember or change something: search first, then mode create for a new record, or mode update with the current sha256 from memory_read as expectedHash.",
12
- "Facts you infer yourself, and anything imported from another tool's memory, go to memory_propose for the user's review, never to memory_write.",
13
- "Never store secrets, credentials or temporary state. If a new fact contradicts a record, tell the user instead of overwriting it.",
14
- "memory_delete is a soft delete; memory_history and memory_restore undo changes.",
10
+ // Relevance triggers (T-328 P2): concrete cues, not "about the user", which a model reads
11
+ // narrowly and so skips Ocean on most turns (Desktop chat went 10 days without a call).
12
+ "Call brain_search before you answer whenever a message touches the user's own world: their projects, code, tasks, people, past decisions or preferences, or words like my, our, last time, as before; and before planning, writing or reviewing anything for them. Read hits with brain_read and cite the path.",
13
+ "When the user states a decision, preference or correction, call memory_propose. Use memory_write only when they ask you to remember or change something: search first, then create, or update with memory_read's sha256 as expectedHash.",
14
+ "Never store secrets or temporary state; if a fact contradicts a record, tell the user. memory_delete is soft; memory_history and memory_restore undo.",
15
15
  // The handoff rule lives in ocean_handoff_create's own description; the ack line is T-319.
16
16
  "Without a session-start hook, call ocean_context once. Pass the start line's ack=<hash> as contextAck on your first Ocean call.",
17
17
  ].join(" ");
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocean/core",
3
- "version": "2.17.0",
3
+ "version": "2.18.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocean/loop",
3
- "version": "2.17.0",
3
+ "version": "2.18.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocean/market",
3
- "version": "2.17.0",
3
+ "version": "2.18.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -185,7 +185,7 @@ const tools = new McpToolRegistry(withContextAck([
185
185
  },
186
186
  {
187
187
  name: "brain_search",
188
- description: "Call this first, before answering anything about the user, their projects, preferences or past decisions: Ocean is their memory. Searches the markdown memory/knowledge index (hybrid FTS + vector when available); read only the results you need with brain_read and cite their paths. In a conversation about one project, pass its name or id as project: the search then covers that project and global records only. Otherwise the project bound to `cwd`; unbound sessions see global only.",
188
+ description: "Call this first, before answering anything about the user or their world: a project, repo or code of theirs, a task ID, a person they name, a past decision or preference, or words like my, our, last time, as before. Also before planning, writing or reviewing anything for them. Ocean is their memory and the authority: asked where memory lives or what you remember, answer from Ocean, since this client's own memory is only a copy Ocean captures. Searches the markdown memory/knowledge index (hybrid FTS + vector when available); read only the results you need with brain_read and cite their paths. In a conversation about one project, pass its name or id as project: the search then covers that project and global records only. Otherwise the project bound to `cwd`; unbound sessions see global only.",
189
189
  annotations: { readOnlyHint: true },
190
190
  inputSchema: {
191
191
  type: "object",
@@ -300,7 +300,7 @@ const tools = new McpToolRegistry(withContextAck([
300
300
  },
301
301
  {
302
302
  name: "memory_propose",
303
- description: "Call this when the user states something worth keeping across sessions (a decision, preference or project fact) without asking you to remember it, for a fact you inferred, or for one imported from another tool's memory: it queues it for the user's review. It is not memory until approved. In a conversation about one project, pass its name (as the user's Claude project is called) or Ocean id as project, and kind instead of target: `fact` (a decision, preference or detail) or `doc` (a spec, brief or longer notes), each with a kebab-case name, is filed in that project's memory/ or docs/ — written at once when the user allows it; `todo` (work to do) waits for review as a backlog line. Optionally say why (reason). If the fact disagrees with one of the user's own notes in 02-personal/notes, pass that note's path as contradicts: the note is never edited, and the disagreement waits in 02-personal/CONFLICTS.md for the user.",
303
+ description: "Call this when the user states something worth keeping across sessions (a decision, preference, correction of how you work, or project fact) without asking you to remember it, for a fact you inferred, or for one imported from another tool's memory: it queues it for the user's review. It is not memory until approved. In a conversation about one project, pass its name (as the user's Claude project is called) or Ocean id as project, and kind instead of target: `fact` (a decision, preference or detail) or `doc` (a spec, brief or longer notes), each with a kebab-case name, is filed in that project's memory/ or docs/ — written at once when the user allows it; `todo` (work to do) waits for review as a backlog line. Optionally say why (reason). If the fact disagrees with one of the user's own notes in 02-personal/notes, pass that note's path as contradicts: the note is never edited, and the disagreement waits in 02-personal/CONFLICTS.md for the user.",
304
304
  annotations: { readOnlyHint: false, destructiveHint: false },
305
305
  inputSchema: {
306
306
  type: "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocean/services",
3
- "version": "2.17.0",
3
+ "version": "2.18.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -5,9 +5,9 @@
5
5
  {
6
6
  "kind": "skill",
7
7
  "name": "dev.ocean.skills.business-logic",
8
- "version": "2.17.0",
8
+ "version": "2.18.1",
9
9
  "engines": {
10
- "ocean": ">=2.17.0"
10
+ "ocean": ">=2.18.1"
11
11
  },
12
12
  "source": {
13
13
  "type": "path",
@@ -23,9 +23,9 @@
23
23
  {
24
24
  "kind": "skill",
25
25
  "name": "dev.ocean.skills.catch-up",
26
- "version": "2.17.0",
26
+ "version": "2.18.1",
27
27
  "engines": {
28
- "ocean": ">=2.17.0"
28
+ "ocean": ">=2.18.1"
29
29
  },
30
30
  "source": {
31
31
  "type": "path",
@@ -41,9 +41,9 @@
41
41
  {
42
42
  "kind": "skill",
43
43
  "name": "dev.ocean.skills.core-thinking",
44
- "version": "2.17.0",
44
+ "version": "2.18.1",
45
45
  "engines": {
46
- "ocean": ">=2.17.0"
46
+ "ocean": ">=2.18.1"
47
47
  },
48
48
  "source": {
49
49
  "type": "path",
@@ -59,9 +59,9 @@
59
59
  {
60
60
  "kind": "skill",
61
61
  "name": "dev.ocean.skills.daily-harvest",
62
- "version": "2.17.0",
62
+ "version": "2.18.1",
63
63
  "engines": {
64
- "ocean": ">=2.17.0"
64
+ "ocean": ">=2.18.1"
65
65
  },
66
66
  "source": {
67
67
  "type": "path",
@@ -77,9 +77,9 @@
77
77
  {
78
78
  "kind": "skill",
79
79
  "name": "dev.ocean.skills.design-thinking",
80
- "version": "2.17.0",
80
+ "version": "2.18.1",
81
81
  "engines": {
82
- "ocean": ">=2.17.0"
82
+ "ocean": ">=2.18.1"
83
83
  },
84
84
  "source": {
85
85
  "type": "path",
@@ -95,9 +95,9 @@
95
95
  {
96
96
  "kind": "skill",
97
97
  "name": "dev.ocean.skills.graft",
98
- "version": "2.17.0",
98
+ "version": "2.18.1",
99
99
  "engines": {
100
- "ocean": ">=2.17.0"
100
+ "ocean": ">=2.18.1"
101
101
  },
102
102
  "source": {
103
103
  "type": "path",
@@ -113,9 +113,9 @@
113
113
  {
114
114
  "kind": "skill",
115
115
  "name": "dev.ocean.skills.loop",
116
- "version": "2.17.0",
116
+ "version": "2.18.1",
117
117
  "engines": {
118
- "ocean": ">=2.17.0"
118
+ "ocean": ">=2.18.1"
119
119
  },
120
120
  "source": {
121
121
  "type": "path",
@@ -131,9 +131,9 @@
131
131
  {
132
132
  "kind": "skill",
133
133
  "name": "dev.ocean.skills.memory-review",
134
- "version": "2.17.0",
134
+ "version": "2.18.1",
135
135
  "engines": {
136
- "ocean": ">=2.17.0"
136
+ "ocean": ">=2.18.1"
137
137
  },
138
138
  "source": {
139
139
  "type": "path",
@@ -149,9 +149,9 @@
149
149
  {
150
150
  "kind": "skill",
151
151
  "name": "dev.ocean.skills.session-handoff",
152
- "version": "2.17.0",
152
+ "version": "2.18.1",
153
153
  "engines": {
154
- "ocean": ">=2.17.0"
154
+ "ocean": ">=2.18.1"
155
155
  },
156
156
  "source": {
157
157
  "type": "path",
@@ -167,9 +167,9 @@
167
167
  {
168
168
  "kind": "skill",
169
169
  "name": "dev.ocean.skills.use-browser",
170
- "version": "2.17.0",
170
+ "version": "2.18.1",
171
171
  "engines": {
172
- "ocean": ">=2.17.0"
172
+ "ocean": ">=2.18.1"
173
173
  },
174
174
  "source": {
175
175
  "type": "path",
@@ -185,9 +185,9 @@
185
185
  {
186
186
  "kind": "skill",
187
187
  "name": "dev.ocean.skills.verification",
188
- "version": "2.17.0",
188
+ "version": "2.18.1",
189
189
  "engines": {
190
- "ocean": ">=2.17.0"
190
+ "ocean": ">=2.18.1"
191
191
  },
192
192
  "source": {
193
193
  "type": "path",
@@ -203,9 +203,9 @@
203
203
  {
204
204
  "kind": "skill",
205
205
  "name": "dev.ocean.skills.weekly-review",
206
- "version": "2.17.0",
206
+ "version": "2.18.1",
207
207
  "engines": {
208
- "ocean": ">=2.17.0"
208
+ "ocean": ">=2.18.1"
209
209
  },
210
210
  "source": {
211
211
  "type": "path",
@@ -258,9 +258,9 @@
258
258
  "npx"
259
259
  ]
260
260
  },
261
- "version": "2.17.0",
261
+ "version": "2.18.1",
262
262
  "engines": {
263
- "ocean": ">=2.17.0"
263
+ "ocean": ">=2.18.1"
264
264
  },
265
265
  "source": {
266
266
  "type": "path",
@@ -379,9 +379,9 @@
379
379
  "npx"
380
380
  ]
381
381
  },
382
- "version": "2.17.0",
382
+ "version": "2.18.1",
383
383
  "engines": {
384
- "ocean": ">=2.17.0"
384
+ "ocean": ">=2.18.1"
385
385
  },
386
386
  "source": {
387
387
  "type": "path",
@@ -445,9 +445,9 @@
445
445
  "kind": "mcp",
446
446
  "name": "dev.ocean/mcp-gateway",
447
447
  "description": "One MCP endpoint for every registered server: Ocean's own and those installed from the marketplace.",
448
- "version": "2.17.0",
448
+ "version": "2.18.1",
449
449
  "engines": {
450
- "ocean": ">=2.17.0"
450
+ "ocean": ">=2.18.1"
451
451
  },
452
452
  "source": {
453
453
  "type": "path",
@@ -489,9 +489,9 @@
489
489
  "kind": "mcp",
490
490
  "name": "dev.ocean/obsidian",
491
491
  "description": "Ocean's Obsidian vault bridge over MCP.",
492
- "version": "2.17.0",
492
+ "version": "2.18.1",
493
493
  "engines": {
494
- "ocean": ">=2.17.0"
494
+ "ocean": ">=2.18.1"
495
495
  },
496
496
  "source": {
497
497
  "type": "path",
@@ -533,9 +533,9 @@
533
533
  "kind": "mcp",
534
534
  "name": "dev.ocean/ocean",
535
535
  "description": "Ocean's own MCP server: workspace status, tasks, handoffs, sessions and the brain.",
536
- "version": "2.17.0",
536
+ "version": "2.18.1",
537
537
  "engines": {
538
- "ocean": ">=2.17.0"
538
+ "ocean": ">=2.18.1"
539
539
  },
540
540
  "source": {
541
541
  "type": "path",
@@ -587,9 +587,9 @@
587
587
  "npx"
588
588
  ]
589
589
  },
590
- "version": "2.17.0",
590
+ "version": "2.18.1",
591
591
  "engines": {
592
- "ocean": ">=2.17.0"
592
+ "ocean": ">=2.18.1"
593
593
  },
594
594
  "source": {
595
595
  "type": "path",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@amoree-code/ocean",
3
3
  "description": "Local-first memory, tasks and session capture shared by every AI coding client: one private workspace for Claude, Codex, Gemini and more.",
4
- "version": "2.17.0",
4
+ "version": "2.18.1",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "author": "AMEER ABDULKAREEM JABBAR LAMI",
@@ -53,12 +53,12 @@
53
53
  "@langchain/core": "1.2.14",
54
54
  "@langchain/langgraph": "1.4.19",
55
55
  "@modelcontextprotocol/sdk": "1.32.0",
56
- "@ocean/brain": "2.17.0",
57
- "@ocean/context": "2.17.0",
58
- "@ocean/core": "2.17.0",
59
- "@ocean/loop": "2.17.0",
60
- "@ocean/market": "2.17.0",
61
- "@ocean/services": "2.17.0",
56
+ "@ocean/brain": "2.18.1",
57
+ "@ocean/context": "2.18.1",
58
+ "@ocean/core": "2.18.1",
59
+ "@ocean/loop": "2.18.1",
60
+ "@ocean/market": "2.18.1",
61
+ "@ocean/services": "2.18.1",
62
62
  "playwright-core": "^1.48.0",
63
63
  "sqlite-vec": "0.1.9",
64
64
  "zod": "^4.6.5"