Publish Claude Code Binaries / Stage and publish binaries (push) Canceled after 0s
Publish Tutti App Runtime / Build darwin-arm64 (push) Canceled after 0s
Publish Tutti App Runtime / Build darwin-amd64 (push) Canceled after 0s
Publish Tutti App Runtime / Build linux-amd64 (push) Canceled after 0s
Publish Tutti App Runtime / Build windows-amd64 (push) Canceled after 0s
Sync Tutti Agent Skills / sync (push) Canceled after 0s
Windows Agent Adapters / Test Windows agent adapters (push) Canceled after 0s
Windows Daemon Adapters / Test Windows daemon adapters (push) Canceled after 0s
Publish Tutti App Runtime / Publish runtime catalog (push) Canceled after 0s
25 lines
740 B
TypeScript
25 lines
740 B
TypeScript
import type { AgentGUIRuntime } from "../../../agentActivityRuntime";
|
|
|
|
export interface AgentGUIProjectChangeMetadata {
|
|
action: "clear" | "create_new" | "import_directory" | "select_existing";
|
|
}
|
|
|
|
export function trackAgentGUISettingsProjectChange(input: {
|
|
agentActivityRuntime: AgentGUIRuntime;
|
|
agentSessionId: string | null;
|
|
metadata?: AgentGUIProjectChangeMetadata;
|
|
provider?: string | null;
|
|
workspaceId: string;
|
|
}): void {
|
|
if (!input.metadata) {
|
|
return;
|
|
}
|
|
const tracking = input.agentActivityRuntime.trackSettingsProjectChange?.({
|
|
action: input.metadata.action,
|
|
agentSessionId: input.agentSessionId,
|
|
provider: input.provider,
|
|
workspaceId: input.workspaceId
|
|
});
|
|
void tracking?.catch(() => {});
|
|
}
|