Your team of AI agents, on your Mac, Windows or Linux. Agents that talk in channels, write code, review each other and use your tools, on the Claude Code, Codex, OpenCode or Pi you already have. Anything that touches the real world waits for your yes.
TypeScript agent-teamagentic-aiai-agentsai-assistantclaude-codecodexcursorelectrongrokgrok-bot-alternativelinuxlocal-firstmacosmcpmulti-agentopenclaw-alternativeopencodewindows
Finish the rename to Tucano
eduwxyz5e32f5c1a298
diff --git a/scripts/screens.mjs b/scripts/screens.mjsindex 729030b..bd19aef 100644--- a/scripts/screens.mjs+++ b/scripts/screens.mjs@@ -12,7 +12,7 @@ const out = process.argv.find((a, i) => i >= 2 && !a.startsWith('--')) ?? 'screeconst real = process.argv.includes('--real')mkdirSync(out, { recursive: true })-const data = mkdtempSync(join(tmpdir(), 'agent-desk-'))+const data = mkdtempSync(join(tmpdir(), 'tucano-'))for (const dir of [tmpdir(), '/tmp']) rmSync(join(dir, 'tucano-demo-tasks.json'), { force: true }) // the demo connector starts from its sample listconst app = await electron.launch({args: ['.'],@@ -195,6 +195,6 @@ console.log(errors.length ? `ERRORS:\n${errors.join('\n')}` : 'no console errorsconsole.log(`data: ${data}`)await app.close()// Computers made by this run go with it.-const prefix = `agentdesk-${createHash('sha1').update(data).digest('hex').slice(0, 6)}-`+const prefix = `tucano-${createHash('sha1').update(data).digest('hex').slice(0, 6)}-`const ids = execFileSync('docker', ['ps', '-aq', '--filter', `name=${prefix}`], { encoding: 'utf8' }).trim().split('\n').filter(Boolean)if (ids.length) execFileSync('docker', ['rm', '-f', ...ids], { stdio: 'ignore' })diff --git a/src/core/engines/codex.ts b/src/core/engines/codex.tsindex 431ac5a..73442da 100644--- a/src/core/engines/codex.ts+++ b/src/core/engines/codex.ts@@ -8,7 +8,7 @@ import type { Engine, EngineEvent, Turn } from './types'import { L } from '../../shared/lang'// Codex reads AGENTS.md, skills, plugins and memories from the user's home no-// matter which flags are passed, so agent-desk runs it with a home of its+// matter which flags are passed, so Tucano runs it with a home of its// own. The user logs into Codex once more, for the app, through Codex itself.export function codexEnv(home: string): NodeJS.ProcessEnv {return { ...process.env, HOME: home, CODEX_HOME: join(home, '.codex') }diff --git a/src/core/index.ts b/src/core/index.tsindex 7759f30..d8402df 100644--- a/src/core/index.ts+++ b/src/core/index.ts@@ -446,7 +446,7 @@ function settleDraft(messageId: string, agentId?: string): void {const api: Api = {- // The page loads from file://, which can't fetch agentdesk:// (CORS); text comes through the core instead.+ // The page loads from file://, which can't fetch tucano:// (CORS); text comes through the core instead.artifactText: ({ id }) => {const a = db.artifacts().find((x) => x.id === id)if (!a) return nulldiff --git a/src/core/mac.ts b/src/core/mac.tsindex d1a204a..df1fd04 100644--- a/src/core/mac.ts+++ b/src/core/mac.ts@@ -86,7 +86,7 @@ export function loginEnv(): Promise<NodeJS.ProcessEnv> {TMPDIR: process.env['TMPDIR'],PATH: '/usr/bin:/bin:/usr/sbin:/sbin'}- const marker = '__AGENTDESK_ENV__'+ const marker = '__TUCANO_ENV__'const child = spawn(base.SHELL!, ['-ilc', `printf '${marker}\\0'; env -0`], { env: base, stdio: ['ignore', 'pipe', 'ignore'] })let out = ''child.stdout.setEncoding('utf8').on('data', (d: string) => (out += d))diff --git a/src/preload/index.ts b/src/preload/index.tsindex 593f8ef..8adea53 100644--- a/src/preload/index.ts+++ b/src/preload/index.ts@@ -7,7 +7,7 @@ ipcRenderer.on('core:port', (event) => {window.postMessage('core:port', '*', event.ports)})-contextBridge.exposeInMainWorld('agentDesk', {+contextBridge.exposeInMainWorld('tucano', {connect: (): void => ipcRenderer.send('core:connect'),pickFolder: (): Promise<string | null> => ipcRenderer.invoke('pick-folder') as Promise<string | null>,// A click on a notification opens its conversation.diff --git a/src/renderer/src/rpc.ts b/src/renderer/src/rpc.tsindex 0a43fe2..c817bc1 100644--- a/src/renderer/src/rpc.ts+++ b/src/renderer/src/rpc.ts@@ -2,7 +2,7 @@ import type { CoreEvent, Method, Params, Request, Result, Wire } from '../../shadeclare global {interface Window {- agentDesk: { connect: () => void; pickFolder: () => Promise<string | null>; onNavigate: (cb: (conversationId: string) => void) => void; viewing: (conversationId: string | null) => void }+ tucano: { connect: () => void; pickFolder: () => Promise<string | null>; onNavigate: (cb: (conversationId: string) => void) => void; viewing: (conversationId: string | null) => void }}}@@ -29,7 +29,7 @@ export function connect(onEvent: (e: CoreEvent) => void): Promise<void> {resolve()}window.addEventListener('message', onMessage)- window.agentDesk.connect()+ window.tucano.connect()})}diff --git a/src/renderer/src/store.ts b/src/renderer/src/store.tsindex 17fa4b9..b3f8beb 100644--- a/src/renderer/src/store.ts+++ b/src/renderer/src/store.ts@@ -241,11 +241,11 @@ function apply(e: CoreEvent): void {}export async function start(): Promise<void> {- window.agentDesk.onNavigate((id) => navigate({ kind: 'conversation', id }))+ window.tucano.onNavigate((id) => navigate({ kind: 'conversation', id }))let viewing: string | null = nullsubscribe(() => {const id = state.view?.kind === 'conversation' ? state.view.id : null- if (id !== viewing) window.agentDesk.viewing((viewing = id))+ if (id !== viewing) window.tucano.viewing((viewing = id))})await connect(apply)const snap = await call('snapshot')@@ -450,7 +450,7 @@ export const dmWith = (agentId: string): Promise<string> => call('openDm', { age// Opens the Mac's folder picker; resolves with why it couldn't be lent, if so.export async function lendFolder(agentId: string): Promise<string | null> {- const path = await window.agentDesk.pickFolder()+ const path = await window.tucano.pickFolder()if (!path) return nulltry {await call('lendFolder', { agentId, path })