Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

232 B
Raw Blame
/** 判断值是否符合 plugin-server 当前使用的 Plugin 资源 ID 形状。 */
export function isValidPluginResourceId(value: unknown): value is string {
  return typeof value === 'string' && /^c[a-z0-9]{24}$/.test(value);
}