opclawtm 2.0.6 → 2.0.7
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 +17 -1
- 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/sync.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 +16 -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/preset-version.txt +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 +15 -0
- 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.js +1 -1
- 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 +4 -0
- 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 +1 -1
- package/resources/preset-data-hash.enc +1 -1
- package/resources/preset-data.enc +1 -1
- package/resources/preset-version.txt +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(_0x3d9edc,_0x43cf61){const _0x385012=_0x3d9edc();while(!![]){try{const _0x365f15=-parseInt(_0x1220(0x1f2))/0x1+parseInt(_0x1220(0x1f0))/0x2*(-parseInt(_0x1220(0x1f6))/0x3)+parseInt(_0x1220(0x204))/0x4*(-parseInt(_0x1220(0x1f1))/0x5)+parseInt(_0x1220(0x1fb))/0x6+parseInt(_0x1220(0x200))/0x7*(-parseInt(_0x1220(0x1ff))/0x8)+-parseInt(_0x1220(0x1f3))/0x9*(-parseInt(_0x1220(0x20c))/0xa)+parseInt(_0x1220(0x207))/0xb;if(_0x365f15===_0x43cf61)break;else _0x385012['push'](_0x385012['shift']());}catch(_0x44e80f){_0x385012['push'](_0x385012['shift']());}}}(_0x1e45,0x92fb5));function _0x1220(_0x2e4023,_0x23441f){_0x2e4023=_0x2e4023-0x1f0;const _0x1e450c=_0x1e45();let _0x1220fd=_0x1e450c[_0x2e4023];if(_0x1220['tswcUY']===undefined){var _0x3d3168=function(_0x24ff52){const _0x33e0d9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1bf9a6='',_0x4c8303='';for(let _0x65687b=0x0,_0x57b572,_0x432d15,_0x106396=0x0;_0x432d15=_0x24ff52['charAt'](_0x106396++);~_0x432d15&&(_0x57b572=_0x65687b%0x4?_0x57b572*0x40+_0x432d15:_0x432d15,_0x65687b++%0x4)?_0x1bf9a6+=String['fromCharCode'](0xff&_0x57b572>>(-0x2*_0x65687b&0x6)):0x0){_0x432d15=_0x33e0d9['indexOf'](_0x432d15);}for(let _0xbd331=0x0,_0x23c1ae=_0x1bf9a6['length'];_0xbd331<_0x23c1ae;_0xbd331++){_0x4c8303+='%'+('00'+_0x1bf9a6['charCodeAt'](_0xbd331)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4c8303);};_0x1220['YyzWif']=_0x3d3168,_0x1220['PVbSab']={},_0x1220['tswcUY']=!![];}const _0x3fd4c0=_0x1e450c[0x0],_0x36f272=_0x2e4023+_0x3fd4c0,_0x302b72=_0x1220['PVbSab'][_0x36f272];return!_0x302b72?(_0x1220fd=_0x1220['YyzWif'](_0x1220fd),_0x1220['PVbSab'][_0x36f272]=_0x1220fd):_0x1220fd=_0x302b72,_0x1220fd;}Object[_0x1220(0x1fd)](exports,'__esModule',{'value':!![]}),exports[_0x1220(0x1f7)]=exports['TemplateRepository']=void 0x0;const base_repository_1=require('./base.repository');function _0x1e45(){const _0x3f9824=['nZCYmwrbDg95qG','DxbKyxrLzf9HDa','Dg9ju09tDhjPBMC','DhLWzq','mtiXote2CejHC014','AxnqCMvZzxq','zMLUzfDOzxjL','mZq5mdi5ndvsuxLjuNa','DgvTCgXHDgvZ','zMLUzfbYzxnLDa','Aw5Zzxj0','BMfTzq','mJuWwNfMC2vA','BgvUz3rO','mtbZCfblthi','ntbNEhDzsfi','ndaXmdq5A1H5t21J','odi4otbquxnNq0C','A2v5CW','zMLUzej5swq','nJy0otu5y2jNA0HO','DgvTCgXHDgvszxbVC2L0B3j5','AxnFChjLC2v0','y29UDgvUDa','vgvTCgXHDgvszxbVC2L0B3j5','mJeYmJyYEM5NrxbH','DxbKyxrL','zgvMAw5LuhjVCgvYDhK','y3jLyxrLvgvTCgXHDgu','nZqXnMPns1H2rq'];_0x1e45=function(){return _0x3f9824;};return _0x1e45();}class TemplateRepository extends base_repository_1['BaseRepository']{constructor(){super(_0x1220(0x208),'id');}[_0x1220(0x1fe)](_0x1bf9a6){const _0x4c8303=new Date()[_0x1220(0x202)]();return this[_0x1220(0x20a)]({'id':_0x1bf9a6['id'],'name':_0x1bf9a6[_0x1220(0x20b)],'type':_0x1bf9a6['type'],'content':_0x1bf9a6['content'],'is_preset':_0x1bf9a6['is_preset']??0x1,'created_at':_0x4c8303,'updated_at':_0x4c8303}),this[_0x1220(0x1f5)](_0x1bf9a6['id']);}['updateTemplate'](_0x65687b,_0x57b572){const _0x432d15={};if(_0x57b572[_0x1220(0x20b)]!==undefined)_0x432d15['name']=_0x57b572[_0x1220(0x20b)];if(_0x57b572[_0x1220(0x203)]!==undefined)_0x432d15[_0x1220(0x203)]=_0x57b572[_0x1220(0x203)];if(_0x57b572['content']!==undefined)_0x432d15[_0x1220(0x1f9)]=_0x57b572[_0x1220(0x1f9)];Object[_0x1220(0x1f4)](_0x432d15)[_0x1220(0x20d)]>0x0&&(_0x432d15[_0x1220(0x201)]=new Date()[_0x1220(0x202)](),this[_0x1220(0x1fc)](_0x65687b,_0x432d15));}['findByType'](_0x106396){return this['findWhere']({'type':_0x106396});}[_0x1220(0x209)](){return this[_0x1220(0x206)]({'is_preset':0x1});}[_0x1220(0x205)](_0xbd331){const _0x23c1ae=this['findById'](_0xbd331);return _0x23c1ae?_0x23c1ae[_0x1220(0x1f8)]===0x1:![];}}exports[_0x1220(0x1fa)]=TemplateRepository,exports[_0x1220(0x1f7)]=new TemplateRepository();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(_0x2bf117,_0x518ea2){const _0x2cb1f0=_0x2bf117();while(!![]){try{const _0x3b9fbf=parseInt(_0x3d4d(0x1b5))/0x1*(-parseInt(_0x3d4d(0x1bb))/0x2)+-parseInt(_0x3d4d(0x1b6))/0x3*(parseInt(_0x3d4d(0x1ba))/0x4)+parseInt(_0x3d4d(0x1bd))/0x5*(-parseInt(_0x3d4d(0x1b4))/0x6)+parseInt(_0x3d4d(0x1c4))/0x7*(parseInt(_0x3d4d(0x1c8))/0x8)+parseInt(_0x3d4d(0x1b8))/0x9+parseInt(_0x3d4d(0x1c6))/0xa*(parseInt(_0x3d4d(0x1b2))/0xb)+-parseInt(_0x3d4d(0x1c0))/0xc*(-parseInt(_0x3d4d(0x1cd))/0xd);if(_0x3b9fbf===_0x518ea2)break;else _0x2cb1f0['push'](_0x2cb1f0['shift']());}catch(_0x41be1f){_0x2cb1f0['push'](_0x2cb1f0['shift']());}}}(_0x3979,0xe8790));Object['defineProperty'](exports,_0x3d4d(0x1ca),{'value':!![]}),exports[_0x3d4d(0x1c5)]=exports['UserRepository']=void 0x0;function _0x3979(){const _0x596b94=['z2v0rMvPC2H1t3bLBKLK','DxnLCNm','odq3mdiWq01mCvfs','zMLUzej5rMvPC2H1t3bLBKLK','Dg9ju09tDhjPBMC','z2v0rgvMyxvSDfvZzxi','nZq0mty1mwzNq0nQwa','DxnLCLjLCg9ZAxrVCNK','ndbgze9ADfq','lI9IyxnLlNjLCg9ZAxrVCNK','offrCgXrua','yMLUzezLAxnODq','x19LC01VzhvSzq','zMvPC2H1x29Wzw5FAwq','AxngzwLZAhvcB3vUza','otfWBevpvKC','Dw5IAw5KrMvPC2H1','mJiWntqYm01OC3nrEq','zgvMyxvSDf91C2vY','nMLKDgjWqq','mtm0mtDTA1rRuLK','mJK4ntuXm1nPAxncsq','DxbKyxrLtMfTzq','nZyWnda4mNbLrLfMDG','zMLUzej5swq','nfLdve1zra','mta0ruHnrfzV','DxbKyxrL','mJC5ndK3nxfIDg9puW'];_0x3979=function(){return _0x596b94;};return _0x3979();}const base_repository_1=require(_0x3d4d(0x1c7));function _0x3d4d(_0x2734a4,_0x439fcc){_0x2734a4=_0x2734a4-0x1b1;const _0x3979bd=_0x3979();let _0x3d4d52=_0x3979bd[_0x2734a4];if(_0x3d4d['oTEWAJ']===undefined){var _0x59e72f=function(_0x1c5b41){const _0x1be4d8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x368ad6='',_0x5978cd='';for(let _0x3611fe=0x0,_0x471f02,_0x2a7672,_0x10a23b=0x0;_0x2a7672=_0x1c5b41['charAt'](_0x10a23b++);~_0x2a7672&&(_0x471f02=_0x3611fe%0x4?_0x471f02*0x40+_0x2a7672:_0x2a7672,_0x3611fe++%0x4)?_0x368ad6+=String['fromCharCode'](0xff&_0x471f02>>(-0x2*_0x3611fe&0x6)):0x0){_0x2a7672=_0x1be4d8['indexOf'](_0x2a7672);}for(let _0x564330=0x0,_0x448475=_0x368ad6['length'];_0x564330<_0x448475;_0x564330++){_0x5978cd+='%'+('00'+_0x368ad6['charCodeAt'](_0x564330)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5978cd);};_0x3d4d['gPIrHO']=_0x59e72f,_0x3d4d['vfcpnh']={},_0x3d4d['oTEWAJ']=!![];}const _0x3119a7=_0x3979bd[0x0],_0x5b69fe=_0x2734a4+_0x3119a7,_0x5bb676=_0x3d4d['vfcpnh'][_0x5b69fe];return!_0x5bb676?(_0x3d4d52=_0x3d4d['gPIrHO'](_0x3d4d52),_0x3d4d['vfcpnh'][_0x5b69fe]=_0x3d4d52):_0x3d4d52=_0x5bb676,_0x3d4d52;}class UserRepository extends base_repository_1['BaseRepository']{constructor(){super(_0x3d4d(0x1bf),'id');}[_0x3d4d(0x1c3)](){return this[_0x3d4d(0x1b9)](_0x3d4d(0x1b3));}[_0x3d4d(0x1c1)](_0x368ad6){return this['findOneWhere']({'feishu_open_id':_0x368ad6});}[_0x3d4d(0x1c9)](_0x5978cd,_0x3611fe,_0x471f02){const _0x2a7672=new Date()[_0x3d4d(0x1c2)]();this[_0x3d4d(0x1bc)](_0x5978cd,{'feishu_open_id':_0x3611fe,'feishu_union_id':_0x471f02||null,'updated_at':_0x2a7672});}[_0x3d4d(0x1b1)](_0x10a23b){const _0x564330=new Date()[_0x3d4d(0x1c2)]();this[_0x3d4d(0x1bc)](_0x10a23b,{'feishu_open_id':null,'feishu_union_id':null,'updated_at':_0x564330});}[_0x3d4d(0x1cc)](_0x448475){const _0x124c17=this[_0x3d4d(0x1b9)](_0x448475);return!!_0x124c17&&!!_0x124c17[_0x3d4d(0x1cb)];}[_0x3d4d(0x1be)](_0x3598e1){const _0x3c47ab=this[_0x3d4d(0x1b9)](_0x3598e1);return _0x3c47ab?.['feishu_open_id']||null;}[_0x3d4d(0x1b7)](_0x56de1f,_0x57902d){const _0x4e2df0=new Date()[_0x3d4d(0x1c2)]();this[_0x3d4d(0x1bc)](_0x56de1f,{'name':_0x57902d,'updated_at':_0x4e2df0});}}exports['UserRepository']=UserRepository,exports['userRepository']=new UserRepository();
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
YYLCTKQRHPXQvtPcqypOO20dff8itnhODoGxy59RcSozOigZ/lSAnCbu+EnW34/+fYg3Eyn7FXuEJesxz8P6Bv373NczD91p6j+RrNf6MFwZL1kCJxCl3QOZUxk7xKEssGGG0K+H0aBwuWw9ez7sxLuw1R95O+/0JRkiIFuXkvU=
|