decocms
Version:
Deco CMS — Self-hostable MCP Gateway for managing AI connections and tools
2 lines (1 loc) • 309 B
JavaScript
const i={githubNotAuthenticated:"GITHUB_NOT_AUTHENTICATED",githubConnectionMissing:"GITHUB_CONNECTION_MISSING"},c="::";function o(e){const n=e.indexOf(c);if(n>0){const s=e.slice(0,n);if(Object.values(i).includes(s))return{code:s,message:e.slice(n+c.length)}}return{code:null,message:e}}export{i as S,o as d};