Add web runtime client support

This commit is contained in:
Jinwoo Hong
2026-05-15 05:44:25 -04:00
committed by GitHub
parent b030257c3b
commit 618f39d179
54 changed files with 4039 additions and 334 deletions
+10
View File
@@ -142,6 +142,11 @@ const ProjectViewTable = z.object({
queryOverride: OptionalString
})
const ProjectWorkItemDetailsBySlug = SlugRepo.extend({
number: z.number().int().positive(),
type: z.enum(['issue', 'pr'])
})
const ProjectRef = z.object({
input: requiredString('Missing project reference')
})
@@ -399,6 +404,11 @@ export const GITHUB_METHODS: RpcMethod[] = [
params: ProjectViewTable,
handler: async (params, { runtime }) => runtime.getGitHubProjectViewTable(params)
}),
defineMethod({
name: 'github.project.workItemDetailsBySlug',
params: ProjectWorkItemDetailsBySlug,
handler: async (params, { runtime }) => runtime.getGitHubProjectWorkItemDetailsBySlug(params)
}),
defineMethod({
name: 'github.project.updateItemField',
params: ProjectItemField,