MCPcopy Index your code
hub / github.com/anomalyco/opencode / useIssueId

Function useIssueId

github/index.ts:360–363  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

358}
359
360function useIssueId() {
361 const payload = useContext().payload as IssueCommentEvent
362 return payload.issue.number
363}
364
365function useShareUrl() {
366 return isMock() ? "https://dev.opencode.ai" : "https://opencode.ai"

Callers 5

index.tsFile · 0.85
createCommentFunction · 0.85
generateBranchNameFunction · 0.85
fetchIssueFunction · 0.85
fetchPRFunction · 0.85

Calls 1

useContextFunction · 0.85

Tested by

no test coverage detected