import { TrellisObject } from "./TrellisObject";
import { TrellisObjectStatus } from "./TrellisObjectStatus";
/**
* Checks if a TrellisObject is in an open state.
* An open object has any status except DONE or WONT_DO.
*
* @param obj - The TrellisObject to check
* @returns true if the object is open (not DONE or WONT_DO), false otherwise
*/
export function isOpen(obj: TrellisObject): boolean {
return (
obj.status !== TrellisObjectStatus.DONE &&
obj.status !== TrellisObjectStatus.WONT_DO
);
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/langadventurellc/task-trellis-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server