Skip to content

Conversation

@evalstate
Copy link
Collaborator

When DYNAMIC_SPACE_DATA environment variable is set to a URL, the tool fetches a CSV list of spaces and replaces the "find" operation with "discover". This allows for curated space lists with simpler prompts.

  • Add discover.ts command to fetch and parse CSV from URL
  • Add dynamic schema and operation switching in types.ts
  • Update space-tool.ts with conditional tool config and prompts
  • Keep prompts easily editable in dedicated constants

When DYNAMIC_SPACE_DATA environment variable is set to a URL,
the tool fetches a CSV list of spaces and replaces the "find"
operation with "discover". This allows for curated space lists
with simpler prompts.

- Add discover.ts command to fetch and parse CSV from URL
- Add dynamic schema and operation switching in types.ts
- Update space-tool.ts with conditional tool config and prompts
- Keep prompts easily editable in dedicated constants
@evalstate evalstate changed the title Document repository guidelines and structure New, simpler non-search discover tool Nov 21, 2025
claude and others added 4 commits November 21, 2025 10:42
- Update mcp-server.ts to use getDynamicSpaceToolConfig()
- Use z.ZodObject<z.ZodRawShape> return type for type compatibility
- Remove unused DYNAMIC_SPACE_TOOL_CONFIG import
@evalstate evalstate merged commit ef347a7 into main Nov 21, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants