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

Function createComment

github/index.ts:403–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

401}
402
403async function createComment() {
404 const { repo } = useContext()
405 console.log("Creating comment...")
406 return await octoRest.rest.issues.createComment({
407 owner: repo.owner,
408 repo: repo.repo,
409 issue_number: useIssueId(),
410 body: `[Working...](${useEnvRunUrl()})`,
411 })
412}
413
414async function getUserPrompt() {
415 const context = useContext()

Callers 1

index.tsFile · 0.70

Calls 4

useContextFunction · 0.85
useIssueIdFunction · 0.85
useEnvRunUrlFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected