This comprehensive implementation includes: - FastAPI backend with MCP server integration - React/TypeScript frontend with Vite - PostgreSQL database with Redis caching - Grafana/Prometheus monitoring stack - Docker Compose orchestration - Full MCP protocol support for Claude Code integration Features: - Agent discovery and management across network - Visual workflow editor and execution engine - Real-time task coordination and monitoring - Multi-model support with specialized agents - Distributed development task allocation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
880 B
JavaScript
23 lines
880 B
JavaScript
import { getDefaultOptions } from "./Options.js";
|
|
export const getRefs = (options) => {
|
|
const _options = getDefaultOptions(options);
|
|
const currentPath = _options.name !== undefined
|
|
? [..._options.basePath, _options.definitionPath, _options.name]
|
|
: _options.basePath;
|
|
return {
|
|
..._options,
|
|
flags: { hasReferencedOpenAiAnyType: false },
|
|
currentPath: currentPath,
|
|
propertyPath: undefined,
|
|
seen: new Map(Object.entries(_options.definitions).map(([name, def]) => [
|
|
def._def,
|
|
{
|
|
def: def._def,
|
|
path: [..._options.basePath, _options.definitionPath, name],
|
|
// Resolution of references will be forced even though seen, so it's ok that the schema is undefined here for now.
|
|
jsonSchema: undefined,
|
|
},
|
|
])),
|
|
};
|
|
};
|