Skip to content

Commit b104890

Browse files
authored
Add static cloud settings that enable message telemetry (#211)
1 parent a7ae0a7 commit b104890

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/roomote/src/lib/runTask.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
RooCodeEventName,
1414
IpcMessageType,
1515
EVALS_SETTINGS,
16+
ORGANIZATION_DEFAULT,
1617
} from '@roo-code/types';
1718
import { IpcClient } from '@roo-code-cloud/ipc';
1819
import { createJobToken } from '@roo-code-cloud/job-auth';
@@ -108,6 +109,8 @@ export const runTask = async <T extends JobType>({
108109
);
109110

110111
envVars += ` ROO_CODE_CLOUD_TOKEN=${token}`;
112+
113+
envVars += ` ROO_CODE_CLOUD_ORG_SETTINGS=${Buffer.from(JSON.stringify(ORGANIZATION_DEFAULT)).toString('base64')}`;
111114
} catch (error) {
112115
logger?.error('Failed to create job token:', error);
113116
// Continue without token - job will fall back to no auth

0 commit comments

Comments
 (0)