github.handler.ts · part 1
Full reference60 text occurrences from packages/opencode/src/cli/cmd/github.handler.ts, part 1. Every entry preserves the shipped literal and its saved verdict or selection reason.
File contents and all parts · All files
Shipped text
InstanceRef not provided
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 3860–3886, SHA-256 af90218a16a0b7e1.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: InstanceRef not provided
InstanceRef not provided
Install GitHub agent
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 4073–4095, SHA-256 5e2ee68fdf0ec56b.
Jev judged not model-facing (confidence 0.07; role human). This is a classifier judgment, not proof of delivery.
Readable text: Install GitHub agent
Install GitHub agent
Configure OIDC in AWS - https://docs.github.com/en/actions/how-tos/security-for-
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 4675–4857, SHA-256 923ac5cafcd4ba14.
Jev judged not model-facing (confidence 0.11; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Configure OIDC in AWS - https://docs.github.com/en/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services
Configure OIDC in AWS - https://docs.github.com/en/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services
2. Add the following secrets in org or repo (${app.owner}/${app.repo}) settings
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 4907–4992, SHA-256 5f4da72784ab11d9.
Jev judged not model-facing (confidence 0.05; role human). This is a classifier judgment, not proof of delivery.
Readable text: 2. Add the following secrets in org or repo (${app.owner}/${app.repo}) settings
2. Add the following secrets in org or repo (${app.owner}/${app.repo}) settings
Next steps:
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 5159–5172, SHA-256 671bc0eb5716c2a1.
Jev judged not model-facing (confidence 0.06; role human). This is a classifier judgment, not proof of delivery.
Readable text: Next steps:
Next steps:
1. Commit the ${WORKFLOW FILE} file and push
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 5202–5256, SHA-256 c0e7f2cf6a628c09.
Jev judged not model-facing (confidence 0.07; role human). This is a classifier judgment, not proof of delivery.
Readable text: 1. Commit the \'${WORKFLOW_FILE}\' file and push
1. Commit the \`${WORKFLOW_FILE}\` file and push
3. Go to a GitHub issue and comment /oc summarize to see the agent in action
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 5305–5389, SHA-256 40131a4c4b9ff808.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: 3. Go to a GitHub issue and comment '/oc summarize' to see the agent in action
3. Go to a GitHub issue and comment `/oc summarize` to see the agent in action
Learn more about the GitHub agent - https://opencode.ai/docs/github/ usage-examp
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 5419–5507, SHA-256 7f29a3f6f072f36a.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Learn more about the GitHub agent - https://opencode.ai/docs/github/\#usage-examples
Learn more about the GitHub agent - https://opencode.ai/docs/github/#usage-examples
Could not find git repository. Please run this command from a git repository.
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 5689–5768, SHA-256 14b6720409254a47.
Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.
Readable text: Could not find git repository. Please run this command from a git repository.
Could not find git repository. Please run this command from a git repository.
Could not find git repository. Please run this command from a git repository. · character 6107
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 6107–6186, SHA-256 14b6720409254a47.
Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.
Readable text: Could not find git repository. Please run this command from a git repository.
Could not find git repository. Please run this command from a git repository.
Select provider
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 6580–6597, SHA-256 74f1e315abaf8cc9.
Jev judged not model-facing (confidence 0.07; role human). This is a classifier judgment, not proof of delivery.
Readable text: Select provider
Select provider
Select model
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 7257–7271, SHA-256 6edb8a380cad939b.
Jev judged not model-facing (confidence 0.06; role human). This is a classifier judgment, not proof of delivery.
Readable text: Select model
Select model
Installing GitHub app
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 7742–7765, SHA-256 fe6e1eea7cebd4d3.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Installing GitHub app
Installing GitHub app
GitHub app already installed
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 7889–7919, SHA-256 444d00659acb1c6c.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: GitHub app already installed
GitHub app already installed
open "${url}"
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 8085–8100, SHA-256 36c4654871a5863e.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: open "${url}"
open "${url}"
start "" "${url}"
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 8160–8179, SHA-256 0ac7d884764e51ba.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: start "" "${url}"
start "" "${url}"
xdg-open "${url}"
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 8196–8215, SHA-256 5ef3d129010f56ec.
Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: xdg-open "${url}"
xdg-open "${url}"
Could not open browser. Please visit: ${url}
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 8304–8350, SHA-256 461bfa546758c591.
Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.
Readable text: Could not open browser. Please visit: ${url}
Could not open browser. Please visit: ${url}
Waiting for GitHub app to be installed
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 8427–8467, SHA-256 79fd014e2c7178ce.
Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.
Readable text: Waiting for GitHub app to be installed
Waiting for GitHub app to be installed
Failed to detect GitHub app installation. Make sure to install the app for the
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 8701–8822, SHA-256 d943ed0620ca518f.
Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.
Readable text: Failed to detect GitHub app installation. Make sure to install the app for the \'${app.owner}/${app.repo}\' repository.
Failed to detect GitHub app installation. Make sure to install the app for the \`${app.owner}/${app.repo}\` repository.
Installed GitHub app
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 9025–9047, SHA-256 077715f25bc70c29.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Installed GitHub app
Installed GitHub app
n env:${providers provider .env.map((e) = n ${e}: ${{ secrets.${e} }} ).joi
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 9454–9558, SHA-256 93a2376e5406d684.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: \n env:${providers[provider].env.map((e) => '\n ${e}: \${{ secrets.${e} }}').join("")}
\n env:${providers[provider].env.map((e) => `\n ${e}: \${{ secrets.${e} }}`).join("")}
name: opencode on: issue comment: types: created pull request review comment:
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 9648–10409, SHA-256 d650320a08057c5d.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: name: opencode on: issue_comment: types: [created] pull_request_review_comment: types: [created] jobs: opencode: if: | contains(github.event.comment.body, ' /oc') || startsWith(github.event.comment.body, '/oc…
name: opencode
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
jobs:
opencode:
if: |
contains(github.event.comment.body, ' /oc') ||
startsWith(github.event.comment.body, '/oc') ||
contains(github.event.comment.body, ' /opencode') ||
startsWith(github.event.comment.body, '/opencode')
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
pull-requests: read
issues: read
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run opencode
uses: anomalyco/opencode/github@latest${envStr}
with:
model: ${provider}/${model}
Added workflow file: "${WORKFLOW FILE}"
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 10450–10491, SHA-256 2c50db45a68704f7.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Added workflow file: "${WORKFLOW_FILE}"
Added workflow file: "${WORKFLOW_FILE}"
InstanceRef not provided · character 10694
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 10694–10720, SHA-256 af90218a16a0b7e1.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: InstanceRef not provided
InstanceRef not provided
Unsupported event type: ${context.eventName}
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 11373–11419, SHA-256 dc0c3a2804653ffe.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unsupported event type: ${context.eventName}
Unsupported event type: ${context.eventName}
VARIANT
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 12163–12172, SHA-256 41f881a91e7337e9.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: VARIANT
VARIANT
Co-authored-by: ${actor} ${actor}@users.noreply.github.com
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 14878–14940, SHA-256 47ccb0b644bf1295.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Co-authored-by: ${actor} <${actor}@users.noreply.github.com>
Co-authored-by: ${actor} <${actor}@users.noreply.github.com>
GITHUB TOKEN
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 15052–15066, SHA-256 6b6b2d1fd282b2e6.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: GITHUB_TOKEN
GITHUB_TOKEN
GITHUB TOKEN environment variable is not set. When using use github token, you m
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 15135–15242, SHA-256 cb79e5dc7403888f.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: GITHUB_TOKEN environment variable is not set. When using use_github_token, you must provide GITHUB_TOKEN.
GITHUB_TOKEN environment variable is not set. When using use_github_token, you must provide GITHUB_TOKEN.
token ${appToken}
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 15570–15589, SHA-256 51c3f29f7cce605a.
Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: token ${appToken}
token ${appToken}
opencode session
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 16591–16609, SHA-256 a32e705fdee1ce24.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: opencode session
opencode session
Triggered by: ${actor}
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 17117–17141, SHA-256 9c060e6f6e3958c8.
Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Triggered by: ${actor}
Triggered by: ${actor}
HEAD
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 17342–17348, SHA-256 dee4f10b8c56f2a7.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: HEAD
HEAD
Agent managed its own branch, skipping infrastructure push/PR
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 17620–17683, SHA-256 c6fb997aaf5770bc.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Agent managed its own branch, skipping infrastructure push/PR
Agent managed its own branch, skipping infrastructure push/PR
scheduled workflow
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 18063–18083, SHA-256 f500738fb10adf4a.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: scheduled workflow
scheduled workflow
${response} n nTriggered by ${triggerType}${footer({ image: true })}
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 18216–18286, SHA-256 cea34b490b42e57b.
Jev judged not model-facing (confidence 0.14; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${response}\n\nTriggered by ${triggerType}${footer({ image: true })}
${response}\n\nTriggered by ${triggerType}${footer({ image: true })}
Created PR ${pr}
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 18344–18363, SHA-256 9bacc7844e55680b.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Created PR #${pr}
Created PR #${pr}
Skipped PR creation (no new commits)
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 18408–18446, SHA-256 029b08009eaed6fb.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Skipped PR creation (no new commits)
Skipped PR creation (no new commits)
HEAD · character 18931
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 18931–18937, SHA-256 dee4f10b8c56f2a7.
Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: HEAD
HEAD
Agent managed its own branch, skipping infrastructure push
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 19237–19297, SHA-256 66b0f8e7e2871ac8.
Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Agent managed its own branch, skipping infrastructure push
Agent managed its own branch, skipping infrastructure push
${response}${footer({ image: hasShared })}
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 19619–19664, SHA-256 fef35bc669ae66ea.
Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${response}${footer({ image: !hasShared })}
${response}${footer({ image: !hasShared })}
HEAD · character 19867
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 19867–19873, SHA-256 dee4f10b8c56f2a7.
Jev judged not model-facing (confidence 0.1; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: HEAD
HEAD
Agent managed its own branch, skipping infrastructure push · character 20165
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 20165–20225, SHA-256 66b0f8e7e2871ac8.
Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Agent managed its own branch, skipping infrastructure push
Agent managed its own branch, skipping infrastructure push
${response}${footer({ image: hasShared })} · character 20554
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 20554–20599, SHA-256 fef35bc669ae66ea.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${response}${footer({ image: !hasShared })}
${response}${footer({ image: !hasShared })}
HEAD · character 20796
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 20796–20802, SHA-256 dee4f10b8c56f2a7.
Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: HEAD
HEAD
${response}${footer({ image: true })}
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 21284–21323, SHA-256 90f983f59ad2b28e.
Jev judged not model-facing (confidence 0.1; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${response}${footer({ image: true })}
${response}${footer({ image: true })}
${response} n nCloses ${issueId}${footer({ image: true })}
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 21657–21718, SHA-256 822b85cb825f196b.
Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${response}\n\nCloses #${issueId}${footer({ image: true })}
${response}\n\nCloses #${issueId}${footer({ image: true })}
Created PR ${pr}${footer({ image: true })}
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 21784–21829, SHA-256 2fcbe136321c01d2.
Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Created PR #${pr}${footer({ image: true })}
Created PR #${pr}${footer({ image: true })}
${response}${footer({ image: true })} · character 21882
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 21882–21921, SHA-256 90f983f59ad2b28e.
Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${response}${footer({ image: true })}
${response}${footer({ image: true })}
${response}${footer({ image: true })} · character 22026
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 22026–22065, SHA-256 90f983f59ad2b28e.
Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${response}${footer({ image: true })}
${response}${footer({ image: true })}
Failed to report error on GitHub:
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 22612–22647, SHA-256 448256ffd5fcb615.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Failed to report error on GitHub:
Failed to report error on GitHub:
MODEL
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 23038–23045, SHA-256 84ae169e9a23dcf1.
Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: MODEL
MODEL
Environment variable "MODEL" is not set
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 23081–23122, SHA-256 10b80acbd385ece0.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Environment variable "MODEL" is not set
Environment variable "MODEL" is not set
Invalid model ${value}. Model must be in the format "provider/model".
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 23264–23335, SHA-256 9b4b38b648b7a78f.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Invalid model ${value}. Model must be in the format "provider/model".
Invalid model ${value}. Model must be in the format "provider/model".
GITHUB RUN ID
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 23445–23460, SHA-256 48f4ebfa36e4f8ac.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: GITHUB_RUN_ID
GITHUB_RUN_ID
Environment variable "GITHUB RUN ID" is not set
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 23496–23545, SHA-256 4a9b527106816544.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Environment variable "GITHUB_RUN_ID" is not set
Environment variable "GITHUB_RUN_ID" is not set
SHARE
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 23637–23644, SHA-256 8624fce63d28b5e2.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: SHARE
SHARE
Invalid share value: ${value}. Share must be a boolean.
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 23785–23842, SHA-256 dd27080c2e1ae3b4.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Invalid share value: ${value}. Share must be a boolean.
Invalid share value: ${value}. Share must be a boolean.
USE GITHUB TOKEN
Source: packages/opencode/src/cli/cmd/github.handler.ts, characters 23924–23942, SHA-256 25da42263750313a.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: USE_GITHUB_TOKEN
USE_GITHUB_TOKEN