@amoree-code/ocean 1.3.0 → 1.5.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.
Files changed (27) hide show
  1. package/dist/application/clients/clients.js +122 -6
  2. package/dist/infrastructure/mcp/remote-mcp-client.js +46 -0
  3. package/dist/interfaces/cli/clients-command.js +39 -2
  4. package/dist/interfaces/cli/command-registry.js +7 -3
  5. package/dist/interfaces/cli/gateway-findings.js +32 -0
  6. package/dist/interfaces/cli/help-command.js +3 -3
  7. package/dist/interfaces/cli/market-command.js +142 -5
  8. package/dist/interfaces/cli/mcp-gateway-command.js +28 -11
  9. package/dist/interfaces/cli/mcp-status-command.js +135 -0
  10. package/dist/interfaces/cli/onboard-command.js +6 -2
  11. package/market/mcp/chrome-devtools/ocean.capability.json +15 -12
  12. package/node_modules/@ocean/brain/package.json +1 -1
  13. package/node_modules/@ocean/context/package.json +1 -1
  14. package/node_modules/@ocean/core/package.json +1 -1
  15. package/node_modules/@ocean/loop/package.json +1 -1
  16. package/node_modules/@ocean/market/dist/adapters/mcp-adapter.js +13 -2
  17. package/node_modules/@ocean/market/dist/install/default-marketplace.js +1 -0
  18. package/node_modules/@ocean/market/dist/install/own-server.js +110 -0
  19. package/node_modules/@ocean/market/dist/mcp/mcp-gateway.js +113 -10
  20. package/node_modules/@ocean/market/dist/mcp/mcp-launch.js +167 -23
  21. package/node_modules/@ocean/market/dist/mcp/mcp-runner.js +6 -1
  22. package/node_modules/@ocean/market/dist/registry/official-registry.js +76 -0
  23. package/node_modules/@ocean/market/dist/security/secrets.js +66 -0
  24. package/node_modules/@ocean/market/package.json +1 -1
  25. package/node_modules/@ocean/services/package.json +1 -1
  26. package/ocean-marketplace.json +34 -48
  27. package/package.json +7 -7
@@ -1,6 +1,8 @@
1
1
  import os from "node:os";
2
2
  import path from "node:path";
3
+ import { remoteUrlAllowed, } from "../adapters/mcp-adapter.js";
3
4
  import { PermissionPolicy } from "../security/permissions.js";
5
+ const remoteTransports = ["streamable-http", "sse"];
4
6
  // Where each runner takes its own (runtime) arguments: before the package for npx and uvx,
5
7
  // after `run` for docker, so container flags such as `-e` or `-v` reach `docker run`.
6
8
  const runners = {
@@ -23,6 +25,15 @@ const runners = {
23
25
  ],
24
26
  }),
25
27
  };
28
+ // The command a registry type is started with (`npx`, `uvx`, `docker`), as an `exec` permission
29
+ // names it.
30
+ export function runnerCommand(registryType) {
31
+ const runner = runners[registryType];
32
+ if (!runner)
33
+ throw new Error(`registry type ${registryType} is not supported`);
34
+ return runner("x", undefined, []).command;
35
+ }
36
+ // First-party servers: every argument is a literal.
26
37
  export function literalArguments(list, where) {
27
38
  if (list === undefined)
28
39
  return [];
@@ -39,36 +50,173 @@ export function literalArguments(list, where) {
39
50
  return [argument.value];
40
51
  });
41
52
  }
53
+ // `{name}` placeholders in a registry value (`Bearer {api_key}`, `TOKEN={token}`).
54
+ const PLACEHOLDER = /\{([A-Za-z_][A-Za-z0-9_.-]*)\}/g;
55
+ const placeholders = (value) => [...value.matchAll(PLACEHOLDER)].map((match) => match[1]);
56
+ const asList = (value) => Array.isArray(value) ? value : [];
57
+ // The stdio package a launch uses, or none (then the first remote).
58
+ export function stdioPackage(server) {
59
+ return server.packages?.find((item) => {
60
+ const transport = item.transport?.type;
61
+ return transport === undefined || transport === "stdio";
62
+ });
63
+ }
64
+ export function launchInputs(server) {
65
+ const inputs = new Map();
66
+ const add = (input) => {
67
+ const have = inputs.get(input.name);
68
+ inputs.set(input.name, have
69
+ ? {
70
+ ...have,
71
+ required: have.required || input.required,
72
+ secret: have.secret || input.secret,
73
+ }
74
+ : input);
75
+ };
76
+ const fromTemplate = (item, kind, value) => {
77
+ for (const name of placeholders(value)) {
78
+ const variable = item.variables?.[name];
79
+ add({
80
+ name,
81
+ kind,
82
+ required: item.isRequired === true || variable?.isRequired === true,
83
+ secret: item.isSecret === true || variable?.isSecret === true,
84
+ description: typeof variable?.description === "string"
85
+ ? variable.description
86
+ : typeof item.description === "string"
87
+ ? item.description
88
+ : undefined,
89
+ });
90
+ }
91
+ };
92
+ const stdio = stdioPackage(server);
93
+ if (stdio) {
94
+ for (const variable of asList(stdio.environmentVariables))
95
+ if (typeof variable.name === "string")
96
+ add({
97
+ name: variable.name,
98
+ kind: "env",
99
+ required: variable.isRequired === true,
100
+ secret: variable.isSecret === true,
101
+ description: typeof variable.description === "string"
102
+ ? variable.description
103
+ : undefined,
104
+ });
105
+ for (const argument of [
106
+ ...asList(stdio.runtimeArguments),
107
+ ...asList(stdio.packageArguments),
108
+ ])
109
+ if (typeof argument.value === "string")
110
+ fromTemplate(argument, "argument", argument.value);
111
+ return [...inputs.values()];
112
+ }
113
+ const remote = server.remotes?.[0];
114
+ for (const header of asList(remote?.headers)) {
115
+ if (typeof header.name !== "string")
116
+ continue;
117
+ if (typeof header.value === "string")
118
+ fromTemplate(header, "header", header.value);
119
+ else
120
+ add({
121
+ name: header.name,
122
+ kind: "header",
123
+ required: header.isRequired === true,
124
+ secret: header.isSecret === true,
125
+ description: typeof header.description === "string"
126
+ ? header.description
127
+ : undefined,
128
+ });
129
+ }
130
+ return [...inputs.values()];
131
+ }
132
+ const missing = (capability, name) => new Error(`${capability} needs ${name}: set it in the environment, or run \`ocean market secret set ${capability} ${name}\``);
42
133
  // Turns an installed server into the exact process (or endpoint) to connect to, checking every
43
- // step against what the capability declared: the runner must be a declared `exec`, every
44
- // environment variable a declared `env`, a remote's host a declared `network`. The process gets
45
- // only those variables (plus PATH so the runner resolves).
134
+ // step against what the capability declared: the runner must be a declared `exec`, every value
135
+ // it is given a declared `env`, a remote's host a declared `network`. The process gets only
136
+ // those variables (plus PATH so the runner resolves). A value comes from the environment, then
137
+ // from `secret` (the secret store); an optional one that is missing is left out.
46
138
  export function planMcpLaunch(installed, options) {
47
139
  const home = options.home ?? os.homedir();
48
140
  const hostEnv = options.env ?? process.env;
49
141
  const policy = new PermissionPolicy(installed.capability, installed.permissions, home);
50
- const { server } = installed;
51
- const stdio = server.packages?.find((item) => {
52
- const transport = item.transport?.type;
53
- return transport === undefined || transport === "stdio";
54
- });
142
+ const { server, capability } = installed;
143
+ const value = (name) => {
144
+ policy.require({ type: "env", target: name });
145
+ return hostEnv[name] ?? options.secret?.(name);
146
+ };
147
+ // A template with every placeholder filled, or undefined when one has no value.
148
+ const fill = (template) => {
149
+ let complete = true;
150
+ const filled = template.replace(PLACEHOLDER, (_, name) => {
151
+ const found = value(name);
152
+ if (found === undefined)
153
+ complete = false;
154
+ return found ?? "";
155
+ });
156
+ return complete ? filled : undefined;
157
+ };
158
+ const resolveArguments = (list, where) => {
159
+ if (list === undefined)
160
+ return [];
161
+ if (!Array.isArray(list))
162
+ throw new Error(`${where} must be an array`);
163
+ return list.flatMap((argument) => {
164
+ const raw = argument?.value ?? argument?.default;
165
+ if (typeof raw !== "string")
166
+ throw new Error(`${capability} ${where}: an argument needs a value or a default`);
167
+ const filled = fill(raw);
168
+ if (filled === undefined) {
169
+ if (argument.isRequired === true)
170
+ throw missing(capability, placeholders(raw)[0]);
171
+ return [];
172
+ }
173
+ if (argument.type === "named") {
174
+ if (typeof argument.name !== "string")
175
+ throw new Error(`${where}: a named argument needs a name`);
176
+ return [argument.name, filled];
177
+ }
178
+ return [filled];
179
+ });
180
+ };
181
+ const stdio = stdioPackage(server);
55
182
  if (!stdio) {
56
183
  const remote = server.remotes?.[0];
57
184
  if (!remote)
58
- throw new Error(`${installed.capability} has no stdio package or remote endpoint`);
185
+ throw new Error(`${capability} has no stdio package or remote endpoint`);
186
+ // Checked again here, not only at install: the installed file is plain JSON on disk.
59
187
  const url = new URL(String(remote.url));
188
+ if (!remoteUrlAllowed(url))
189
+ throw new Error(`${capability}: remote ${url.href} must be https (or http on loopback)`);
190
+ const type = String(remote.type ?? "streamable-http");
191
+ if (!remoteTransports.includes(type))
192
+ throw new Error(`${capability}: remote transport ${type} is not supported`);
60
193
  policy.require({ type: "network", target: url.hostname });
194
+ const headers = {};
195
+ for (const header of asList(remote.headers)) {
196
+ if (typeof header.name !== "string")
197
+ continue;
198
+ const filled = typeof header.value === "string"
199
+ ? fill(header.value)
200
+ : value(header.name);
201
+ if (filled !== undefined)
202
+ headers[header.name] = filled;
203
+ else if (header.isRequired === true)
204
+ throw missing(capability, typeof header.value === "string"
205
+ ? placeholders(header.value)[0]
206
+ : header.name);
207
+ }
61
208
  return {
62
209
  transport: "remote",
63
- type: String(remote.type ?? "streamable-http"),
210
+ type: type,
64
211
  url: url.href,
212
+ headers,
65
213
  };
66
214
  }
67
215
  const registryType = String(stdio.registryType);
68
216
  const runner = runners[registryType];
69
217
  if (!runner)
70
- throw new Error(`${installed.capability}: registry type ${registryType} is not supported`);
71
- const base = runner(String(stdio.identifier), typeof stdio.version === "string" ? stdio.version : undefined, literalArguments(stdio.runtimeArguments, "runtimeArguments"));
218
+ throw new Error(`${capability}: registry type ${registryType} is not supported`);
219
+ const base = runner(String(stdio.identifier), typeof stdio.version === "string" ? stdio.version : undefined, resolveArguments(stdio.runtimeArguments, "runtimeArguments"));
72
220
  policy.require({ type: "exec", target: base.command });
73
221
  // The node running Ocean comes first, so its npx resolves even when a GUI client (Claude
74
222
  // Desktop, VS Code) starts this with the login PATH, which lacks a version-managed node.
@@ -79,23 +227,19 @@ export function planMcpLaunch(installed, options) {
79
227
  ].join(path.delimiter),
80
228
  HOME: home,
81
229
  };
82
- const declaredVariables = Array.isArray(stdio.environmentVariables)
83
- ? stdio.environmentVariables
84
- : [];
85
- for (const variable of declaredVariables) {
230
+ for (const variable of asList(stdio.environmentVariables)) {
86
231
  if (typeof variable?.name !== "string")
87
- throw new Error(`${installed.capability}: environment variable without a name`);
88
- policy.require({ type: "env", target: variable.name });
89
- const value = hostEnv[variable.name] ??
232
+ throw new Error(`${capability}: environment variable without a name`);
233
+ const found = value(variable.name) ??
90
234
  (typeof variable.default === "string" ? variable.default : undefined);
91
- if (value !== undefined)
92
- env[variable.name] = value;
235
+ if (found !== undefined)
236
+ env[variable.name] = found;
93
237
  else if (variable.isRequired === true)
94
- throw new Error(`${installed.capability} needs ${variable.name} set in the environment`);
238
+ throw missing(capability, variable.name);
95
239
  }
96
240
  const args = [
97
241
  ...base.args,
98
- ...literalArguments(stdio.packageArguments, "packageArguments"),
242
+ ...resolveArguments(stdio.packageArguments, "packageArguments"),
99
243
  ];
100
244
  return {
101
245
  transport: "stdio",
@@ -2,6 +2,7 @@ import { spawn } from "node:child_process";
2
2
  import { mkdir, readFile } from "node:fs/promises";
3
3
  import path from "node:path";
4
4
  import { mcpServerFile } from "../adapters/mcp-adapter.js";
5
+ import { keychainStore } from "../security/secrets.js";
5
6
  import { planMcpLaunch } from "./mcp-launch.js";
6
7
  // The one way an installed MCP server is started: planned against its declared permissions,
7
8
  // then run with stdio passed through, so a client can point at
@@ -16,7 +17,11 @@ export async function runInstalledMcp(name, options) {
16
17
  }
17
18
  const stateDir = path.join(options.stateRoot, path.basename(mcpServerFile(options.serversRoot, name), ".json"));
18
19
  await mkdir(stateDir, { recursive: true });
19
- const launch = planMcpLaunch(installed, { stateDir });
20
+ const secrets = options.secrets ?? keychainStore();
21
+ const launch = planMcpLaunch(installed, {
22
+ stateDir,
23
+ secret: (secret) => secrets.get(installed.capability, secret),
24
+ });
20
25
  if (launch.transport === "remote")
21
26
  throw new Error(`${name} is a remote server (${launch.type} ${launch.url}); connect the client to it directly`);
22
27
  const child = spawn(launch.command, launch.args, {
@@ -0,0 +1,76 @@
1
+ import { remoteUrlAllowed, } from "../adapters/mcp-adapter.js";
2
+ import { launchInputs, stdioPackage } from "../mcp/mcp-launch.js";
3
+ // The official MCP registry (registry.modelcontextprotocol.io): the public list of MCP servers in
4
+ // the `server.json` format Ocean installs. Read-only; nothing about the owner is sent but the
5
+ // search term. `OCEAN_MCP_REGISTRY` points at another registry with the same API (a mirror, a
6
+ // test server): https, or http on loopback.
7
+ export const OFFICIAL_REGISTRY = "https://registry.modelcontextprotocol.io";
8
+ export function registryBase(env = process.env) {
9
+ const base = new URL(env.OCEAN_MCP_REGISTRY || OFFICIAL_REGISTRY);
10
+ if (!remoteUrlAllowed(base))
11
+ throw new Error(`OCEAN_MCP_REGISTRY ${base.href} must be https (or http on loopback)`);
12
+ return base;
13
+ }
14
+ const status = (entry) => String(entry._meta?.["io.modelcontextprotocol.registry/official"]?.status ??
15
+ "active");
16
+ // How the server would run here: its stdio package's registry, or its remote's transport.
17
+ function runs(server) {
18
+ const stdio = stdioPackage(server);
19
+ if (stdio)
20
+ return String(stdio.registryType);
21
+ const remote = server.remotes?.[0];
22
+ return remote ? `remote ${String(remote.type ?? "streamable-http")}` : "?";
23
+ }
24
+ async function getJson(url, fetchImpl, timeoutMs) {
25
+ const response = await fetchImpl(url, {
26
+ headers: { accept: "application/json" },
27
+ redirect: "error",
28
+ signal: AbortSignal.timeout(timeoutMs),
29
+ });
30
+ if (response.status === 404)
31
+ return undefined;
32
+ if (!response.ok)
33
+ throw new Error(`MCP registry answered ${response.status} for ${url.href}`);
34
+ return response.json();
35
+ }
36
+ export async function searchRegistry(term, options = {}) {
37
+ const url = new URL("v0/servers", registryBase(options.env));
38
+ url.searchParams.set("search", term);
39
+ url.searchParams.set("limit", String(options.limit ?? 20));
40
+ const body = (await getJson(url, options.fetch ?? fetch, options.timeoutMs ?? 20_000));
41
+ const seen = new Set();
42
+ const hits = [];
43
+ for (const entry of body?.servers ?? []) {
44
+ const server = entry.server;
45
+ if (!server || typeof server.name !== "string" || seen.has(server.name))
46
+ continue;
47
+ if (status(entry) === "deleted")
48
+ continue;
49
+ seen.add(server.name);
50
+ hits.push({
51
+ name: server.name,
52
+ version: String(server.version ?? ""),
53
+ description: String(server.description ?? "").slice(0, 200),
54
+ status: status(entry),
55
+ runs: runs(server),
56
+ needs: launchInputs(server)
57
+ .filter((input) => input.required)
58
+ .map((input) => input.name),
59
+ });
60
+ }
61
+ return hits;
62
+ }
63
+ // One server's `server.json`, the latest version or an exact one. A deleted entry is refused;
64
+ // a deprecated one is returned with its status so the caller can say so.
65
+ export async function fetchRegistryServer(name, options = {}) {
66
+ const url = new URL(`v0/servers/${encodeURIComponent(name)}/versions/${encodeURIComponent(options.version ?? "latest")}`, registryBase(options.env));
67
+ const entry = (await getJson(url, options.fetch ?? fetch, options.timeoutMs ?? 20_000));
68
+ if (!entry?.server)
69
+ throw new Error(`${name}${options.version ? `@${options.version}` : ""} is not in the MCP registry`);
70
+ if (entry.server.name !== name)
71
+ throw new Error(`the MCP registry answered ${String(entry.server.name)} for ${name}`);
72
+ if (status(entry) === "deleted")
73
+ throw new Error(`${name} was deleted from the MCP registry`);
74
+ return { server: entry.server, status: status(entry) };
75
+ }
76
+ //# sourceMappingURL=official-registry.js.map
@@ -0,0 +1,66 @@
1
+ import { spawnSync } from "node:child_process";
2
+ const SERVICE = "ocean-mcp";
3
+ const account = (capability, name) => `${capability}:${name}`;
4
+ const run = (command, args, input) => {
5
+ const result = spawnSync(command, args, {
6
+ encoding: "utf8",
7
+ input,
8
+ stdio: ["pipe", "pipe", "pipe"],
9
+ });
10
+ return { status: result.status, stdout: result.stdout ?? "" };
11
+ };
12
+ // `security -i` reads its commands from stdin, so the value never appears in a process list.
13
+ const quote = (value) => `"${value.replace(/["\\]/g, "\\$&")}"`;
14
+ export function keychainStore(platform = process.platform, runner = run) {
15
+ if (platform !== "darwin")
16
+ return {
17
+ name: "none",
18
+ get: () => undefined,
19
+ set: () => {
20
+ throw new Error(`no secret store on ${platform} yet; set the variable in the environment of the client instead`);
21
+ },
22
+ remove: () => false,
23
+ };
24
+ return {
25
+ name: "macOS keychain",
26
+ get(capability, name) {
27
+ const result = runner("security", [
28
+ "find-generic-password",
29
+ "-s",
30
+ SERVICE,
31
+ "-a",
32
+ account(capability, name),
33
+ "-w",
34
+ ]);
35
+ return result.status === 0 ? result.stdout.replace(/\n$/, "") : undefined;
36
+ },
37
+ set(capability, name, value) {
38
+ if (/[\r\n]/.test(value))
39
+ throw new Error("a secret value cannot contain a line break");
40
+ const result = runner("security", ["-i"], `add-generic-password -U -s ${quote(SERVICE)} -a ${quote(account(capability, name))} -w ${quote(value)}\n`);
41
+ if (result.status !== 0)
42
+ throw new Error(`the keychain refused to store ${name}`);
43
+ },
44
+ remove(capability, name) {
45
+ return (runner("security", [
46
+ "delete-generic-password",
47
+ "-s",
48
+ SERVICE,
49
+ "-a",
50
+ account(capability, name),
51
+ ]).status === 0);
52
+ },
53
+ };
54
+ }
55
+ // For tests and callers that pass values another way.
56
+ export function memoryStore(values = {}) {
57
+ return {
58
+ name: "memory",
59
+ get: (capability, name) => values[account(capability, name)],
60
+ set: (capability, name, value) => {
61
+ values[account(capability, name)] = value;
62
+ },
63
+ remove: (capability, name) => delete values[account(capability, name)],
64
+ };
65
+ }
66
+ //# sourceMappingURL=secrets.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocean/market",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
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.3.0",
3
+ "version": "1.5.0",
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.3.0",
8
+ "version": "1.5.0",
9
9
  "engines": {
10
- "ocean": ">=1.3.0"
10
+ "ocean": ">=1.5.0"
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.3.0",
26
+ "version": "1.5.0",
27
27
  "engines": {
28
- "ocean": ">=1.3.0"
28
+ "ocean": ">=1.5.0"
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.3.0",
44
+ "version": "1.5.0",
45
45
  "engines": {
46
- "ocean": ">=1.3.0"
46
+ "ocean": ">=1.5.0"
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.3.0",
62
+ "version": "1.5.0",
63
63
  "engines": {
64
- "ocean": ">=1.3.0"
64
+ "ocean": ">=1.5.0"
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.3.0",
80
+ "version": "1.5.0",
81
81
  "engines": {
82
- "ocean": ">=1.3.0"
82
+ "ocean": ">=1.5.0"
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.3.0",
98
+ "version": "1.5.0",
99
99
  "engines": {
100
- "ocean": ">=1.3.0"
100
+ "ocean": ">=1.5.0"
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.3.0",
116
+ "version": "1.5.0",
117
117
  "engines": {
118
- "ocean": ">=1.3.0"
118
+ "ocean": ">=1.5.0"
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.3.0",
134
+ "version": "1.5.0",
135
135
  "engines": {
136
- "ocean": ">=1.3.0"
136
+ "ocean": ">=1.5.0"
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.3.0",
152
+ "version": "1.5.0",
153
153
  "engines": {
154
- "ocean": ">=1.3.0"
154
+ "ocean": ">=1.5.0"
155
155
  },
156
156
  "source": {
157
157
  "type": "path",
@@ -167,7 +167,7 @@
167
167
  {
168
168
  "kind": "mcp",
169
169
  "name": "dev.ocean/chrome-devtools",
170
- "description": "Control the owner's real, signed-in Chrome through Chrome DevTools MCP: tabs, navigation, clicks, forms, screenshots, console and network errors. Reads every open tab and acts inside any signed-in session of the attached profile, for every client that uses the Ocean gateway. The filesystem permission is declared for consent but not enforced at runtime, and the npm package is pinned by version, not by digest.",
170
+ "description": "Control the owner's real, signed-in Chrome through the ocean-browser-mcp package (pinned Chrome DevTools MCP): tabs, navigation, clicks, forms, uploads, screenshots, console and network errors. Reads every open tab and acts inside any signed-in session of the attached Chrome, for every client wired to it. Chrome asks to allow each new connection. The filesystem permission is declared for consent but not enforced at runtime, and the npm package is pinned by version, not by digest.",
171
171
  "permissions": {
172
172
  "filesystem": {
173
173
  "read": [
@@ -183,42 +183,28 @@
183
183
  "npx"
184
184
  ]
185
185
  },
186
- "version": "1.3.0",
186
+ "version": "1.5.0",
187
187
  "engines": {
188
- "ocean": ">=1.3.0"
188
+ "ocean": ">=1.5.0"
189
189
  },
190
190
  "source": {
191
191
  "type": "path",
192
192
  "path": "market/mcp/chrome-devtools"
193
193
  },
194
194
  "integrity": {
195
- "sha256": "1c9b4bf3711ce9908690268722ff73721a5fc7a0e42c130bd237d9d817264a3a"
195
+ "sha256": "d0d0bcf35f106cea386c4221c626840f1f77e02f1d728c68c8ef2053746a7577"
196
196
  },
197
197
  "spec": {
198
198
  "name": "dev.ocean/chrome-devtools",
199
- "description": "Chrome DevTools MCP attached to the owner's running Chrome. Usage statistics and CrUX lookups are off, so page URLs stay on this machine.",
199
+ "description": "ocean-browser-mcp runs Chrome DevTools MCP 1.12.0 attached to the owner's running Chrome, with usage statistics and CrUX lookups off, so page URLs stay on this machine.",
200
200
  "packages": [
201
201
  {
202
202
  "registryType": "npm",
203
- "identifier": "chrome-devtools-mcp",
204
- "version": "1.12.0",
203
+ "identifier": "ocean-browser-mcp",
204
+ "version": "0.1.0",
205
205
  "transport": {
206
206
  "type": "stdio"
207
- },
208
- "packageArguments": [
209
- {
210
- "type": "positional",
211
- "value": "--autoConnect"
212
- },
213
- {
214
- "type": "positional",
215
- "value": "--no-usage-statistics"
216
- },
217
- {
218
- "type": "positional",
219
- "value": "--no-performance-crux"
220
- }
221
- ]
207
+ }
222
208
  }
223
209
  ],
224
210
  "_meta": {
@@ -232,9 +218,9 @@
232
218
  "kind": "mcp",
233
219
  "name": "dev.ocean/mcp-gateway",
234
220
  "description": "One MCP endpoint for every registered server: Ocean's own and those installed from the marketplace.",
235
- "version": "1.3.0",
221
+ "version": "1.5.0",
236
222
  "engines": {
237
- "ocean": ">=1.3.0"
223
+ "ocean": ">=1.5.0"
238
224
  },
239
225
  "source": {
240
226
  "type": "path",
@@ -276,9 +262,9 @@
276
262
  "kind": "mcp",
277
263
  "name": "dev.ocean/obsidian",
278
264
  "description": "Ocean's Obsidian vault bridge over MCP.",
279
- "version": "1.3.0",
265
+ "version": "1.5.0",
280
266
  "engines": {
281
- "ocean": ">=1.3.0"
267
+ "ocean": ">=1.5.0"
282
268
  },
283
269
  "source": {
284
270
  "type": "path",
@@ -320,9 +306,9 @@
320
306
  "kind": "mcp",
321
307
  "name": "dev.ocean/ocean",
322
308
  "description": "Ocean's own MCP server: workspace status, tasks, handoffs, sessions and the brain.",
323
- "version": "1.3.0",
309
+ "version": "1.5.0",
324
310
  "engines": {
325
- "ocean": ">=1.3.0"
311
+ "ocean": ">=1.5.0"
326
312
  },
327
313
  "source": {
328
314
  "type": "path",
@@ -374,9 +360,9 @@
374
360
  "npx"
375
361
  ]
376
362
  },
377
- "version": "1.3.0",
363
+ "version": "1.5.0",
378
364
  "engines": {
379
- "ocean": ">=1.3.0"
365
+ "ocean": ">=1.5.0"
380
366
  },
381
367
  "source": {
382
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.3.0",
4
+ "version": "1.5.0",
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.3.0",
49
- "@ocean/context": "1.3.0",
50
- "@ocean/core": "1.3.0",
51
- "@ocean/loop": "1.3.0",
52
- "@ocean/market": "1.3.0",
53
- "@ocean/services": "1.3.0",
48
+ "@ocean/brain": "1.5.0",
49
+ "@ocean/context": "1.5.0",
50
+ "@ocean/core": "1.5.0",
51
+ "@ocean/loop": "1.5.0",
52
+ "@ocean/market": "1.5.0",
53
+ "@ocean/services": "1.5.0",
54
54
  "playwright-core": "^1.48.0",
55
55
  "sqlite-vec": "0.1.9",
56
56
  "zod": "^4.6.5"