Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.
Python agent-orchestrationaiai-agentschatopsdiscordlangchainmcpmicrosoft-teamsmulti-agentopen-sourceopenaiself-hostedslack
spike(console): canary shares stable's data and gets its own icon (#598)
Louis Amaudruz3b6b3dfc15c3
diff --git a/console/apps/switch-console-desktop/src/assets/images/switch-console/app-icon-canary.png b/console/apps/switch-console-desktop/src/assets/images/switch-console/app-icon-canary.pngindex b0053b722..6e73573f8 100644Binary files a/console/apps/switch-console-desktop/src/assets/images/switch-console/app-icon-canary.png and b/console/apps/switch-console-desktop/src/assets/images/switch-console/app-icon-canary.png differdiff --git a/console/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-canary.icns b/console/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-canary.icnsindex fb0d12333..5c31b4285 100644Binary files a/console/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-canary.icns and b/console/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-canary.icns differdiff --git a/console/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-canary.svg b/console/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-canary.svgnew file mode 100644index 000000000..31476555b--- /dev/null+++ b/console/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-canary.svg@@ -0,0 +1,33 @@+<svg width="1024" height="1024" viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M272 7.5H752C898.079 7.5 1016.5 125.921 1016.5 272V752C1016.5 898.079 898.079 1016.5 752 1016.5H272C125.921 1016.5 7.5 898.079 7.5 752V272C7.5 125.921 125.921 7.5 272 7.5Z" fill="url(#paint0_linear_4346_284)"/>+<path d="M272 7.5H752C898.079 7.5 1016.5 125.921 1016.5 272V752C1016.5 898.079 898.079 1016.5 752 1016.5H272C125.921 1016.5 7.5 898.079 7.5 752V272C7.5 125.921 125.921 7.5 272 7.5Z" stroke="url(#paint1_linear_4346_284)" stroke-width="15"/>+<g filter="url(#filter0_i_4346_284)">+<path d="M352.807 600.74C367.793 600.74 379.942 612.889 379.942 627.875V670.086C379.942 685.072 367.793 697.221 352.807 697.221C337.821 697.221 325.672 685.072 325.672 670.086V627.875C325.672 612.889 337.821 600.74 352.807 600.74Z" fill="#423F3E"/>+<path d="M461.348 600.74C476.334 600.74 488.483 612.889 488.483 627.875V670.086C488.483 685.072 476.334 697.221 461.348 697.221C446.362 697.221 434.213 685.072 434.213 670.086V627.875C434.213 612.889 446.362 600.74 461.348 600.74Z" fill="#423F3E"/>+<path d="M562.687 326.702C577.674 326.702 589.822 338.851 589.822 353.838V396.048C589.822 411.034 577.674 423.183 562.687 423.183C547.701 423.183 535.552 411.034 535.552 396.048V353.838C535.552 338.851 547.701 326.702 562.687 326.702Z" fill="#423F3E"/>+<path d="M671.228 326.702C686.215 326.702 698.364 338.851 698.364 353.838V396.048C698.364 411.034 686.215 423.183 671.228 423.183C656.242 423.183 644.093 411.034 644.093 396.048V353.838C644.093 338.851 656.242 326.702 671.228 326.702Z" fill="#423F3E"/>+<path fill-rule="evenodd" clip-rule="evenodd" d="M746.639 205C786.603 205 819 237.397 819 277.361V652.585C819 671.776 811.377 690.181 797.806 703.752L703.752 797.806C690.181 811.377 671.776 819 652.585 819H277.361C237.397 819 205 786.603 205 746.639V371.415C205 352.224 212.623 333.819 226.194 320.248L320.248 226.194C333.819 212.623 352.224 205 371.415 205H746.639ZM301.481 545.168C284.829 545.168 271.331 558.667 271.331 575.319V716.489C271.331 736.471 287.529 752.669 307.511 752.669H625.108C644.299 752.669 662.705 745.046 676.275 731.476L731.476 676.275C745.046 662.705 752.669 644.299 752.669 625.108V575.319C752.669 558.667 739.171 545.168 722.519 545.168H301.481ZM398.892 271.331C379.701 271.331 361.295 278.954 347.725 292.524L292.524 347.725C278.954 361.295 271.331 379.701 271.331 398.892V448.687C271.331 465.339 284.829 478.838 301.481 478.838H722.519C739.171 478.838 752.669 465.339 752.669 448.687V307.511C752.669 287.529 736.471 271.331 716.489 271.331H398.892Z" fill="#423F3E"/>+</g>+<defs>+<filter id="filter0_i_4346_284" x="205" y="205" width="614" height="618" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">+<feFlood flood-opacity="0" result="BackgroundImageFix"/>+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feOffset dy="4"/>+<feGaussianBlur stdDeviation="22"/>+<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.7 0"/>+<feBlend mode="normal" in2="shape" result="effect1_innerShadow_4346_284"/>+</filter>+<linearGradient id="paint0_linear_4346_284" x1="512" y1="0" x2="512" y2="1024" gradientUnits="userSpaceOnUse">+<stop stop-color="#F3D17E"/>+<stop offset="1" stop-color="#CCCAA9"/>+</linearGradient>+<linearGradient id="paint1_linear_4346_284" x1="-5.71794e-06" y1="70.0694" x2="1024" y2="1024" gradientUnits="userSpaceOnUse">+<stop stop-color="white" stop-opacity="0.5"/>+<stop offset="0.360577" stop-color="white" stop-opacity="0.1"/>+<stop offset="0.701923" stop-color="white" stop-opacity="0.1"/>+<stop offset="0.932692" stop-color="white" stop-opacity="0.4"/>+</linearGradient>+</defs>+</svg>diff --git a/console/apps/switch-console-desktop/src/shared/app-identity.ts b/console/apps/switch-console-desktop/src/shared/app-identity.tsindex 5b5309039..a21619829 100644--- a/console/apps/switch-console-desktop/src/shared/app-identity.ts+++ b/console/apps/switch-console-desktop/src/shared/app-identity.ts@@ -24,15 +24,17 @@ const isCanary = env?.VITE_BUILD === 'canary';// cost is paid once, at the release that changes them: Linux package managers// see `switch-console` as a new package rather than an upgrade of// `switchdash`, so the old one has to be removed by hand.+//+// Canary is a separate install (its own APP_ID and PRODUCT_NAME) that shares+// stable's data on purpose: same database, same agents, same keychain key, same+// managed local server. That is why OS_APP_NAME and USER_DATA_DIR_NAME do not+// branch on the channel — giving canary its own would start it empty and leave+// it unable to decrypt the sign-ins stable saved.export const APP_ID = isCanary ? 'com.switchdash.canary' : 'com.switchdash.stable';export const PRODUCT_NAME = isCanary ? 'Switch Console Canary' : 'Switch Console';-export const OS_APP_NAME = isCanary ? 'Switchdash Canary' : 'Switchdash';+export const OS_APP_NAME = 'Switchdash';export const APP_NAME_LOWER = isCanary ? 'switch-console-canary' : 'switch-console';-export const USER_DATA_DIR_NAME = isDev- ? 'switchdash-dev'- : isCanary- ? 'switchdash-canary'- : 'switchdash';+export const USER_DATA_DIR_NAME = isDev ? 'switchdash-dev' : 'switchdash';export const UPDATE_CHANNEL = isCanary ? 'v1-canary' : 'v1-stable';export const ARTIFACT_PREFIX = isCanary ? 'switch-console-canary' : 'switch-console';export const IS_CANARY = isCanary;