Skip to content

fix: list all workspaces by default#347

Open
omribz156 wants to merge 1 commit into
mondaycom:masterfrom
omribz156:codex/list-workspaces-all-unfiltered
Open

fix: list all workspaces by default#347
omribz156 wants to merge 1 commit into
mondaycom:masterfrom
omribz156:codex/list-workspaces-all-unfiltered

Conversation

@omribz156
Copy link
Copy Markdown

Fixes #305.

Summary

  • make unfiltered list_workspaces request all accessible workspaces instead of member-only workspaces
  • keep the existing member-first path for searches, with fallback to all workspaces when member results do not match
  • update the toolkit README wording and focused tests for the unfiltered path

Verification

  • yarn jest src/core/tools/platform-api-tools/list-workspace-tool/list-workspace-tool.test.ts --runInBand
  • npx eslint src/core/tools/platform-api-tools/list-workspace-tool/list-workspace-tool.ts src/core/tools/platform-api-tools/list-workspace-tool/list-workspace-tool.test.ts
  • yarn workspace @mondaydotcomorg/agent-toolkit build
  • git diff --check

The package build completed successfully. It still reports the existing circular-dependency and declaration-bundle warnings, but exits 0.

This was implemented with Codex assistance, with the final diff reviewed before posting.

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.

_list_workspaces returns incomplete results unless searchTerm is provided

1 participant