opclawtm 1.9.11 → 1.9.13
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/dist/bin/team-manager.js +1 -1
- package/dist/bin/team-setup.js +1 -1
- package/dist/bin/team-uninstall.js +1 -1
- package/dist/cli/commands/agent.command.js +1 -1
- package/dist/cli/commands/checklist.command.js +1 -1
- package/dist/cli/commands/dept.command.js +1 -1
- package/dist/cli/commands/document.command.d.ts +2 -0
- package/dist/cli/commands/document.command.js +1 -1
- package/dist/cli/commands/domain.command.js +1 -1
- package/dist/cli/commands/feishu.command.js +1 -1
- package/dist/cli/commands/guide.command.js +1 -1
- package/dist/cli/commands/job.command.js +1 -1
- package/dist/cli/commands/license.command.js +1 -1
- package/dist/cli/commands/message-failure.command.js +1 -1
- package/dist/cli/commands/message.command.js +1 -1
- package/dist/cli/commands/node.command.js +1 -1
- package/dist/cli/commands/role-flow.command.js +1 -1
- package/dist/cli/commands/skill-pack.command.js +1 -1
- package/dist/cli/commands/status.command.js +1 -1
- package/dist/cli/commands/task.command.js +1 -1
- package/dist/cli/commands/user.command.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli/tui/index.js +1 -1
- package/dist/cli/tui/menus/agent-manage.menu.js +1 -1
- package/dist/cli/tui/menus/dept-manage.menu.js +1 -1
- package/dist/cli/tui/menus/domain-manage.menu.js +1 -1
- package/dist/cli/tui/menus/feishu.menu.js +1 -1
- package/dist/cli/tui/menus/job-manage.menu.js +1 -1
- package/dist/cli/tui/menus/license.menu.js +1 -1
- package/dist/cli/tui/menus/main.menu.js +1 -1
- package/dist/cli/tui/menus/reset.menu.js +1 -1
- package/dist/cli/tui/menus/status.menu.js +1 -1
- package/dist/cli/tui/menus/task-manage.menu.js +1 -1
- package/dist/cli/tui/menus/team-create.menu.js +1 -1
- package/dist/config.js +1 -1
- package/dist/core/auth/index.js +1 -1
- package/dist/core/auth/middleware.js +1 -1
- package/dist/core/auth/storage.js +1 -1
- package/dist/core/models/types.d.ts +2 -0
- package/dist/core/models/types.js +1 -1
- package/dist/core/preset-data-hash.enc +1 -1
- package/dist/core/preset-data.enc +1 -1
- package/dist/core/services/agent-template.service.js +1 -1
- package/dist/core/services/agent.service.js +1 -1
- package/dist/core/services/auth-profiles.service.js +1 -1
- package/dist/core/services/checklist.service.js +1 -1
- package/dist/core/services/config-tracker.service.js +1 -1
- package/dist/core/services/crypto.service.js +1 -1
- package/dist/core/services/dept.service.js +1 -1
- package/dist/core/services/document.service.d.ts +6 -1
- package/dist/core/services/document.service.js +1 -1
- package/dist/core/services/domain.service.js +1 -1
- package/dist/core/services/feishu.service.js +1 -1
- package/dist/core/services/index.js +1 -1
- package/dist/core/services/job.service.js +1 -1
- package/dist/core/services/log.service.js +1 -1
- package/dist/core/services/message-failure.service.js +1 -1
- package/dist/core/services/message.service.js +1 -1
- package/dist/core/services/node.service.js +1 -1
- package/dist/core/services/openclaw-config.service.js +1 -1
- package/dist/core/services/preset-loader.service.js +1 -1
- package/dist/core/services/role-flow.service.js +1 -1
- package/dist/core/services/session-cleanup.service.js +1 -1
- package/dist/core/services/setup.service.js +1 -1
- package/dist/core/services/skill-pack.service.js +1 -1
- package/dist/core/services/task.service.js +1 -1
- package/dist/core/services/template.service.js +1 -1
- package/dist/core/services/user.service.js +1 -1
- package/dist/core/utils/agent-guide-generator.js +1 -1
- package/dist/core/utils/credentials-cleanup.js +1 -1
- package/dist/core/utils/index.js +1 -1
- package/dist/core/utils/openclaw-helper.js +1 -1
- package/dist/core/utils/template-generator.js +1 -1
- package/dist/db/index.js +1 -1
- package/dist/db/migrations/index.js +1 -1
- package/dist/db/migrations/v1.7.12-migration.js +1 -1
- package/dist/db/migrations/v1.7.14-migration.js +1 -1
- package/dist/db/migrations/v1.7.3-migration.js +1 -1
- package/dist/db/migrations/v1.7.4-migration.js +1 -1
- package/dist/db/migrations/v1.9.13-migration.d.ts +17 -0
- package/dist/db/migrations/v1.9.13-migration.js +1 -0
- package/dist/db/migrations/v1.9.4-migration.d.ts +4 -0
- package/dist/db/migrations/v1.9.4-migration.js +1 -1
- package/dist/db/repositories/agent-template.repo.js +1 -1
- package/dist/db/repositories/agent.repo.js +1 -1
- package/dist/db/repositories/base.repository.js +1 -1
- package/dist/db/repositories/company.repo.js +1 -1
- package/dist/db/repositories/config-change.repo.js +1 -1
- package/dist/db/repositories/dept.repo.js +1 -1
- package/dist/db/repositories/document.repo.d.ts +12 -4
- package/dist/db/repositories/document.repo.js +1 -1
- package/dist/db/repositories/domain.repo.js +1 -1
- package/dist/db/repositories/guide.repo.js +1 -1
- package/dist/db/repositories/index.js +1 -1
- package/dist/db/repositories/init-session.repo.js +1 -1
- package/dist/db/repositories/job.repo.js +1 -1
- package/dist/db/repositories/message-failure.repo.js +1 -1
- package/dist/db/repositories/message-log.repo.js +1 -1
- package/dist/db/repositories/node.repo.js +1 -1
- package/dist/db/repositories/role-flow.repo.js +1 -1
- package/dist/db/repositories/skill-pack.repo.js +1 -1
- package/dist/db/repositories/skill.repo.js +1 -1
- package/dist/db/repositories/task.repo.js +1 -1
- package/dist/db/repositories/template.repo.js +1 -1
- package/dist/db/repositories/user.repo.js +1 -1
- package/package.json +87 -87
- package/resources/preset-data-hash.enc +1 -1
- package/resources/preset-data.enc +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';(function(_0x12f81c,_0x4dab58){const _0xe94a71=_0x12f81c();while(!![]){try{const _0xda26bc=-parseInt(_0x4bf1(0x89))/0x1+-parseInt(_0x4bf1(0x8c))/0x2+-parseInt(_0x4bf1(0x76))/0x3*(-parseInt(_0x4bf1(0x7c))/0x4)+-parseInt(_0x4bf1(0x84))/0x5*(-parseInt(_0x4bf1(0x7d))/0x6)+parseInt(_0x4bf1(0x83))/0x7+-parseInt(_0x4bf1(0x77))/0x8*(-parseInt(_0x4bf1(0x7b))/0x9)+parseInt(_0x4bf1(0x8d))/0xa*(-parseInt(_0x4bf1(0x75))/0xb);if(_0xda26bc===_0x4dab58)break;else _0xe94a71['push'](_0xe94a71['shift']());}catch(_0xebd900){_0xe94a71['push'](_0xe94a71['shift']());}}}(_0x3561,0x81b9e));function _0x4bf1(_0x330f22,_0x310234){_0x330f22=_0x330f22-0x73;const _0x35611a=_0x3561();let _0x4bf174=_0x35611a[_0x330f22];if(_0x4bf1['YsfUIp']===undefined){var _0x341eb7=function(_0x1a5da8){const _0x47ad8c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2f7f6d='',_0x5c1d63='';for(let _0x52d017=0x0,_0x160535,_0x1856fc,_0x572f8e=0x0;_0x1856fc=_0x1a5da8['charAt'](_0x572f8e++);~_0x1856fc&&(_0x160535=_0x52d017%0x4?_0x160535*0x40+_0x1856fc:_0x1856fc,_0x52d017++%0x4)?_0x2f7f6d+=String['fromCharCode'](0xff&_0x160535>>(-0x2*_0x52d017&0x6)):0x0){_0x1856fc=_0x47ad8c['indexOf'](_0x1856fc);}for(let _0xc86221=0x0,_0xd9ad5f=_0x2f7f6d['length'];_0xc86221<_0xd9ad5f;_0xc86221++){_0x5c1d63+='%'+('00'+_0x2f7f6d['charCodeAt'](_0xc86221)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5c1d63);};_0x4bf1['jkVqik']=_0x341eb7,_0x4bf1['hLOMaK']={},_0x4bf1['YsfUIp']=!![];}const _0x4bf44d=_0x35611a[0x0],_0x8c9387=_0x330f22+_0x4bf44d,_0x363788=_0x4bf1['hLOMaK'][_0x8c9387];return!_0x363788?(_0x4bf174=_0x4bf1['jkVqik'](_0x4bf174),_0x4bf1['hLOMaK'][_0x8c9387]=_0x4bf174):_0x4bf174=_0x363788,_0x4bf174;}function _0x3561(){const _0x4e8abc=['ndC0nty2wxnNvNHu','mZy1odbwze5WEuy','zMvPC2H1x29Wzw5FAwq','vxnLCLjLCg9ZAxrVCNK','mJG0oxzLuxrbvG','m1LjzK9euW','mti2nfPiuMn3va','zMLUze9UzvDOzxjL','Dg9ju09tDhjPBMC','yMLUzezLAxnODq','mJKZmZfxwNrJvwK','mtq1nZa5mKveqNDAzq','mJmXmdm2B0r5wvPv','Dw5IAw5KrMvPC2H1','zMLUzej5swq','DxnLCLjLCg9ZAxrVCNK','DxbKyxrL','x19LC01VzhvSzq','mZu4nJKZm3jIuMT1zG','odbfDu5lseW','zgvMyxvSDf91C2vY','zgvMAw5LuhjVCgvYDhK','zMLUzej5rMvPC2H1t3bLBKLK','lI9IyxnLlNjLCg9ZAxrVCNK','mJKXnJq3CxjTvfDR','DxnLCNm','z2v0rgvMyxvSDfvZzxi'];_0x3561=function(){return _0x4e8abc;};return _0x3561();}Object[_0x4bf1(0x86)](exports,_0x4bf1(0x82),{'value':!![]}),exports[_0x4bf1(0x80)]=exports[_0x4bf1(0x74)]=void 0x0;const base_repository_1=require(_0x4bf1(0x88));class UserRepository extends base_repository_1['BaseRepository']{constructor(){super(_0x4bf1(0x8a),'id');}[_0x4bf1(0x8b)](){return this['findById'](_0x4bf1(0x85));}[_0x4bf1(0x87)](_0x2f7f6d){return this[_0x4bf1(0x78)]({'feishu_open_id':_0x2f7f6d});}[_0x4bf1(0x7a)](_0x5c1d63,_0x52d017,_0x160535){const _0x1856fc=new Date()['toISOString']();this['update'](_0x5c1d63,{'feishu_open_id':_0x52d017,'feishu_union_id':_0x160535||null,'updated_at':_0x1856fc});}[_0x4bf1(0x7e)](_0x572f8e){const _0xc86221=new Date()['toISOString']();this[_0x4bf1(0x81)](_0x572f8e,{'feishu_open_id':null,'feishu_union_id':null,'updated_at':_0xc86221});}['isFeishuBound'](_0xd9ad5f){const _0x432d29=this[_0x4bf1(0x7f)](_0xd9ad5f);return!!_0x432d29&&!!_0x432d29['feishu_open_id'];}['getFeishuOpenId'](_0x12d79f){const _0x317b84=this['findById'](_0x12d79f);return _0x317b84?.[_0x4bf1(0x73)]||null;}['updateName'](_0x2cac35,_0x28656f){const _0x519111=new Date()[_0x4bf1(0x79)]();this['update'](_0x2cac35,{'name':_0x28656f,'updated_at':_0x519111});}}exports[_0x4bf1(0x74)]=UserRepository,exports[_0x4bf1(0x80)]=new UserRepository();
|
package/package.json
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "opclawtm",
|
|
3
|
+
"version": "1.9.13",
|
|
4
|
+
"description": "Multi-Agent Collaboration Framework - CLI Management Tool v1.9.3",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"bin": {
|
|
8
|
+
"opclawtm": "dist/bin/team-manager.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsc",
|
|
12
|
+
"postbuild": "node -e \"require(\u0027fs\u0027).cpSync(\u0027src/core/keys\u0027, \u0027dist/core/keys\u0027, {recursive:true}); require(\u0027fs\u0027).copyFileSync(\u0027src/db/schema.sql\u0027, \u0027dist/db/schema.sql\u0027); require(\u0027fs\u0027).copyFileSync(\u0027src/core/preset-data.enc\u0027, \u0027dist/core/preset-data.enc\u0027); require(\u0027fs\u0027).copyFileSync(\u0027src/core/preset-data-hash.enc\u0027, \u0027dist/core/preset-data-hash.enc\u0027); require(\u0027fs\u0027).copyFileSync(\u0027src/core/preset-data.enc\u0027, \u0027resources/preset-data.enc\u0027); require(\u0027fs\u0027).copyFileSync(\u0027src/core/preset-data-hash.enc\u0027, \u0027resources/preset-data-hash.enc\u0027)\"",
|
|
13
|
+
"start": "node dist/bin/team-manager.js",
|
|
14
|
+
"dev": "ts-node src/bin/team-manager.ts",
|
|
15
|
+
"uninstall": "node dist/bin/team-uninstall.js",
|
|
16
|
+
"prepublishOnly": "npm run obfuscate",
|
|
17
|
+
"test": "jest",
|
|
18
|
+
"test:watch": "jest --watch",
|
|
19
|
+
"obfuscate": "node scripts/obfuscate.js"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"agent",
|
|
23
|
+
"collaboration",
|
|
24
|
+
"openclaw",
|
|
25
|
+
"cli",
|
|
26
|
+
"multi-agent",
|
|
27
|
+
"feishu",
|
|
28
|
+
"lark",
|
|
29
|
+
"assistant",
|
|
30
|
+
"automation",
|
|
31
|
+
"team",
|
|
32
|
+
"task-management",
|
|
33
|
+
"workflow"
|
|
34
|
+
],
|
|
35
|
+
"author": "",
|
|
36
|
+
"license": "UNLICENSED",
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "https://github.com/poderosom1/opclawtm.git"
|
|
40
|
+
},
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://github.com/poderosom1/opclawtm/issues"
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://github.com/poderosom1/opclawtm#readme",
|
|
45
|
+
"files": [
|
|
46
|
+
"dist/**/*",
|
|
47
|
+
"!dist/**/*.map",
|
|
48
|
+
"!dist/**/*.d.ts.map",
|
|
49
|
+
"resources/**/*",
|
|
50
|
+
"README.md",
|
|
51
|
+
"README_EN.md",
|
|
52
|
+
"LICENSE"
|
|
53
|
+
],
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"better-sqlite3": "^12.6.2",
|
|
56
|
+
"better-sqlite3-multiple-ciphers": "^12.6.2",
|
|
57
|
+
"chalk": "^4.1.2",
|
|
58
|
+
"commander": "^12.0.0",
|
|
59
|
+
"handlebars": "^4.7.8",
|
|
60
|
+
"inquirer": "^8.2.6",
|
|
61
|
+
"ora": "^5.4.1",
|
|
62
|
+
"uuid": "^9.0.1",
|
|
63
|
+
"ws": "^8.19.0",
|
|
64
|
+
"axios": "^1.6.0"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@types/better-sqlite3": "^7.6.12",
|
|
68
|
+
"@types/inquirer": "^9.0.7",
|
|
69
|
+
"@types/jest": "^29.5.12",
|
|
70
|
+
"@types/node": "^20.11.24",
|
|
71
|
+
"@types/uuid": "^9.0.8",
|
|
72
|
+
"bytenode": "^1.5.7",
|
|
73
|
+
"javascript-obfuscator": "^4.1.0",
|
|
74
|
+
"jest": "^29.7.0",
|
|
75
|
+
"ts-jest": "^29.1.2",
|
|
76
|
+
"ts-node": "^10.9.2",
|
|
77
|
+
"typescript": "^5.3.3"
|
|
78
|
+
},
|
|
79
|
+
"engines": {
|
|
80
|
+
"node": "\u003e=20.0.0"
|
|
81
|
+
},
|
|
82
|
+
"os": [
|
|
83
|
+
"win32",
|
|
84
|
+
"darwin",
|
|
85
|
+
"linux"
|
|
86
|
+
]
|
|
87
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
rNH8Uwy+4TBhjh3S7VHfmJzROFeebL1e79PPTqOOv/Fdnj/kZGYXxt7wjziRxdMPqAVeGqrmIfhNxExX81BwKfqfR1ir9mKWSevDm9PVhHDWh08vRgDsBEDzoKGmXjaivjVYBZD7FmZDd2CHSwhWtn7gDBmv5xLLDmTi7TgkJ34=
|