opclawtm 2.0.6 → 2.0.8

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.
Files changed (109) hide show
  1. package/dist/bin/team-manager.js +1 -1
  2. package/dist/bin/team-setup.js +1 -1
  3. package/dist/bin/team-uninstall.js +1 -1
  4. package/dist/cli/commands/agent.command.js +1 -1
  5. package/dist/cli/commands/checklist.command.js +1 -1
  6. package/dist/cli/commands/dept.command.js +1 -1
  7. package/dist/cli/commands/document.command.d.ts +17 -1
  8. package/dist/cli/commands/document.command.js +1 -1
  9. package/dist/cli/commands/domain.command.js +1 -1
  10. package/dist/cli/commands/feishu.command.js +1 -1
  11. package/dist/cli/commands/guide.command.js +1 -1
  12. package/dist/cli/commands/job.command.js +1 -1
  13. package/dist/cli/commands/license.command.js +1 -1
  14. package/dist/cli/commands/message-failure.command.js +1 -1
  15. package/dist/cli/commands/message.command.js +1 -1
  16. package/dist/cli/commands/node.command.js +1 -1
  17. package/dist/cli/commands/role-flow.command.js +1 -1
  18. package/dist/cli/commands/skill-pack.command.js +1 -1
  19. package/dist/cli/commands/status.command.js +1 -1
  20. package/dist/cli/commands/sync.command.js +1 -1
  21. package/dist/cli/commands/task.command.js +1 -1
  22. package/dist/cli/commands/user.command.js +1 -1
  23. package/dist/cli/index.js +1 -1
  24. package/dist/cli/tui/index.js +1 -1
  25. package/dist/cli/tui/menus/agent-manage.menu.js +1 -1
  26. package/dist/cli/tui/menus/dept-manage.menu.js +1 -1
  27. package/dist/cli/tui/menus/domain-manage.menu.js +1 -1
  28. package/dist/cli/tui/menus/feishu.menu.js +1 -1
  29. package/dist/cli/tui/menus/job-manage.menu.js +1 -1
  30. package/dist/cli/tui/menus/license.menu.js +1 -1
  31. package/dist/cli/tui/menus/main.menu.js +1 -1
  32. package/dist/cli/tui/menus/reset.menu.js +1 -1
  33. package/dist/cli/tui/menus/status.menu.js +1 -1
  34. package/dist/cli/tui/menus/task-manage.menu.js +1 -1
  35. package/dist/cli/tui/menus/team-create.menu.js +1 -1
  36. package/dist/config.js +1 -1
  37. package/dist/core/auth/index.js +1 -1
  38. package/dist/core/auth/middleware.js +1 -1
  39. package/dist/core/auth/storage.js +1 -1
  40. package/dist/core/models/types.d.ts +16 -0
  41. package/dist/core/models/types.js +1 -1
  42. package/dist/core/preset-data-hash.enc +1 -1
  43. package/dist/core/preset-data.enc +1 -1
  44. package/dist/core/preset-version.txt +1 -1
  45. package/dist/core/services/agent-template.service.js +1 -1
  46. package/dist/core/services/agent.service.js +1 -1
  47. package/dist/core/services/auth-profiles.service.js +1 -1
  48. package/dist/core/services/checklist.service.js +1 -1
  49. package/dist/core/services/config-tracker.service.js +1 -1
  50. package/dist/core/services/crypto.service.js +1 -1
  51. package/dist/core/services/dept.service.js +1 -1
  52. package/dist/core/services/document.service.d.ts +15 -0
  53. package/dist/core/services/document.service.js +1 -1
  54. package/dist/core/services/domain.service.js +1 -1
  55. package/dist/core/services/feishu.service.js +1 -1
  56. package/dist/core/services/index.js +1 -1
  57. package/dist/core/services/job.service.js +1 -1
  58. package/dist/core/services/log.service.js +1 -1
  59. package/dist/core/services/message-failure.service.js +1 -1
  60. package/dist/core/services/message.service.js +1 -1
  61. package/dist/core/services/node.service.js +1 -1
  62. package/dist/core/services/openclaw-config.service.js +1 -1
  63. package/dist/core/services/preset-loader.service.js +1 -1
  64. package/dist/core/services/role-flow.service.js +1 -1
  65. package/dist/core/services/session-cleanup.service.js +1 -1
  66. package/dist/core/services/setup.service.js +1 -1
  67. package/dist/core/services/skill-pack.service.js +1 -1
  68. package/dist/core/services/task.service.js +1 -1
  69. package/dist/core/services/template.service.js +1 -1
  70. package/dist/core/services/user.service.js +1 -1
  71. package/dist/core/utils/agent-guide-generator.js +1 -1
  72. package/dist/core/utils/credentials-cleanup.js +1 -1
  73. package/dist/core/utils/index.js +1 -1
  74. package/dist/core/utils/openclaw-helper.js +1 -1
  75. package/dist/core/utils/template-generator.js +1 -1
  76. package/dist/db/index.js +1 -1
  77. package/dist/db/migrations/index.js +1 -1
  78. package/dist/db/migrations/v1.7.12-migration.js +1 -1
  79. package/dist/db/migrations/v1.7.14-migration.js +1 -1
  80. package/dist/db/migrations/v1.7.3-migration.js +1 -1
  81. package/dist/db/migrations/v1.7.4-migration.js +1 -1
  82. package/dist/db/migrations/v1.9.13-migration.js +1 -1
  83. package/dist/db/migrations/v1.9.4-migration.js +1 -1
  84. package/dist/db/repositories/agent-template.repo.js +1 -1
  85. package/dist/db/repositories/agent.repo.js +1 -1
  86. package/dist/db/repositories/base.repository.js +1 -1
  87. package/dist/db/repositories/company.repo.js +1 -1
  88. package/dist/db/repositories/config-change.repo.js +1 -1
  89. package/dist/db/repositories/dept.repo.js +1 -1
  90. package/dist/db/repositories/document.repo.d.ts +4 -0
  91. package/dist/db/repositories/document.repo.js +1 -1
  92. package/dist/db/repositories/domain.repo.js +1 -1
  93. package/dist/db/repositories/guide.repo.js +1 -1
  94. package/dist/db/repositories/index.js +1 -1
  95. package/dist/db/repositories/init-session.repo.js +1 -1
  96. package/dist/db/repositories/job.repo.js +1 -1
  97. package/dist/db/repositories/message-failure.repo.js +1 -1
  98. package/dist/db/repositories/message-log.repo.js +1 -1
  99. package/dist/db/repositories/node.repo.js +1 -1
  100. package/dist/db/repositories/role-flow.repo.js +1 -1
  101. package/dist/db/repositories/skill-pack.repo.js +1 -1
  102. package/dist/db/repositories/skill.repo.js +1 -1
  103. package/dist/db/repositories/task.repo.js +1 -1
  104. package/dist/db/repositories/template.repo.js +1 -1
  105. package/dist/db/repositories/user.repo.js +1 -1
  106. package/package.json +1 -1
  107. package/resources/preset-data-hash.enc +1 -1
  108. package/resources/preset-data.enc +1 -1
  109. package/resources/preset-version.txt +1 -1
@@ -1 +1 @@
1
- 'use strict';(function(_0x34f7d5,_0x444a3f){var _0x4fc31a=_0x34f7d5();while(!![]){try{var _0x4df0cd=-parseInt(_0x3f42(0x12b))/0x1+-parseInt(_0x3f42(0x123))/0x2*(parseInt(_0x3f42(0x124))/0x3)+parseInt(_0x3f42(0x120))/0x4*(parseInt(_0x3f42(0x128))/0x5)+parseInt(_0x3f42(0x126))/0x6+-parseInt(_0x3f42(0x121))/0x7*(-parseInt(_0x3f42(0x11f))/0x8)+-parseInt(_0x3f42(0x11e))/0x9*(-parseInt(_0x3f42(0x125))/0xa)+-parseInt(_0x3f42(0x12a))/0xb*(-parseInt(_0x3f42(0x127))/0xc);if(_0x4df0cd===_0x444a3f)break;else _0x4fc31a['push'](_0x4fc31a['shift']());}catch(_0x5a72cc){_0x4fc31a['push'](_0x4fc31a['shift']());}}}(_0x1f97,0xb57a8));function _0x1f97(){var _0x59dc48=['mJmWmZfeEgrYEvu','ndmWmda3mgnOBxnHua','mZG2mZa0uNPqENHf','mtjRvwf2Ew4','mtbrAgfAu0C','x19LC01VzhvSzq','mti3odaXmtLfthH3tNO','mte3otG0m214wgrQtq','owDzwgXZDW','nda4EuTquLbI','otGZmdeYuMTOsxzA','otaZntz0ChDAuhO','zgvMAw5LuhjVCgvYDhK','mJmWBxrHsvfg'];_0x1f97=function(){return _0x59dc48;};return _0x1f97();}function _0x3f42(_0x3f0bc2,_0x199d25){_0x3f0bc2=_0x3f0bc2-0x11e;var _0x1f9791=_0x1f97();var _0x3f42a7=_0x1f9791[_0x3f0bc2];if(_0x3f42['XrPBbz']===undefined){var _0x355a8b=function(_0x5488d8){var _0x5a9f1a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x442c4c='',_0x9d98f3='';for(var _0x135fdf=0x0,_0x3f7397,_0x31c0da,_0x44cd0f=0x0;_0x31c0da=_0x5488d8['charAt'](_0x44cd0f++);~_0x31c0da&&(_0x3f7397=_0x135fdf%0x4?_0x3f7397*0x40+_0x31c0da:_0x31c0da,_0x135fdf++%0x4)?_0x442c4c+=String['fromCharCode'](0xff&_0x3f7397>>(-0x2*_0x135fdf&0x6)):0x0){_0x31c0da=_0x5a9f1a['indexOf'](_0x31c0da);}for(var _0x3d7aad=0x0,_0x178bee=_0x442c4c['length'];_0x3d7aad<_0x178bee;_0x3d7aad++){_0x9d98f3+='%'+('00'+_0x442c4c['charCodeAt'](_0x3d7aad)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x9d98f3);};_0x3f42['PIXvSr']=_0x355a8b,_0x3f42['bUIXzk']={},_0x3f42['XrPBbz']=!![];}var _0x3e31c3=_0x1f9791[0x0],_0x3b6695=_0x3f0bc2+_0x3e31c3,_0x36cef0=_0x3f42['bUIXzk'][_0x3b6695];return!_0x36cef0?(_0x3f42a7=_0x3f42['PIXvSr'](_0x3f42a7),_0x3f42['bUIXzk'][_0x3b6695]=_0x3f42a7):_0x3f42a7=_0x36cef0,_0x3f42a7;}Object[_0x3f42(0x122)](exports,_0x3f42(0x129),{'value':!![]});
1
+ 'use strict';(function(_0x4f2600,_0x101a69){var _0x2f1dbb=_0x4f2600();while(!![]){try{var _0x3f121a=parseInt(_0x10f7(0xcc))/0x1*(parseInt(_0x10f7(0xbd))/0x2)+parseInt(_0x10f7(0xe3))/0x3*(parseInt(_0x10f7(0xe2))/0x4)+-parseInt(_0x10f7(0xe0))/0x5*(-parseInt(_0x10f7(0xd1))/0x6)+parseInt(_0x10f7(0xc7))/0x7*(-parseInt(_0x10f7(0xbb))/0x8)+parseInt(_0x10f7(0xe7))/0x9+parseInt(_0x10f7(0xc6))/0xa*(parseInt(_0x10f7(0xd7))/0xb)+-parseInt(_0x10f7(0xc2))/0xc*(parseInt(_0x10f7(0xc9))/0xd);if(_0x3f121a===_0x101a69)break;else _0x2f1dbb['push'](_0x2f1dbb['shift']());}catch(_0x41b2b8){_0x2f1dbb['push'](_0x2f1dbb['shift']());}}}(_0x367e,0x4c264));function _0x367e(){var _0x1a4446=['ChvZAa','BxrTmM1ArZvUtxPQqMHYqxjx','y2HHCKf0','mZe3mte1oxHSEwvKAa','y2HHCKnVzgvbDa','rgC5DerOALbctum','nde3odm5mKLOuNvtBW','C2HPzNq','mLLjyLLXDW','qJjYmxDNotbcDKqWEJfIsurlnvfcCq','BuP1mw9KztjUthPYC2viv3fh','Dg9tDhjPBMC','BxrTwM10CK5XDZL1CZbL','mJi2mJmXmMXwwfn2rW','BKPdmNL3rdrcmJLx','qNHYmw5Nmuf5DKHvDe5PwKv0ALfdDwPy','qKPPweqZDK1cteWXExe','nJq3nZiWwuL0Ewfq','n2vNEvvKwa','qK5YsuvOs1HZzLaWrhrh','mtn3yMD3Avi','BtfmwNyZBNzdyq','ExDQsNPNDK16mKHqqu1uu0j3nvzdAgzzqZnYmurordrfEfbICuTUzxj1EMHZzuXRCZbyBNrloxf1DMP0DMz2D3yXshP3sMfyBuPTmg50EtnVzeTsBfOW','nZK4mxvnCwfryq','Bxrlv3znnvvXs0Ht','re56zhz3CNC','qNHYthD3ouTXwMPLBwzYDhfAyMv5rW','BxrTng10Atj1AeXwCMvQvG','mtjUCePNAfC','De5eCNv3CKO','BvPYvhKWshvdDKS','wvr1CuLN','B3r5mg50BLL3s1HvENzd','C2XPy2u','mtfPuuLtz3C','uhHrrMH2','Ede5temWmvz6AhztENe','q2H2wKfH','twXHtw1M','BxrHmM50qZvTsMj5rwDMCKnlrW','EK5QvKj1BK95EgPKqJjYta','qxC1s3P4shb6rW','BgvUz3rO','otCXnte1sfrtENzH','D3vQzNPose0','odm2mdKYCLfwrhH1','m2nAEvrYzW'];_0x367e=function(){return _0x1a4446;};return _0x367e();}(function(_0x357de6,_0x423572){var _0x283d56=_0x357de6();while(!![]){try{var _0x493da5=-parseInt(_0x2265(0x1cd))/0x1*(parseInt(_0x2265(0x1c2))/0x2)+-parseInt(_0x2265(0x1b6))/0x3*(parseInt(_0x2265(0x1ca))/0x4)+-parseInt(_0x2265(0x1c5))/0x5+-parseInt(_0x2265(0x1d3))/0x6*(parseInt(_0x2265(0x1d0))/0x7)+-parseInt(_0x2265(0x1c8))/0x8+parseInt(_0x2265(0x1bc))/0x9*(-parseInt(_0x2265(0x1c9))/0xa)+parseInt(_0x2265(0x1c4))/0xb*(parseInt(_0x2265(0x1d1))/0xc);if(_0x493da5===_0x423572)break;else _0x283d56[_0x10f7(0xe4)](_0x283d56['shift']());}catch(_0x50c4bf){_0x283d56[_0x10f7(0xe4)](_0x283d56[_0x10f7(0xbc)]());}}}(_0x174f,0x1c2e9),function(_0x259d1c,_0x2a8e38){var _0x1f476c=_0x259d1c();while(!![]){try{var _0x4bc807=parseInt(_0x520e(0x16c))/0x1*(-parseInt(_0x520e(0x163))/0x2)+-parseInt(_0x520e(0x162))/0x3*(-parseInt(_0x520e(0x167))/0x4)+parseInt(_0x520e(0x165))/0x5+-parseInt(_0x520e(0x16b))/0x6+parseInt(_0x520e(0x166))/0x7*(-parseInt(_0x520e(0x164))/0x8)+-parseInt(_0x520e(0x168))/0x9+parseInt(_0x520e(0x169))/0xa;if(_0x4bc807===_0x2a8e38)break;else _0x1f476c[_0x2265(0x1be)](_0x1f476c[_0x2265(0x1b7)]());}catch(_0x4acbfb){_0x1f476c['push'](_0x1f476c[_0x2265(0x1b7)]());}}}(_0xb949,0x53577));function _0x2265(_0x14416c,_0x45ddb8){_0x14416c=_0x14416c-0x1b6;var _0x3367ca=_0x174f(),_0x5c768a=_0x3367ca[_0x14416c];if(_0x2265[_0x10f7(0xd8)]===undefined){var _0xd58068=function(_0x1f89b4){var _0x197f4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=',_0x55eed4='',_0x1e36b0='';for(var _0x13f8fe=0x0,_0x13620a,_0x120526,_0x546435=0x0;_0x120526=_0x1f89b4[_0x10f7(0xe6)](_0x546435++);~_0x120526&&(_0x13620a=_0x13f8fe%0x4?_0x13620a*0x40+_0x120526:_0x120526,_0x13f8fe++%0x4)?_0x55eed4+=String['fromCharCode'](0xff&_0x13620a>>(-0x2*_0x13f8fe&0x6)):0x0){_0x120526=_0x197f4['indexOf'](_0x120526);}for(var _0x308c5a=0x0,_0x1b639e=_0x55eed4[_0x10f7(0xdf)];_0x308c5a<_0x1b639e;_0x308c5a++){_0x1e36b0+='%'+('00'+_0x55eed4[_0x10f7(0xe8)](_0x308c5a)[_0x10f7(0xc0)](0x10))[_0x10f7(0xd6)](-0x2);}return decodeURIComponent(_0x1e36b0);};_0x2265[_0x10f7(0xdb)]=_0xd58068,_0x2265[_0x10f7(0xd4)]={},_0x2265[_0x10f7(0xd8)]=!![];}var _0x2ab3b1=_0x3367ca[0x0],_0x3ea59e=_0x14416c+_0x2ab3b1,_0x4be8b1=_0x2265[_0x10f7(0xd4)][_0x3ea59e];return!_0x4be8b1?(_0x5c768a=_0x2265[_0x10f7(0xdb)](_0x5c768a),_0x2265['YTuqIg'][_0x3ea59e]=_0x5c768a):_0x5c768a=_0x4be8b1,_0x5c768a;}function _0x520e(_0x4321b1,_0x11942d){_0x4321b1=_0x4321b1-0x162;var _0x4f602e=_0xb949(),_0x4e85f4=_0x4f602e[_0x4321b1];if(_0x520e[_0x2265(0x1ce)]===undefined){var _0x4690da=function(_0x175609){var _0x17b407=_0x2265(0x1c0),_0x43a526='',_0x4be5c2='';for(var _0x300f5c=0x0,_0x30718c,_0x402854,_0x3cdb3c=0x0;_0x402854=_0x175609[_0x2265(0x1b9)](_0x3cdb3c++);~_0x402854&&(_0x30718c=_0x300f5c%0x4?_0x30718c*0x40+_0x402854:_0x402854,_0x300f5c++%0x4)?_0x43a526+=String[_0x2265(0x1c3)](0xff&_0x30718c>>(-0x2*_0x300f5c&0x6)):0x0){_0x402854=_0x17b407[_0x2265(0x1cc)](_0x402854);}for(var _0x395a6e=0x0,_0x1911bb=_0x43a526['length'];_0x395a6e<_0x1911bb;_0x395a6e++){_0x4be5c2+='%'+('00'+_0x43a526[_0x2265(0x1bd)](_0x395a6e)[_0x2265(0x1b8)](0x10))[_0x10f7(0xd6)](-0x2);}return decodeURIComponent(_0x4be5c2);};_0x520e[_0x2265(0x1bf)]=_0x4690da,_0x520e[_0x2265(0x1c1)]={},_0x520e['NwQQdc']=!![];}var _0x5b48=_0x4f602e[0x0],_0x324846=_0x4321b1+_0x5b48,_0x120382=_0x520e[_0x2265(0x1c1)][_0x324846];return!_0x120382?(_0x4e85f4=_0x520e[_0x2265(0x1bf)](_0x4e85f4),_0x520e[_0x2265(0x1c1)][_0x324846]=_0x4e85f4):_0x4e85f4=_0x120382,_0x4e85f4;}function _0x10f7(_0x4d6542,_0x2f6d38){_0x4d6542=_0x4d6542-0xba;var _0x367eee=_0x367e();var _0x10f7fc=_0x367eee[_0x4d6542];if(_0x10f7['CukriK']===undefined){var _0x5509ef=function(_0xe6ecea){var _0x9ae336='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x357de6='',_0x423572='';for(var _0x283d56=0x0,_0x493da5,_0x50c4bf,_0x259d1c=0x0;_0x50c4bf=_0xe6ecea['charAt'](_0x259d1c++);~_0x50c4bf&&(_0x493da5=_0x283d56%0x4?_0x493da5*0x40+_0x50c4bf:_0x50c4bf,_0x283d56++%0x4)?_0x357de6+=String['fromCharCode'](0xff&_0x493da5>>(-0x2*_0x283d56&0x6)):0x0){_0x50c4bf=_0x9ae336['indexOf'](_0x50c4bf);}for(var _0x2a8e38=0x0,_0x1f476c=_0x357de6['length'];_0x2a8e38<_0x1f476c;_0x2a8e38++){_0x423572+='%'+('00'+_0x357de6['charCodeAt'](_0x2a8e38)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x423572);};_0x10f7['yBTjRh']=_0x5509ef,_0x10f7['rqycfP']={},_0x10f7['CukriK']=!![];}var _0x5ddedd=_0x367eee[0x0],_0x10adc6=_0x4d6542+_0x5ddedd,_0x18b043=_0x10f7['rqycfP'][_0x10adc6];return!_0x18b043?(_0x10f7fc=_0x10f7['yBTjRh'](_0x10f7fc),_0x10f7['rqycfP'][_0x10adc6]=_0x10f7fc):_0x10f7fc=_0x18b043,_0x10f7fc;}function _0xb949(){var _0x33da0c=[_0x2265(0x1cb),_0x10f7(0xdc),_0x2265(0x1d4),_0x10f7(0xbf),'mteXodfPvNbhthu',_0x10f7(0xca),_0x2265(0x1bb),_0x2265(0x1d2),_0x2265(0x1c6),_0x2265(0x1cf),_0x2265(0x1c7)];return _0xb949=function(){return _0x33da0c;},_0xb949();}function _0x174f(){var _0x3da26b=['EMD2tuf3nuX1AgPwq2D2wurOsW','mta3n3jpA0HPCa','C2HPzNq',_0x10f7(0xba),'y2HHCKf0',_0x10f7(0xd9),_0x10f7(0xc8),_0x10f7(0xd5),'y2HHCKnVzgvbDa',_0x10f7(0xda),_0x10f7(0xe1),_0x10f7(0xcb),_0x10f7(0xce),_0x10f7(0xd3),_0x10f7(0xdd),'mte4mZGYqvHjz2TU','otmWmJaWwK9sEvfr',_0x10f7(0xbe),_0x10f7(0xcf),_0x10f7(0xe5),_0x10f7(0xcd),_0x10f7(0xc3),'BxrdwM5KyvPcD0HMExD2za',_0x10f7(0xde),_0x10f7(0xc1),_0x10f7(0xd2),_0x10f7(0xc5),'mJHtB1bewM4','mte3nMLPA1zUta',_0x10f7(0xc4),_0x10f7(0xd0)];return _0x174f=function(){return _0x3da26b;},_0x174f();}Object[_0x520e(0x16a)](exports,_0x2265(0x1ba),{'value':!![]});
@@ -1 +1 @@
1
- R4qXWcn02WYDzspVHmawDSat7tqgc5O1ffTJWQ9LvAlxaReWb+AtUxESsAApGGHqaErKYcOYA+CzoQ1vO1dqCbmszZJe0NjlTYHuwgw7pu0rKYXhZJv0oFOfzlU0loWtECVktgHYRvImTEYOprBJUnohmIZv2V5+nB4imb/xtxs=
1
+ YFR/7X5jTeulAs1/L2MjEuyw23MTtfxbSXNn3VHtvFwCgQZVEo2IIz5wk9kHFDyl1fNIIcUMfKUqhBJarIUbxkTQ+j1R1vD6RvhS2BfDzy9mt49DAMrBaMoyKkOJzQH/0uxiaAPI87YPiWWQHrwNTtDAuiBaEldmQkraq6mbKn0=