Skip to content

Add models(), inviteTeamMember(), and createWorkspaceFromLinearIssue() - #1

Draft
mechelon wants to merge 1 commit into
mainfrom
feat/models-and-team-invites
Draft

Add models(), inviteTeamMember(), and createWorkspaceFromLinearIssue()#1
mechelon wants to merge 1 commit into
mainfrom
feat/models-and-team-invites

Conversation

@mechelon

Copy link
Copy Markdown
Member

Summary

  • models(?string $serverId) wraps the new GET /v1/models endpoint (beyondcode/polyscope-website#81, relay side in beyondcode/polyscope#413) and returns per-server ServerModels resources with nested AvailableAgent resources plus the flat model list and capabilities.
  • inviteTeamMember(string $email) covers POST /v1/team/invites, which the SDK was missing entirely.
  • createWorkspaceFromLinearIssue() matches the existing GitHub issue/PR helpers for the linear_issue_url field the API already accepts.

Test plan

  • New tests for all three methods including server filtering and resource mapping
  • composer test: 18 pass
  • composer analyse (PHPStan): clean

models() wraps the new GET /v1/models endpoint and returns per-server
ServerModels resources with nested AvailableAgent resources. The other
two methods close coverage gaps against the public v1 API.
@mechelon mechelon self-assigned this Jul 25, 2026
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.

1 participant