@ekwo-ai/mcp 0.4.0 → 0.4.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.
package/README.md CHANGED
@@ -217,7 +217,7 @@ they cannot run: PostgREST and GoTrue. To exercise those, on a project you can
217
217
  throw away:
218
218
 
219
219
  ```sh
220
- npx ekwo init --country BE --org "Scratch" --company "Scratch BV" … # a real project
220
+ npx ekwo-os init --country BE --org "Scratch" --company "Scratch BV" … # a real project
221
221
  ```
222
222
 
223
223
  Then point a client at it — in Claude Desktop, the JSON block above — and:
package/dist/schema.js CHANGED
@@ -39,10 +39,10 @@ export async function installedSchemaVersion(backend) {
39
39
  export async function assertSchemaSupported(backend) {
40
40
  const installed = await installedSchemaVersion(backend);
41
41
  if (installed === undefined) {
42
- throw new EkwoMcpError(`schema_not_found: this database does not answer ekwo_schema_version(), so it does not carry the Ekwo schema. Run \`npx ekwo init\` against it first.`);
42
+ throw new EkwoMcpError(`schema_not_found: this database does not answer ekwo_schema_version(), so it does not carry the Ekwo schema. Run \`npx ekwo-os init\` against it first.`);
43
43
  }
44
44
  if (!schemaIsAtLeast(installed, SCHEMA_MIN)) {
45
- throw new EkwoMcpError(`schema_too_old: this database is at ${installed} and @ekwo-ai/mcp needs ${SCHEMA_MIN} or newer. Run \`npx ekwo migrate\` against it, then start this server again.`, {
45
+ throw new EkwoMcpError(`schema_too_old: this database is at ${installed} and @ekwo-ai/mcp needs ${SCHEMA_MIN} or newer. Run \`npx ekwo-os migrate\` against it, then start this server again.`, {
46
46
  hint: 'Upgrading the database is the fix, never pinning this server: the schema moves forward only, and an older client would be reading rows that no longer mean what it thinks.',
47
47
  });
48
48
  }
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,YAAY,EAA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AA0D;AAC1D,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAAC,OAAgB;IAC3D,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,MAAM,OAAO,CAAC,GAAG,CAAS,qBAAqB,CAAC,CAAC;QAC9D,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACxB,OAAO,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;IAC3D,CAAC;IAAC,MAAM,CAAC;QACP,uEAAuE;QACvE,8DAA8D;QAC9D,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,OAAgB;IAC1D,MAAM,SAAS,GAAG,MAAM,sBAAsB,CAAC,OAAO,CAAC,CAAC;IACxD,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC5B,MAAM,IAAI,YAAY,CACpB,yJAAyJ,CAC1J,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE,UAAU,CAAC,EAAE,CAAC;QAC5C,MAAM,IAAI,YAAY,CACpB,uCAAuC,SAAS,2BAA2B,UAAU,kFAAkF,EACvK;YACE,IAAI,EAAE,4KAA4K;SACnL,CACF,CAAC;IACJ,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
package/dist/server.d.ts CHANGED
@@ -18,7 +18,7 @@ export declare const SERVER_NAME = "@ekwo-ai/mcp";
18
18
  * `tests/mcp/surface.test.ts` keeps the two equal, so a release that bumps one
19
19
  * and forgets the other fails the build.
20
20
  */
21
- export declare const SERVER_VERSION = "0.4.0";
21
+ export declare const SERVER_VERSION = "0.4.1";
22
22
  export interface ServerOptions {
23
23
  /**
24
24
  * The modules this installation carries, from `public.modules`. Their tools
package/dist/server.js CHANGED
@@ -23,7 +23,7 @@ export const SERVER_NAME = '@ekwo-ai/mcp';
23
23
  * `tests/mcp/surface.test.ts` keeps the two equal, so a release that bumps one
24
24
  * and forgets the other fails the build.
25
25
  */
26
- export const SERVER_VERSION = '0.4.0';
26
+ export const SERVER_VERSION = '0.4.1';
27
27
  /** Everything a tool returns: JSON, pretty-printed, as one text block. */
28
28
  function ok(payload) {
29
29
  return { content: [{ type: 'text', text: JSON.stringify(payload, null, 2) }] };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekwo-ai/mcp",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "MCP server for Ekwo OS: let an AI assistant keep the books, under the user's own row level security.",
5
5
  "keywords": [
6
6
  "mcp",