@amoree-code/ocean 1.6.1 → 1.6.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.
@@ -12,6 +12,22 @@ export function explicitModel(model) {
12
12
  // longer builds `claude -p` arguments or parses its output itself.
13
13
  export function claudeSdkOptions(request, executable) {
14
14
  const model = explicitModel(request.model);
15
+ if (request.bare)
16
+ return {
17
+ pathToClaudeCodeExecutable: executable,
18
+ cwd: path.resolve(request.cwd),
19
+ env: { ...process.env, ...request.env },
20
+ systemPrompt: request.bare.systemPrompt,
21
+ // SDK isolation: no user, project or local settings (so no CLAUDE.md, no hooks), no
22
+ // built-in tools, no MCP servers, one turn, and no transcript under ~/.claude/projects.
23
+ settingSources: [],
24
+ tools: [],
25
+ mcpServers: {},
26
+ strictMcpConfig: true,
27
+ maxTurns: 1,
28
+ persistSession: false,
29
+ ...(model ? { model } : {}),
30
+ };
15
31
  return {
16
32
  // The user's own Claude Code, past Ocean's shims, never the SDK's bundled copy.
17
33
  pathToClaudeCodeExecutable: executable,
@@ -17,6 +17,8 @@ const PROVIDER = {
17
17
  codex: "codex",
18
18
  };
19
19
  const TIMEOUT_MS = 90_000;
20
+ // The whole task is in the prompt; the system prompt only keeps the answer machine-readable.
21
+ const FACTS_SYSTEM_PROMPT = "You extract durable facts from a conversation transcript. Follow the instructions in the message exactly and answer with JSON only.";
20
22
  // The model's final answer: the Claude SDK's `result` message, or Codex's last agent message
21
23
  // (`codex exec --json`); otherwise the plain text the client printed.
22
24
  export function finalText(events) {
@@ -60,6 +62,7 @@ export function sessionFactsCompleter(client, run = runProvider) {
60
62
  prompt,
61
63
  cwd,
62
64
  readOnly: true,
65
+ bare: { systemPrompt: FACTS_SYSTEM_PROMPT },
63
66
  model,
64
67
  timeoutMs: TIMEOUT_MS,
65
68
  env: oceanEnvPair(FACTS_CALL_ENV, "1"),
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocean/brain",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocean/context",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocean/core",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocean/loop",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocean/market",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocean/services",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
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": "1.6.1",
8
+ "version": "1.6.2",
9
9
  "engines": {
10
- "ocean": ">=1.6.1"
10
+ "ocean": ">=1.6.2"
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": "1.6.1",
26
+ "version": "1.6.2",
27
27
  "engines": {
28
- "ocean": ">=1.6.1"
28
+ "ocean": ">=1.6.2"
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": "1.6.1",
44
+ "version": "1.6.2",
45
45
  "engines": {
46
- "ocean": ">=1.6.1"
46
+ "ocean": ">=1.6.2"
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.design-thinking",
62
- "version": "1.6.1",
62
+ "version": "1.6.2",
63
63
  "engines": {
64
- "ocean": ">=1.6.1"
64
+ "ocean": ">=1.6.2"
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.graft",
80
- "version": "1.6.1",
80
+ "version": "1.6.2",
81
81
  "engines": {
82
- "ocean": ">=1.6.1"
82
+ "ocean": ">=1.6.2"
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.loop",
98
- "version": "1.6.1",
98
+ "version": "1.6.2",
99
99
  "engines": {
100
- "ocean": ">=1.6.1"
100
+ "ocean": ">=1.6.2"
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.session-handoff",
116
- "version": "1.6.1",
116
+ "version": "1.6.2",
117
117
  "engines": {
118
- "ocean": ">=1.6.1"
118
+ "ocean": ">=1.6.2"
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.use-browser",
134
- "version": "1.6.1",
134
+ "version": "1.6.2",
135
135
  "engines": {
136
- "ocean": ">=1.6.1"
136
+ "ocean": ">=1.6.2"
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.verification",
152
- "version": "1.6.1",
152
+ "version": "1.6.2",
153
153
  "engines": {
154
- "ocean": ">=1.6.1"
154
+ "ocean": ">=1.6.2"
155
155
  },
156
156
  "source": {
157
157
  "type": "path",
@@ -183,9 +183,9 @@
183
183
  "npx"
184
184
  ]
185
185
  },
186
- "version": "1.6.1",
186
+ "version": "1.6.2",
187
187
  "engines": {
188
- "ocean": ">=1.6.1"
188
+ "ocean": ">=1.6.2"
189
189
  },
190
190
  "source": {
191
191
  "type": "path",
@@ -218,9 +218,9 @@
218
218
  "kind": "mcp",
219
219
  "name": "dev.ocean/mcp-gateway",
220
220
  "description": "One MCP endpoint for every registered server: Ocean's own and those installed from the marketplace.",
221
- "version": "1.6.1",
221
+ "version": "1.6.2",
222
222
  "engines": {
223
- "ocean": ">=1.6.1"
223
+ "ocean": ">=1.6.2"
224
224
  },
225
225
  "source": {
226
226
  "type": "path",
@@ -262,9 +262,9 @@
262
262
  "kind": "mcp",
263
263
  "name": "dev.ocean/obsidian",
264
264
  "description": "Ocean's Obsidian vault bridge over MCP.",
265
- "version": "1.6.1",
265
+ "version": "1.6.2",
266
266
  "engines": {
267
- "ocean": ">=1.6.1"
267
+ "ocean": ">=1.6.2"
268
268
  },
269
269
  "source": {
270
270
  "type": "path",
@@ -306,9 +306,9 @@
306
306
  "kind": "mcp",
307
307
  "name": "dev.ocean/ocean",
308
308
  "description": "Ocean's own MCP server: workspace status, tasks, handoffs, sessions and the brain.",
309
- "version": "1.6.1",
309
+ "version": "1.6.2",
310
310
  "engines": {
311
- "ocean": ">=1.6.1"
311
+ "ocean": ">=1.6.2"
312
312
  },
313
313
  "source": {
314
314
  "type": "path",
@@ -360,9 +360,9 @@
360
360
  "npx"
361
361
  ]
362
362
  },
363
- "version": "1.6.1",
363
+ "version": "1.6.2",
364
364
  "engines": {
365
- "ocean": ">=1.6.1"
365
+ "ocean": ">=1.6.2"
366
366
  },
367
367
  "source": {
368
368
  "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": "1.6.1",
4
+ "version": "1.6.2",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "author": "AMEER ABDULKAREEM JABBAR LAMI",
@@ -45,12 +45,12 @@
45
45
  "@langchain/core": "1.2.14",
46
46
  "@langchain/langgraph": "1.4.19",
47
47
  "@modelcontextprotocol/sdk": "1.32.0",
48
- "@ocean/brain": "1.6.1",
49
- "@ocean/context": "1.6.1",
50
- "@ocean/core": "1.6.1",
51
- "@ocean/loop": "1.6.1",
52
- "@ocean/market": "1.6.1",
53
- "@ocean/services": "1.6.1",
48
+ "@ocean/brain": "1.6.2",
49
+ "@ocean/context": "1.6.2",
50
+ "@ocean/core": "1.6.2",
51
+ "@ocean/loop": "1.6.2",
52
+ "@ocean/market": "1.6.2",
53
+ "@ocean/services": "1.6.2",
54
54
  "playwright-core": "^1.48.0",
55
55
  "sqlite-vec": "0.1.9",
56
56
  "zod": "^4.6.5"