opc-agent 4.2.9 → 4.2.11
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/data/brain.db/deepbrain.sqlite +0 -0
- package/dist/cli.js +5 -4
- package/dist/cli.js.map +1 -1
- package/dist/doctor.d.ts.map +1 -1
- package/dist/doctor.js +3 -2
- package/dist/doctor.js.map +1 -1
- package/dist/hub/brain-seed.d.ts.map +1 -1
- package/dist/hub/brain-seed.js +2 -1
- package/dist/hub/brain-seed.js.map +1 -1
- package/dist/studio/server.d.ts.map +1 -1
- package/dist/studio/server.js +9 -6
- package/dist/studio/server.js.map +1 -1
- package/dist/utils/dynamic-import.js +5 -0
- package/package.json +67 -66
- package/s-err.log +0 -0
- package/s-out.log +6 -0
- package/scripts/postbuild.js +8 -0
- package/studio-dbg.log +1 -0
- package/studio-err.log +12 -0
- package/studio-out.log +0 -0
package/package.json
CHANGED
|
@@ -1,66 +1,67 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "opc-agent",
|
|
3
|
-
"version": "4.2.
|
|
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
|
-
"opc-agent": "dist/cli.js"
|
|
10
|
-
},
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "tsc",
|
|
13
|
-
"postbuild": "
|
|
14
|
-
"test": "vitest run",
|
|
15
|
-
"dev": "tsc --watch",
|
|
16
|
-
"lint": "tsc --noEmit",
|
|
17
|
-
"setup": "opc setup",
|
|
18
|
-
"docs:dev": "vitepress dev docs",
|
|
19
|
-
"docs:build": "vitepress build docs",
|
|
20
|
-
"docs:preview": "vitepress preview docs"
|
|
21
|
-
},
|
|
22
|
-
"keywords": [
|
|
23
|
-
"agent",
|
|
24
|
-
"ai",
|
|
25
|
-
"llm",
|
|
26
|
-
"framework",
|
|
27
|
-
"typescript",
|
|
28
|
-
"agent-framework"
|
|
29
|
-
],
|
|
30
|
-
"author": "Deepleaper",
|
|
31
|
-
"license": "Apache-2.0",
|
|
32
|
-
"repository": {
|
|
33
|
-
"type": "git",
|
|
34
|
-
"url": "https://github.com/Deepleaper/opc-agent.git"
|
|
35
|
-
},
|
|
36
|
-
"dependencies": {
|
|
37
|
-
"agent-workstation": "^2.1.2",
|
|
38
|
-
"agentkits": "^2.0.1",
|
|
39
|
-
"commander": "^12.0.0",
|
|
40
|
-
"express": "^4.21.0",
|
|
41
|
-
"js-yaml": "^4.1.0",
|
|
42
|
-
"mammoth": "^1.12.0",
|
|
43
|
-
"pdf-parse": "^1.1.4",
|
|
44
|
-
"sql.js": "^1.14.1",
|
|
45
|
-
"ws": "^8.20.0",
|
|
46
|
-
"zod": "^3.23.0"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"@types/
|
|
51
|
-
"@types/
|
|
52
|
-
"@types/
|
|
53
|
-
"@types/
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "opc-agent",
|
|
3
|
+
"version": "4.2.11",
|
|
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
|
+
"opc-agent": "dist/cli.js"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "tsc",
|
|
13
|
+
"postbuild": "node scripts/postbuild.js",
|
|
14
|
+
"test": "vitest run",
|
|
15
|
+
"dev": "tsc --watch",
|
|
16
|
+
"lint": "tsc --noEmit",
|
|
17
|
+
"setup": "opc setup",
|
|
18
|
+
"docs:dev": "vitepress dev docs",
|
|
19
|
+
"docs:build": "vitepress build docs",
|
|
20
|
+
"docs:preview": "vitepress preview docs"
|
|
21
|
+
},
|
|
22
|
+
"keywords": [
|
|
23
|
+
"agent",
|
|
24
|
+
"ai",
|
|
25
|
+
"llm",
|
|
26
|
+
"framework",
|
|
27
|
+
"typescript",
|
|
28
|
+
"agent-framework"
|
|
29
|
+
],
|
|
30
|
+
"author": "Deepleaper",
|
|
31
|
+
"license": "Apache-2.0",
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "https://github.com/Deepleaper/opc-agent.git"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"agent-workstation": "^2.1.2",
|
|
38
|
+
"agentkits": "^2.0.1",
|
|
39
|
+
"commander": "^12.0.0",
|
|
40
|
+
"express": "^4.21.0",
|
|
41
|
+
"js-yaml": "^4.1.0",
|
|
42
|
+
"mammoth": "^1.12.0",
|
|
43
|
+
"pdf-parse": "^1.1.4",
|
|
44
|
+
"sql.js": "^1.14.1",
|
|
45
|
+
"ws": "^8.20.0",
|
|
46
|
+
"zod": "^3.23.0",
|
|
47
|
+
"deepbrain": "^2.0.5"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@types/express": "^4.17.21",
|
|
51
|
+
"@types/js-yaml": "^4.0.9",
|
|
52
|
+
"@types/node": "^20.11.0",
|
|
53
|
+
"@types/sql.js": "^1.4.11",
|
|
54
|
+
"@types/ws": "^8.18.1",
|
|
55
|
+
"typescript": "^5.5.0",
|
|
56
|
+
"vitepress": "^1.5.0",
|
|
57
|
+
"vitest": "^2.0.0"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"deepbrain": "2.0.5"
|
|
61
|
+
},
|
|
62
|
+
"peerDependenciesMeta": {
|
|
63
|
+
"deepbrain": {
|
|
64
|
+
"optional": true
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
package/s-err.log
ADDED
|
File without changes
|
package/s-out.log
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
const path = require('path');
|
|
3
|
+
// Copy studio-ui
|
|
4
|
+
fs.cpSync('src/studio-ui', 'dist/studio-ui', { recursive: true });
|
|
5
|
+
// Copy dynamic-import.js
|
|
6
|
+
fs.mkdirSync('dist/utils', { recursive: true });
|
|
7
|
+
fs.copyFileSync('src/utils/dynamic-import.js', 'dist/utils/dynamic-import.js');
|
|
8
|
+
console.log('Postbuild: copied studio-ui + dynamic-import.js');
|
package/studio-dbg.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[DeepBrain stats error] No "exports" main defined in C:\Users\mingjwan\opc-agent\node_modules\deepbrain\package.json
|
package/studio-err.log
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
[eval]:1
|
|
2
|
+
const{StudioServer}=require('./dist/studio/server');const
|
|
3
|
+
|
|
4
|
+
Unexpected token `<eof>`. Expected yield, an identifier, [ or {
|
|
5
|
+
|
|
6
|
+
SyntaxError: Unexpected end of input
|
|
7
|
+
at makeContextifyScript (node:internal/vm:194:14)
|
|
8
|
+
at compileScript (node:internal/process/execution:388:10)
|
|
9
|
+
at evalTypeScript (node:internal/process/execution:260:22)
|
|
10
|
+
at node:internal/main/eval_string:71:3
|
|
11
|
+
|
|
12
|
+
Node.js v24.14.0
|
package/studio-out.log
ADDED
|
File without changes
|