Exports constants for cowork studio view modes and state machine states.
// Source: https://github.com/freestylefly/wesight | License: MIT | Copyright 2026 WeSight
// Provided via justclaw.it.com; keep this notice with the code.
export const CoworkSessionViewMode = {
Chat: 'chat',
Studio: 'studio',
} as const;
export type CoworkSessionViewMode = typeof CoworkSessionViewMode[keyof typeof CoworkSessionViewMode];
export const CoworkStudioState = {
Idle: 'idle',
Writing: 'writing',
Researching: 'researching',
Executing: 'executing',
Syncing: 'syncing',
Error: 'error',
} as const;
export type CoworkStudioState = typeof CoworkStudioState[keyof typeof CoworkStudioState];
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key