opclawtm 1.9.16 → 2.0.1

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 (108) 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.js +1 -1
  8. package/dist/cli/commands/domain.command.js +1 -1
  9. package/dist/cli/commands/feishu.command.js +1 -1
  10. package/dist/cli/commands/guide.command.js +1 -1
  11. package/dist/cli/commands/job.command.js +1 -1
  12. package/dist/cli/commands/license.command.js +1 -1
  13. package/dist/cli/commands/message-failure.command.js +1 -1
  14. package/dist/cli/commands/message.command.js +1 -1
  15. package/dist/cli/commands/node.command.js +1 -1
  16. package/dist/cli/commands/role-flow.command.js +1 -1
  17. package/dist/cli/commands/skill-pack.command.js +1 -1
  18. package/dist/cli/commands/status.command.js +1 -1
  19. package/dist/cli/commands/sync.command.d.ts +9 -0
  20. package/dist/cli/commands/sync.command.js +1 -0
  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.js +1 -1
  41. package/dist/core/preset-data-hash.enc +1 -1
  42. package/dist/core/preset-data.enc +1 -1
  43. package/dist/core/preset-version.txt +1 -0
  44. package/dist/core/services/agent-template.service.js +1 -1
  45. package/dist/core/services/agent.service.js +1 -1
  46. package/dist/core/services/auth-profiles.service.js +1 -1
  47. package/dist/core/services/checklist.service.js +1 -1
  48. package/dist/core/services/config-tracker.service.js +1 -1
  49. package/dist/core/services/crypto.service.js +1 -1
  50. package/dist/core/services/dept.service.js +1 -1
  51. package/dist/core/services/document.service.js +1 -1
  52. package/dist/core/services/domain.service.js +1 -1
  53. package/dist/core/services/feishu.service.js +1 -1
  54. package/dist/core/services/index.js +1 -1
  55. package/dist/core/services/job.service.js +1 -1
  56. package/dist/core/services/log.service.js +1 -1
  57. package/dist/core/services/message-failure.service.js +1 -1
  58. package/dist/core/services/message.service.js +1 -1
  59. package/dist/core/services/node.service.js +1 -1
  60. package/dist/core/services/openclaw-config.service.js +1 -1
  61. package/dist/core/services/preset-loader.service.d.ts +9 -0
  62. package/dist/core/services/preset-loader.service.js +1 -1
  63. package/dist/core/services/role-flow.service.js +1 -1
  64. package/dist/core/services/session-cleanup.service.js +1 -1
  65. package/dist/core/services/setup.service.js +1 -1
  66. package/dist/core/services/skill-pack.service.js +1 -1
  67. package/dist/core/services/task.service.js +1 -1
  68. package/dist/core/services/template.service.js +1 -1
  69. package/dist/core/services/user.service.js +1 -1
  70. package/dist/core/utils/agent-guide-generator.js +1 -1
  71. package/dist/core/utils/credentials-cleanup.js +1 -1
  72. package/dist/core/utils/index.js +1 -1
  73. package/dist/core/utils/openclaw-helper.js +1 -1
  74. package/dist/core/utils/template-generator.js +1 -1
  75. package/dist/db/index.js +1 -1
  76. package/dist/db/migrations/index.js +1 -1
  77. package/dist/db/migrations/v1.7.12-migration.js +1 -1
  78. package/dist/db/migrations/v1.7.14-migration.js +1 -1
  79. package/dist/db/migrations/v1.7.3-migration.js +1 -1
  80. package/dist/db/migrations/v1.7.4-migration.js +1 -1
  81. package/dist/db/migrations/v1.9.13-migration.js +1 -1
  82. package/dist/db/migrations/v1.9.4-migration.js +1 -1
  83. package/dist/db/repositories/agent-template.repo.js +1 -1
  84. package/dist/db/repositories/agent.repo.js +1 -1
  85. package/dist/db/repositories/base.repository.js +1 -1
  86. package/dist/db/repositories/company.repo.js +1 -1
  87. package/dist/db/repositories/config-change.repo.js +1 -1
  88. package/dist/db/repositories/dept.repo.js +1 -1
  89. package/dist/db/repositories/document.repo.js +1 -1
  90. package/dist/db/repositories/domain.repo.js +1 -1
  91. package/dist/db/repositories/guide.repo.js +1 -1
  92. package/dist/db/repositories/index.js +1 -1
  93. package/dist/db/repositories/init-session.repo.js +1 -1
  94. package/dist/db/repositories/job.repo.js +1 -1
  95. package/dist/db/repositories/message-failure.repo.js +1 -1
  96. package/dist/db/repositories/message-log.repo.js +1 -1
  97. package/dist/db/repositories/node.repo.js +1 -1
  98. package/dist/db/repositories/role-flow.repo.js +1 -1
  99. package/dist/db/repositories/skill-pack.repo.js +1 -1
  100. package/dist/db/repositories/skill.repo.js +1 -1
  101. package/dist/db/repositories/task.repo.js +1 -1
  102. package/dist/db/repositories/template.repo.js +1 -1
  103. package/dist/db/repositories/user.repo.js +1 -1
  104. package/dist/db/schema.sql +12 -0
  105. package/package.json +87 -87
  106. package/resources/preset-data-hash.enc +1 -1
  107. package/resources/preset-data.enc +1 -1
  108. package/resources/preset-version.txt +1 -0
@@ -1 +1 @@
1
- 'use strict';function _0x29eb(_0x3ca239,_0x233bd9){_0x3ca239=_0x3ca239-0xa5;var _0x4381f5=_0x4381();var _0x29ebed=_0x4381f5[_0x3ca239];if(_0x29eb['OBZyBn']===undefined){var _0x273014=function(_0x29436e){var _0x4686bf='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x412ea6='',_0x36e15d='';for(var _0x32500d=0x0,_0x46640a,_0x30d389,_0x4a7431=0x0;_0x30d389=_0x29436e['charAt'](_0x4a7431++);~_0x30d389&&(_0x46640a=_0x32500d%0x4?_0x46640a*0x40+_0x30d389:_0x30d389,_0x32500d++%0x4)?_0x412ea6+=String['fromCharCode'](0xff&_0x46640a>>(-0x2*_0x32500d&0x6)):0x0){_0x30d389=_0x4686bf['indexOf'](_0x30d389);}for(var _0x3ad812=0x0,_0x44c725=_0x412ea6['length'];_0x3ad812<_0x44c725;_0x3ad812++){_0x36e15d+='%'+('00'+_0x412ea6['charCodeAt'](_0x3ad812)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x36e15d);};_0x29eb['gMhOXN']=_0x273014,_0x29eb['hQmEND']={},_0x29eb['OBZyBn']=!![];}var _0x20cfcf=_0x4381f5[0x0],_0x5258f7=_0x3ca239+_0x20cfcf,_0x49427c=_0x29eb['hQmEND'][_0x5258f7];return!_0x49427c?(_0x29ebed=_0x29eb['gMhOXN'](_0x29ebed),_0x29eb['hQmEND'][_0x5258f7]=_0x29ebed):_0x29ebed=_0x49427c,_0x29ebed;}(function(_0x300203,_0x3d5d61){var _0x3f6a61=_0x300203();while(!![]){try{var _0x389d64=parseInt(_0x29eb(0xb3))/0x1*(-parseInt(_0x29eb(0xa8))/0x2)+-parseInt(_0x29eb(0xb2))/0x3+-parseInt(_0x29eb(0xbe))/0x4+parseInt(_0x29eb(0xbd))/0x5+parseInt(_0x29eb(0xb0))/0x6*(parseInt(_0x29eb(0xb7))/0x7)+parseInt(_0x29eb(0xc2))/0x8+parseInt(_0x29eb(0xb8))/0x9;if(_0x389d64===_0x3d5d61)break;else _0x3f6a61['push'](_0x3f6a61['shift']());}catch(_0x566423){_0x3f6a61['push'](_0x3f6a61['shift']());}}}(_0x4381,0xdaa01));function _0x4381(){var _0x45fee5=['nJK0odG2seLjuuvH','BKPXnur2zK50mLb3','BxrPnw50yLPYttvNqKTl','zNjVBunOyxjdB2rL','yxPjBezL','C2HPzNq','Ede5temWmvz6AhztENe','zgvMAw5LuhjVCgvYDhK','oduWmtq3ohHfBhjHwa','EuTxzeje','ndK5mtaZnhDYBuvuDG','nxbrAuzPvG','BMziEKjlBMT2rW','ywjJzgvMz2HPAMTSBw5VChfYC3r1DND4ExPbqKneruzhseLks0XntK9quvjtvfvwv1HzwJaXmJm0nty3odKRlZ0','BuPhng5kBtjez0qZDxDUnq','n0LQrLnwva','mJy0odaXotzOA1zxCxG','BvPHmKr4CMXcD2zQ','C2XPy2u','BuPhwM5kAtj1mw53D0S1vW','Dg9tDhjPBMC','mJe3mZmWrhfpr3vh','mtm5mdu1nMzxCKr3qG','B3CXB0nNugXcrW','tLDNs0vm','BgvUz3rO','mtKZmte4nfvbrhfsuG','Bxr5wg10CtbUzZfzEKXUD3rx','Btn2v3vnAM53Cq','y2HHCKnVzgvbDa','ChvZAa'];_0x4381=function(){return _0x45fee5;};return _0x4381();}(function(_0x412ea6,_0x36e15d){var _0x32500d=_0x412ea6();while(!![]){try{var _0x46640a=parseInt(_0x228b(0x170))/0x1*(-parseInt(_0x228b(0x168))/0x2)+-parseInt(_0x228b(0x167))/0x3+parseInt(_0x228b(0x16c))/0x4*(parseInt(_0x228b(0x16d))/0x5)+-parseInt(_0x228b(0x16b))/0x6*(parseInt(_0x228b(0x16e))/0x7)+parseInt(_0x228b(0x16a))/0x8*(-parseInt(_0x228b(0x169))/0x9)+-parseInt(_0x228b(0x171))/0xa+-parseInt(_0x228b(0x172))/0xb*(-parseInt(_0x228b(0x16f))/0xc);if(_0x46640a===_0x36e15d)break;else _0x32500d[_0x29eb(0xa7)](_0x32500d[_0x29eb(0xad)]());}catch(_0x30d389){_0x32500d['push'](_0x32500d[_0x29eb(0xad)]());}}}(_0x565f,0x41f59),Object[_0x29eb(0xaf)](exports,_0x228b(0x166),{'value':!![]}));function _0x228b(_0x4a7431,_0x3ad812){_0x4a7431=_0x4a7431-0x166;var _0x44c725=_0x565f(),_0x1bc48a=_0x44c725[_0x4a7431];if(_0x228b[_0x29eb(0xb1)]===undefined){var _0x10769b=function(_0x1eca47){var _0x313185=_0x29eb(0xb5),_0x11fad5='',_0x52105e='';for(var _0x374853=0x0,_0x2481d6,_0x1d8138,_0x52b454=0x0;_0x1d8138=_0x1eca47['charAt'](_0x52b454++);~_0x1d8138&&(_0x2481d6=_0x374853%0x4?_0x2481d6*0x40+_0x1d8138:_0x1d8138,_0x374853++%0x4)?_0x11fad5+=String[_0x29eb(0xab)](0xff&_0x2481d6>>(-0x2*_0x374853&0x6)):0x0){_0x1d8138=_0x313185['indexOf'](_0x1d8138);}for(var _0x3bbb1b=0x0,_0x107ed9=_0x11fad5[_0x29eb(0xc1)];_0x3bbb1b<_0x107ed9;_0x3bbb1b++){_0x52105e+='%'+('00'+_0x11fad5[_0x29eb(0xa6)](_0x3bbb1b)[_0x29eb(0xbc)](0x10))[_0x29eb(0xba)](-0x2);}return decodeURIComponent(_0x52105e);};_0x228b[_0x29eb(0xac)]=_0x10769b,_0x228b['NWgKEL']={},_0x228b[_0x29eb(0xb1)]=!![];}var _0x440d37=_0x44c725[0x0],_0x37de6e=_0x4a7431+_0x440d37,_0x270e7d=_0x228b[_0x29eb(0xc0)][_0x37de6e];return!_0x270e7d?(_0x1bc48a=_0x228b[_0x29eb(0xac)](_0x1bc48a),_0x228b['NWgKEL'][_0x37de6e]=_0x1bc48a):_0x1bc48a=_0x270e7d,_0x1bc48a;}function _0x565f(){var _0x3a4b72=['ota5nZyWExLyDLvu',_0x29eb(0xa9),_0x29eb(0xae),_0x29eb(0xc3),_0x29eb(0xbb),_0x29eb(0xbf),'mJKXmJu2CuLktNfP',_0x29eb(0xb9),_0x29eb(0xb4),'mtC2odeWsM9RuhH2',_0x29eb(0xaa),_0x29eb(0xb6),_0x29eb(0xa5)];return _0x565f=function(){return _0x3a4b72;},_0x565f();}
1
+ 'use strict';(function(_0x5a4b09,_0x303f20){var _0x2cdb57=_0x5a4b09();while(!![]){try{var _0x70978f=-parseInt(_0x3190(0x129))/0x1+-parseInt(_0x3190(0x136))/0x2*(parseInt(_0x3190(0x131))/0x3)+-parseInt(_0x3190(0x126))/0x4+parseInt(_0x3190(0x12c))/0x5+parseInt(_0x3190(0x13a))/0x6+-parseInt(_0x3190(0x140))/0x7+parseInt(_0x3190(0x12b))/0x8*(parseInt(_0x3190(0x132))/0x9);if(_0x70978f===_0x303f20)break;else _0x2cdb57['push'](_0x2cdb57['shift']());}catch(_0xe258f1){_0x2cdb57['push'](_0x2cdb57['shift']());}}}(_0x1629,0x3815e));function _0x1629(){var _0x4d144f=['t1jdsuHH','C2HPzNq','mte2mtmYmvbvzgD4ra','nZe4otu2sLbsqufw','ChvZAa','B2r1ww9KztfTs1HyDgzMBKnx','zNjVBunOyxjdB2rL','mK9XEgTSAG','BgvUz3rO','BKPLwM9KCtnUD25lqJfeuxPH','x19LC01VzhvSzq','mtu5ode3mK1uDM5yDa','Aw5KzxHpzG','y2HHCKf0','q0LoChnU','Bxr5mujosfbZDwy0','B3HmExj4thrZrW','mJuZmtiWExHSvez3','zMvIz1Lu','BvPdmg5ABvHUs0XyrwDmwxrX','BuPhmg5kDtb2tKriD3ziwq','ywjJzgvMz2HPAMTSBw5VChfYC3r1DND4ExPbqKneruzhseLks0XntK9quvjtvfvwv1HzwJaXmJm0nty3odKRlZ0','BxrXnw9KCtbds2zUExD6Aq','EMD2tuf3nuX1AgPwq2D2wurOsW','BxDeCNzLAMz1yq','nJq4ndi0vwrXz25t','BJjMAKrLnvPcyq','BuPPwhj1otj2txPA','nde3mdC4qwfIALzI','B2rXmw1Ks1D1zMPJEJfmua','nZj2tgXmBgm','mtiZndi5nw5wt1r2CW','y2HHCKnVzgvbDa','C2XPy2u'];_0x1629=function(){return _0x4d144f;};return _0x1629();}(function(_0x2d7999,_0x462f56){var _0x38f226=_0x2d7999();while(!![]){try{var _0x2b58be=parseInt(_0x160c(0x103))/0x1*(parseInt(_0x160c(0xfd))/0x2)+parseInt(_0x160c(0x107))/0x3*(parseInt(_0x160c(0x108))/0x4)+-parseInt(_0x160c(0xfc))/0x5+parseInt(_0x160c(0x102))/0x6*(parseInt(_0x160c(0x100))/0x7)+-parseInt(_0x160c(0xff))/0x8*(parseInt(_0x160c(0x105))/0x9)+-parseInt(_0x160c(0x101))/0xa*(-parseInt(_0x160c(0x104))/0xb)+parseInt(_0x160c(0xfe))/0xc*(parseInt(_0x160c(0x109))/0xd);if(_0x2b58be===_0x462f56)break;else _0x38f226[_0x3190(0x133)](_0x38f226[_0x3190(0x130)]());}catch(_0x63c7cf){_0x38f226['push'](_0x38f226[_0x3190(0x130)]());}}}(_0x12ae,0xc6de5),Object[_0x160c(0x106)](exports,_0x3190(0x139),{'value':!![]}));function _0x3190(_0x4f3e0f,_0x13b63e){_0x4f3e0f=_0x4f3e0f-0x121;var _0x162999=_0x1629();var _0x3190f7=_0x162999[_0x4f3e0f];if(_0x3190['DPKQfb']===undefined){var _0x34e0a3=function(_0x3cd74b){var _0x5c787c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2d7999='',_0x462f56='';for(var _0x38f226=0x0,_0x2b58be,_0x63c7cf,_0x3048dc=0x0;_0x63c7cf=_0x3cd74b['charAt'](_0x3048dc++);~_0x63c7cf&&(_0x2b58be=_0x38f226%0x4?_0x2b58be*0x40+_0x63c7cf:_0x63c7cf,_0x38f226++%0x4)?_0x2d7999+=String['fromCharCode'](0xff&_0x2b58be>>(-0x2*_0x38f226&0x6)):0x0){_0x63c7cf=_0x5c787c['indexOf'](_0x63c7cf);}for(var _0x34410d=0x0,_0xe18819=_0x2d7999['length'];_0x34410d<_0xe18819;_0x34410d++){_0x462f56+='%'+('00'+_0x2d7999['charCodeAt'](_0x34410d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x462f56);};_0x3190['tGRQtT']=_0x34e0a3,_0x3190['zOPoKX']={},_0x3190['DPKQfb']=!![];}var _0x3f10d2=_0x162999[0x0],_0x2c0679=_0x4f3e0f+_0x3f10d2,_0x328251=_0x3190['zOPoKX'][_0x2c0679];return!_0x328251?(_0x3190f7=_0x3190['tGRQtT'](_0x3190f7),_0x3190['zOPoKX'][_0x2c0679]=_0x3190f7):_0x3190f7=_0x328251,_0x3190f7;}function _0x160c(_0x3048dc,_0x34410d){_0x3048dc=_0x3048dc-0xfc;var _0xe18819=_0x12ae(),_0x18dbf9=_0xe18819[_0x3048dc];if(_0x160c[_0x3190(0x141)]===undefined){var _0x2ecafe=function(_0x410ea4){var _0x5d4b91=_0x3190(0x122),_0x3dcda5='',_0x14450e='';for(var _0x200d38=0x0,_0x16c2a3,_0x10ffd3,_0x5aa48a=0x0;_0x10ffd3=_0x410ea4[_0x3190(0x13c)](_0x5aa48a++);~_0x10ffd3&&(_0x16c2a3=_0x200d38%0x4?_0x16c2a3*0x40+_0x10ffd3:_0x10ffd3,_0x200d38++%0x4)?_0x3dcda5+=String[_0x3190(0x135)](0xff&_0x16c2a3>>(-0x2*_0x200d38&0x6)):0x0){_0x10ffd3=_0x5d4b91[_0x3190(0x13b)](_0x10ffd3);}for(var _0x57847e=0x0,_0x3f4b06=_0x3dcda5[_0x3190(0x137)];_0x57847e<_0x3f4b06;_0x57847e++){_0x14450e+='%'+('00'+_0x3dcda5[_0x3190(0x12d)](_0x57847e)['toString'](0x10))[_0x3190(0x12e)](-0x2);}return decodeURIComponent(_0x14450e);};_0x160c[_0x3190(0x13d)]=_0x2ecafe,_0x160c[_0x3190(0x12f)]={},_0x160c[_0x3190(0x141)]=!![];}var _0xc8ece9=_0xe18819[0x0],_0x398340=_0x3048dc+_0xc8ece9,_0x548d99=_0x160c[_0x3190(0x12f)][_0x398340];return!_0x548d99?(_0x18dbf9=_0x160c['CINpsn'](_0x18dbf9),_0x160c[_0x3190(0x12f)][_0x398340]=_0x18dbf9):_0x18dbf9=_0x548d99,_0x18dbf9;}function _0x12ae(){var _0x2fea4f=[_0x3190(0x13f),_0x3190(0x124),'m2rlte5VDa',_0x3190(0x142),_0x3190(0x128),_0x3190(0x138),_0x3190(0x121),_0x3190(0x123),_0x3190(0x134),_0x3190(0x127),_0x3190(0x12a),'mZi5nti1nfLxyNvYrW',_0x3190(0x125),_0x3190(0x13e)];return _0x12ae=function(){return _0x2fea4f;},_0x12ae();}
@@ -1 +1 @@
1
- xfNSY2W3SfbF+i+Xf4MGbxH1v9K6DHeRZPRV0r2sq3PQzO1ho4O2lpvjE1e6EtEHAHuPklhbKKAkIoF9yrijItSHy8LcDQEdsV+J62+xWuo7EXoPN26RwALnoXOD5oaBJVeJ3QA712WzA49LC5Fc6b+zzHeZD+2Pd5gkXtjFl+4=
1
+ 5AaBM91Y1PFROILAEZqT8EUpGWnQdwQP7yxCj1ehNrAUV4qwmyCNaeqVRbKaQWUlimUyqeeaB9N6CNfX4UNk+Fm6Fggf/M7p5N4B/aIvqMjXq3MqVK8wBiZ0Zx9LGGeuckpT7Pz2SF2gUkyedu0Nrk5hPp1MX1egAafYfJEscLQ=