@profoundlogic/coderflow-server 0.2.7 → 0.2.9
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/coder-server.js +1 -1
- package/dist/config/cli-models.json +1 -0
- package/dist/config.js +1 -1
- package/dist/lib/agent-keepalive.js +1 -1
- package/dist/lib/api-keys.js +1 -1
- package/dist/lib/apiKeys.js +1 -1
- package/dist/lib/app-server-ports.js +1 -1
- package/dist/lib/auto-judge.js +1 -1
- package/dist/lib/basic-auth.js +1 -1
- package/dist/lib/build-history.js +1 -1
- package/dist/lib/build-output-service.js +1 -1
- package/dist/lib/build-scheduler.js +1 -1
- package/dist/lib/build-service.js +1 -1
- package/dist/lib/ca-certificates.js +1 -1
- package/dist/lib/claude-oauth-refresh.js +1 -1
- package/dist/lib/cli/build.js +1 -1
- package/dist/lib/cli/config-command.js +1 -1
- package/dist/lib/cli/config.js +1 -1
- package/dist/lib/cli/create-user.js +1 -1
- package/dist/lib/cli/init.js +1 -1
- package/dist/lib/cli/jira.js +1 -1
- package/dist/lib/cli/license.js +1 -1
- package/dist/lib/cli/server-manager.js +1 -1
- package/dist/lib/container-tokens.js +1 -1
- package/dist/lib/data-dir.js +1 -1
- package/dist/lib/deployment-history.js +1 -1
- package/dist/lib/deployment-service.js +1 -1
- package/dist/lib/docker-utils.js +1 -1
- package/dist/lib/email.js +1 -1
- package/dist/lib/emailTemplates.js +1 -1
- package/dist/lib/entitlement.js +1 -1
- package/dist/lib/fetch-utils.js +1 -1
- package/dist/lib/git-commit-details-route.js +1 -1
- package/dist/lib/git-history-diff-guardrails.js +1 -1
- package/dist/lib/git-provider-service.js +1 -1
- package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
- package/dist/lib/git-provider-setup/index.js +1 -1
- package/dist/lib/git-provider-setup/setup-factory.js +1 -1
- package/dist/lib/git-provider-setup/setup-interface.js +1 -1
- package/dist/lib/git-providers/azure-devops-provider.js +1 -1
- package/dist/lib/git-providers/github-app-provider.js +1 -1
- package/dist/lib/git-providers/index.js +1 -1
- package/dist/lib/git-providers/provider-factory.js +1 -1
- package/dist/lib/git-providers/provider-interface.js +1 -1
- package/dist/lib/github-urls.js +1 -1
- package/dist/lib/group-objective-linking.js +1 -1
- package/dist/lib/jira-client.js +1 -1
- package/dist/lib/judge-blinding.js +1 -1
- package/dist/lib/logger.js +1 -1
- package/dist/lib/model-fetcher.js +1 -1
- package/dist/lib/notifications.js +1 -1
- package/dist/lib/oidc-auth.js +1 -1
- package/dist/lib/oidc-device-flow.js +1 -1
- package/dist/lib/passwordTokens.js +1 -1
- package/dist/lib/pin-cascade.js +1 -1
- package/dist/lib/provider-accounts.js +1 -1
- package/dist/lib/provider-oauth.js +1 -1
- package/dist/lib/provider-profile.js +1 -1
- package/dist/lib/provider-token-refresh.js +1 -1
- package/dist/lib/request-url.js +1 -1
- package/dist/lib/rewind.js +1 -1
- package/dist/lib/roles.js +1 -1
- package/dist/lib/secrets.js +1 -1
- package/dist/lib/setup-repo-git-auth.js +1 -1
- package/dist/lib/state-capture.js +1 -1
- package/dist/lib/static-files.js +1 -1
- package/dist/lib/task-name-generator.js +1 -1
- package/dist/lib/user-git-oauth.js +1 -1
- package/dist/lib/user-git-tokens.js +1 -1
- package/dist/lib/users.js +1 -1
- package/dist/middleware/requireAuth.js +1 -1
- package/dist/middleware/requireInit.js +1 -1
- package/dist/middleware/requirePermission.js +1 -1
- package/dist/package.json +1 -1
- package/dist/routes/apiKeys.js +1 -1
- package/dist/routes/auth-oidc.js +1 -1
- package/dist/routes/auth.js +1 -1
- package/dist/routes/build.js +1 -1
- package/dist/routes/containers.js +1 -1
- package/dist/routes/deploy-task.js +1 -1
- package/dist/routes/environment-management.js +1 -1
- package/dist/routes/environments.js +1 -1
- package/dist/routes/external-skills.js +1 -1
- package/dist/routes/git-credentials.js +1 -1
- package/dist/routes/git-oauth.js +1 -1
- package/dist/routes/git-provider-setup.js +1 -1
- package/dist/routes/health.js +1 -1
- package/dist/routes/jira.js +1 -1
- package/dist/routes/objective-management.js +1 -1
- package/dist/routes/password.js +1 -1
- package/dist/routes/prompt.js +1 -1
- package/dist/routes/provider-auth.js +1 -1
- package/dist/routes/qa.js +1 -1
- package/dist/routes/settings.js +1 -1
- package/dist/routes/skill-management.js +1 -1
- package/dist/routes/skills.js +1 -1
- package/dist/routes/tasks.js +1 -1
- package/dist/routes/templates.js +1 -1
- package/dist/routes/test-task.js +1 -1
- package/dist/routes/test.js +1 -1
- package/dist/routes/users.js +1 -1
- package/dist/routes/visualizations.js +1 -1
- package/dist/scripts/create-user.js +1 -1
- package/dist/shipped-skills/skill-editor/SKILL.md +124 -231
- package/dist/start.js +1 -1
- package/dist/web-ui/public/activity-detail-modal.js +1 -1
- package/dist/web-ui/public/activity-feed.js +1 -1
- package/dist/web-ui/public/activity-formatters.js +1 -1
- package/dist/web-ui/public/agent-event-parser.js +1 -1
- package/dist/web-ui/public/app.js +1 -1
- package/dist/web-ui/public/approve-dialog.js +1 -1
- package/dist/web-ui/public/comments-widget.js +1 -1
- package/dist/web-ui/public/diff-utils.js +1 -1
- package/dist/web-ui/public/environments.css +81 -1
- package/dist/web-ui/public/environments.html +8 -3
- package/dist/web-ui/public/environments.js +1 -1
- package/dist/web-ui/public/feedback-widget.css +28 -0
- package/dist/web-ui/public/feedback-widget.js +1 -1
- package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
- package/dist/web-ui/public/git-history.html +1 -1
- package/dist/web-ui/public/git-history.js +1 -1
- package/dist/web-ui/public/git-status.js +1 -1
- package/dist/web-ui/public/index.js +1 -1
- package/dist/web-ui/public/login.js +1 -1
- package/dist/web-ui/public/markdown-editor.js +1 -1
- package/dist/web-ui/public/markdown-file-editor.js +1 -1
- package/dist/web-ui/public/modal-maximize.js +1 -1
- package/dist/web-ui/public/notifications.js +1 -1
- package/dist/web-ui/public/server-health.js +1 -1
- package/dist/web-ui/public/settings.css +1 -0
- package/dist/web-ui/public/settings.html +5 -5
- package/dist/web-ui/public/settings.js +1 -1
- package/dist/web-ui/public/setup-password.js +1 -1
- package/dist/web-ui/public/skills.css +110 -3
- package/dist/web-ui/public/skills.html +7 -4
- package/dist/web-ui/public/skills.js +1 -1
- package/dist/web-ui/public/sse-client.js +1 -1
- package/dist/web-ui/public/sse-shared-worker.js +1 -1
- package/dist/web-ui/public/styles.css +137 -1
- package/dist/web-ui/public/task.html +22 -1
- package/dist/web-ui/public/task.js +1 -1
- package/dist/web-ui/public/terminal.js +1 -1
- package/dist/web-ui/public/theme.js +1 -1
- package/dist/web-ui/public/users.js +1 -1
- package/dist/web-ui/public/variant-grouping.js +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
(function(_0x34ca84,_0x1d4c0f){const _0x29a8bc={_0x2e2804:0x1a2,_0x62ae3e:0x17e,_0x3e58e6:0x146,_0x4c67bc:0x11a,_0x7dad9d:0x17a,_0x300182:0x1d4,_0x1d667f:0x1d7,_0x3ef60d:0x16d,_0x5098df:0x15e,_0x4a39d5:0x17d,_0x5913ac:0x39b,_0x10be41:0x320,_0x5ccda2:0x34a,_0x46f56a:0x348,_0x3dbb76:0x34c,_0x3d513d:0x369,_0x1db118:0x3c4,_0x33f9b5:0x393,_0x41ac1d:0x303,_0x1e7601:0x1bf,_0x5457b3:0x1ac,_0x4bfc7e:0x348,_0x58055e:0x367,_0x1c13e8:0x1b8,_0x1158ce:0x1d9,_0x158026:0x1dd,_0x15be94:0x1b2,_0x124e91:0x19c},_0x5f2b3e={_0x36d83b:0x71},_0x1048cc={_0xe1a359:0x177},_0x1301e0=_0x34ca84();function _0x3d39c2(_0x2364c8,_0x46a83c,_0x169922,_0x45f16a){return _0x4a72(_0x169922-_0x1048cc._0xe1a359,_0x45f16a);}function _0xec299b(_0x3043a1,_0x46d765,_0x288532,_0x380fb0){return _0x4a72(_0x288532- -_0x5f2b3e._0x36d83b,_0x380fb0);}while(!![]){try{const _0x3d27f3=-parseInt(_0xec299b(_0x29a8bc._0x2e2804,0x141,_0x29a8bc._0x62ae3e,_0x29a8bc._0x3e58e6))/(-0x881+0x8d6*0x2+-0x92a)*(parseInt(_0xec299b(0x147,_0x29a8bc._0x4c67bc,0x155,0x15d))/(0x1f99+-0xa38+-0x155f*0x1))+parseInt(_0xec299b(_0x29a8bc._0x7dad9d,_0x29a8bc._0x300182,0x1a8,_0x29a8bc._0x1d667f))/(-0x4a+-0x424+0x471)*(parseInt(_0xec299b(_0x29a8bc._0x3ef60d,0x138,_0x29a8bc._0x5098df,_0x29a8bc._0x4a39d5))/(-0xe39*-0x1+-0x6*0x445+0x7f*0x17))+parseInt(_0x3d39c2(0x3a8,0x386,_0x29a8bc._0x5913ac,0x387))/(0x1ce2+0xe2f*0x1+0x4c*-0x91)*(parseInt(_0x3d39c2(_0x29a8bc._0x10be41,0x30c,0x325,0x2f4))/(-0x14e5*0x1+0x16*0x16f+-0xa9f))+parseInt(_0x3d39c2(_0x29a8bc._0x5ccda2,0x32c,0x344,_0x29a8bc._0x46f56a))/(0xe*0x32+0x1950+-0x1c05)*(parseInt(_0x3d39c2(_0x29a8bc._0x3dbb76,0x343,0x32d,_0x29a8bc._0x3d513d))/(-0x12af*-0x1+0x34d+0x5*-0x464))+-parseInt(_0x3d39c2(0x398,_0x29a8bc._0x1db118,_0x29a8bc._0x33f9b5,0x3c5))/(0x31*-0x5+0x60*0x59+-0x2062)*(-parseInt(_0x3d39c2(0x35e,0x2fd,0x337,_0x29a8bc._0x41ac1d))/(-0x1a55+-0x9*-0x12f+-0x7dc*-0x2))+-parseInt(_0xec299b(_0x29a8bc._0x1e7601,0x1bb,_0x29a8bc._0x5457b3,0x1ba))/(-0x2349+-0xc6f+0x1*0x2fc3)*(-parseInt(_0x3d39c2(_0x29a8bc._0x4bfc7e,0x32a,0x334,_0x29a8bc._0x58055e))/(0x49b+-0x28*-0x3b+-0xdc7*0x1))+-parseInt(_0xec299b(_0x29a8bc._0x1c13e8,_0x29a8bc._0x1158ce,0x1af,_0x29a8bc._0x158026))/(0xcbc+0x2*0xb3+-0xe15)*(parseInt(_0xec299b(0x1e7,0x1b2,_0x29a8bc._0x15be94,_0x29a8bc._0x124e91))/(-0x34*0x41+-0x12b3+0x1ff5));if(_0x3d27f3===_0x1d4c0f)break;else _0x1301e0['push'](_0x1301e0['shift']());}catch(_0x507170){_0x1301e0['push'](_0x1301e0['shift']());}}}(_0xa877,0x17*0xc89+-0x36b8c+0x4789a));import{createUser,findUserByUsername}from'../lib/users.js';function _0x4a72(_0x24f492,_0x66e72e){_0x24f492=_0x24f492-(-0x25ca+-0x7*0x5+0x5a8*0x7);const _0x12811e=_0xa877();let _0x4562ce=_0x12811e[_0x24f492];if(_0x4a72['uNaQrg']===undefined){var _0x50a7fd=function(_0x2c91bc){const _0x9bc377='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1d34c9='',_0x3ddf36='';for(let _0x434cca=0x251d*0x1+-0x2372+-0x1ab,_0x549e99,_0x235224,_0x43deab=-0xb24+0x1*-0x1c71+0x2795;_0x235224=_0x2c91bc['charAt'](_0x43deab++);~_0x235224&&(_0x549e99=_0x434cca%(-0x10*0xb9+0x150c+-0x6*0x194)?_0x549e99*(0x5*-0x429+0x696+-0xe77*-0x1)+_0x235224:_0x235224,_0x434cca++%(-0x5*-0x3e0+-0x1*-0xfda+-0x2336))?_0x1d34c9+=String['fromCharCode'](-0x34*-0x3d+0xd3f+-0x629*0x4&_0x549e99>>(-(-0x623+0x19c9+0x68c*-0x3)*_0x434cca&0x490+-0xf50+-0xe*-0xc5)):-0x1bfe+0x16d+0x1a91){_0x235224=_0x9bc377['indexOf'](_0x235224);}for(let _0x4909ba=0x248b+0x1*-0xdb1+0x28a*-0x9,_0x45a30e=_0x1d34c9['length'];_0x4909ba<_0x45a30e;_0x4909ba++){_0x3ddf36+='%'+('00'+_0x1d34c9['charCodeAt'](_0x4909ba)['toString'](-0xbb2*0x2+0x2*-0x64d+0x240e))['slice'](-(0xedf+-0x30*0x4e+-0x1*0x3d));}return decodeURIComponent(_0x3ddf36);};_0x4a72['AMIevy']=_0x50a7fd,_0x4a72['LhONhz']={},_0x4a72['uNaQrg']=!![];}const _0x26b458=_0x12811e[-0x63a*0x1+-0x8f7+0x1*0xf31],_0x18784f=_0x24f492+_0x26b458,_0x4f6ad7=_0x4a72['LhONhz'][_0x18784f];return!_0x4f6ad7?(_0x4562ce=_0x4a72['AMIevy'](_0x4562ce),_0x4a72['LhONhz'][_0x18784f]=_0x4562ce):_0x4562ce=_0x4f6ad7,_0x4562ce;}import{logger}from'../lib/logger.js';async function main(){const _0xda782c={_0x51b246:0x1ea,_0x2ec797:0x1fa,_0x5024e8:0x439,_0x5a3436:0x430,_0x5114f4:0x45e,_0x54cee0:0x1ec,_0x166260:0x231,_0x8f541b:0x20f,_0x552b37:0x243,_0xe56e42:0x1f8,_0x53f0d1:0x258,_0x5012b3:0x23c,_0x1a55f9:0x46e,_0x2a13aa:0x4c0,_0x4ab36f:0x471,_0x2a0798:0x46c,_0x58fc86:0x477,_0xae109e:0x4d3,_0x50f837:0x49d,_0x51a9f7:0x1d1,_0x4da250:0x180,_0x41b91d:0x465,_0x7c2e58:0x49e,_0x4dfece:0x45d,_0x3b6fd9:0x1dd,_0x54c842:0x1b8,_0x7668a8:0x1d3,_0x577fcd:0x22a,_0x37a413:0x24a,_0x34e453:0x4b4,_0x26a86a:0x44b,_0x1e8568:0x484,_0x17fae8:0x1ec,_0x50d4b6:0x1eb,_0x13d608:0x1c7,_0x557d77:0x1c4,_0x1a8daa:0x1be,_0x10a16e:0x466,_0xd10505:0x21e,_0x4911bb:0x1d0,_0x302308:0x21d,_0x54f24:0x1b2,_0x3f27a5:0x1c5,_0x2da84c:0x1ce,_0x4c092d:0x1ef,_0x528d01:0x1ac,_0x55ff31:0x1d7,_0x54d5ea:0x1f0,_0x44608c:0x463,_0x4cb10e:0x48a,_0x53e26d:0x225,_0x102f8e:0x240,_0x379372:0x204,_0x1b07bf:0x1f3,_0x52440a:0x1ec,_0x5c0cbe:0x232,_0x127da2:0x20b,_0xf4a90a:0x472,_0x272273:0x474,_0x3351c2:0x48b,_0x451426:0x1d3,_0x31a6d1:0x1cc,_0x40db79:0x4c7,_0x403309:0x484,_0x273abe:0x1ee,_0x369ce4:0x191,_0x46baf5:0x1fb,_0x3453fa:0x212,_0x25a56f:0x418,_0x3c6b7f:0x460,_0x1344e8:0x440,_0x406c80:0x1b4,_0x57ac8e:0x1c1,_0x366771:0x1bc,_0x4a4979:0x1b6,_0x5aed5a:0x1c6,_0x35237b:0x202,_0x3636c1:0x18e,_0x1d4d0c:0x203,_0xc73586:0x20a,_0x369950:0x1a1,_0x4ba3c8:0x1d4,_0x3ef7b3:0x4c8,_0x204a5b:0x487,_0x4c235c:0x208,_0x5ee9b2:0x214,_0x4c5d72:0x1e3,_0x56cf46:0x1d2,_0x5428e2:0x1af,_0xa9253c:0x1e4,_0x275ef1:0x4e9,_0x27fcce:0x4eb,_0x2e4dd7:0x426,_0x271da5:0x45c,_0x2e187e:0x484,_0x35f92f:0x4a8,_0x5279d3:0x473,_0x51156a:0x1fa,_0x4b608e:0x1aa,_0x5c2dda:0x1e2,_0x3e18d4:0x434,_0x3d890c:0x42e,_0x282dd6:0x447,_0x49f608:0x486,_0x1ab5f8:0x478,_0x2e34be:0x4a1,_0x495d5f:0x486,_0x540f20:0x1c2,_0x1a2e49:0x1e3,_0x42c6be:0x483,_0x5a8c7c:0x20d,_0x2066e3:0x225,_0x3bf3d7:0x1fe,_0x1ea1a7:0x1ef,_0x5ae53a:0x45a,_0x153465:0x499,_0x224785:0x4a1,_0x2e2906:0x453,_0x403e2a:0x19a,_0x2bf63e:0x476,_0x59b524:0x442,_0x25a19e:0x1d6,_0x5d8a0b:0x496,_0x2d872e:0x475,_0x521660:0x1b7,_0x3c4c91:0x41e,_0x17285d:0x432,_0xb5202f:0x1e1,_0x33df2d:0x20d,_0x4fa2ba:0x4a9,_0x2a1178:0x45f,_0x506a89:0x420,_0x2113b1:0x49d,_0x580999:0x474,_0x346f13:0x488,_0x239d87:0x45d,_0x39190e:0x221,_0x5c18b4:0x226,_0x5b6389:0x1ef,_0x5a7203:0x449,_0x2f86c8:0x461,_0x21624e:0x46a,_0x21b0b3:0x442,_0x488309:0x469,_0x4a0cbb:0x438,_0x62a595:0x1e7,_0x5d324e:0x456,_0x23b0cd:0x1ed,_0x1d3f23:0x1bc,_0x37d80d:0x478,_0x1a3e6:0x20e,_0x1af1c3:0x47b,_0x1fbc63:0x47b,_0xcd3fe5:0x451,_0x328902:0x446,_0x1c2ad0:0x1bb,_0x1b10dc:0x1d5,_0x27c600:0x1b1,_0x37a041:0x22e,_0xfd4aa1:0x222,_0x146b6d:0x1f9,_0x4d1b47:0x488,_0x4ffa21:0x45c,_0x9b1d83:0x1b3,_0x102ef4:0x1da,_0x30a1c5:0x19d,_0x1e6346:0x209,_0x37a819:0x471,_0x37e8f0:0x4a7,_0x4eb942:0x4b7,_0x405c4f:0x491,_0x436445:0x4ba,_0x306763:0x1ba,_0x345480:0x1c7,_0x2a698f:0x4a3,_0x30dae6:0x1e6,_0x512ea9:0x1cf,_0x1c43ea:0x205,_0x384a8e:0x4dd,_0x59f476:0x4cc,_0x11454b:0x499,_0x2ae705:0x44e,_0x113934:0x48e,_0x21b087:0x481,_0xadd297:0x445,_0x3c2ea0:0x4a6,_0x59b213:0x45b,_0x56a043:0x49a,_0x284064:0x48e,_0x50eaab:0x1f7,_0x554828:0x206,_0x4c5fd8:0x236,_0x46bd69:0x22d,_0x3beece:0x20e,_0xcb40:0x252,_0x1f705d:0x218,_0x193e20:0x228,_0x2a4712:0x48a,_0x18280f:0x492,_0x607780:0x45b,_0x1bcf65:0x47c,_0x15c2b7:0x4b4,_0x34b1fa:0x195,_0x27142c:0x18d,_0xefb091:0x1c8,_0x5db253:0x1a8,_0x55af79:0x1c5,_0x3fec94:0x206,_0x18291f:0x433,_0x3dc10b:0x477,_0x39d40c:0x454,_0x17db24:0x21a,_0x5e35e7:0x458,_0x5e62b4:0x47c,_0x52192e:0x4bf,_0x224e02:0x482,_0x18d0f6:0x44f,_0xd4080b:0x47a,_0x29fafb:0x4b9,_0x3279f9:0x47c,_0x1bcf36:0x249,_0x4b5635:0x20e,_0x5d9e4a:0x42c,_0x49618f:0x404,_0x57f481:0x43e,_0xcccf2f:0x467,_0x391996:0x457,_0x1affb8:0x222,_0x383567:0x213,_0x19465c:0x1d9,_0x4115f9:0x202,_0xb16642:0x48d,_0x277e89:0x1cd,_0x1f8009:0x22a,_0x39782a:0x1d1,_0x368c27:0x1ff,_0x1d21cf:0x18f,_0x391c03:0x21c,_0x390798:0x463,_0x435e98:0x189,_0x28452b:0x19f,_0x3b0bd1:0x23a,_0x1454a1:0x213,_0x23a50d:0x4a4,_0x7b424e:0x4c1,_0x1b4637:0x1e7,_0x4e289b:0x216,_0x354ef3:0x412,_0x2ae669:0x1d2,_0x1bd22c:0x1bb},_0x35a2d6={_0x1046d4:0x3d6};function _0x1d1ab2(_0x32309b,_0x4a35b2,_0x74309e,_0x494461){return _0x4a72(_0x494461-0x293,_0x4a35b2);}const _0x116379={'qNsmQ':_0x147813(-0x224,-0x1df,-0x1e9,-0x211)+_0x147813(-_0xda782c._0x51b246,-_0xda782c._0x2ec797,-0x1c4,-0x1bf)+_0x1d1ab2(_0xda782c._0x5024e8,_0xda782c._0x5a3436,0x43c,_0xda782c._0x5114f4)+_0x147813(-_0xda782c._0x54cee0,-_0xda782c._0x166260,-_0xda782c._0x8f541b,-_0xda782c._0x552b37)+'cters\x20long'+'.','AnLZB':function(_0x1ab528,_0x4903f5){return _0x1ab528<_0x4903f5;},'TYwHQ':function(_0x3d6a68,_0x327b90){return _0x3d6a68!==_0x327b90;},'ThsrI':'LkJqu','AYlaF':_0x147813(-0x22e,-_0xda782c._0xe56e42,-0x21e,-_0xda782c._0x53f0d1),'XRMKg':_0x147813(-0x1df,-0x1d3,-0x1ec,-0x1d7)+_0x147813(-_0xda782c._0x5012b3,-0x1d7,-0x205,-0x1cf)+_0x1d1ab2(_0xda782c._0x1a55f9,0x47e,_0xda782c._0x2a13aa,0x4a9)+_0x1d1ab2(_0xda782c._0x4ab36f,_0xda782c._0x2a0798,0x45a,_0xda782c._0x58fc86),'tjxXq':_0x1d1ab2(0x484,0x4b6,_0xda782c._0xae109e,_0xda782c._0x50f837)+_0x147813(-_0xda782c._0x51a9f7,-0x1e0,-0x200,-0x1e5)+_0x147813(-0x1b2,-0x1b3,-0x1b5,-_0xda782c._0x4da250)+'ss','TJnjb':_0x1d1ab2(0x478,_0xda782c._0x41b91d,0x4d8,_0xda782c._0x7c2e58)+'\x20\x20-\x20Full\x20n'+_0x1d1ab2(0x476,0x46c,0x492,_0xda782c._0x4dfece)+_0x147813(-_0xda782c._0x3b6fd9,-0x1a2,-_0xda782c._0x54c842,-_0xda782c._0x7668a8),'hFQpt':_0x147813(-0x221,-0x21a,-_0xda782c._0x577fcd,-_0xda782c._0x37a413)+'\x20\x20-\x20User\x20p'+_0x1d1ab2(0x4bc,_0xda782c._0x34e453,_0xda782c._0x26a86a,_0xda782c._0x1e8568)+_0x147813(-0x213,-0x1de,-0x1d6,-0x1f3)+_0x147813(-_0xda782c._0x17fae8,-_0xda782c._0x50d4b6,-_0xda782c._0x13d608,-0x1a5),'Okidr':'Example:','vjjYS':_0x147813(-_0xda782c._0x557d77,-0x1ca,-0x1e0,-_0xda782c._0x1a8daa)+'ipts/creat'+_0x1d1ab2(0x474,0x42d,0x48f,_0xda782c._0x10a16e)+_0x147813(-_0xda782c._0xd10505,-_0xda782c._0x4911bb,-0x1eb,-_0xda782c._0x302308)+_0x147813(-_0xda782c._0x54f24,-_0xda782c._0x3f27a5,-_0xda782c._0x2da84c,-_0xda782c._0x4c092d)+_0x147813(-_0xda782c._0x528d01,-0x1b8,-_0xda782c._0x55ff31,-0x1c6)+_0x1d1ab2(0x434,0x43a,0x431,0x448)+'urepass123'+_0x147813(-_0xda782c._0x54d5ea,-0x20f,-0x1f5,-0x1fe),'nulzm':_0x1d1ab2(0x48d,_0xda782c._0x4dfece,_0xda782c._0x44608c,_0xda782c._0x4cb10e),'PEwHQ':_0x147813(-0x206,-0x204,-_0xda782c._0x53e26d,-_0xda782c._0x102f8e),'DoTgj':function(_0x1c3082,_0x1cd798){return _0x1c3082<_0x1cd798;},'Exmkq':function(_0x579c51,_0x91ad66){return _0x579c51(_0x91ad66);},'iDlTT':_0x147813(-0x1de,-_0xda782c._0x379372,-_0xda782c._0x1b07bf,-_0xda782c._0x52440a),'aNGOy':'LcLWs','uwlwC':_0x147813(-_0xda782c._0x5c0cbe,-_0xda782c._0x127da2,-0x201,-0x1c6)+_0x1d1ab2(_0xda782c._0xf4a90a,0x4b4,_0xda782c._0x272273,_0xda782c._0x3351c2)+_0x147813(-0x1f3,-_0xda782c._0x54c842,-_0xda782c._0x451426,-_0xda782c._0x31a6d1),'PxXOo':_0x1d1ab2(_0xda782c._0x40db79,_0xda782c._0x403309,0x49d,0x4aa)+'an\x20now\x20log'+_0x147813(-_0xda782c._0x273abe,-_0xda782c._0x369ce4,-0x1cd,-0x1c7)+_0x147813(-0x1e5,-_0xda782c._0x46baf5,-0x211,-_0xda782c._0x3453fa)+'ame\x20and\x20pa'+_0x1d1ab2(_0xda782c._0x25a56f,_0xda782c._0x3c6b7f,0x444,_0xda782c._0x1344e8),'SeKHB':function(_0x4a3ecc,_0x1d6884){return _0x4a3ecc===_0x1d6884;},'vAELq':_0x147813(-0x184,-_0xda782c._0x406c80,-_0xda782c._0x57ac8e,-_0xda782c._0x366771)},_0x27841f=process[_0x147813(-_0xda782c._0x4a4979,-0x192,-_0xda782c._0x5aed5a,-0x1ab)][_0x147813(-_0xda782c._0x366771,-0x1be,-0x1ea,-_0xda782c._0x35237b)](-0x4b5*-0x4+-0x536*0x1+-0xd9c);function _0x147813(_0x2dafb5,_0x512c73,_0x3b0a45,_0x50baf3){return _0x4a72(_0x3b0a45- -_0x35a2d6._0x1046d4,_0x50baf3);}_0x116379[_0x147813(-0x1b7,-_0xda782c._0x3636c1,-0x1c3,-0x191)](_0x27841f['length'],-0xb50+0x1d*-0x108+0x5e4*0x7)&&(_0x116379[_0x147813(-0x192,-_0xda782c._0x1d4d0c,-0x1cf,-_0xda782c._0xc73586)](_0x116379[_0x147813(-_0xda782c._0x369950,-0x1a2,-_0xda782c._0x4ba3c8,-0x1d9)],_0x116379[_0x1d1ab2(0x475,_0xda782c._0x3ef7b3,0x48d,0x495)])?(_0x3a5de7[_0x1d1ab2(0x4a5,_0xda782c._0x204a5b,0x45a,0x486)]('Failed\x20to\x20'+'create\x20use'+'r',_0x386e68),_0x35f188[_0x147813(-_0xda782c._0x4c235c,-_0xda782c._0x5ee9b2,-_0xda782c._0x4c5d72,-0x1e2)]('Error:\x20Fai'+_0x147813(-0x1da,-_0xda782c._0x1a8daa,-_0xda782c._0x56cf46,-0x1cb)+_0x147813(-_0xda782c._0x5428e2,-0x1bb,-_0xda782c._0xa9253c,-0x209)+'\x20'+_0x58148c[_0x1d1ab2(_0xda782c._0x275ef1,0x4d4,_0xda782c._0x27fcce,0x4ae)]),_0x132437[_0x1d1ab2(_0xda782c._0x2e4dd7,_0xda782c._0xf4a90a,0x490,_0xda782c._0x271da5)](-0x404*-0x4+-0x99e*0x1+-0x671)):(console['error'](_0x1d1ab2(_0xda782c._0x2e187e,_0xda782c._0x35f92f,_0xda782c._0x5279d3,0x46d)+'e\x20scripts/'+'create-use'+_0x1d1ab2(0x42a,0x47d,0x464,0x44d)+'name>\x20<ema'+_0x147813(-_0xda782c._0x51156a,-_0xda782c._0x4b608e,-_0xda782c._0x5c2dda,-0x1fc)+'\x20<password'+_0x1d1ab2(_0xda782c._0x3e18d4,0x457,_0xda782c._0x3d890c,_0xda782c._0x282dd6)),console[_0x1d1ab2(_0xda782c._0x49f608,_0xda782c._0x1ab5f8,_0xda782c._0x2e34be,_0xda782c._0x495d5f)](''),console[_0x147813(-0x1af,-_0xda782c._0x540f20,-_0xda782c._0x1a2e49,-0x1e7)](_0x116379['AYlaF']),console[_0x1d1ab2(0x49a,_0xda782c._0x4cb10e,_0xda782c._0x42c6be,0x486)](_0x116379[_0x147813(-_0xda782c._0x5a8c7c,-_0xda782c._0x2066e3,-_0xda782c._0x3bf3d7,-_0xda782c._0x1ea1a7)]),console['error'](_0x116379[_0x1d1ab2(_0xda782c._0x5ae53a,_0xda782c._0x153465,_0xda782c._0x224785,0x479)]),console['error'](_0x116379[_0x147813(-_0xda782c._0x4ba3c8,-0x1cc,-0x1fa,-0x20e)]),console['error'](_0x116379['hFQpt']),console['error'](_0x1d1ab2(_0xda782c._0x2e2906,0x487,0x45d,0x46e)+_0x147813(-0x1ce,-0x19c,-0x1ca,-_0xda782c._0x403e2a)+_0x1d1ab2(_0xda782c._0x2bf63e,0x46a,0x46b,_0xda782c._0x59b524)+'n\x22\x20or\x20\x22use'+_0x147813(-0x1dd,-_0xda782c._0x25a19e,-0x1b4,-0x18e)+_0x1d1ab2(0x441,_0xda782c._0x5d8a0b,0x467,_0xda782c._0x2d872e)),console['error'](''),console[_0x147813(-_0xda782c._0x521660,-_0xda782c._0x366771,-0x1e3,-_0xda782c._0x35237b)](_0x116379[_0x1d1ab2(0x47c,_0xda782c._0x3c4c91,_0xda782c._0x17285d,0x452)]),console['error'](_0x116379[_0x147813(-_0xda782c._0xd10505,-0x1f0,-0x20a,-0x1d9)]),process[_0x147813(-0x204,-_0xda782c._0xb5202f,-_0xda782c._0x33df2d,-0x1fd)](0x147a+-0x1*0x26e7+0x126e)));const [_0x29b897,_0x4aabec,_0x285502,_0x2c4bf9,_0x374f27='user']=_0x27841f;_0x116379[_0x1d1ab2(0x4b5,0x47d,_0xda782c._0x4fa2ba,0x49a)](_0x374f27,'admin')&&_0x374f27!==_0x116379[_0x1d1ab2(_0xda782c._0x2a1178,0x43c,_0xda782c._0x506a89,0x44a)]&&(console[_0x1d1ab2(0x471,_0xda782c._0x2113b1,0x494,_0xda782c._0x495d5f)](_0x1d1ab2(_0xda782c._0x580999,0x45b,0x455,0x456)+_0x1d1ab2(_0xda782c._0x346f13,_0xda782c._0x239d87,0x430,0x44c)+'\x22'+_0x374f27+(_0x147813(-0x20b,-0x1f6,-0x208,-0x1dd)+_0x147813(-_0xda782c._0x39190e,-_0xda782c._0x4c092d,-_0xda782c._0x5c18b4,-_0xda782c._0x5b6389)+_0x1d1ab2(_0xda782c._0x5a7203,0x42e,_0xda782c._0x2f86c8,_0xda782c._0x21624e))),process['exit'](-0x1*0x1951+0x829+0x1129));const _0x56900f=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;!_0x56900f[_0x1d1ab2(0x477,0x4a5,0x45c,0x490)](_0x4aabec)&&(_0x116379[_0x147813(-_0xda782c._0x39190e,-0x1c4,-0x1e8,-0x1f4)]!==_0x1d1ab2(_0xda782c._0x21b0b3,_0xda782c._0x488309,_0xda782c._0x4a0cbb,0x465)?(console[_0x147813(-0x1ee,-_0xda782c._0x302308,-0x1e3,-_0xda782c._0x62a595)](_0x1d1ab2(0x439,0x41e,0x41d,_0xda782c._0x5d324e)+_0x147813(-_0xda782c._0x23b0cd,-0x1e1,-_0xda782c._0x1d3f23,-0x1d6)+_0x1d1ab2(_0xda782c._0x2a1178,0x456,_0xda782c._0x5ae53a,_0xda782c._0x37d80d)+_0x4aabec+'\x22.'),process[_0x147813(-0x1d2,-_0xda782c._0x1a3e6,-0x20d,-0x243)](0x1eee+0x1008+0xfa7*-0x3)):(_0x2ca724['error']('Error:\x20Inv'+_0x147813(-0x1d7,-0x1bd,-0x1da,-0x202)+_0x1d1ab2(_0xda782c._0x1af1c3,0x4a6,0x46c,_0xda782c._0x1fbc63)+_0x265d21+(_0x1d1ab2(0x466,_0xda782c._0xcd3fe5,0x455,_0xda782c._0x328902)+_0x147813(-_0xda782c._0x1c2ad0,-0x20e,-_0xda782c._0x1b10dc,-_0xda782c._0x528d01)+_0x147813(-_0xda782c._0x366771,-_0xda782c._0x406c80,-0x1dd,-0x1fd)+'underscore'+_0x147813(-0x1b7,-_0xda782c._0x27c600,-_0xda782c._0x3f27a5,-0x1b7)+_0x147813(-_0xda782c._0x37a041,-_0xda782c._0xfd4aa1,-_0xda782c._0x146b6d,-0x1eb))),_0x4d0f74[_0x1d1ab2(0x432,0x435,_0xda782c._0x4d1b47,_0xda782c._0x4ffa21)](0x9*-0x3e7+-0x2ae+0x25ce)));const _0x10106e=/^[a-zA-Z0-9_-]+$/;!_0x10106e['test'](_0x29b897)&&(console[_0x1d1ab2(0x4a5,0x482,0x48a,0x486)]('Error:\x20Inv'+_0x147813(-0x1e1,-_0xda782c._0x9b1d83,-_0xda782c._0x102ef4,-_0xda782c._0x30a1c5)+'ame\x20\x22'+_0x29b897+(_0x1d1ab2(0x415,0x416,0x413,_0xda782c._0x328902)+'y\x20letters,'+_0x147813(-0x1a9,-_0xda782c._0x1e6346,-_0xda782c._0x3b6fd9,-0x1c9)+'underscore'+'s,\x20and\x20hyp'+_0x147813(-0x1f6,-_0xda782c._0x46baf5,-0x1f9,-0x1da))),process[_0x1d1ab2(0x493,0x421,_0xda782c._0x37a819,_0xda782c._0x271da5)](0x55d*0x3+-0x23fe+0x31*0x68));_0x116379[_0x1d1ab2(_0xda782c._0x37e8f0,0x46c,_0xda782c._0x4eb942,_0xda782c._0x405c4f)](_0x2c4bf9[_0x1d1ab2(_0xda782c._0x436445,0x49b,0x473,0x4a0)],-0x1788*0x1+0x128f+0x15*0x3d)&&(console[_0x147813(-_0xda782c._0x306763,-0x1b1,-0x1e3,-_0xda782c._0x345480)](_0x116379[_0x1d1ab2(_0xda782c._0x2a698f,0x440,0x453,0x471)]),process[_0x147813(-0x223,-0x238,-0x20d,-0x23f)](0x6bd+0x2*-0x19c+-0x384));try{const _0x4b084e=await _0x116379['Exmkq'](findUserByUsername,_0x29b897);_0x4b084e&&(_0x116379[_0x147813(-0x1f0,-_0xda782c._0x30dae6,-_0xda782c._0x512ea9,-_0xda782c._0x1c43ea)](_0x116379[_0x1d1ab2(_0xda782c._0x384a8e,0x47f,_0xda782c._0x59f476,0x4b2)],_0x116379[_0x1d1ab2(0x488,0x46c,0x46a,_0xda782c._0x11454b)])?(console[_0x1d1ab2(_0xda782c._0x2e2906,_0xda782c._0x2ae705,_0xda782c._0x113934,_0xda782c._0x49f608)](_0x1d1ab2(0x43c,0x422,_0xda782c._0x21b087,_0xda782c._0xadd297)+_0x1d1ab2(0x45f,_0xda782c._0x3c2ea0,0x48f,0x48e)+_0x29b897+(_0x147813(-0x212,-_0xda782c._0x512ea9,-0x1f7,-_0xda782c._0x1a8daa)+'exists.')),process[_0x147813(-0x1ef,-0x234,-0x20d,-0x1f6)](0x1cd0+-0x266f*0x1+-0x38*-0x2c)):(_0xd86997[_0x147813(-_0xda782c._0xb5202f,-0x212,-0x1e3,-0x217)](_0x147813(-0x231,-0x214,-0x224,-_0xda782c._0x302308)+_0x1d1ab2(_0xda782c._0x59b213,0x499,_0xda782c._0x56a043,_0xda782c._0x284064)+_0x316dbc+(_0x147813(-0x221,-0x1dc,-_0xda782c._0x50eaab,-_0xda782c._0x554828)+_0x147813(-_0xda782c._0x4c5fd8,-0x1dd,-0x214,-0x1ec))),_0x173fd0['exit'](-0x5*0x17b+-0x2317+0x2a7f)));console['log']('Creating\x20u'+_0x147813(-_0xda782c._0x46bd69,-0x1e4,-0x1f6,-_0xda782c._0x3beece)+_0x29b897+_0x147813(-_0xda782c._0xcb40,-0x236,-_0xda782c._0x1f705d,-_0xda782c._0x193e20));const _0x1687f0={};_0x1687f0[_0x1d1ab2(_0xda782c._0x2a4712,0x47c,_0xda782c._0x18280f,_0xda782c._0x607780)]=_0x29b897,_0x1687f0['email']=_0x4aabec,_0x1687f0[_0x1d1ab2(0x460,_0xda782c._0x1bcf65,_0xda782c._0x15c2b7,0x48d)]=_0x285502,_0x1687f0['password']=_0x2c4bf9,_0x1687f0[_0x147813(-_0xda782c._0x34b1fa,-_0xda782c._0x27142c,-_0xda782c._0xefb091,-_0xda782c._0x5db253)]=_0x374f27;const _0x502b15=await _0x116379[_0x147813(-0x1a5,-_0xda782c._0x55af79,-0x1be,-0x1ce)](createUser,_0x1687f0);console[_0x147813(-_0xda782c._0x54d5ea,-0x1ba,-0x1ed,-_0xda782c._0x3fec94)](''),console['log'](_0x116379[_0x1d1ab2(_0xda782c._0x5d324e,_0xda782c._0x18291f,_0xda782c._0x3dc10b,_0xda782c._0x39d40c)]),console[_0x147813(-0x1ce,-0x1fc,-0x1ed,-_0xda782c._0x17db24)](''),console[_0x1d1ab2(0x453,0x441,_0xda782c._0x5e35e7,_0xda782c._0x5e62b4)](_0x1d1ab2(0x497,_0xda782c._0x52192e,_0xda782c._0x4dfece,_0xda782c._0x346f13)+_0x1d1ab2(_0xda782c._0x2a0798,0x441,_0xda782c._0x224e02,0x46c)),console[_0x147813(-0x1e9,-0x1d2,-_0xda782c._0x23b0cd,-0x211)](_0x1d1ab2(_0xda782c._0x18d0f6,0x492,0x44d,_0xda782c._0xd4080b)+'\x20\x20'+_0x502b15['id']),console[_0x1d1ab2(0x4a3,_0xda782c._0x282dd6,_0xda782c._0x29fafb,_0xda782c._0x3279f9)]('\x20\x20Username'+':\x20'+_0x502b15[_0x147813(-_0xda782c._0x5c0cbe,-_0xda782c._0x1bcf36,-_0xda782c._0x4b5635,-0x1fa)]),console[_0x147813(-0x216,-0x1be,-0x1ed,-0x1f0)](_0x1d1ab2(0x45c,_0xda782c._0x5d9e4a,_0xda782c._0x49618f,_0xda782c._0x57f481)+'\x20\x20'+_0x502b15[_0x1d1ab2(0x47d,_0xda782c._0xcccf2f,0x471,_0xda782c._0x391996)]),console[_0x147813(-_0xda782c._0x1affb8,-0x1de,-0x1ed,-_0xda782c._0x383567)](_0x147813(-_0xda782c._0x19465c,-_0xda782c._0x31a6d1,-_0xda782c._0x4115f9,-0x209)+'\x20\x20'+_0x502b15[_0x1d1ab2(0x48e,0x48a,0x4c6,_0xda782c._0xb16642)]),console[_0x147813(-0x21a,-_0xda782c._0x277e89,-_0xda782c._0x23b0cd,-_0xda782c._0x1f8009)]('\x20\x20Role:\x20\x20\x20'+'\x20\x20'+_0x502b15[_0x147813(-_0xda782c._0x39782a,-_0xda782c._0x368c27,-_0xda782c._0xefb091,-_0xda782c._0x1d21cf)]),console['log'](''),console[_0x147813(-_0xda782c._0x391c03,-0x1f3,-0x1ed,-0x1be)](_0x116379['PxXOo']);}catch(_0x451d15){_0x116379[_0x147813(-0x22d,-_0xda782c._0x3b6fd9,-0x21a,-0x230)](_0x1d1ab2(0x43f,_0xda782c._0x3351c2,0x428,_0xda782c._0x390798),_0x116379[_0x147813(-_0xda782c._0x435e98,-_0xda782c._0x28452b,-_0xda782c._0x540f20,-0x1bc)])?(_0x1d0053['error'](_0x116379['qNsmQ']),_0xb91132[_0x147813(-0x1d6,-_0xda782c._0x3b0bd1,-0x20d,-_0xda782c._0x1454a1)](0x2*-0x1ab+0x12f5+-0xf9e*0x1)):(logger[_0x1d1ab2(0x4b1,_0xda782c._0x23a50d,_0xda782c._0x7b424e,0x486)](_0x147813(-_0xda782c._0x1b4637,-0x1eb,-0x1d1,-0x1c7)+_0x147813(-_0xda782c._0x4c235c,-_0xda782c._0x5ee9b2,-0x1e6,-_0xda782c._0x4e289b)+'r',_0x451d15),console[_0x147813(-0x1b7,-0x1ff,-0x1e3,-0x1fd)](_0x1d1ab2(0x452,0x46b,_0xda782c._0x354ef3,0x44e)+_0x147813(-0x196,-0x202,-_0xda782c._0x2ae669,-_0xda782c._0x7668a8)+'ate\x20user\x20-'+'\x20'+_0x451d15[_0x147813(-0x1f8,-0x1ae,-_0xda782c._0x1bd22c,-_0xda782c._0x528d01)]),process['exit'](-0x2*0xd3+0x1*-0x247+-0x3ee*-0x1));}}function _0xa877(){const _0x2b0e1b=['vxnLCIbezxrHAq','icbUB2rLihnJCG','DxnLCG','yxrLzcbZDwnJzq','ig51BwjLCNmSia','BMfTzq','CIaI','ywXPzcb1C2vYBG','DgvZDa','rg9uz2O','y29Ticjbzg1PBG','AwXSigjLigHHCW','EsbSzxr0zxjZla','vgHZCKK','C3nMDwXSEse','BgvKihrVignYzq','rMfPBgvKihrVia','yu5ht3K','vfL3sfe','BKbLEgfTCgXLlG','igLUihDPDgGGDa','icbLBwfPBcaGia','icbUyw1LicaGia','icaTifvZzxiGCG','BgvUz3rO','CM9Szq','AgvKkq','yxjNDG','CYWGyw5KigH5Ca','C3DVCMqGBxvZDa','qw5mwKi','DKffthe','vMfXDxO','ihvZzxjUyw1Lia','vgHLihvZzxiGyW','rxHTA3e','mJy4nwHMsKnctq','ywXPzcbLBwfPBa','BwvZC2fNzq','mJDTEgDAzKK','oty1nZy3rNj5s2XT','ihvZzxi','AurSvfq','mZC5mZi3s0nyqvrA','BwfPBcbHzgrYzq','CIiGkgrLzMf1Ba','mti2EeHgwgrb','mtvpugrSALK','icbfBwfPBdOGia','icbWyxnZD29Yza','C3n3B3jKlG','mJa2nJiYwffys2HS','B2XLoIaIywrTAq','icjHzg1PBIiGBW','DunJBLO','rxjYB3i6ifvZzq','iI4GvxnLig9UBa','pIbBCM9Szv0','ifvZzxiIihnLyW','ote5nJa4z1PrtvPf','BNvSEM0','qxjNDw1LBNrZoG','ywXPzcbYB2XLia','CI5QCYa8DxnLCG','rxjYB3i6iezHAq','u2vlsei','mtjTvfHnrwe','iI4UlG','t2TPzhi','nZuYnJKWs3jPsw9u','DxDSD0m','zxHPC3rZlG','rxjYB3i6ieLUDG','zw1HAwW','AgvPCIb1C2vYBG','ndzttMHZzg8','C3qGocbJAgfYyq','DxnLCM5HBwu','zxHPDa','yw1Lig9MihrOzq','igjLigf0igXLyq','DMPQwvm','n3LfEML6Ba','iI4GtxvZDcbIzq','mtqWC1DnC0jm','thPdAuG','icaTifvUAxf1zq','r3vKA0W','zs11C2vYlMPZia','icboyw1LoIaGia','4PYtifvZzxiGy3jL','icaTifvZzxiGzq','CIaIDxnLCIiU','wfjns2C','Bhm6','vxnHz2u6ig5Vza','icbYB2XLicaGia','vePUAMi','AgvUCY4','Cu5ZBve','iIbHBhjLywr5ia','C2vYici','igfKBwLU','DdOGiNvZzxiIkq','yuHlvxq','zM9YigXVz2LU','igzVCM1HDcaI','DgP4whe','icbjrdOGicaGia','yw1Lici','Bg9N','icb1C2vYBMfTzq','ywrTAw4GywrTAq','C2XPy2u','rxjYB3i6ifbHCW','uev3sfe','nJG2nu9Jq2fUtq','y3jLyxrLihvZzq','yxnZD29YzcaODW','yxrLihvZzxiGlq','zxjYB3i','AwW+idXUyw1LpG'];_0xa877=function(){return _0x2b0e1b;};return _0xa877();}main();
|
|
2
|
+
(function(_0x587c9d,_0x43cc11){const _0x1f7900={_0x2d2598:0x5d9,_0x2690c8:0x5c2,_0x48d3a5:0x5cf,_0x5e4edb:0x5af,_0x477b8d:0x414,_0x1cfe9d:0x583,_0x16bdcf:0x423,_0x571441:0x3f8,_0xe8425d:0x3ef,_0xa81827:0x392,_0x34064d:0x3b0,_0x53699b:0x3b1,_0x1faece:0x3a3,_0x3e30cb:0x403,_0x400b82:0x420,_0x6abd7b:0x40c,_0x2e4140:0x62b,_0x4a9bd7:0x5f7,_0x1027aa:0x40e,_0x53f3b0:0x431,_0x20c4e4:0x3f1,_0x43acbb:0x3fc,_0x2e8511:0x3fb,_0x2108ac:0x3c2},_0x5e4f48=_0x587c9d();function _0x240d3a(_0x122586,_0x4906bc,_0x1469f6,_0x267854){return _0x3aac(_0x1469f6-0x1cb,_0x267854);}function _0x581fea(_0x2dcd8f,_0x232f3a,_0x13c687,_0x3578ac){return _0x3aac(_0x3578ac-0x3a6,_0x13c687);}while(!![]){try{const _0x4ecd41=parseInt(_0x581fea(_0x1f7900._0x2d2598,_0x1f7900._0x2690c8,0x5dc,_0x1f7900._0x48d3a5))/(-0x2450+-0x125*-0x1f+0xd6)*(parseInt(_0x581fea(0x571,_0x1f7900._0x5e4edb,0x5ce,0x5ab))/(0x171a+0xb*0x18+-0x1820))+parseInt(_0x240d3a(_0x1f7900._0x477b8d,0x42a,0x3fa,0x3fc))/(-0xd63+-0xf16+0x4*0x71f)*(parseInt(_0x581fea(_0x1f7900._0x2690c8,0x5ce,_0x1f7900._0x1cfe9d,0x5a4))/(-0x21*-0x29+0x16f8+-0x1c3d))+parseInt(_0x240d3a(_0x1f7900._0x16bdcf,_0x1f7900._0x571441,0x41e,_0x1f7900._0xe8425d))/(-0x1*0x1eb8+0x3*0x3e7+0x1308)+parseInt(_0x240d3a(0x384,_0x1f7900._0xa81827,0x39f,_0x1f7900._0x34064d))/(0x16*-0x42+-0x115*-0x2+0x1*0x388)*(parseInt(_0x240d3a(0x375,0x3f0,_0x1f7900._0x53699b,_0x1f7900._0x1faece))/(0x1a49*0x1+0x155d*0x1+-0x2f9f))+parseInt(_0x240d3a(0x462,_0x1f7900._0x3e30cb,_0x1f7900._0x400b82,_0x1f7900._0x6abd7b))/(-0x4*-0x5b3+0x2*0x92c+-0x291c)+-parseInt(_0x581fea(_0x1f7900._0x2e4140,0x5ed,0x62a,_0x1f7900._0x4a9bd7))/(0x164+-0x176d*0x1+0x46a*0x5)+parseInt(_0x240d3a(_0x1f7900._0x1027aa,_0x1f7900._0x53f3b0,_0x1f7900._0x20c4e4,_0x1f7900._0x43acbb))/(-0x7*-0x399+-0x12b*0x1+0x6*-0x3ff)*(-parseInt(_0x240d3a(_0x1f7900._0x2e8511,_0x1f7900._0x2108ac,0x3ce,0x3a6))/(0x10c7*0x2+0x1ecc+0x404f*-0x1));if(_0x4ecd41===_0x43cc11)break;else _0x5e4f48['push'](_0x5e4f48['shift']());}catch(_0x241cb7){_0x5e4f48['push'](_0x5e4f48['shift']());}}}(_0x1e48,-0xaa86+-0x17ce60+-0x1*-0x255b0b));import{createUser,findUserByUsername}from'../lib/users.js';function _0x3aac(_0x42d5aa,_0x82706b){_0x42d5aa=_0x42d5aa-(0x1a05+0x16*-0x1a7+0x1*0xc27);const _0x1194bc=_0x1e48();let _0x498cf2=_0x1194bc[_0x42d5aa];if(_0x3aac['yLnKCk']===undefined){var _0x32fd29=function(_0x24e732){const _0x450cc1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x119bff='',_0x24889f='';for(let _0x56329f=-0x224c+0x121d+-0x3*-0x565,_0x436222,_0x24deb3,_0x584658=0x347*0x7+0x340+0x1bf*-0xf;_0x24deb3=_0x24e732['charAt'](_0x584658++);~_0x24deb3&&(_0x436222=_0x56329f%(0xa04+0x23bd*-0x1+0x19bd)?_0x436222*(0x3*-0xc57+-0xb92+0x30d7)+_0x24deb3:_0x24deb3,_0x56329f++%(-0x1*-0x551+-0x15*0x31+0x1*-0x148))?_0x119bff+=String['fromCharCode'](-0x3*-0x9c5+-0x31*0x4a+-0xe26&_0x436222>>(-(0x1ef+-0xebd+0xcd0)*_0x56329f&-0xa*0x394+0xad*0x20+0xb*0x14a)):-0x1773+-0x146a+0x2bdd){_0x24deb3=_0x450cc1['indexOf'](_0x24deb3);}for(let _0x50096c=0xf0b*-0x1+0x2702+-0x17f7,_0x3b5691=_0x119bff['length'];_0x50096c<_0x3b5691;_0x50096c++){_0x24889f+='%'+('00'+_0x119bff['charCodeAt'](_0x50096c)['toString'](0x1c17+-0x1*0x9e4+0x1223*-0x1))['slice'](-(0x80f*-0x1+0x4*0x47b+-0x1*0x9db));}return decodeURIComponent(_0x24889f);};_0x3aac['YZanHZ']=_0x32fd29,_0x3aac['CeQLDL']={},_0x3aac['yLnKCk']=!![];}const _0xe49b22=_0x1194bc[-0x1*-0xf3e+0x16bb+-0x25f9],_0x321ad1=_0x42d5aa+_0xe49b22,_0x49c75c=_0x3aac['CeQLDL'][_0x321ad1];return!_0x49c75c?(_0x498cf2=_0x3aac['YZanHZ'](_0x498cf2),_0x3aac['CeQLDL'][_0x321ad1]=_0x498cf2):_0x498cf2=_0x49c75c,_0x498cf2;}import{logger}from'../lib/logger.js';async function main(){const _0x352a96={_0xefc259:0x2a1,_0x146857:0x306,_0x5cdbe6:0x2d5,_0x553487:0x2db,_0x1bc7d5:0x29e,_0x39fa6b:0x29d,_0x38eb5e:0x2d9,_0x26034a:0x28b,_0x13a2f1:0x2ad,_0x1cd743:0x2bf,_0x23080e:0x29f,_0x584be7:0x2d9,_0x4413cb:0x2b9,_0x2e105f:0x2a8,_0x598ff2:0x2a2,_0x513587:0x58f,_0x2259fc:0x562,_0x2f9743:0x540,_0x489eea:0x57b,_0x27c9b3:0x2cb,_0xdd3826:0x2a0,_0x4e6bed:0x284,_0x3b7061:0x2be,_0x704855:0x2c6,_0x446989:0x565,_0x1b6cc7:0x55f,_0x3c9f74:0x57c,_0x491133:0x2b7,_0x524dc3:0x253,_0x5d107b:0x2b1,_0x156655:0x2f2,_0x360453:0x2dc,_0x393886:0x2b7,_0x29f980:0x2d4,_0x309659:0x2c8,_0x328787:0x2f1,_0x3420e6:0x5bf,_0x2e365d:0x2cc,_0x22dbe7:0x2b5,_0x2bf0b8:0x584,_0x1cbd5f:0x5ad,_0x36d967:0x293,_0x421a01:0x2ce,_0x4f9967:0x29b,_0xdfe7a8:0x296,_0x38876b:0x2ea,_0x20c767:0x289,_0x5efcee:0x2c5,_0x7ad83a:0x556,_0xe24a34:0x56e,_0x188b9e:0x554,_0x5d628b:0x550,_0x87b4ea:0x5c2,_0x34b7c6:0x5b1,_0x329749:0x27c,_0x584981:0x280,_0x2f6557:0x2a6,_0x2d440b:0x590,_0x26a86d:0x24c,_0x5812f1:0x2f6,_0x45c90a:0x277,_0x5d0134:0x5bc,_0x368c7e:0x5b0,_0x14c008:0x5a4,_0x1125d8:0x2c4,_0x52fc9e:0x2f3,_0xa76178:0x28d,_0x36e902:0x5da,_0x2ab548:0x592,_0x1ede72:0x269,_0x870ed1:0x278,_0x2e3c81:0x285,_0x526ffb:0x2b6,_0x26cf8a:0x2a9,_0x2db016:0x2da,_0x34d0ed:0x569,_0x51ee40:0x4f9,_0x923b90:0x577,_0x31fd17:0x538,_0x4c7077:0x549,_0x5b7186:0x56f,_0x51fa74:0x54e,_0x556ad0:0x5a3,_0x15d582:0x5a0,_0x55121c:0x56b,_0x2c3b6a:0x274,_0x25e77d:0x29a,_0x2d9ffa:0x28e,_0x3c6545:0x27b,_0x519c7f:0x56c,_0x16cb42:0x564,_0x584cd9:0x575,_0x125097:0x5c8,_0x5cb1ff:0x58f,_0x2819ee:0x28d,_0x1db114:0x295,_0x524d1c:0x293,_0xfdacd5:0x299,_0x5178d3:0x551,_0x22a57d:0x57b,_0x31d357:0x560,_0x1a1074:0x571,_0x2c4f84:0x557,_0xe7a034:0x512,_0x3da238:0x5c2,_0x2323a4:0x5a2,_0x1f3e3a:0x274,_0x37c57f:0x2b4,_0x3ac693:0x57a,_0x539c29:0x528,_0x536275:0x545,_0xea823e:0x2f8,_0x1f6607:0x2d2,_0x37b81d:0x28c,_0x3b50c2:0x516,_0x26518a:0x58c,_0x474fbe:0x587,_0x45a4ba:0x279,_0x370384:0x288,_0x2bfbea:0x2a3,_0x1b3adf:0x283,_0x5b683b:0x297,_0x4b98f2:0x288,_0x3bc39f:0x2c9,_0x828a5f:0x5a5,_0x3ab185:0x596,_0x1a8730:0x5bb,_0x24ea4e:0x55d,_0x41d1f1:0x582,_0x177925:0x5a6,_0x7b2119:0x5b6,_0x15e4c6:0x59a,_0x3e8374:0x2d7,_0x4b4eb5:0x2c1,_0x4d7dc0:0x2d7,_0x358b85:0x5c1,_0x7cd96e:0x561,_0x55631e:0x5a7,_0x3013ce:0x554,_0x16c775:0x55d,_0x5f523c:0x57a,_0x10a588:0x2d8,_0x112abf:0x2aa,_0x3a3aaf:0x2c7,_0x340be0:0x546,_0x3f14a5:0x5d7,_0xf8f1dc:0x576,_0x4e8897:0x596,_0x4a664c:0x5a8,_0x290169:0x5ce,_0x299c91:0x2c1,_0x50be21:0x2e1,_0x43167d:0x55c,_0x4096b6:0x596,_0x5c780b:0x576,_0x9c8b75:0x599,_0x33344a:0x5af,_0x5c6f90:0x545,_0x35f990:0x59f,_0x7af98f:0x2ab,_0x930bc2:0x245,_0x215288:0x268,_0x5916d0:0x26e,_0x157e5a:0x294,_0x4c5b8a:0x294,_0x305757:0x549,_0x5d6691:0x59d,_0x195cf:0x545,_0x412b59:0x563,_0x309799:0x4f5,_0x3a6050:0x535,_0x32a911:0x597,_0x4f8630:0x5cf,_0x53fae2:0x596,_0x3df2fe:0x593,_0x13a12c:0x591,_0x36b392:0x573,_0xaff359:0x2b3,_0x438bd9:0x58d,_0x54b607:0x589,_0x222433:0x2c5,_0x3348a0:0x30b,_0x37f427:0x2e3,_0x10986c:0x2ce,_0x14795b:0x2d1,_0x5a8b80:0x314,_0x630776:0x2f0,_0x3ec85f:0x5b7,_0x149770:0x59a,_0x400ecf:0x590,_0x5c04b8:0x56d,_0x376c4a:0x2e9,_0x27539d:0x5bc,_0x57ba0c:0x5ab,_0x410cba:0x5d1,_0x5326a8:0x58b,_0x12df74:0x2c0,_0x5260ba:0x31f,_0x72eced:0x300,_0x3c2b3e:0x2f4,_0x554d4d:0x287,_0x37c18a:0x2b0,_0xdbe1da:0x2d4,_0x5d4e19:0x2e2,_0x4ae4b8:0x56c,_0x3f2df4:0x55b,_0x2afd67:0x507,_0x40497c:0x51b,_0x48a42c:0x53d,_0x1552f4:0x2cb,_0x2d5fe3:0x2e6,_0x326403:0x5b6,_0x54e3fa:0x596,_0x4e2133:0x53f,_0x290318:0x55e,_0x5f0ee5:0x2a4,_0x5d1da3:0x2b6,_0x2d5f61:0x289,_0x49c4bd:0x57f,_0x434d6a:0x5ea,_0x328f2c:0x5f2,_0xef5a9e:0x5e5,_0x3245a1:0x525,_0x22ee35:0x541,_0x260945:0x286,_0x1cd043:0x29c,_0x2a5339:0x2dd,_0x2ac10e:0x31d,_0x6e52e5:0x2b4,_0x575ec4:0x5cb,_0x288325:0x57d,_0x4f6323:0x584,_0x2284d2:0x56e,_0x40c125:0x291,_0x57a51d:0x2f5,_0x5da302:0x317,_0x1078cc:0x313,_0x287ec8:0x2ee,_0x548468:0x2df,_0x4004df:0x549,_0x44f0ed:0x276,_0xf7401e:0x27b,_0x47aa37:0x527,_0x3fd401:0x2c0,_0x435e89:0x293,_0x316c94:0x5c2,_0x3f5487:0x30e,_0x4e2867:0x2fe,_0x3a008a:0x561,_0x38507a:0x57c,_0x283a6f:0x5b0,_0x55eaf9:0x5a8,_0xe90749:0x2a4,_0x259e7c:0x5cf,_0x389b47:0x543,_0x55f9a5:0x54f,_0x227324:0x56e,_0x33f3c5:0x2ac,_0x24c428:0x2ba,_0xb1712e:0x552,_0x26d9a6:0x5a8,_0x408546:0x594,_0x31f26e:0x583,_0x305ba8:0x2a2,_0x3432d6:0x307,_0x1e7bbe:0x2fb,_0x244ebe:0x50f,_0x3e96b9:0x54d,_0x3ba624:0x55a,_0xd59449:0x55a,_0x403e0f:0x2fe,_0x4e69ba:0x5d0,_0x4e5db4:0x567,_0xc9b6c:0x327,_0x2c71e6:0x319,_0x15fc56:0x2e7,_0x5d1ddf:0x2d4,_0x4fe962:0x59c,_0x55f944:0x2e4,_0x263c84:0x2f1,_0x49738b:0x2fc,_0x53830b:0x590,_0x3fe9c4:0x59c,_0xdfcd6f:0x2ff,_0x12d32c:0x308,_0x264ece:0x2a8,_0x453ea9:0x2d7,_0x4de215:0x5c7,_0x349c77:0x2cd,_0x4bdeba:0x2ef,_0x520d03:0x2ec,_0x19f12b:0x2af,_0x5e3255:0x2ae,_0x53a1c7:0x588,_0x205065:0x57f},_0x38af37={_0x34ed71:0x363},_0x3d1c78={_0x157db3:0xa4},_0x5aefd2={'ShVDB':_0x2def60(_0x352a96._0xefc259,0x2df,0x2a4,0x262),'vuRrM':_0x2def60(_0x352a96._0x146857,_0x352a96._0x5cdbe6,_0x352a96._0x553487,0x318),'LGWwp':_0x2def60(_0x352a96._0x1bc7d5,0x2d9,_0x352a96._0x39fa6b,_0x352a96._0x38eb5e)+'e\x20scripts/'+_0x2def60(0x275,0x2b6,_0x352a96._0x26034a,0x2c4)+_0x2def60(_0x352a96._0x13a2f1,0x2e9,_0x352a96._0x1cd743,0x287)+_0x39433a(0x564,0x59a,0x57c,0x577)+_0x2def60(0x2d0,_0x352a96._0x23080e,_0x352a96._0x23080e,_0x352a96._0x584be7)+_0x2def60(0x2da,_0x352a96._0x4413cb,_0x352a96._0x2e105f,_0x352a96._0x598ff2)+'>\x20[role]','BsgLH':'\x20\x20password'+'\x20\x20-\x20User\x20p'+'assword\x20(w'+_0x39433a(_0x352a96._0x513587,0x548,_0x352a96._0x2259fc,0x551)+_0x39433a(0x540,_0x352a96._0x2f9743,_0x352a96._0x489eea,0x555),'nyFCw':'\x20\x20name\x20\x20\x20\x20'+_0x2def60(_0x352a96._0x27c9b3,0x263,_0x352a96._0xdd3826,0x2a5)+_0x2def60(_0x352a96._0x4e6bed,_0x352a96._0x3b7061,_0x352a96._0x704855,0x2f4)+_0x39433a(0x557,0x533,_0x352a96._0x446989,0x542),'lfyAD':_0x39433a(_0x352a96._0x1b6cc7,0x593,0x556,_0x352a96._0x3c9f74)+_0x2def60(_0x352a96._0x491133,_0x352a96._0x524dc3,0x27b,0x246)+'\x20be\x20at\x20lea'+'st\x208\x20chara'+_0x2def60(0x305,_0x352a96._0x5d107b,0x2d5,_0x352a96._0x156655)+'.','gdAzX':function(_0x58a807,_0x2e7dd1){return _0x58a807<_0x2e7dd1;},'DenEt':function(_0x2411df,_0x8d676){return _0x2411df===_0x8d676;},'tBBMz':_0x2def60(_0x352a96._0x360453,_0x352a96._0x393886,_0x352a96._0x29f980,0x2f1),'diYSA':_0x2def60(_0x352a96._0x309659,_0x352a96._0x553487,_0x352a96._0x328787,0x2b1)+_0x39433a(0x567,_0x352a96._0x3420e6,_0x352a96._0x513587,0x598)+_0x2def60(_0x352a96._0x2e365d,0x2ae,_0x352a96._0x22dbe7,0x29e),'ZVJTk':'\x20\x20role\x20\x20\x20\x20'+_0x39433a(_0x352a96._0x2bf0b8,0x56f,0x582,_0x352a96._0x1cbd5f)+_0x2def60(_0x352a96._0x3b7061,0x291,_0x352a96._0x36d967,_0x352a96._0x421a01)+_0x39433a(0x524,0x50a,0x57c,0x53c)+_0x2def60(0x287,_0x352a96._0xdd3826,_0x352a96._0x4f9967,_0x352a96._0xdfe7a8)+_0x2def60(0x2c1,_0x352a96._0x38876b,0x2e0,_0x352a96._0x2e365d),'fZpFe':_0x2def60(_0x352a96._0x20c767,0x2d4,_0x352a96._0x5efcee,0x2da)+_0x39433a(0x55a,_0x352a96._0x7ad83a,0x594,_0x352a96._0xe24a34)+_0x39433a(0x556,0x529,_0x352a96._0x188b9e,_0x352a96._0x5d628b)+_0x39433a(_0x352a96._0x87b4ea,0x58f,0x5b7,_0x352a96._0x34b7c6),'byVeq':_0x2def60(0x29d,_0x352a96._0x329749,_0x352a96._0x584981,_0x352a96._0x2f6557)+_0x39433a(_0x352a96._0x2d440b,0x55f,0x57a,0x575)+'e-user.js\x20'+_0x2def60(0x2af,0x265,0x27a,_0x352a96._0x26a86d)+'n@example.'+_0x2def60(0x2d3,0x327,_0x352a96._0x5812f1,0x311)+'\x20User\x22\x20sec'+_0x2def60(0x24a,0x241,_0x352a96._0x45c90a,0x273)+'\x20admin','PgzYz':_0x39433a(_0x352a96._0x5d0134,0x56f,_0x352a96._0x368c7e,_0x352a96._0x14c008)+_0x2def60(_0x352a96._0x1125d8,_0x352a96._0x52fc9e,0x2be,_0x352a96._0xa76178)+_0x39433a(0x569,_0x352a96._0x36e902,_0x352a96._0x2ab548,0x59d)+'ss','nhMGr':_0x2def60(_0x352a96._0x1ede72,_0x352a96._0x870ed1,_0x352a96._0x2e3c81,_0x352a96._0x526ffb),'XQGQx':function(_0x781a7e,_0x1cdb5d){return _0x781a7e!==_0x1cdb5d;},'VkekF':function(_0xe5754a,_0x4cf0c8){return _0xe5754a!==_0x4cf0c8;},'EizWf':function(_0x5af612,_0xb99e16){return _0x5af612<_0xb99e16;},'oVPLE':function(_0x3f7326,_0x28f17b){return _0x3f7326!==_0x28f17b;},'jhZKY':_0x2def60(_0x352a96._0x26cf8a,0x2ed,_0x352a96._0x2db016,0x2de),'qyCiZ':function(_0x3d185e,_0x351b88){return _0x3d185e(_0x351b88);},'TdWXx':function(_0x236f93,_0x49eb76){return _0x236f93===_0x49eb76;},'xxrOk':_0x39433a(0x569,0x558,_0x352a96._0x34d0ed,0x55d),'nfecA':_0x39433a(0x549,_0x352a96._0x51ee40,_0x352a96._0x923b90,_0x352a96._0x31fd17),'rUvQC':function(_0x42345c,_0x1a69ae){return _0x42345c(_0x1a69ae);},'RfaQF':'✓\x20User\x20cre'+_0x39433a(_0x352a96._0x4c7077,0x5ac,0x5b3,0x58b)+_0x39433a(0x530,_0x352a96._0x5b7186,0x56a,_0x352a96._0x51fa74),'rLaAV':_0x39433a(_0x352a96._0x556ad0,0x56c,_0x352a96._0x15d582,_0x352a96._0x55121c)+_0x39433a(0x547,0x532,0x52e,0x548),'SewBK':'The\x20user\x20c'+'an\x20now\x20log'+_0x2def60(_0x352a96._0x2c3b6a,0x290,_0x352a96._0x25e77d,_0x352a96._0x2d9ffa)+_0x2def60(_0x352a96._0x3c6545,0x298,_0x352a96._0xa76178,0x254)+_0x39433a(0x548,0x534,_0x352a96._0x519c7f,_0x352a96._0x16cb42)+_0x39433a(_0x352a96._0x584cd9,_0x352a96._0x125097,0x555,_0x352a96._0x5cb1ff),'ZpmDF':_0x2def60(_0x352a96._0x2819ee,0x25f,0x298,0x264),'cAJXU':_0x2def60(_0x352a96._0x1db114,_0x352a96._0x524d1c,_0x352a96._0x4e6bed,_0x352a96._0xfdacd5),'brPMi':_0x39433a(0x58c,_0x352a96._0x5178d3,_0x352a96._0x4c7077,_0x352a96._0x22a57d)+_0x39433a(0x52d,_0x352a96._0x31d357,_0x352a96._0x1a1074,0x562)+'r'},_0x1a8b5b=process[_0x39433a(_0x352a96._0x2c4f84,_0x352a96._0xe7a034,0x54a,0x53b)][_0x39433a(_0x352a96._0x368c7e,_0x352a96._0x3da238,0x569,_0x352a96._0x2323a4)](0x47f*0x1+0x1*0x2172+-0x9*0x437);function _0x2def60(_0x256db3,_0x177bf4,_0xff07bf,_0x25c7dd){return _0x3aac(_0xff07bf-_0x3d1c78._0x157db3,_0x177bf4);}if(_0x5aefd2[_0x2def60(0x285,_0x352a96._0x1f3e3a,0x27f,_0x352a96._0x491133)](_0x1a8b5b[_0x2def60(0x31d,_0x352a96._0x37c57f,0x2e8,0x2b1)],0x53d*-0x4+-0x112d+0x2625)){if(_0x5aefd2[_0x39433a(_0x352a96._0x3ac693,_0x352a96._0x539c29,0x52d,_0x352a96._0x536275)](_0x5aefd2[_0x2def60(0x2f5,_0x352a96._0xea823e,_0x352a96._0x1f6607,_0x352a96._0x2db016)],'TUFZy'))_0x2431ae['error']('Error:\x20Inv'+'alid\x20email'+_0x2def60(0x280,0x29c,0x294,_0x352a96._0x37b81d)+_0x4a63d7+'\x22.'),_0x199edf[_0x39433a(0x560,0x545,0x5b6,0x57f)](0x1*-0xc7b+-0x7f6+-0xa39*-0x2);else{const _0x4f700f=_0x5aefd2[_0x39433a(_0x352a96._0x3b50c2,_0x352a96._0x26518a,_0x352a96._0x474fbe,0x558)][_0x2def60(_0x352a96._0x45a4ba,0x29e,0x27e,0x248)]('|');let _0x124ae7=-0x1c62+-0x2b*0x35+-0x5*-0x775;while(!![]){switch(_0x4f700f[_0x124ae7++]){case'0':process[_0x2def60(_0x352a96._0x370384,0x2b7,0x2c0,0x2a0)](-0x83b*-0x1+-0x2542+0x1d08);continue;case'1':console[_0x2def60(_0x352a96._0x2bfbea,0x2f9,0x2d7,0x2ed)](_0x5aefd2[_0x2def60(_0x352a96._0x1b3adf,_0x352a96._0x5b683b,_0x352a96._0x4b98f2,_0x352a96._0x3bc39f)]);continue;case'2':console[_0x39433a(0x55a,0x581,_0x352a96._0x828a5f,_0x352a96._0x3ab185)](_0x5aefd2[_0x39433a(0x544,_0x352a96._0x1a8730,_0x352a96._0x24ea4e,_0x352a96._0x41d1f1)]);continue;case'3':console[_0x39433a(0x5d0,0x58f,_0x352a96._0x177925,_0x352a96._0x3ab185)](_0x5aefd2['fZpFe']);continue;case'4':console['error']('');continue;case'5':console[_0x39433a(_0x352a96._0x7b2119,0x596,0x5d5,0x596)](_0x39433a(0x57b,0x5dc,0x583,_0x352a96._0x15e4c6));continue;case'6':console[_0x2def60(_0x352a96._0x309659,0x2a4,_0x352a96._0x3e8374,_0x352a96._0x4b4eb5)](_0x5aefd2[_0x2def60(0x314,_0x352a96._0x4d7dc0,0x2f4,_0x352a96._0x1cd743)]);continue;case'7':console[_0x39433a(0x59d,0x591,_0x352a96._0x358b85,_0x352a96._0x3ab185)](_0x5aefd2['PgzYz']);continue;case'8':console[_0x39433a(0x556,_0x352a96._0x7cd96e,0x589,0x596)]('\x20\x20password'+_0x39433a(_0x352a96._0x55631e,_0x352a96._0x3013ce,_0x352a96._0x16c775,0x590)+_0x39433a(0x57a,_0x352a96._0x1cbd5f,0x541,_0x352a96._0x5f523c)+_0x2def60(0x291,0x283,0x292,0x29e)+'hed)');continue;case'9':console['error'](_0x5aefd2[_0x2def60(0x280,_0x352a96._0x10a588,_0x352a96._0x112abf,_0x352a96._0x3a3aaf)]);continue;case'10':console[_0x2def60(0x2fd,0x313,0x2d7,0x2ed)](_0x5aefd2[_0x39433a(0x534,0x535,_0x352a96._0x31fd17,_0x352a96._0x340be0)]);continue;case'11':console[_0x39433a(_0x352a96._0x3f14a5,_0x352a96._0xf8f1dc,0x5a3,_0x352a96._0x4e8897)]('');continue;}break;}}}const [_0x5459d4,_0x3dfd0a,_0xb62481,_0x51406b,_0x25b8a3=_0x5aefd2[_0x39433a(_0x352a96._0x4a664c,0x5bc,_0x352a96._0x290169,0x5a0)]]=_0x1a8b5b;_0x5aefd2['XQGQx'](_0x25b8a3,_0x2def60(_0x352a96._0x27c9b3,0x2e5,_0x352a96._0x299c91,0x2ca))&&_0x5aefd2['VkekF'](_0x25b8a3,_0x5aefd2[_0x2def60(0x305,0x304,_0x352a96._0x50be21,0x311)])&&(console[_0x39433a(0x58b,_0x352a96._0x43167d,0x5cf,_0x352a96._0x4096b6)]('Error:\x20Inv'+_0x39433a(0x5af,0x567,_0x352a96._0x5c780b,0x5a3)+'\x22'+_0x25b8a3+(_0x39433a(0x594,0x531,0x57c,0x56c)+'\x20\x22admin\x22\x20o'+_0x39433a(0x5a5,0x5e1,_0x352a96._0x9c8b75,_0x352a96._0x33344a))),process[_0x39433a(_0x352a96._0x14c008,_0x352a96._0x5c6f90,_0x352a96._0x35f990,0x57f)](-0x1*-0x1e17+-0x51d+-0x18f9));const _0x2eb72f=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;!_0x2eb72f[_0x2def60(_0x352a96._0x7af98f,_0x352a96._0x930bc2,0x276,_0x352a96._0x215288)](_0x3dfd0a)&&(console['error']('Error:\x20Inv'+_0x2def60(_0x352a96._0x215288,0x28b,0x290,0x288)+_0x2def60(0x258,_0x352a96._0x5916d0,_0x352a96._0x157e5a,_0x352a96._0x4c5b8a)+_0x3dfd0a+'\x22.'),process[_0x39433a(_0x352a96._0x305757,0x5c1,_0x352a96._0x5d6691,0x57f)](-0x73f*-0x1+0xd*0x2c1+0x2b0b*-0x1));const _0x202593=/^[a-zA-Z0-9_-]+$/;!_0x202593[_0x39433a(_0x352a96._0x195cf,_0x352a96._0x412b59,_0x352a96._0x309799,_0x352a96._0x3a6050)](_0x5459d4)&&(console[_0x39433a(_0x352a96._0x446989,_0x352a96._0x32a911,_0x352a96._0x4f8630,_0x352a96._0x53fae2)]('Error:\x20Inv'+_0x39433a(_0x352a96._0x3df2fe,0x581,0x59e,0x587)+_0x2def60(0x249,0x2a9,0x28c,0x297)+_0x5459d4+(_0x39433a(0x541,_0x352a96._0x13a12c,0x592,_0x352a96._0x36b392)+'y\x20letters,'+_0x2def60(0x2e4,_0x352a96._0x870ed1,_0x352a96._0xaff359,0x2c6)+_0x39433a(_0x352a96._0x438bd9,_0x352a96._0x54b607,_0x352a96._0x1a1074,0x5a5)+_0x2def60(0x2fe,_0x352a96._0x222433,_0x352a96._0x3a3aaf,0x2d1)+_0x39433a(0x539,0x566,0x5ab,0x571))),process['exit'](-0x617+-0x1dd0+0x23e8));_0x5aefd2[_0x2def60(_0x352a96._0x3348a0,_0x352a96._0x37f427,_0x352a96._0x10986c,_0x352a96._0x14795b)](_0x51406b[_0x2def60(_0x352a96._0x5a8b80,0x2d4,0x2e8,_0x352a96._0x630776)],0x2680+0x25ef+-0x4c67)&&(console[_0x39433a(0x577,0x5cb,_0x352a96._0x3ec85f,0x596)](_0x5aefd2[_0x39433a(_0x352a96._0x2ab548,_0x352a96._0x149770,_0x352a96._0x400ecf,_0x352a96._0x5c04b8)]),process[_0x2def60(0x282,_0x352a96._0x2e3c81,0x2c0,_0x352a96._0x376c4a)](-0x23*-0x119+-0x257c+0x22*-0x7));function _0x39433a(_0x6168f8,_0x3cf728,_0x3f1a72,_0x56410f){return _0x3aac(_0x56410f-_0x38af37._0x34ed71,_0x3cf728);}try{if(_0x5aefd2[_0x2def60(0x284,_0x352a96._0x370384,0x297,0x290)]('RGsSX',_0x5aefd2[_0x39433a(0x5a9,_0x352a96._0x27539d,0x58e,_0x352a96._0x57ba0c)]))_0x3cbb79['error']('Error:\x20Use'+_0x39433a(_0x352a96._0x410cba,0x5ac,0x5d6,0x5a8)+_0x1311e5+(_0x39433a(0x585,_0x352a96._0x5326a8,0x583,0x578)+_0x2def60(0x2d9,0x2ac,0x2cf,0x304))),_0x16c5ac[_0x2def60(0x2a5,0x2cf,_0x352a96._0x12df74,_0x352a96._0x4b4eb5)](-0xc5a+-0x1270+-0x1*-0x1ecb);else{const _0x566003=await _0x5aefd2[_0x2def60(0x2fd,_0x352a96._0x5260ba,_0x352a96._0x52fc9e,_0x352a96._0x72eced)](findUserByUsername,_0x5459d4);if(_0x566003){if(_0x5aefd2[_0x2def60(0x2a3,0x26e,0x295,0x299)](_0x5aefd2[_0x2def60(0x29f,0x2be,0x2c2,_0x352a96._0x3c2b3e)],_0x5aefd2[_0x2def60(0x2de,_0x352a96._0x554d4d,_0x352a96._0x37c18a,_0x352a96._0xdbe1da)])){const _0x4ecc88=('4|1|0|5|11'+_0x2def60(_0x352a96._0x584be7,0x2e6,_0x352a96._0x5d4e19,0x31b)+_0x39433a(0x570,_0x352a96._0x4ae4b8,_0x352a96._0x26518a,_0x352a96._0x3f2df4))[_0x39433a(_0x352a96._0x2afd67,0x546,_0x352a96._0x40497c,_0x352a96._0x48a42c)]('|');let _0x1cf4be=0x312+0x2b4+-0x5c6;while(!![]){switch(_0x4ecc88[_0x1cf4be++]){case'0':_0x5b8bec[_0x2def60(_0x352a96._0x1552f4,_0x352a96._0x2d5fe3,0x2d7,0x300)](_0x5aefd2['ShVDB']);continue;case'1':_0x3de8ea[_0x39433a(0x564,_0x352a96._0x326403,0x59c,_0x352a96._0x54e3fa)]('');continue;case'2':_0x362df9['error'](_0x39433a(0x52a,_0x352a96._0x4e2133,_0x352a96._0x290318,0x53f)+_0x2def60(0x2bc,_0x352a96._0x5f0ee5,_0x352a96._0x5d1da3,_0x352a96._0x2d5f61)+_0x39433a(0x5c1,_0x352a96._0x49c4bd,_0x352a96._0x434d6a,0x5ac)+'admin\x20admi'+_0x2def60(0x32e,0x326,0x2fa,0x333)+_0x39433a(_0x352a96._0x328f2c,0x5b6,_0x352a96._0xef5a9e,0x5b5)+_0x39433a(0x514,_0x352a96._0x3245a1,0x527,_0x352a96._0x22ee35)+'urepass123'+_0x2def60(_0x352a96._0x260945,_0x352a96._0x1cd043,0x2ab,0x2c3));continue;case'3':_0x1e92ed[_0x2def60(0x2e7,0x2de,0x2d7,_0x352a96._0x2a5339)](_0x5aefd2[_0x2def60(_0x352a96._0x2ac10e,0x2f1,_0x352a96._0xea823e,0x2bd)]);continue;case'4':_0x130e73[_0x2def60(0x30f,0x2d2,0x2d7,0x2c9)](_0x5aefd2[_0x2def60(0x272,_0x352a96._0x6e52e5,0x287,0x286)]);continue;case'5':_0x1421ee[_0x39433a(0x576,0x5a3,_0x352a96._0x575ec4,0x596)](_0x39433a(_0x352a96._0x288325,0x590,_0x352a96._0x358b85,_0x352a96._0x4f6323)+_0x39433a(0x567,0x590,0x570,_0x352a96._0x2284d2)+_0x2def60(0x25c,_0x352a96._0x1f3e3a,_0x352a96._0x40c125,0x268)+'for\x20login');continue;case'6':_0x528f9a['error'](_0x5aefd2['BsgLH']);continue;case'7':_0x362b28[_0x2def60(_0x352a96._0x57a51d,_0x352a96._0x5da302,0x2d7,0x2a7)]('\x20\x20role\x20\x20\x20\x20'+_0x2def60(_0x352a96._0x360453,_0x352a96._0x1078cc,_0x352a96._0x287ec8,_0x352a96._0x548468)+_0x39433a(_0x352a96._0x4004df,0x554,0x547,0x552)+_0x2def60(_0x352a96._0x44f0ed,_0x352a96._0xf7401e,0x27d,0x27a)+_0x39433a(_0x352a96._0x47aa37,0x578,0x537,0x55a)+_0x39433a(_0x352a96._0x828a5f,0x569,0x5e2,0x59f));continue;case'8':_0x1a212e['error']('');continue;case'9':_0x2ac8c1[_0x2def60(_0x352a96._0x40c125,_0x352a96._0x25e77d,_0x352a96._0x3fd401,_0x352a96._0x435e89)](-0x1d2e+0x27a*0xd+-0x303);continue;case'10':_0x219112[_0x39433a(_0x352a96._0x3c9f74,0x5be,_0x352a96._0x316c94,0x596)](_0x5aefd2[_0x39433a(0x535,_0x352a96._0x14c008,0x568,0x569)]);continue;case'11':_0x281484['error'](_0x2def60(_0x352a96._0x3f5487,0x2cb,0x2e5,_0x352a96._0x4e2867)+_0x2def60(0x2bb,_0x352a96._0x13a2f1,0x2be,0x2f0)+_0x39433a(_0x352a96._0x3a008a,0x562,0x5cc,0x59d)+'ss');continue;}break;}}else console['error']('Error:\x20Use'+_0x39433a(_0x352a96._0x38507a,_0x352a96._0x283a6f,0x59b,_0x352a96._0x55eaf9)+_0x5459d4+(_0x2def60(_0x352a96._0xdbe1da,0x2af,0x2b9,_0x352a96._0xe90749)+_0x39433a(0x586,_0x352a96._0x259e7c,0x57c,0x58e))),process['exit'](0xb66*0x1+0x3*0x50d+-0x1a8c);}console['log'](_0x39433a(_0x352a96._0x389b47,_0x352a96._0x55f9a5,0x5b7,0x576)+_0x2def60(0x2d4,0x31e,0x2dc,0x2c5)+_0x5459d4+_0x39433a(_0x352a96._0x13a12c,_0x352a96._0x227324,0x5dd,0x5aa));const _0x29ab5a={};_0x29ab5a[_0x2def60(0x323,0x2bb,0x2e7,_0x352a96._0x33f3c5)]=_0x5459d4,_0x29ab5a['email']=_0x3dfd0a,_0x29ab5a[_0x2def60(_0x352a96._0x3bc39f,_0x352a96._0x24c428,0x2ea,0x328)]=_0xb62481,_0x29ab5a[_0x2def60(0x2d5,0x2ea,0x2ba,0x2d6)]=_0x51406b,_0x29ab5a[_0x39433a(0x560,_0x352a96._0xb1712e,0x526,_0x352a96._0x31d357)]=_0x25b8a3;const _0x3b4e3a=await _0x5aefd2[_0x2def60(0x2b6,0x28e,0x281,0x27e)](createUser,_0x29ab5a);console[_0x39433a(0x5b7,_0x352a96._0x26d9a6,_0x352a96._0x408546,0x59c)](''),console[_0x39433a(0x5dc,_0x352a96._0x36b392,_0x352a96._0x31f26e,0x59c)](_0x5aefd2[_0x2def60(0x2f3,_0x352a96._0x2d5f61,_0x352a96._0x3bc39f,_0x352a96._0xefc259)]),console[_0x2def60(_0x352a96._0x305ba8,_0x352a96._0x3432d6,_0x352a96._0x2a5339,_0x352a96._0x1e7bbe)](''),console[_0x2def60(0x2f4,0x29e,0x2dd,0x2ca)](_0x5aefd2[_0x39433a(0x583,_0x352a96._0x244ebe,0x53e,_0x352a96._0x3e96b9)]),console[_0x39433a(_0x352a96._0x3ba624,_0x352a96._0xd59449,_0x352a96._0x5326a8,0x59c)](_0x39433a(0x557,_0x352a96._0x24ea4e,0x5a9,_0x352a96._0x32a911)+'\x20\x20'+_0x3b4e3a['id']),console[_0x2def60(_0x352a96._0x287ec8,_0x352a96._0x403e0f,0x2dd,0x2d0)](_0x39433a(_0x352a96._0x4e69ba,_0x352a96._0x4e5db4,0x5e0,0x59e)+':\x20'+_0x3b4e3a[_0x2def60(_0x352a96._0xc9b6c,_0x352a96._0x2c71e6,_0x352a96._0x15fc56,_0x352a96._0x5d1ddf)]),console['log']('\x20\x20Email:\x20\x20'+'\x20\x20'+_0x3b4e3a['email']),console[_0x39433a(0x5da,0x578,0x5bd,_0x352a96._0x4fe962)]('\x20\x20Name:\x20\x20\x20'+'\x20\x20'+_0x3b4e3a[_0x2def60(0x2ea,0x2bf,_0x352a96._0x38876b,0x318)]),console['log'](_0x2def60(0x2e7,_0x352a96._0x55f944,_0x352a96._0x1552f4,0x2b3)+'\x20\x20'+_0x3b4e3a[_0x39433a(0x571,_0x352a96._0x55f9a5,0x593,_0x352a96._0x31d357)]),console[_0x2def60(_0x352a96._0x263c84,_0x352a96._0x49738b,0x2dd,0x2a5)](''),console[_0x39433a(0x59a,0x58a,_0x352a96._0x53830b,_0x352a96._0x3fe9c4)](_0x5aefd2[_0x2def60(0x2d3,0x2b6,0x2a6,0x284)]);}}catch(_0x260d78){_0x5aefd2['XQGQx'](_0x5aefd2[_0x2def60(_0x352a96._0xdfe7a8,0x2b1,0x2c4,_0x352a96._0xdfcd6f)],_0x5aefd2[_0x39433a(0x590,0x58b,0x52f,0x570)])?(logger[_0x2def60(_0x352a96._0x12d32c,_0x352a96._0x264ece,_0x352a96._0x453ea9,_0x352a96._0x222433)](_0x5aefd2[_0x39433a(0x5a9,_0x352a96._0x31d357,_0x352a96._0x4de215,0x595)],_0x260d78),console[_0x2def60(0x30d,0x29b,_0x352a96._0x3e8374,0x2a6)](_0x2def60(_0x352a96._0x156655,_0x352a96._0x349c77,_0x352a96._0x4bdeba,_0x352a96._0x520d03)+'led\x20to\x20cre'+'ate\x20user\x20-'+'\x20'+_0x260d78['message']),process[_0x2def60(0x2f4,0x292,0x2c0,_0x352a96._0x19f12b)](-0x1f4c+0xd*0x19+0x1e08)):(_0x590142['error'](_0x5aefd2[_0x2def60(0x2ad,0x2e4,_0x352a96._0x5e3255,0x291)]),_0x1e3e9b[_0x39433a(_0x352a96._0x489eea,_0x352a96._0x53a1c7,0x54e,_0x352a96._0x205065)](-0x207b+-0x1149+0x1097*0x3));}}main();function _0x1e48(){const _0x32cb22=['yNjqtwK','zxjYB3i','icbjrdOGicaGia','FdL8ohWYFdeXFa','uKDZu1G','rxHHBxbSztO','C2vYici','Bg9N','BwfPBcbHzgrYzq','icbvC2vYBMfTzq','DdOGiNvZzxiIkq','BMHnr3i','FdeWFdz8n3W4Fa','C2XPy2u','ywXPzcbYB2XLia','icbLBwfPBcaGia','Dw5KzxjZy29Yzq','DxnLCM5HBwu','BgvUz3rO','CIaI','BMfTzq','iI4UlG','AMHAs1K','zs11C2vYlMPZia','icaTifvZzxiGCG','rxjYB3i6iezHAq','CIaIDxnLCIiU','mtb8nhWXFdn8nW','zM9YigXVz2LU','CxLdAvO','yNLwzxe','mtq1mZK0ndzsChrOC3a','y29Ticjbzg1PBG','nJmWmZvMsvzhqwi','DNvsCK0','mZmYotmYmfnPug9SwG','BKbLEgfTCgXLlG','DgvZDa','DxjLCgfZCZeYmW','mZGYotm4mffPEu9LCW','t3vmANq','ywrTAw4GywrTAq','C3DVCMqGBxvZDa','yxjNDG','BIiGB3iGiNvZzq','C3bSAxq','z2rbELG','icbUB2rLihnJCG','CLv2uum','ifvZzxiIihnLyW','ihvZzxi','wxv0ugG','DxnLCG','rgvUrxq','teDxD3a','u2Hwrei','Bhm6','n09KqKj5sW','y3jLyxrLlxvZzq','yw1Lici','AgvPCIb1C2vYBG','CKXHqvy','C3nMDwXSEse','ywXPzcbLBwfPBa','ihvZzxjUyw1Lia','AwXSigjLigHHCW','B2XLoIaIywrTAq','igzVCM1HDcaI','vgrxwhG','AgvKkq','B1zqteu','uMTgz3C','zgLzu0e','igLUihDPDgGGDa','CIiGkgrLzMf1Ba','m3WYFdK','vxnHz2u6ig5Vza','AK9cAei','AwW+idXUyw1LpG','icaTiez1BgWGBG','CM9Szq','nteWmdq3mMjRA1fYAG','y3jLyxrLihvZzq','qxjNDw1LBNrZoG','yw1LigfUzcbWyq','u2v3qKS','mJeYnJnIAM9TrKC','idXWyxnZD29Yza','ofz5zw5Vtq','BNLgq3C','igfKBwLU','vxnLCIbezxrHAq','iI4GtxvZDcbIzq','Bgz5quq','icaTifvUAxf1zq','BMzLy0e','y0fkwfu','AgvUCY4','ig51BwjLCNmSia','iI4GvxnLig9UBa','nxW2Fda','Axb0CY9JCMvHDa','q3jLyxrPBMCGDq','BMfTzt4GpgvTyq','iIbHBhjLywr5ia','CgfZC3DVCMq','yxnZD29YzcaODW','rMfPBgvKihrVia','rxjYB3i6ifbHCW','icaTifvZzxiGzq','CI5QCYa8DxnLCG','zxHPDa','ywrTAw4','EhHYt2S','wLzkvgS','wNbTrey','icb1C2vYBMfTzq','yw1Lig9MihrOzq','CYWGyw5KigH5Ca','ywXPzcb1C2vYBG','uMzHuuy','mtbjuvPcqxa','icbsB2XLoIaGia','yxrLzcbZDwnJzq','mJK5mdHMAhH5BMG','rwL6v2y','zxHPC3rZlG','C3n3B3jKlG','icaTifvZzxiGCa','DejctxO','m29JwwfjuG','vfr1te0','y3rLCNmGBg9UzW'];_0x1e48=function(){return _0x32cb22;};return _0x1e48();}
|
|
@@ -1,87 +1,114 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: Skill Editor
|
|
3
|
-
description:
|
|
4
|
-
argument-hint: list | view <skill-id> | update <skill-id> |
|
|
3
|
+
description: Full CRUD management for environment skills and their files, including create, update, delete, and unassign operations.
|
|
4
|
+
argument-hint: list | view <skill-id> | create <skill-id> | update <skill-id> | delete <skill-id> [--force] [--unassign-only] | file list <skill-id> | file read <skill-id> <path> | file write <skill-id> <path> | file delete <skill-id> <path>
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Skill Editor Skill
|
|
8
8
|
|
|
9
|
-
This skill
|
|
9
|
+
This skill provides full management for skills assigned to the current environment:
|
|
10
|
+
- Skill-level operations: list, view, create, update, delete, and unassign
|
|
11
|
+
- File-level operations: list, read, create/update, and delete for supporting files
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
Use this when users want direct control over skill behavior and skill file contents.
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
## Scope And Guardrails
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
- This skill can only modify non-read-only skills that are assigned to the current environment.
|
|
18
|
+
- System skills and read-only imported skills are blocked by the API.
|
|
19
|
+
- Use explicit user intent for destructive operations (`delete` at skill level, recursive directory deletion at file level).
|
|
20
|
+
- If user intent is already clear and explicit, execute directly; do not add unnecessary confirmation loops.
|
|
16
21
|
|
|
17
|
-
|
|
22
|
+
## Available Commands
|
|
18
23
|
|
|
19
|
-
|
|
24
|
+
### 1. List Skills (`/skill-editor list`)
|
|
20
25
|
|
|
21
|
-
|
|
22
|
-
- The user wants to see what skills can be modified
|
|
23
|
-
- You need to identify which skill to update
|
|
26
|
+
List editable skills assigned to the current environment.
|
|
24
27
|
|
|
25
28
|
### 2. View Skill (`/skill-editor view <skill-id>`)
|
|
26
29
|
|
|
27
|
-
|
|
30
|
+
Fetch skill metadata and body from `SKILL.md`, plus top-level supporting entries.
|
|
31
|
+
|
|
32
|
+
### 3. Create Skill (`/skill-editor create <skill-id>`)
|
|
28
33
|
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
34
|
+
Create a new skill with required fields:
|
|
35
|
+
- `id`
|
|
36
|
+
- `name`
|
|
37
|
+
- `description`
|
|
38
|
+
- `body`
|
|
32
39
|
|
|
33
|
-
|
|
40
|
+
Optional:
|
|
41
|
+
- `allowed-tools`
|
|
42
|
+
- `model`
|
|
43
|
+
- `argument-hint`
|
|
44
|
+
- `assignToEnvironment` (default `true`)
|
|
34
45
|
|
|
35
|
-
Update
|
|
46
|
+
### 4. Update Skill (`/skill-editor update <skill-id>`)
|
|
36
47
|
|
|
37
|
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
48
|
+
Patch one or more fields on `SKILL.md` frontmatter/body:
|
|
49
|
+
- `name`
|
|
50
|
+
- `description`
|
|
51
|
+
- `body`
|
|
52
|
+
- `allowed-tools`
|
|
53
|
+
- `model`
|
|
54
|
+
- `argument-hint`
|
|
41
55
|
|
|
42
|
-
###
|
|
56
|
+
### 5. Delete Or Unassign Skill (`/skill-editor delete <skill-id> [--force] [--unassign-only]`)
|
|
43
57
|
|
|
44
|
-
|
|
58
|
+
Two supported modes:
|
|
59
|
+
- `delete` (default): remove the skill directory and unassign it from environments
|
|
60
|
+
- `unassign`: remove the skill from only the current environment, keep files on disk
|
|
45
61
|
|
|
46
|
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
- A new capability should be available for future tasks
|
|
62
|
+
Rules:
|
|
63
|
+
- If deleting a skill that is assigned to other environments, `force=true` is required.
|
|
64
|
+
- Without `force`, delete is limited to the current environment.
|
|
50
65
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
66
|
+
### 6. File Operations
|
|
67
|
+
|
|
68
|
+
- List files from skill details: `/skill-editor file list <skill-id>`
|
|
69
|
+
- Read file: `/skill-editor file read <skill-id> <path>`
|
|
70
|
+
- Write file: `/skill-editor file write <skill-id> <path>`
|
|
71
|
+
- Delete file or directory: `/skill-editor file delete <skill-id> <path>`
|
|
72
|
+
|
|
73
|
+
Notes:
|
|
74
|
+
- `PUT` creates parent directories automatically.
|
|
75
|
+
- `DELETE` supports files and directories (directories are recursive).
|
|
76
|
+
- `SKILL.md` must be modified via skill update (`PATCH /skills/:skillId`) and cannot be deleted via file delete endpoint.
|
|
55
77
|
|
|
56
78
|
## How It Works
|
|
57
79
|
|
|
58
|
-
This skill
|
|
80
|
+
This skill uses the task-scoped skill management API.
|
|
81
|
+
|
|
82
|
+
### Environment Variables
|
|
59
83
|
|
|
60
|
-
|
|
61
|
-
- `
|
|
62
|
-
|
|
84
|
+
- `CODERFLOW_SERVER_URL` - Base URL for CoderFlow server
|
|
85
|
+
- `TASK_ID` - Task identifier used for auth (`X-Task-Id`)
|
|
86
|
+
|
|
87
|
+
### API Endpoints
|
|
63
88
|
|
|
64
|
-
### API Endpoints:
|
|
65
89
|
- `GET /api/skill-management/skills` - List editable skills
|
|
66
|
-
- `POST /api/skill-management/skills` - Create a
|
|
90
|
+
- `POST /api/skill-management/skills` - Create a skill
|
|
67
91
|
- `GET /api/skill-management/skills/:skillId` - Get skill details
|
|
68
92
|
- `PATCH /api/skill-management/skills/:skillId` - Update skill
|
|
93
|
+
- `DELETE /api/skill-management/skills/:skillId` - Delete or unassign skill (`mode`, `force`)
|
|
69
94
|
- `GET /api/skill-management/skills/:skillId/files/*` - Read supporting file
|
|
70
|
-
- `PUT /api/skill-management/skills/:skillId/files/*` -
|
|
95
|
+
- `PUT /api/skill-management/skills/:skillId/files/*` - Create/update supporting file
|
|
96
|
+
- `DELETE /api/skill-management/skills/:skillId/files/*` - Delete supporting file or directory
|
|
71
97
|
|
|
72
98
|
## Skill Structure
|
|
73
99
|
|
|
74
|
-
|
|
75
|
-
1.
|
|
76
|
-
2.
|
|
100
|
+
Each skill is a directory under `skills/<skill-id>/` containing:
|
|
101
|
+
1. `SKILL.md` (required)
|
|
102
|
+
2. Supporting files/directories (optional)
|
|
77
103
|
|
|
78
104
|
### SKILL.md Frontmatter
|
|
105
|
+
|
|
79
106
|
```yaml
|
|
80
107
|
---
|
|
81
108
|
name: Display Name
|
|
82
|
-
description: Brief description
|
|
83
|
-
argument-hint: optional argument
|
|
84
|
-
model: optional model override
|
|
109
|
+
description: Brief description
|
|
110
|
+
argument-hint: optional argument hints
|
|
111
|
+
model: optional model override
|
|
85
112
|
allowed-tools:
|
|
86
113
|
- Read
|
|
87
114
|
- Write
|
|
@@ -90,237 +117,103 @@ allowed-tools:
|
|
|
90
117
|
```
|
|
91
118
|
|
|
92
119
|
### SKILL.md Body
|
|
93
|
-
The body contains the detailed skill instructions that guide the AI agent.
|
|
94
|
-
|
|
95
|
-
## Usage Examples
|
|
96
|
-
|
|
97
|
-
### Listing Skills
|
|
98
|
-
|
|
99
|
-
```
|
|
100
|
-
User: "What skills can I edit?"
|
|
101
|
-
|
|
102
|
-
Agent: I'll list the editable skills for this environment.
|
|
103
|
-
|
|
104
|
-
[Executes API call]
|
|
105
|
-
|
|
106
|
-
Editable skills in this environment:
|
|
107
|
-
1. **code-review** - Performs code review with best practices (editable)
|
|
108
|
-
2. **test-generator** - Generates unit tests (editable)
|
|
109
|
-
3. **documentation** - System documentation skill (read-only)
|
|
110
|
-
|
|
111
|
-
Would you like to view or modify any of these?
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
### Viewing a Skill
|
|
115
|
-
|
|
116
|
-
```
|
|
117
|
-
User: "Show me the code-review skill"
|
|
118
|
-
|
|
119
|
-
Agent: I'll fetch the code-review skill details.
|
|
120
|
-
|
|
121
|
-
[Executes API call]
|
|
122
|
-
|
|
123
|
-
**code-review** skill:
|
|
124
|
-
- Description: Performs code review with best practices
|
|
125
|
-
- Model: (default)
|
|
126
|
-
- Allowed tools: Read, Grep, Glob
|
|
127
120
|
|
|
128
|
-
|
|
129
|
-
```markdown
|
|
130
|
-
# Code Review Skill
|
|
121
|
+
The body contains the operative instructions used by the AI.
|
|
131
122
|
|
|
132
|
-
|
|
133
|
-
- Code quality and readability
|
|
134
|
-
- Potential bugs
|
|
135
|
-
- Performance issues
|
|
136
|
-
- Security concerns
|
|
137
|
-
...
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
Would you like to update this skill?
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
### Updating a Skill
|
|
144
|
-
|
|
145
|
-
```
|
|
146
|
-
User: "Add security review to the code-review skill"
|
|
147
|
-
|
|
148
|
-
Agent: I'll help you update the code-review skill. Let me fetch the current content first...
|
|
149
|
-
|
|
150
|
-
[Fetches skill]
|
|
151
|
-
|
|
152
|
-
I propose updating the skill body to include a dedicated security review section:
|
|
153
|
-
|
|
154
|
-
```diff
|
|
155
|
-
# Code Review Skill
|
|
123
|
+
## Implementation
|
|
156
124
|
|
|
157
|
-
|
|
158
|
-
- Code quality and readability
|
|
159
|
-
- Potential bugs
|
|
160
|
-
- Performance issues
|
|
161
|
-
- Security concerns
|
|
125
|
+
### List Skills
|
|
162
126
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
+- [ ] XSS prevention
|
|
167
|
-
+- [ ] Authentication/authorization checks
|
|
168
|
-
+- [ ] Sensitive data handling
|
|
169
|
-
+- [ ] Dependency vulnerabilities
|
|
127
|
+
```bash
|
|
128
|
+
curl -s "${CODERFLOW_SERVER_URL}/api/skill-management/skills" \
|
|
129
|
+
-H "X-Task-Id: ${TASK_ID}"
|
|
170
130
|
```
|
|
171
131
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
User: "Yes, update it"
|
|
132
|
+
### View Skill
|
|
175
133
|
|
|
176
|
-
|
|
177
|
-
|
|
134
|
+
```bash
|
|
135
|
+
curl -s "${CODERFLOW_SERVER_URL}/api/skill-management/skills/<skill-id>" \
|
|
136
|
+
-H "X-Task-Id: ${TASK_ID}"
|
|
178
137
|
```
|
|
179
138
|
|
|
180
|
-
###
|
|
139
|
+
### Create Skill
|
|
181
140
|
|
|
141
|
+
```bash
|
|
142
|
+
curl -s -X POST "${CODERFLOW_SERVER_URL}/api/skill-management/skills" \
|
|
143
|
+
-H "Content-Type: application/json" \
|
|
144
|
+
-H "X-Task-Id: ${TASK_ID}" \
|
|
145
|
+
-d '{
|
|
146
|
+
"id": "db-migration",
|
|
147
|
+
"name": "Database Migration",
|
|
148
|
+
"description": "Run and validate database migrations",
|
|
149
|
+
"body": "# Database Migration Skill\\n\\nGuide the user through...",
|
|
150
|
+
"allowed-tools": ["Bash", "Read", "Write"],
|
|
151
|
+
"assignToEnvironment": true
|
|
152
|
+
}'
|
|
182
153
|
```
|
|
183
|
-
User: "I keep doing the same database migration workflow. Can you create a skill for it?"
|
|
184
|
-
|
|
185
|
-
Agent: I'll help you create a new skill for database migrations. Based on the workflow we've been using, here's what I propose:
|
|
186
154
|
|
|
187
|
-
|
|
188
|
-
**Name:** Database Migration
|
|
189
|
-
**Description:** Run and validate database migrations with rollback support
|
|
190
|
-
|
|
191
|
-
**Instructions:**
|
|
192
|
-
```markdown
|
|
193
|
-
# Database Migration Skill
|
|
155
|
+
### Update Skill
|
|
194
156
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
...
|
|
157
|
+
```bash
|
|
158
|
+
curl -s -X PATCH "${CODERFLOW_SERVER_URL}/api/skill-management/skills/<skill-id>" \
|
|
159
|
+
-H "Content-Type: application/json" \
|
|
160
|
+
-H "X-Task-Id: ${TASK_ID}" \
|
|
161
|
+
-d '{
|
|
162
|
+
"description": "Updated description",
|
|
163
|
+
"body": "# Updated Skill\\n\\n..."
|
|
164
|
+
}'
|
|
202
165
|
```
|
|
203
166
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
User: "Yes, create it"
|
|
167
|
+
### Delete Skill (Current Environment)
|
|
207
168
|
|
|
208
|
-
|
|
209
|
-
|
|
169
|
+
```bash
|
|
170
|
+
curl -s -X DELETE "${CODERFLOW_SERVER_URL}/api/skill-management/skills/<skill-id>" \
|
|
171
|
+
-H "X-Task-Id: ${TASK_ID}"
|
|
210
172
|
```
|
|
211
173
|
|
|
212
|
-
|
|
174
|
+
### Force Delete Skill From All Environments
|
|
213
175
|
|
|
214
|
-
### List Editable Skills
|
|
215
176
|
```bash
|
|
216
|
-
curl -s "${CODERFLOW_SERVER_URL}/api/skill-management/skills" \
|
|
177
|
+
curl -s -X DELETE "${CODERFLOW_SERVER_URL}/api/skill-management/skills/<skill-id>?force=true" \
|
|
217
178
|
-H "X-Task-Id: ${TASK_ID}"
|
|
218
179
|
```
|
|
219
180
|
|
|
220
|
-
|
|
221
|
-
```json
|
|
222
|
-
{
|
|
223
|
-
"skills": [
|
|
224
|
-
{"id": "code-review", "name": "Code Review", "description": "...", "editable": true}
|
|
225
|
-
],
|
|
226
|
-
"environment": "my-environment"
|
|
227
|
-
}
|
|
228
|
-
```
|
|
181
|
+
### Unassign Skill Only (Keep Files)
|
|
229
182
|
|
|
230
|
-
### Get Skill Details
|
|
231
183
|
```bash
|
|
232
|
-
curl -s "${CODERFLOW_SERVER_URL}/api/skill-management/skills
|
|
184
|
+
curl -s -X DELETE "${CODERFLOW_SERVER_URL}/api/skill-management/skills/<skill-id>?mode=unassign" \
|
|
233
185
|
-H "X-Task-Id: ${TASK_ID}"
|
|
234
186
|
```
|
|
235
187
|
|
|
236
|
-
|
|
237
|
-
```json
|
|
238
|
-
{
|
|
239
|
-
"id": "code-review",
|
|
240
|
-
"name": "Code Review",
|
|
241
|
-
"description": "Performs code review with best practices",
|
|
242
|
-
"body": "# Code Review Skill\n\n...",
|
|
243
|
-
"allowed-tools": ["Read", "Grep", "Glob"],
|
|
244
|
-
"model": null,
|
|
245
|
-
"argument-hint": null,
|
|
246
|
-
"files": [{"name": "checklist.md", "type": "file"}],
|
|
247
|
-
"environment": "my-environment"
|
|
248
|
-
}
|
|
249
|
-
```
|
|
188
|
+
### Read Supporting File
|
|
250
189
|
|
|
251
|
-
### Update Skill
|
|
252
190
|
```bash
|
|
253
|
-
curl -s
|
|
254
|
-
-H "
|
|
255
|
-
-H "X-Task-Id: ${TASK_ID}" \
|
|
256
|
-
-d '{
|
|
257
|
-
"description": "Updated description",
|
|
258
|
-
"body": "# Updated Code Review Skill\n\n..."
|
|
259
|
-
}'
|
|
191
|
+
curl -s "${CODERFLOW_SERVER_URL}/api/skill-management/skills/<skill-id>/files/<path>" \
|
|
192
|
+
-H "X-Task-Id: ${TASK_ID}"
|
|
260
193
|
```
|
|
261
194
|
|
|
262
|
-
|
|
263
|
-
```json
|
|
264
|
-
{
|
|
265
|
-
"success": true,
|
|
266
|
-
"id": "code-review",
|
|
267
|
-
"environment": "my-environment",
|
|
268
|
-
"updatedAt": "2024-01-15T10:30:00Z"
|
|
269
|
-
}
|
|
270
|
-
```
|
|
195
|
+
### Write Supporting File
|
|
271
196
|
|
|
272
|
-
### Create Skill
|
|
273
197
|
```bash
|
|
274
|
-
curl -s -X
|
|
198
|
+
curl -s -X PUT "${CODERFLOW_SERVER_URL}/api/skill-management/skills/<skill-id>/files/<path>" \
|
|
275
199
|
-H "Content-Type: application/json" \
|
|
276
200
|
-H "X-Task-Id: ${TASK_ID}" \
|
|
277
201
|
-d '{
|
|
278
|
-
"
|
|
279
|
-
"name": "Database Migration",
|
|
280
|
-
"description": "Run and validate database migrations with rollback support",
|
|
281
|
-
"body": "# Database Migration Skill\n\nGuide the user through...",
|
|
282
|
-
"allowed-tools": ["Bash", "Read", "Write"],
|
|
283
|
-
"assignToEnvironment": true
|
|
202
|
+
"content": "# Examples\\n\\n..."
|
|
284
203
|
}'
|
|
285
204
|
```
|
|
286
205
|
|
|
287
|
-
|
|
288
|
-
```json
|
|
289
|
-
{
|
|
290
|
-
"success": true,
|
|
291
|
-
"id": "db-migration",
|
|
292
|
-
"environment": "my-environment",
|
|
293
|
-
"createdAt": "2024-01-15T10:30:00Z",
|
|
294
|
-
"createdByTaskId": "task-123",
|
|
295
|
-
"createdByUserId": "user-456",
|
|
296
|
-
"assigned": true
|
|
297
|
-
}
|
|
298
|
-
```
|
|
206
|
+
### Delete Supporting File Or Directory
|
|
299
207
|
|
|
300
|
-
### Read Supporting File
|
|
301
208
|
```bash
|
|
302
|
-
curl -s "${CODERFLOW_SERVER_URL}/api/skill-management/skills
|
|
209
|
+
curl -s -X DELETE "${CODERFLOW_SERVER_URL}/api/skill-management/skills/<skill-id>/files/<path>" \
|
|
303
210
|
-H "X-Task-Id: ${TASK_ID}"
|
|
304
211
|
```
|
|
305
212
|
|
|
306
|
-
### Update Supporting File
|
|
307
|
-
```bash
|
|
308
|
-
curl -s -X PUT "${CODERFLOW_SERVER_URL}/api/skill-management/skills/code-review/files/examples.md" \
|
|
309
|
-
-H "Content-Type: application/json" \
|
|
310
|
-
-H "X-Task-Id: ${TASK_ID}" \
|
|
311
|
-
-d '{
|
|
312
|
-
"content": "# Examples\n\n..."
|
|
313
|
-
}'
|
|
314
|
-
```
|
|
315
|
-
|
|
316
213
|
## Important Notes
|
|
317
214
|
|
|
318
|
-
1.
|
|
319
|
-
2.
|
|
320
|
-
3.
|
|
321
|
-
4.
|
|
322
|
-
5.
|
|
323
|
-
6. **Document Changes**: Update the description if the skill's purpose changes
|
|
324
|
-
7. **Supporting Files**: Skills may have supporting files that can also be edited
|
|
325
|
-
8. **Skill ID Format**: When creating skills, use lowercase alphanumeric characters with hyphens (e.g., `my-new-skill`)
|
|
326
|
-
9. **Auto-Assignment**: New skills are automatically assigned to the current environment by default (use `assignToEnvironment: false` to skip)
|
|
215
|
+
1. Preserve valid frontmatter when updating `SKILL.md`.
|
|
216
|
+
2. Prefer precise file paths for file operations (including nested paths).
|
|
217
|
+
3. `SKILL.md` updates must go through skill update endpoint, not file write endpoint.
|
|
218
|
+
4. Skill deletions can affect multiple environments when `force=true`; call this out before execution.
|
|
219
|
+
5. If skill assignment or visibility behavior changes, verify with a follow-up list/view call.
|