opc-agent 4.0.18 → 4.0.20

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.
@@ -133,7 +133,7 @@ nav.header-nav a:hover{color:#fff;background:rgba(255,255,255,.06)}
133
133
  <header>
134
134
  <div class="avatar" id="avatar">🤖</div>
135
135
  <div class="info"><h1 id="title">OPC Agent</h1><div class="status"><span class="dot"></span>在线</div></div>
136
- <nav class="header-nav"><a href="/dashboard">Dashboard</a><a href="/templates">Templates</a></nav>
136
+ <nav class="header-nav"><a href="http://localhost:4000" target="_blank">⚙️ Studio</a><a href="http://localhost:4000/#/templates" target="_blank">📦 Templates</a></nav>
137
137
  </header>
138
138
  <div id="messages">
139
139
  <div class="empty-state" id="empty"><div class="logo">💬</div><h2>开始对话</h2><p>在下方输入消息与 AI 助手对话。</p></div>
package/package.json CHANGED
@@ -1,63 +1,63 @@
1
- {
2
- "name": "opc-agent",
3
- "version": "4.0.18",
4
- "description": "Open Agent Framework — Build, test, and run AI Agents for business workstations",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "bin": {
8
- "opc": "dist/cli.js"
9
- },
10
- "scripts": {
11
- "build": "tsc",
12
- "postbuild": "xcopy /E /I /Y src\\studio-ui dist\\studio-ui",
13
- "test": "vitest run",
14
- "dev": "tsc --watch",
15
- "lint": "tsc --noEmit",
16
- "setup": "opc setup",
17
- "docs:dev": "vitepress dev docs",
18
- "docs:build": "vitepress build docs",
19
- "docs:preview": "vitepress preview docs"
20
- },
21
- "keywords": [
22
- "agent",
23
- "ai",
24
- "llm",
25
- "framework",
26
- "typescript",
27
- "agent-framework"
28
- ],
29
- "author": "Deepleaper",
30
- "license": "Apache-2.0",
31
- "repository": {
32
- "type": "git",
33
- "url": "https://github.com/Deepleaper/opc-agent.git"
34
- },
35
- "dependencies": {
36
- "agent-workstation": "^2.0.1",
37
- "agentkits": "^2.0.0",
38
- "commander": "^12.0.0",
39
- "express": "^4.21.0",
40
- "js-yaml": "^4.1.0",
41
- "mammoth": "^1.12.0",
42
- "pdf-parse": "^1.1.4",
43
- "ws": "^8.20.0",
44
- "zod": "^3.23.0"
45
- },
46
- "devDependencies": {
47
- "@types/express": "^4.17.21",
48
- "@types/js-yaml": "^4.0.9",
49
- "@types/node": "^20.11.0",
50
- "@types/ws": "^8.18.1",
51
- "typescript": "^5.5.0",
52
- "vitepress": "^1.5.0",
53
- "vitest": "^2.0.0"
54
- },
55
- "peerDependencies": {
56
- "deepbrain": "^2.0.0"
57
- },
58
- "peerDependenciesMeta": {
59
- "deepbrain": {
60
- "optional": true
61
- }
62
- }
63
- }
1
+ {
2
+ "name": "opc-agent",
3
+ "version": "4.0.20",
4
+ "description": "Open Agent Framework — Build, test, and run AI Agents for business workstations",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "bin": {
8
+ "opc": "dist/cli.js"
9
+ },
10
+ "scripts": {
11
+ "build": "tsc",
12
+ "postbuild": "xcopy /E /I /Y src\\studio-ui dist\\studio-ui",
13
+ "test": "vitest run",
14
+ "dev": "tsc --watch",
15
+ "lint": "tsc --noEmit",
16
+ "setup": "opc setup",
17
+ "docs:dev": "vitepress dev docs",
18
+ "docs:build": "vitepress build docs",
19
+ "docs:preview": "vitepress preview docs"
20
+ },
21
+ "keywords": [
22
+ "agent",
23
+ "ai",
24
+ "llm",
25
+ "framework",
26
+ "typescript",
27
+ "agent-framework"
28
+ ],
29
+ "author": "Deepleaper",
30
+ "license": "Apache-2.0",
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "https://github.com/Deepleaper/opc-agent.git"
34
+ },
35
+ "dependencies": {
36
+ "agent-workstation": "^2.1.2",
37
+ "agentkits": "^2.0.1",
38
+ "commander": "^12.0.0",
39
+ "express": "^4.21.0",
40
+ "js-yaml": "^4.1.0",
41
+ "mammoth": "^1.12.0",
42
+ "pdf-parse": "^1.1.4",
43
+ "ws": "^8.20.0",
44
+ "zod": "^3.23.0"
45
+ },
46
+ "devDependencies": {
47
+ "@types/express": "^4.17.21",
48
+ "@types/js-yaml": "^4.0.9",
49
+ "@types/node": "^20.11.0",
50
+ "@types/ws": "^8.18.1",
51
+ "typescript": "^5.5.0",
52
+ "vitepress": "^1.5.0",
53
+ "vitest": "^2.0.0"
54
+ },
55
+ "peerDependencies": {
56
+ "deepbrain": "^2.0.5"
57
+ },
58
+ "peerDependenciesMeta": {
59
+ "deepbrain": {
60
+ "optional": true
61
+ }
62
+ }
63
+ }
@@ -133,7 +133,7 @@ nav.header-nav a:hover{color:#fff;background:rgba(255,255,255,.06)}
133
133
  <header>
134
134
  <div class="avatar" id="avatar">🤖</div>
135
135
  <div class="info"><h1 id="title">OPC Agent</h1><div class="status"><span class="dot"></span>在线</div></div>
136
- <nav class="header-nav"><a href="/dashboard">Dashboard</a><a href="/templates">Templates</a></nav>
136
+ <nav class="header-nav"><a href="http://localhost:4000" target="_blank">⚙️ Studio</a><a href="http://localhost:4000/#/templates" target="_blank">📦 Templates</a></nav>
137
137
  </header>
138
138
  <div id="messages">
139
139
  <div class="empty-state" id="empty"><div class="logo">💬</div><h2>开始对话</h2><p>在下方输入消息与 AI 助手对话。</p></div>