@nastechai/agent 0.16.0 → 0.17.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.
- package/eslint.config.js +23 -0
- package/index.html +24 -0
- package/package.json +54 -26
- package/package.json.bak +89 -0
- package/package.json.pub +88 -0
- package/src/App.tsx +1173 -0
- package/src/components/AuthWidget.tsx +150 -0
- package/src/components/AutoField.tsx +206 -0
- package/src/components/Backdrop.tsx +93 -0
- package/src/components/ChatSidebar.tsx +394 -0
- package/src/components/DeleteConfirmDialog.tsx +40 -0
- package/src/components/LanguageSwitcher.tsx +186 -0
- package/src/components/Markdown.tsx +383 -0
- package/src/components/ModelInfoCard.tsx +112 -0
- package/src/components/ModelPickerDialog.tsx +470 -0
- package/src/components/OAuthLoginModal.tsx +374 -0
- package/src/components/OAuthProvidersCard.tsx +287 -0
- package/src/components/PlatformsCard.tsx +97 -0
- package/src/components/ScheduleBuilder.tsx +273 -0
- package/src/components/SidebarFooter.tsx +42 -0
- package/src/components/SidebarStatusStrip.tsx +72 -0
- package/src/components/SlashPopover.tsx +171 -0
- package/src/components/ThemeSwitcher.tsx +243 -0
- package/src/components/ToolCall.tsx +228 -0
- package/src/components/ToolsetConfigDrawer.tsx +448 -0
- package/src/contexts/PageHeaderProvider.tsx +139 -0
- package/src/contexts/SystemActions.tsx +120 -0
- package/src/contexts/page-header-context.ts +12 -0
- package/src/contexts/system-actions-context.ts +18 -0
- package/src/contexts/usePageHeader.ts +10 -0
- package/src/contexts/useSystemActions.ts +15 -0
- package/src/hooks/useModalBehavior.ts +44 -0
- package/src/hooks/useSidebarStatus.ts +27 -0
- package/src/i18n/af.ts +702 -0
- package/src/i18n/context.tsx +123 -0
- package/src/i18n/de.ts +701 -0
- package/src/i18n/en.ts +708 -0
- package/src/i18n/es.ts +701 -0
- package/src/i18n/fr.ts +701 -0
- package/src/i18n/ga.ts +702 -0
- package/src/i18n/hu.ts +702 -0
- package/src/i18n/index.ts +2 -0
- package/src/i18n/it.ts +701 -0
- package/src/i18n/ja.ts +702 -0
- package/src/i18n/ko.ts +702 -0
- package/src/i18n/pt.ts +702 -0
- package/src/i18n/ru.ts +702 -0
- package/src/i18n/tr.ts +702 -0
- package/src/i18n/types.ts +710 -0
- package/src/i18n/uk.ts +702 -0
- package/src/i18n/zh-hant.ts +702 -0
- package/src/i18n/zh.ts +698 -0
- package/src/index.css +274 -0
- package/src/lib/api.ts +1585 -0
- package/src/lib/dashboard-flags.ts +15 -0
- package/src/lib/format.ts +9 -0
- package/src/lib/fuzzy.ts +192 -0
- package/src/lib/gatewayClient.ts +253 -0
- package/src/lib/nested.ts +23 -0
- package/src/lib/resolve-page-title.ts +41 -0
- package/src/lib/schedule.ts +382 -0
- package/src/lib/slashExec.ts +163 -0
- package/src/lib/utils.ts +35 -0
- package/src/main.tsx +25 -0
- package/src/pages/AnalyticsPage.tsx +601 -0
- package/src/pages/ChannelsPage.tsx +772 -0
- package/src/pages/ChatPage.tsx +889 -0
- package/src/pages/ConfigPage.tsx +660 -0
- package/src/pages/CronPage.tsx +524 -0
- package/src/pages/DocsPage.tsx +69 -0
- package/src/pages/EnvPage.tsx +918 -0
- package/src/pages/LogsPage.tsx +246 -0
- package/src/pages/McpPage.tsx +757 -0
- package/src/pages/ModelsPage.tsx +994 -0
- package/src/pages/PairingPage.tsx +276 -0
- package/src/pages/PluginsPage.tsx +580 -0
- package/src/pages/ProfilesPage.tsx +559 -0
- package/src/pages/SessionsPage.tsx +936 -0
- package/src/pages/SkillsPage.tsx +557 -0
- package/src/pages/SystemPage.tsx +1259 -0
- package/src/pages/WebhooksPage.tsx +483 -0
- package/src/plugins/PluginPage.tsx +64 -0
- package/src/plugins/index.ts +6 -0
- package/src/plugins/registry.ts +151 -0
- package/src/plugins/sdk.d.ts +160 -0
- package/src/plugins/slots.ts +199 -0
- package/src/plugins/types.ts +37 -0
- package/src/plugins/usePlugins.ts +133 -0
- package/src/themes/context.tsx +443 -0
- package/src/themes/fonts.ts +160 -0
- package/src/themes/index.ts +3 -0
- package/src/themes/presets.ts +477 -0
- package/src/themes/types.ts +187 -0
- package/tsconfig.app.json +34 -0
- package/tsconfig.json +7 -0
- package/tsconfig.node.json +26 -0
- package/vite.config.ts +124 -0
- package/vite.config.ts.timestamp-1780999102396-af6b77b30ebd8.mjs +105 -0
package/eslint.config.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import js from '@eslint/js'
|
|
2
|
+
import globals from 'globals'
|
|
3
|
+
import reactHooks from 'eslint-plugin-react-hooks'
|
|
4
|
+
import reactRefresh from 'eslint-plugin-react-refresh'
|
|
5
|
+
import tseslint from 'typescript-eslint'
|
|
6
|
+
import { defineConfig, globalIgnores } from 'eslint/config'
|
|
7
|
+
|
|
8
|
+
export default defineConfig([
|
|
9
|
+
globalIgnores(['dist']),
|
|
10
|
+
{
|
|
11
|
+
files: ['**/*.{ts,tsx}'],
|
|
12
|
+
extends: [
|
|
13
|
+
js.configs.recommended,
|
|
14
|
+
tseslint.configs.recommended,
|
|
15
|
+
reactHooks.configs.flat.recommended,
|
|
16
|
+
reactRefresh.configs.vite,
|
|
17
|
+
],
|
|
18
|
+
languageOptions: {
|
|
19
|
+
ecmaVersion: 2020,
|
|
20
|
+
globals: globals.browser,
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
])
|
package/index.html
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/png" href="/banner.png" />
|
|
6
|
+
<meta
|
|
7
|
+
name="viewport"
|
|
8
|
+
content="width=device-width, initial-scale=1.0, viewport-fit=cover"
|
|
9
|
+
/>
|
|
10
|
+
<title>NasTech Agent - Dashboard</title>
|
|
11
|
+
<meta name="description" content="NasTech Agent — self-improving AI agent dashboard with advanced tool-calling, persistent memory, and cross-platform messaging." />
|
|
12
|
+
<meta property="og:title" content="NasTech Agent" />
|
|
13
|
+
<meta property="og:description" content="Self-improving AI agent with 35-stage verification pipeline." />
|
|
14
|
+
<meta property="og:image" content="/banner.png" />
|
|
15
|
+
<meta property="og:type" content="website" />
|
|
16
|
+
<meta name="twitter:card" content="summary_large_image" />
|
|
17
|
+
<meta name="twitter:title" content="NasTech Agent" />
|
|
18
|
+
<meta name="twitter:image" content="/banner.png" />
|
|
19
|
+
</head>
|
|
20
|
+
<body>
|
|
21
|
+
<div id="root"></div>
|
|
22
|
+
<script type="module" src="/src/main.tsx"></script>
|
|
23
|
+
</body>
|
|
24
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nastechai/agent",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "NasTech-Agent: The self-improving AI agent — creates skills from experience, improves them during use, and runs anywhere",
|
|
5
5
|
"homepage": "https://github.com/nastech-ai/NasTech-Agent",
|
|
6
6
|
"repository": {
|
|
@@ -24,37 +24,65 @@
|
|
|
24
24
|
"nastech"
|
|
25
25
|
],
|
|
26
26
|
"type": "module",
|
|
27
|
-
"main": "./dist/index.js",
|
|
28
|
-
"types": "./dist/index.d.ts",
|
|
29
|
-
"files": [
|
|
30
|
-
"dist",
|
|
31
|
-
"public"
|
|
32
|
-
],
|
|
33
27
|
"scripts": {
|
|
34
|
-
"dev": "vite",
|
|
35
|
-
"build": "vite build",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"lint": "eslint src",
|
|
39
|
-
"format": "prettier --write \"src/**/*.{ts,tsx}\""
|
|
28
|
+
"dev": "../node_modules/.bin/vite --host 0.0.0.0",
|
|
29
|
+
"build": "tsc -b && ../node_modules/.bin/vite build",
|
|
30
|
+
"lint": "eslint .",
|
|
31
|
+
"preview": "../node_modules/.bin/vite preview"
|
|
40
32
|
},
|
|
41
33
|
"dependencies": {
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"@
|
|
34
|
+
"@nastechai/ui": "^0.19.1",
|
|
35
|
+
"@observablehq/plot": "^0.6.17",
|
|
36
|
+
"@react-three/fiber": "^9.6.0",
|
|
37
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
38
|
+
"@xterm/addon-fit": "^0.11.0",
|
|
39
|
+
"@xterm/addon-unicode11": "^0.9.0",
|
|
40
|
+
"@xterm/addon-web-links": "^0.12.0",
|
|
41
|
+
"@xterm/addon-webgl": "^0.19.0",
|
|
42
|
+
"@xterm/xterm": "^6.0.0",
|
|
43
|
+
"class-variance-authority": "^0.7.1",
|
|
44
|
+
"clsx": "^2.1.1",
|
|
45
|
+
"gsap": "^3.15.0",
|
|
46
|
+
"leva": "^0.10.1",
|
|
47
|
+
"lucide-react": "^0.577.0",
|
|
48
|
+
"motion": "^12.38.0",
|
|
49
|
+
"qrcode": "^1.5.4",
|
|
50
|
+
"react": "^19.2.4",
|
|
51
|
+
"react-dom": "^19.2.4",
|
|
52
|
+
"react-router-dom": "^7.17.0",
|
|
53
|
+
"tailwind-merge": "^3.5.0",
|
|
54
|
+
"tailwindcss": "^4.2.1",
|
|
55
|
+
"unicode-animations": "^1.0.3"
|
|
45
56
|
},
|
|
46
57
|
"devDependencies": {
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"@
|
|
50
|
-
"
|
|
51
|
-
"
|
|
58
|
+
"@eslint/js": "^9.39.4",
|
|
59
|
+
"@types/node": "^24.13.2",
|
|
60
|
+
"@types/qrcode": "^1.5.6",
|
|
61
|
+
"@types/react": "^19.2.14",
|
|
62
|
+
"@types/react-dom": "^19.2.3",
|
|
63
|
+
"@vitejs/plugin-react": "^5.2.0",
|
|
64
|
+
"eslint": "^9.39.4",
|
|
65
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
66
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
67
|
+
"globals": "^17.4.0",
|
|
68
|
+
"three": "^0.180.0",
|
|
69
|
+
"typescript": "^6.0.3",
|
|
70
|
+
"typescript-eslint": "^8.56.1",
|
|
71
|
+
"vite": "^7.3.1"
|
|
52
72
|
},
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
73
|
+
"overrides": {
|
|
74
|
+
"postcss": ">=8.5.10",
|
|
75
|
+
"undici": ">=7.24.0",
|
|
76
|
+
"ws": ">=8.20.1",
|
|
77
|
+
"shell-quote": ">=1.8.4",
|
|
78
|
+
"brace-expansion": ">=1.1.13",
|
|
79
|
+
"picomatch": ">=2.3.2",
|
|
80
|
+
"qs": ">=6.15.2",
|
|
81
|
+
"uuid": ">=11.1.1",
|
|
82
|
+
"path-to-regexp": ">=0.1.13"
|
|
56
83
|
},
|
|
57
|
-
"
|
|
58
|
-
"
|
|
84
|
+
"engines": {
|
|
85
|
+
"node": ">=20.0.0",
|
|
86
|
+
"npm": ">=10.0.0"
|
|
59
87
|
}
|
|
60
88
|
}
|
package/package.json.bak
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nastechai/agent",
|
|
3
|
+
"version": "0.17.0",
|
|
4
|
+
"description": "NasTech-Agent: The self-improving AI agent — creates skills from experience, improves them during use, and runs anywhere",
|
|
5
|
+
"homepage": "https://github.com/nastech-ai/NasTech-Agent",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/nastech-ai/NasTech-Agent.git",
|
|
9
|
+
"directory": "web"
|
|
10
|
+
},
|
|
11
|
+
"bugs": "https://github.com/nastech-ai/NasTech-Agent/issues",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"author": {
|
|
14
|
+
"name": "NasTech",
|
|
15
|
+
"email": "dev@nastech.ai"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"ai",
|
|
19
|
+
"agent",
|
|
20
|
+
"self-improving",
|
|
21
|
+
"skills",
|
|
22
|
+
"autonomous",
|
|
23
|
+
"automation",
|
|
24
|
+
"nastech"
|
|
25
|
+
],
|
|
26
|
+
"private": true,
|
|
27
|
+
"type": "module",
|
|
28
|
+
"scripts": {
|
|
29
|
+
"dev": "../node_modules/.bin/vite --host 0.0.0.0",
|
|
30
|
+
"build": "tsc -b && ../node_modules/.bin/vite build",
|
|
31
|
+
"lint": "eslint .",
|
|
32
|
+
"preview": "../node_modules/.bin/vite preview"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@nastechai/ui": "^0.19.1",
|
|
36
|
+
"@observablehq/plot": "^0.6.17",
|
|
37
|
+
"@react-three/fiber": "^9.6.0",
|
|
38
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
39
|
+
"@xterm/addon-fit": "^0.11.0",
|
|
40
|
+
"@xterm/addon-unicode11": "^0.9.0",
|
|
41
|
+
"@xterm/addon-web-links": "^0.12.0",
|
|
42
|
+
"@xterm/addon-webgl": "^0.19.0",
|
|
43
|
+
"@xterm/xterm": "^6.0.0",
|
|
44
|
+
"class-variance-authority": "^0.7.1",
|
|
45
|
+
"clsx": "^2.1.1",
|
|
46
|
+
"gsap": "^3.15.0",
|
|
47
|
+
"leva": "^0.10.1",
|
|
48
|
+
"lucide-react": "^0.577.0",
|
|
49
|
+
"motion": "^12.38.0",
|
|
50
|
+
"qrcode": "^1.5.4",
|
|
51
|
+
"react": "^19.2.4",
|
|
52
|
+
"react-dom": "^19.2.4",
|
|
53
|
+
"react-router-dom": "^7.17.0",
|
|
54
|
+
"tailwind-merge": "^3.5.0",
|
|
55
|
+
"tailwindcss": "^4.2.1",
|
|
56
|
+
"unicode-animations": "^1.0.3"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@eslint/js": "^9.39.4",
|
|
60
|
+
"@types/node": "^24.13.2",
|
|
61
|
+
"@types/qrcode": "^1.5.6",
|
|
62
|
+
"@types/react": "^19.2.14",
|
|
63
|
+
"@types/react-dom": "^19.2.3",
|
|
64
|
+
"@vitejs/plugin-react": "^5.2.0",
|
|
65
|
+
"eslint": "^9.39.4",
|
|
66
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
67
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
68
|
+
"globals": "^17.4.0",
|
|
69
|
+
"three": "^0.180.0",
|
|
70
|
+
"typescript": "^6.0.3",
|
|
71
|
+
"typescript-eslint": "^8.56.1",
|
|
72
|
+
"vite": "^7.3.1"
|
|
73
|
+
},
|
|
74
|
+
"overrides": {
|
|
75
|
+
"postcss": ">=8.5.10",
|
|
76
|
+
"undici": ">=7.24.0",
|
|
77
|
+
"ws": ">=8.20.1",
|
|
78
|
+
"shell-quote": ">=1.8.4",
|
|
79
|
+
"brace-expansion": ">=1.1.13",
|
|
80
|
+
"picomatch": ">=2.3.2",
|
|
81
|
+
"qs": ">=6.15.2",
|
|
82
|
+
"uuid": ">=11.1.1",
|
|
83
|
+
"path-to-regexp": ">=0.1.13"
|
|
84
|
+
},
|
|
85
|
+
"engines": {
|
|
86
|
+
"node": ">=20.0.0",
|
|
87
|
+
"npm": ">=10.0.0"
|
|
88
|
+
}
|
|
89
|
+
}
|
package/package.json.pub
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nastechai/agent",
|
|
3
|
+
"version": "0.17.0",
|
|
4
|
+
"description": "NasTech-Agent: The self-improving AI agent — creates skills from experience, improves them during use, and runs anywhere",
|
|
5
|
+
"homepage": "https://github.com/nastech-ai/NasTech-Agent",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/nastech-ai/NasTech-Agent.git",
|
|
9
|
+
"directory": "web"
|
|
10
|
+
},
|
|
11
|
+
"bugs": "https://github.com/nastech-ai/NasTech-Agent/issues",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"author": {
|
|
14
|
+
"name": "NasTech",
|
|
15
|
+
"email": "dev@nastech.ai"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"ai",
|
|
19
|
+
"agent",
|
|
20
|
+
"self-improving",
|
|
21
|
+
"skills",
|
|
22
|
+
"autonomous",
|
|
23
|
+
"automation",
|
|
24
|
+
"nastech"
|
|
25
|
+
],
|
|
26
|
+
"type": "module",
|
|
27
|
+
"scripts": {
|
|
28
|
+
"dev": "../node_modules/.bin/vite --host 0.0.0.0",
|
|
29
|
+
"build": "tsc -b && ../node_modules/.bin/vite build",
|
|
30
|
+
"lint": "eslint .",
|
|
31
|
+
"preview": "../node_modules/.bin/vite preview"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@nastechai/ui": "^0.19.1",
|
|
35
|
+
"@observablehq/plot": "^0.6.17",
|
|
36
|
+
"@react-three/fiber": "^9.6.0",
|
|
37
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
38
|
+
"@xterm/addon-fit": "^0.11.0",
|
|
39
|
+
"@xterm/addon-unicode11": "^0.9.0",
|
|
40
|
+
"@xterm/addon-web-links": "^0.12.0",
|
|
41
|
+
"@xterm/addon-webgl": "^0.19.0",
|
|
42
|
+
"@xterm/xterm": "^6.0.0",
|
|
43
|
+
"class-variance-authority": "^0.7.1",
|
|
44
|
+
"clsx": "^2.1.1",
|
|
45
|
+
"gsap": "^3.15.0",
|
|
46
|
+
"leva": "^0.10.1",
|
|
47
|
+
"lucide-react": "^0.577.0",
|
|
48
|
+
"motion": "^12.38.0",
|
|
49
|
+
"qrcode": "^1.5.4",
|
|
50
|
+
"react": "^19.2.4",
|
|
51
|
+
"react-dom": "^19.2.4",
|
|
52
|
+
"react-router-dom": "^7.17.0",
|
|
53
|
+
"tailwind-merge": "^3.5.0",
|
|
54
|
+
"tailwindcss": "^4.2.1",
|
|
55
|
+
"unicode-animations": "^1.0.3"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@eslint/js": "^9.39.4",
|
|
59
|
+
"@types/node": "^24.13.2",
|
|
60
|
+
"@types/qrcode": "^1.5.6",
|
|
61
|
+
"@types/react": "^19.2.14",
|
|
62
|
+
"@types/react-dom": "^19.2.3",
|
|
63
|
+
"@vitejs/plugin-react": "^5.2.0",
|
|
64
|
+
"eslint": "^9.39.4",
|
|
65
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
66
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
67
|
+
"globals": "^17.4.0",
|
|
68
|
+
"three": "^0.180.0",
|
|
69
|
+
"typescript": "^6.0.3",
|
|
70
|
+
"typescript-eslint": "^8.56.1",
|
|
71
|
+
"vite": "^7.3.1"
|
|
72
|
+
},
|
|
73
|
+
"overrides": {
|
|
74
|
+
"postcss": ">=8.5.10",
|
|
75
|
+
"undici": ">=7.24.0",
|
|
76
|
+
"ws": ">=8.20.1",
|
|
77
|
+
"shell-quote": ">=1.8.4",
|
|
78
|
+
"brace-expansion": ">=1.1.13",
|
|
79
|
+
"picomatch": ">=2.3.2",
|
|
80
|
+
"qs": ">=6.15.2",
|
|
81
|
+
"uuid": ">=11.1.1",
|
|
82
|
+
"path-to-regexp": ">=0.1.13"
|
|
83
|
+
},
|
|
84
|
+
"engines": {
|
|
85
|
+
"node": ">=20.0.0",
|
|
86
|
+
"npm": ">=10.0.0"
|
|
87
|
+
}
|
|
88
|
+
}
|