opclawtm 2.0.0 → 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 +3 -3
  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(_0x262b24,_0xa01b08){var _0x1952f7=_0x262b24();while(!![]){try{var _0x4fbd55=-parseInt(_0x33ff(0xae))/0x1+-parseInt(_0x33ff(0xa4))/0x2+parseInt(_0x33ff(0xaf))/0x3*(parseInt(_0x33ff(0x9e))/0x4)+-parseInt(_0x33ff(0xab))/0x5*(-parseInt(_0x33ff(0xb6))/0x6)+parseInt(_0x33ff(0xb0))/0x7+parseInt(_0x33ff(0xa8))/0x8*(-parseInt(_0x33ff(0xb2))/0x9)+-parseInt(_0x33ff(0xad))/0xa;if(_0x4fbd55===_0xa01b08)break;else _0x1952f7['push'](_0x1952f7['shift']());}catch(_0x27b9be){_0x1952f7['push'](_0x1952f7['shift']());}}}(_0x67ba,0x34231));function _0x67ba(){var _0x18703e=['ChvZAa','C2HPzNq','BuP1mw1kENr6sZvAquS0','mta5mtC4uvfUDKr2','uxflyune','BKPHwM1kytfdz2PqqMDisq','BuP1mM10Dtfdz1rVDtnQtq','mtz5qxr5EuG','BgvUz3rO','s1PJt2X0','mtuWmZyYmgzesK1nwa','y2HHCKnVzgvbDa','mtC4ntuWz3bgrKfI','otuXmJvsDMvXqvi','mJC4n1DKDNvkza','mJCYnJu3r1DMuLf4','x19LC01VzhvSzq','ndq0nZq0BK1UsNDR','B2rXmw10yvLcsZLirgHImW','ywjJzgvMz2HPAMTSBw5VChfYC3r1DND4ExPbqKneruzhseLks0XntK9quvjtvfvwv1HzwJaXmJm0nty3odKRlZ0','EMD2tuf3nuX1AgPwq2D2wurOsW','nKLrwvjcrG','nJa0EwP5EvPH','y2HHCKf0','zvbKDhbe'];_0x67ba=function(){return _0x18703e;};return _0x67ba();}(function(_0x1162ca,_0x55461c){var _0x6b0b68=_0x1162ca();while(!![]){try{var _0x1c19d6=-parseInt(_0x51f5(0x199))/0x1+-parseInt(_0x51f5(0x196))/0x2+-parseInt(_0x51f5(0x19a))/0x3*(-parseInt(_0x51f5(0x194))/0x4)+-parseInt(_0x51f5(0x198))/0x5+-parseInt(_0x51f5(0x19c))/0x6+parseInt(_0x51f5(0x197))/0x7+parseInt(_0x51f5(0x195))/0x8;if(_0x1c19d6===_0x55461c)break;else _0x6b0b68['push'](_0x6b0b68['shift']());}catch(_0x445d91){_0x6b0b68[_0x33ff(0xa1)](_0x6b0b68[_0x33ff(0xa2)]());}}}(_0x3775,0x3898f));function _0x3775(){var _0x27d782=['ndm1mZqYuvfhAgzt','oeHguLbPzG','ndaZmty1nNHXvxrfBW',_0x33ff(0xb3),'mtm4odu5n0XJqxDxzG',_0x33ff(0xa6),_0x33ff(0xa3),_0x33ff(0xa7),_0x33ff(0xb5)];return _0x3775=function(){return _0x27d782;},_0x3775();}function _0x33ff(_0x3d24e3,_0x30977d){_0x3d24e3=_0x3d24e3-0x9e;var _0x67ba1b=_0x67ba();var _0x33ff82=_0x67ba1b[_0x3d24e3];if(_0x33ff['wuaRRJ']===undefined){var _0x45137a=function(_0x5640c8){var _0x2fd7c2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1162ca='',_0x55461c='';for(var _0x6b0b68=0x0,_0x1c19d6,_0x445d91,_0x27d782=0x0;_0x445d91=_0x5640c8['charAt'](_0x27d782++);~_0x445d91&&(_0x1c19d6=_0x6b0b68%0x4?_0x1c19d6*0x40+_0x445d91:_0x445d91,_0x6b0b68++%0x4)?_0x1162ca+=String['fromCharCode'](0xff&_0x1c19d6>>(-0x2*_0x6b0b68&0x6)):0x0){_0x445d91=_0x2fd7c2['indexOf'](_0x445d91);}for(var _0x3aa638=0x0,_0x3c3dd2=_0x1162ca['length'];_0x3aa638<_0x3c3dd2;_0x3aa638++){_0x55461c+='%'+('00'+_0x1162ca['charCodeAt'](_0x3aa638)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x55461c);};_0x33ff['gLXZGV']=_0x45137a,_0x33ff['DkfKPe']={},_0x33ff['wuaRRJ']=!![];}var _0xebf832=_0x67ba1b[0x0],_0x53aeb8=_0x3d24e3+_0xebf832,_0x5092c1=_0x33ff['DkfKPe'][_0x53aeb8];return!_0x5092c1?(_0x33ff82=_0x33ff['gLXZGV'](_0x33ff82),_0x33ff['DkfKPe'][_0x53aeb8]=_0x33ff82):_0x33ff82=_0x5092c1,_0x33ff82;}function _0x51f5(_0x3aa638,_0x3c3dd2){_0x3aa638=_0x3aa638-0x194;var _0x2b28e3=_0x3775(),_0x41eac7=_0x2b28e3[_0x3aa638];if(_0x51f5[_0x33ff(0xa0)]===undefined){var _0x436d67=function(_0x317513){var _0x2a8bbe=_0x33ff(0xb4),_0x264608='',_0x392cbd='';for(var _0x53f911=0x0,_0x5f0a77,_0x12c269,_0x5b55a2=0x0;_0x12c269=_0x317513[_0x33ff(0x9f)](_0x5b55a2++);~_0x12c269&&(_0x5f0a77=_0x53f911%0x4?_0x5f0a77*0x40+_0x12c269:_0x12c269,_0x53f911++%0x4)?_0x264608+=String['fromCharCode'](0xff&_0x5f0a77>>(-0x2*_0x53f911&0x6)):0x0){_0x12c269=_0x2a8bbe['indexOf'](_0x12c269);}for(var _0x285edd=0x0,_0x51fc91=_0x264608[_0x33ff(0xa9)];_0x285edd<_0x51fc91;_0x285edd++){_0x392cbd+='%'+('00'+_0x264608[_0x33ff(0xac)](_0x285edd)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x392cbd);};_0x51f5[_0x33ff(0xaa)]=_0x436d67,_0x51f5[_0x33ff(0xa5)]={},_0x51f5['ePdtpD']=!![];}var _0x4b7560=_0x2b28e3[0x0],_0x489a62=_0x3aa638+_0x4b7560,_0x1d2ac4=_0x51f5[_0x33ff(0xa5)][_0x489a62];return!_0x1d2ac4?(_0x41eac7=_0x51f5[_0x33ff(0xaa)](_0x41eac7),_0x51f5[_0x33ff(0xa5)][_0x489a62]=_0x41eac7):_0x41eac7=_0x1d2ac4,_0x41eac7;}Object[_0x51f5(0x19b)](exports,_0x33ff(0xb1),{'value':!![]});
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
- jQ0+KET/KX04WkxMsuji39twccoHSI08CrwRyawauVYsjbJSeH602dRJKPgbrR34zdR4xjNsiRwaO0MLVD4W9VrkHM5LAvMZwpMX6WeoZYgwP7U/PITjqeIUawnpluEugf8cgKz84b6tPw2SfU3O66fyTGOac8e3aSoKmVFL65A=
1
+ 5AaBM91Y1PFROILAEZqT8EUpGWnQdwQP7yxCj1ehNrAUV4qwmyCNaeqVRbKaQWUlimUyqeeaB9N6CNfX4UNk+Fm6Fggf/M7p5N4B/aIvqMjXq3MqVK8wBiZ0Zx9LGGeuckpT7Pz2SF2gUkyedu0Nrk5hPp1MX1egAafYfJEscLQ=