@profoundlogic/coderflow-server 0.4.2 → 0.4.4
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/README.md +1 -1
- package/dist/README.md +1 -1
- package/dist/coder-server.js +1 -1
- package/dist/config.js +1 -1
- package/dist/lib/agent-keepalive.js +1 -1
- package/dist/lib/agent-models.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/config-migration.js +1 -1
- package/dist/lib/container-credential-sync.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-askpass.sh +16 -0
- 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/objective-context.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-format.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 +2 -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/scripts/migrate-config-to-data-dir.js +1 -1
- 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/docs/admin/git-providers.md +10 -5
- package/dist/web-ui/public/docs/admin/installation.md +1 -1
- package/dist/web-ui/public/environments.css +6 -0
- package/dist/web-ui/public/environments.html +20 -0
- package/dist/web-ui/public/environments.js +1 -1
- 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.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/pr-dialog.js +1 -1
- package/dist/web-ui/public/server-health.js +1 -1
- package/dist/web-ui/public/settings.html +22 -1
- 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 +6 -0
- package/dist/web-ui/public/skills.html +20 -0
- 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 +80 -0
- package/dist/web-ui/public/task.html +32 -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 +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x599850=_0x26bb;(function(_0x3644cb,_0x4abdee){const _0x14dd61=_0x26bb,_0x36fe18=_0x3644cb();while(!![]){try{const _0x874144=-parseInt(_0x14dd61(0x171))/0x1+parseInt(_0x14dd61(0x17c))/0x2*(parseInt(_0x14dd61(0x176))/0x3)+-parseInt(_0x14dd61(0x16d))/0x4+parseInt(_0x14dd61(0x163))/0x5+parseInt(_0x14dd61(0x17a))/0x6*(-parseInt(_0x14dd61(0x170))/0x7)+-parseInt(_0x14dd61(0x174))/0x8+parseInt(_0x14dd61(0x175))/0x9;if(_0x874144===_0x4abdee)break;else _0x36fe18['push'](_0x36fe18['shift']());}catch(_0x4a076c){_0x36fe18['push'](_0x36fe18['shift']());}}}(_0x3f8f,0x4893d));import{initTheme,mountThemeToggle}from'./theme.js';initTheme();const urlParams=new URLSearchParams(window[_0x599850(0x16a)][_0x599850(0x159)]),token=urlParams[_0x599850(0x14a)]('token'),loadingEl=document[_0x599850(0x15d)](_0x599850(0x179)),setupContentEl=document[_0x599850(0x15d)]('setup-content'),setupFormEl=document[_0x599850(0x15d)]('setup-form'),setupMessageEl=document['getElementById'](_0x599850(0x153)),userUsernameEl=document[_0x599850(0x15d)]('user-username'),userNameEl=document['getElementById'](_0x599850(0x160)),passwordInput=document[_0x599850(0x15d)](_0x599850(0x156)),confirmPasswordInput=document[_0x599850(0x15d)](_0x599850(0x14e)),submitButton=setupFormEl?.['querySelector'](_0x599850(0x15b));function showMessage(_0x9e5cf9,_0x2380a3=_0x599850(0x180)){const _0x2c6539=_0x599850;setupMessageEl[_0x2c6539(0x17f)]=_0x9e5cf9,setupMessageEl[_0x2c6539(0x157)]=_0x2c6539(0x151)+_0x2380a3+_0x2c6539(0x16b);}function hideMessage(){const _0x485f8b=_0x599850;setupMessageEl[_0x485f8b(0x157)]=_0x485f8b(0x153);}function showError(_0x412904){const _0x7b4670=_0x599850;loadingEl[_0x7b4670(0x149)]['remove'](_0x7b4670(0x165)),setupContentEl['style']['display']=_0x7b4670(0x15e),document[_0x7b4670(0x15d)]('user-info')[_0x7b4670(0x161)][_0x7b4670(0x17b)]=_0x7b4670(0x15a),setupFormEl[_0x7b4670(0x161)][_0x7b4670(0x17b)]=_0x7b4670(0x15a),showMessage(_0x412904,_0x7b4670(0x180));}async function validateToken(){const _0x2dd7c1=_0x599850;if(!token){showError(_0x2dd7c1(0x16e));return;}try{const _0x2efc1f=await fetch('/password/validate-token?token='+encodeURIComponent(token)),_0xd4d691=await _0x2efc1f[_0x2dd7c1(0x177)]();if(!_0xd4d691[_0x2dd7c1(0x182)]){showError(_0xd4d691['error']||'Invalid\x20or\x20expired\x20token.\x20Please\x20request\x20a\x20new\x20password\x20setup\x20link.');return;}loadingEl[_0x2dd7c1(0x149)]['remove'](_0x2dd7c1(0x165)),setupContentEl[_0x2dd7c1(0x161)]['display']=_0x2dd7c1(0x15e),userUsernameEl[_0x2dd7c1(0x17f)]=_0xd4d691[_0x2dd7c1(0x17e)]['username'],userNameEl[_0x2dd7c1(0x17f)]=_0xd4d691[_0x2dd7c1(0x17e)][_0x2dd7c1(0x14c)];const _0xc32d0=document[_0x2dd7c1(0x155)](_0x2dd7c1(0x164));_0xd4d691[_0x2dd7c1(0x167)]===_0x2dd7c1(0x15f)?_0xc32d0[_0x2dd7c1(0x17f)]=_0x2dd7c1(0x169):_0xc32d0['textContent']=_0x2dd7c1(0x168),passwordInput[_0x2dd7c1(0x147)]();}catch(_0x133251){console[_0x2dd7c1(0x180)]('Failed\x20to\x20validate\x20token:',_0x133251),showError(_0x2dd7c1(0x14d));}}async function handleSubmit(_0x27cf3b){const _0x2cc6ac=_0x599850;_0x27cf3b[_0x2cc6ac(0x14f)](),hideMessage();const _0x1209cc=passwordInput[_0x2cc6ac(0x172)],_0x37be5b=confirmPasswordInput[_0x2cc6ac(0x172)];if(_0x1209cc!==_0x37be5b){showMessage('Passwords\x20do\x20not\x20match','error'),confirmPasswordInput[_0x2cc6ac(0x147)]();return;}if(_0x1209cc[_0x2cc6ac(0x173)]<0x8){showMessage('Password\x20must\x20be\x20at\x20least\x208\x20characters\x20long',_0x2cc6ac(0x180)),passwordInput['focus']();return;}submitButton[_0x2cc6ac(0x16c)]=!![],submitButton['textContent']=_0x2cc6ac(0x158);try{const _0xfef1f3=await fetch(_0x2cc6ac(0x154),{'method':_0x2cc6ac(0x17d),'headers':{'Content-Type':_0x2cc6ac(0x166)},'body':JSON[_0x2cc6ac(0x150)]({'token':token,'password':_0x1209cc})}),_0x10a11e=await _0xfef1f3[_0x2cc6ac(0x177)]();if(!_0xfef1f3['ok'])throw new Error(_0x10a11e[_0x2cc6ac(0x180)]||_0x2cc6ac(0x181));showMessage(_0x2cc6ac(0x14b),'success'),setupFormEl[_0x2cc6ac(0x15f)](),setTimeout(()=>{const _0x49ec7c=_0x2cc6ac;window['location']['href']=_0x49ec7c(0x152);},0x7d0);}catch(_0x2f9035){console[_0x2cc6ac(0x180)](_0x2cc6ac(0x183),_0x2f9035),showMessage(_0x2f9035['message']||_0x2cc6ac(0x148),_0x2cc6ac(0x180)),submitButton['disabled']=![],submitButton['textContent']=_0x2cc6ac(0x178);}}setupFormEl&&setupFormEl[_0x599850(0x16f)](_0x599850(0x15c),handleSubmit);function _0x26bb(_0x3aa055,_0x51b479){_0x3aa055=_0x3aa055-0x147;const _0x3f8f88=_0x3f8f();let _0x26bbb1=_0x3f8f88[_0x3aa055];if(_0x26bb['JghaAL']===undefined){var _0x164540=function(_0x6642e7){const _0x2d2dd6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x9e5cf9='',_0x2380a3='';for(let _0x412904=0x0,_0x2efc1f,_0xd4d691,_0xc32d0=0x0;_0xd4d691=_0x6642e7['charAt'](_0xc32d0++);~_0xd4d691&&(_0x2efc1f=_0x412904%0x4?_0x2efc1f*0x40+_0xd4d691:_0xd4d691,_0x412904++%0x4)?_0x9e5cf9+=String['fromCharCode'](0xff&_0x2efc1f>>(-0x2*_0x412904&0x6)):0x0){_0xd4d691=_0x2d2dd6['indexOf'](_0xd4d691);}for(let _0x133251=0x0,_0x27cf3b=_0x9e5cf9['length'];_0x133251<_0x27cf3b;_0x133251++){_0x2380a3+='%'+('00'+_0x9e5cf9['charCodeAt'](_0x133251)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2380a3);};_0x26bb['PZLHiD']=_0x164540,_0x26bb['fuiNzZ']={},_0x26bb['JghaAL']=!![];}const _0x199238=_0x3f8f88[0x0],_0x1c78c4=_0x3aa055+_0x199238,_0x507fd5=_0x26bb['fuiNzZ'][_0x1c78c4];return!_0x507fd5?(_0x26bbb1=_0x26bb['PZLHiD'](_0x26bbb1),_0x26bb['fuiNzZ'][_0x1c78c4]=_0x26bbb1):_0x26bbb1=_0x507fd5,_0x26bbb1;}function _0x3f8f(){const _0x22b12c=['rMfPBgvKihrVihzHBgLKyxrLihrVA2vUlIbqBgvHC2uGDhj5igfNywLUig9YignVBNrHy3qGEw91CIbHzg1PBMLZDhjHDg9YlG','y29UzMLYBs1WyxnZD29Yza','ChjLDMvUDerLzMf1Bhq','C3rYAw5NAwz5','C2v0DxaTBwvZC2fNzsa','l2XVz2LUlMH0BwW','C2v0DxaTBwvZC2fNzq','l3bHC3n3B3jKl3nLDhvW','CxvLCNLtzwXLy3rVCG','CgfZC3DVCMq','y2XHC3noyw1L','u2v0DgLUzYbWyxnZD29Yzc4UlG','C2vHCMnO','BM9Uzq','yNv0Dg9Uw3r5Cgu9iNn1yM1PDcjD','C3vIBwL0','z2v0rwXLBwvUDej5swq','yMXVy2S','CMvZzxq','DxnLCI1Uyw1L','C3r5Bgu','re9nq29UDgvUDeXVywrLza','ntC3odu1y2jNr2L6','lNnLDhvWlwHLywrLCIbW','DMLZAwjSzq','yxbWBgLJyxrPB24VANnVBG','DhLWzq','q3jLyxrLigeGC2vJDxjLihbHC3n3B3jKigzVCIb5B3vYigfJy291BNq','uMvZzxqGEw91CIbWyxnZD29Yza','Bg9JyxrPB24','ihzPC2LIBgu','zgLZywjSzwq','odG0odC2u2zevKHW','tM8GDg9Rzw4GChjVDMLKzwqUifbSzwfZzsbJAgvJAYb0AguGBgLUAYb5B3uGCMvJzwL2zwqU','ywrKrxzLBNrmAxn0zw5LCG','mtrRsujtyuu','nda5mtGZzxv2qMve','DMfSDwu','BgvUz3rO','mJm5odG0ohHbBuzqBa','odK1otK3n2vRyKz3sG','m1HHEgjoqG','ANnVBG','u2v0ifbHC3n3B3jK','Bg9HzgLUzW','odmWmJK4v2TLzMvI','zgLZCgXHEq','nZG2mZu0vhzhwNzV','ue9tva','DxnLCG','Dgv4DenVBNrLBNq','zxjYB3i','rMfPBgvKihrVihnLDcbWyxnZD29Yza','DMfSAwq','rMfPBgvKihrVihnLDcbWyxnZD29YzdO','zM9JDxm','rMfPBgvKihrVihnLDcbWyxnZD29Yzc4GugXLyxnLihrYEsbHz2fPBI4','y2XHC3nmAxn0','z2v0','ugfZC3DVCMqGC2v0ihn1y2nLC3nMDwXSEseGuMvKAxjLy3rPBMCGDg8GBg9NAw4UlI4','BMfTzq'];_0x3f8f=function(){return _0x22b12c;};return _0x3f8f();}validateToken(),document[_0x599850(0x16f)](_0x599850(0x162),()=>{mountThemeToggle();});
|
|
@@ -768,6 +768,12 @@
|
|
|
768
768
|
color: #0f766e;
|
|
769
769
|
}
|
|
770
770
|
|
|
771
|
+
.repo-auth-mode-badge.auth-user {
|
|
772
|
+
background: rgba(59, 130, 246, 0.12);
|
|
773
|
+
border-color: rgba(59, 130, 246, 0.35);
|
|
774
|
+
color: #1d4ed8;
|
|
775
|
+
}
|
|
776
|
+
|
|
771
777
|
/* ============================================================
|
|
772
778
|
EMPTY STATE
|
|
773
779
|
============================================================ */
|
|
@@ -835,5 +835,25 @@
|
|
|
835
835
|
</div>
|
|
836
836
|
</div>
|
|
837
837
|
</div>
|
|
838
|
+
|
|
839
|
+
<!-- Git Connections Required Modal -->
|
|
840
|
+
<div id="git-connections-required-modal" class="modal" hidden>
|
|
841
|
+
<div class="modal-overlay"></div>
|
|
842
|
+
<div class="modal-content">
|
|
843
|
+
<div class="modal-header">
|
|
844
|
+
<h2 id="git-connections-title">Git Connection Required</h2>
|
|
845
|
+
<button type="button" class="modal-close" aria-label="Close">×</button>
|
|
846
|
+
</div>
|
|
847
|
+
<div class="modal-body">
|
|
848
|
+
<p class="git-connections-intro">Connect your account to the following Git provider to continue:</p>
|
|
849
|
+
<div id="git-connections-required-list" class="git-connections-required-list">
|
|
850
|
+
<!-- Provider cards will be populated here -->
|
|
851
|
+
</div>
|
|
852
|
+
</div>
|
|
853
|
+
<div class="modal-actions">
|
|
854
|
+
<button type="button" class="btn-secondary" id="git-connections-close-btn">Cancel</button>
|
|
855
|
+
</div>
|
|
856
|
+
</div>
|
|
857
|
+
</div>
|
|
838
858
|
</body>
|
|
839
859
|
</html>
|