@vpxa/aikit 0.1.195 → 0.1.197
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 +7 -1
- package/packages/aikit-client/package.json +28 -0
- package/packages/analyzers/package.json +25 -0
- package/packages/blocks-core/package.json +23 -0
- package/packages/blocks-interactive/dist/flame-graph-CV8KCLKu.mjs +31 -0
- package/packages/blocks-interactive/dist/form-SyIoFeT1.mjs +73 -0
- package/packages/blocks-interactive/dist/index.d.mts +51 -0
- package/packages/blocks-interactive/dist/index.mjs +15 -0
- package/packages/blocks-interactive/dist/payload-DyKkZIOX.mjs +1 -0
- package/packages/blocks-interactive/dist/picker-CZJricO9.mjs +53 -0
- package/packages/blocks-interactive/package.json +51 -0
- package/packages/browser/package.json +26 -0
- package/packages/chunker/package.json +29 -0
- package/packages/cli/package.json +31 -0
- package/packages/core/package.json +19 -0
- package/packages/dashboard/package.json +29 -0
- package/packages/elicitation/package.json +22 -0
- package/packages/embeddings/dist/index.d.ts +8 -0
- package/packages/embeddings/dist/index.js +1 -1
- package/packages/embeddings/package.json +25 -0
- package/packages/enterprise-bridge/package.json +22 -0
- package/packages/flows/package.json +16 -0
- package/packages/indexer/package.json +28 -0
- package/packages/present/package.json +21 -0
- package/packages/server/dist/dashboard-static-FmfoS46e.js +1 -0
- package/packages/server/dist/index.js +1 -1
- package/packages/server/dist/resolve-sibling-1oDoO-Re.js +1 -0
- package/packages/server/dist/{server-DN97p2DP.js → server-DaayrH3p.js} +138 -134
- package/packages/server/dist/settings-static-BtvyIrza.js +1 -0
- package/packages/server/package.json +64 -0
- package/packages/settings-ui/dist/assets/index-cNrL0PXt.css +1 -0
- package/packages/settings-ui/dist/index.html +22 -0
- package/packages/settings-ui/package.json +26 -0
- package/packages/store/package.json +32 -0
- package/packages/tools/package.json +34 -0
- package/packages/blocks-core/dist/index.d.ts +0 -600
- package/packages/server/dist/dashboard-static-CnXafYTs.js +0 -1
- package/packages/server/dist/settings-static-BkVLqWOr.js +0 -1
- /package/packages/blocks-core/dist/{index.js → index.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./resolve-sibling-1oDoO-Re.js";import{createReadStream as t,existsSync as n,statSync as r}from"node:fs";import{dirname as i,extname as a,join as o,resolve as s,sep as c}from"node:path";import{fileURLToPath as l}from"node:url";const u=import.meta.dirname??i(l(import.meta.url)),d={".html":`text/html`,".js":`application/javascript`,".css":`text/css`,".json":`application/json`,".png":`image/png`,".svg":`image/svg+xml`,".ico":`image/x-icon`,".woff":`font/woff`,".woff2":`font/woff2`};function f(t){return t?o(t,`..`,`..`,`settings-ui`,`dist`):e(`settings-ui`)??o(u,`..`,`..`,`settings-ui`,`dist`)}function p(e,t){let i=t.replace(/^\/settings\/?/,``)||`index.html`;if(i.startsWith(`api/`)||i===`api`)return{kind:`not-found`};try{i=decodeURIComponent(i)}catch{}let l=s(e,i);if(!(l===e||l.startsWith(`${e}${c}`)))return{kind:`forbidden`};try{if(r(l).isFile())return{kind:`file`,path:l,contentType:d[a(l)]??`application/octet-stream`}}catch{}let u=o(e,`index.html`);return n(u)?{kind:`spa`,path:u,contentType:`text/html`}:{kind:`not-found`}}function m(e,r,i){return n(r)?(e.get(`/settings{/*path}`,(e,n)=>{let i=p(r,e.path);if(i.kind===`forbidden`){n.status(403).end(`Forbidden`);return}if(i.kind===`not-found`){n.status(404).end(`Not found`);return}n.setHeader(`Content-Type`,i.contentType),i.kind===`file`&&/\.[a-f0-9]{8,}\.(js|css)$/i.test(i.path)?n.setHeader(`Cache-Control`,`public, max-age=31536000, immutable`):n.setHeader(`Cache-Control`,`no-cache`),t(i.path).pipe(n)}),i.info(`Settings UI available`,{url:`/settings/`,dir:r}),!0):!1}export{m as registerSettingsRoutes,f as resolveSettingsDir,p as resolveSettingsRequest};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aikit/server",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "MCP protocol server with stdio and HTTP transports",
|
|
5
|
+
"private": true,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./api": {
|
|
14
|
+
"types": "./dist/api.d.ts",
|
|
15
|
+
"default": "./dist/api.js"
|
|
16
|
+
},
|
|
17
|
+
"./config": {
|
|
18
|
+
"types": "./dist/config.d.ts",
|
|
19
|
+
"default": "./dist/config.js"
|
|
20
|
+
},
|
|
21
|
+
"./server": {
|
|
22
|
+
"types": "./dist/server.d.ts",
|
|
23
|
+
"default": "./dist/server.js"
|
|
24
|
+
},
|
|
25
|
+
"./proxy": {
|
|
26
|
+
"types": "./dist/proxy.d.ts",
|
|
27
|
+
"import": "./dist/proxy.js",
|
|
28
|
+
"default": "./dist/proxy.js"
|
|
29
|
+
},
|
|
30
|
+
"./curated-manager": {
|
|
31
|
+
"types": "./dist/curated-manager.d.ts",
|
|
32
|
+
"default": "./dist/curated-manager.js"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"clean": "rimraf dist",
|
|
37
|
+
"start": "node dist/index.js",
|
|
38
|
+
"start:http": "node dist/index.js --transport http",
|
|
39
|
+
"test": "vitest run"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@aikit/blocks-core": "workspace:*",
|
|
43
|
+
"@aikit/browser": "workspace:*",
|
|
44
|
+
"@aikit/present": "workspace:*",
|
|
45
|
+
"@modelcontextprotocol/sdk": "^1.x",
|
|
46
|
+
"express": "^5.x",
|
|
47
|
+
"marked": "^18.x",
|
|
48
|
+
"mermaid": "^11",
|
|
49
|
+
"zod": "^4.x"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@aikit/analyzers": "workspace:*",
|
|
53
|
+
"@aikit/chunker": "workspace:*",
|
|
54
|
+
"@aikit/core": "workspace:*",
|
|
55
|
+
"@aikit/elicitation": "workspace:*",
|
|
56
|
+
"@aikit/embeddings": "workspace:*",
|
|
57
|
+
"@aikit/enterprise-bridge": "workspace:*",
|
|
58
|
+
"@aikit/flows": "workspace:*",
|
|
59
|
+
"@aikit/indexer": "workspace:*",
|
|
60
|
+
"@aikit/store": "workspace:*",
|
|
61
|
+
"@aikit/tools": "workspace:*",
|
|
62
|
+
"@types/express": "^5.x"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--bg:#0d1117;--surface:#161b22;--surface-2:#1f262d;--border:#30363d;--text:#c9d1d9;--muted:#8b949e;--accent:#58a6ff;--success:#3fb950;--warn:#d29922;--danger:#f85149}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.app{flex-direction:column;min-height:100vh;display:flex}.statusbar{background:var(--surface);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 16px;font-size:13px;display:flex}.statusbar .badge{background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:2px 8px;font-size:12px}.statusbar .badge.user{color:var(--accent)}.statusbar .badge.workspace{color:var(--success)}.tabs{border-bottom:1px solid var(--border);background:var(--surface);gap:0;display:flex}.tab{color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 18px;font-size:14px}.tab.active{color:var(--text);border-bottom-color:var(--accent)}.panel{width:100%;max-width:1100px;margin:0 auto;padding:20px}.group{background:var(--surface);border:1px solid var(--border);border-radius:8px;margin-bottom:16px;padding:16px}.group h2{text-transform:uppercase;color:var(--muted);letter-spacing:.05em;margin-bottom:12px;font-size:14px;font-weight:600}.row{border-bottom:1px solid var(--surface-2);grid-template-columns:220px 1fr auto;align-items:start;gap:12px;padding:8px 0;display:grid}.row:last-child{border-bottom:0}.row .key{color:var(--text);font-family:SF Mono,Menlo,Consolas,monospace;font-size:13px}.row .desc{color:var(--muted);margin-top:2px;font-size:12px}.row input[type=text],.row input[type=number],.row textarea,.row select{background:var(--bg);width:100%;color:var(--text);border:1px solid var(--border);border-radius:4px;padding:6px 8px;font-family:inherit;font-size:13px}.row textarea{min-height:80px;font-family:SF Mono,Menlo,Consolas,monospace}.row .actions{align-items:center;gap:6px;display:flex}button{background:var(--surface-2);color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:4px;padding:6px 12px;font-size:13px}button:hover{background:var(--border)}button.primary{background:var(--accent);color:#0d1117;border-color:var(--accent)}button.danger{color:var(--danger)}.banner{background:var(--surface);border-left:3px solid var(--warn);color:var(--muted);margin-bottom:16px;padding:10px 14px;font-size:13px}.error{color:var(--danger);margin-top:4px;font-size:12px}.scope-toggle{background:var(--surface-2);border:1px solid var(--border);border-radius:4px;display:inline-flex;overflow:hidden}.scope-toggle button{color:var(--muted);background:0 0;border:0;border-radius:0;padding:4px 10px;font-size:12px}.scope-toggle button.active{background:var(--accent);color:#0d1117}.add-row{border-top:1px dashed var(--border);grid-template-columns:220px 1fr auto;gap:12px;margin-top:12px;padding-top:12px;display:grid}.muted{color:var(--muted);font-size:12px}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>AI Kit Settings</title>
|
|
7
|
+
<style>
|
|
8
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
9
|
+
html, body, #root { width: 100%; min-height: 100%; }
|
|
10
|
+
body {
|
|
11
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
12
|
+
background: #0d1117;
|
|
13
|
+
color: #c9d1d9;
|
|
14
|
+
}
|
|
15
|
+
</style>
|
|
16
|
+
<script type="module" crossorigin src="/settings/assets/index-DLcLvASh.js"></script>
|
|
17
|
+
<link rel="stylesheet" crossorigin href="/settings/assets/index-cNrL0PXt.css">
|
|
18
|
+
</head>
|
|
19
|
+
<body>
|
|
20
|
+
<div id="root"></div>
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aikit/settings-ui",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./src/main.tsx"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"dev": "vite",
|
|
11
|
+
"build": "vite build",
|
|
12
|
+
"preview": "vite preview",
|
|
13
|
+
"test": "vitest run"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"react": "^19.x",
|
|
17
|
+
"react-dom": "^19.x"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@types/react": "^19.x",
|
|
21
|
+
"@types/react-dom": "^19.x",
|
|
22
|
+
"@vitejs/plugin-react": "^6.x",
|
|
23
|
+
"typescript": "^6.x",
|
|
24
|
+
"vite": "^8.x"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aikit/store",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Knowledge + vector + graph store (SQLite + sqlite-vec, LanceDB legacy)",
|
|
5
|
+
"private": true,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"clean": "rimraf dist",
|
|
17
|
+
"test": "vitest run"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@lancedb/lancedb": "^0.x",
|
|
21
|
+
"sql.js": "^1.x",
|
|
22
|
+
"sqlite-vec": "^0.x"
|
|
23
|
+
},
|
|
24
|
+
"optionalDependencies": {
|
|
25
|
+
"better-sqlite3": "^12.x"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@aikit/core": "workspace:*",
|
|
29
|
+
"@types/better-sqlite3": "^7.x",
|
|
30
|
+
"@types/sql.js": "^1.x"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aikit/tools",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "29 tool modules exposing 46 MCP tool implementations",
|
|
5
|
+
"private": true,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"clean": "rimraf dist",
|
|
17
|
+
"test": "vitest run"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"diff": "^9.x",
|
|
21
|
+
"gpt-tokenizer": "^3.x",
|
|
22
|
+
"linkedom": "^0.x",
|
|
23
|
+
"lru-cache": "^11.x",
|
|
24
|
+
"turndown": "^7.x"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@aikit/analyzers": "workspace:*",
|
|
28
|
+
"@aikit/chunker": "workspace:*",
|
|
29
|
+
"@aikit/core": "workspace:*",
|
|
30
|
+
"@aikit/embeddings": "workspace:*",
|
|
31
|
+
"@aikit/store": "workspace:*",
|
|
32
|
+
"@types/turndown": "^5.x"
|
|
33
|
+
}
|
|
34
|
+
}
|