@agentcairn/mcp-server 0.2.2 → 0.2.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentcairn/mcp-server",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Agent Cairn server: MCP endpoint, JSON API and dashboard for shared agent memory.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -44,7 +44,7 @@
44
44
  "test": "vitest run"
45
45
  },
46
46
  "dependencies": {
47
- "@agentcairn/core": "0.2.2",
47
+ "@agentcairn/core": "0.2.3",
48
48
  "@modelcontextprotocol/sdk": "^1.12.0",
49
49
  "zod": "^3.24.0",
50
50
  "cytoscape": "^3.30.0"
package/ui/favicon.svg CHANGED
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect width="32" height="32" rx="8" fill="#1a1a19"/><ellipse cx="16" cy="23.5" rx="9" ry="3.8" fill="#fff"/><ellipse cx="16" cy="16.2" rx="6.4" ry="3.2" fill="#fff"/><ellipse cx="16" cy="9.6" rx="3.8" ry="2.8" fill="#3987e5"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect width="32" height="32" rx="8" fill="#1a1a19"/><g transform="translate(-0.15 -1.5) scale(0.17)"><ellipse cx="95" cy="140" rx="56" ry="22" fill="#f2f2ef"/><ellipse cx="95" cy="106" rx="40" ry="17" fill="#d8d7d0"/><ellipse cx="95" cy="78" rx="27" ry="14" fill="#b9b8b0"/><ellipse cx="95" cy="55" rx="15" ry="11" fill="#3987e5"/></g></svg>
package/ui/js/app.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import { api, onUnauthorized } from './api.js'
2
- import { clear, h, icon, initial, startClock, svg } from './dom.js'
2
+ import { clear, h, icon, initial, startClock } from './dom.js'
3
3
  import { closeDrawer } from './drawer.js'
4
4
  import { live } from './store.js'
5
5
  import { mountLogin, mountSetup } from './views/auth.js'
6
+ import { logo } from './logo.js'
6
7
  import { mountInvite } from './views/invite.js'
7
8
 
8
9
  const root = document.getElementById('root')
@@ -62,16 +63,6 @@ function parseHash() {
62
63
  return { path, query: Object.fromEntries(new URLSearchParams(search)) }
63
64
  }
64
65
 
65
- function logo() {
66
- return svg(
67
- 'svg',
68
- { viewBox: '0 0 32 32', 'aria-hidden': 'true' },
69
- svg('ellipse', { cx: 16, cy: 23.5, rx: 9, ry: 3.8, fill: 'var(--text)' }),
70
- svg('ellipse', { cx: 16, cy: 16.2, rx: 6.4, ry: 3.2, fill: 'var(--text)' }),
71
- svg('ellipse', { class: 'pulse', cx: 16, cy: 9.6, rx: 3.8, ry: 2.8, fill: 'var(--s1)' }),
72
- )
73
- }
74
-
75
66
  // ---- app shell -------------------------------------------------------------
76
67
 
77
68
  let cleanup = null
package/ui/js/logo.js ADDED
@@ -0,0 +1,13 @@
1
+ import { svg } from './dom.js'
2
+
3
+ /** The Agent Cairn mark: a stack of stones with a blue one on top. It follows the theme through var(--text). */
4
+ export function logo() {
5
+ return svg(
6
+ 'svg',
7
+ { viewBox: '25 33 140 140', 'aria-hidden': 'true' },
8
+ svg('ellipse', { cx: 95, cy: 140, rx: 56, ry: 22, fill: 'var(--text)' }),
9
+ svg('ellipse', { cx: 95, cy: 106, rx: 40, ry: 17, fill: 'var(--text)', opacity: 0.82 }),
10
+ svg('ellipse', { cx: 95, cy: 78, rx: 27, ry: 14, fill: 'var(--text)', opacity: 0.64 }),
11
+ svg('ellipse', { class: 'pulse', cx: 95, cy: 55, rx: 15, ry: 11, fill: 'var(--s1)' }),
12
+ )
13
+ }
@@ -1,19 +1,9 @@
1
1
  import { api } from '../api.js'
2
- import { clear, h, svg } from '../dom.js'
2
+ import { clear, h } from '../dom.js'
3
+ import { logo } from '../logo.js'
3
4
 
4
5
  export function brand() {
5
- return h(
6
- 'div',
7
- { class: 'brand' },
8
- svg(
9
- 'svg',
10
- { viewBox: '0 0 32 32', 'aria-hidden': 'true' },
11
- svg('ellipse', { cx: 16, cy: 23.5, rx: 9, ry: 3.8, fill: 'var(--text)' }),
12
- svg('ellipse', { cx: 16, cy: 16.2, rx: 6.4, ry: 3.2, fill: 'var(--text)' }),
13
- svg('ellipse', { cx: 16, cy: 9.6, rx: 3.8, ry: 2.8, fill: 'var(--s1)' }),
14
- ),
15
- 'Agent Cairn',
16
- )
6
+ return h('div', { class: 'brand' }, logo(), 'Agent Cairn')
17
7
  }
18
8
 
19
9
  export function field(label, input, hint) {