feat: Provide a session url to view the progress through the github actions #1786

Closed
opened 2026-02-16 17:32:37 -05:00 by yindo · 6 comments
Owner

Originally created by @notlousybook on GitHub (Sep 21, 2025).

Originally assigned to: @fwang on GitHub.

Provide a session URL to view the progress through the github actions bot WHILE it is working, so y'know the bad actions Ui won't be seen and we can look at the nice Ui from opencode, the url with the image is given the same as before when it completes


(UNRELATED)
also, I've been thinking of showing Realtime progress with something like Ui, I'm not sure you guys will like it


Truncated 10 prior tool calls
Ok I'll do the thing

Read file readme.md

I have read the readme file now i'll read the main python file

Read file main.py


and etc thing for the bot, in the comment itself by reediting the same comment

Originally created by @notlousybook on GitHub (Sep 21, 2025). Originally assigned to: @fwang on GitHub. Provide a session URL to view the progress through the github actions bot WHILE it is working, so y'know the bad actions Ui won't be seen and we can look at the nice Ui from opencode, the url with the image is given the same as before when it completes ---- (UNRELATED) also, I've been thinking of showing Realtime progress with something like Ui, I'm not sure you guys will like it ---- `Truncated 10 prior tool calls` Ok I'll do the thing > Read file `readme.md` I have read the readme file now i'll read the main python file > Read file `main.py` ---- and etc thing for the bot, in the comment itself by reediting the same comment
yindo closed this issue 2026-02-16 17:32:37 -05:00
Author
Owner

@notlousybook commented on GitHub (Sep 21, 2025):

ah also the "SHOWN_TOOLCALLS" var in workflow to see how many to show before truncation

@notlousybook commented on GitHub (Sep 21, 2025): ah also the "SHOWN_TOOLCALLS" var in workflow to see how many to show before truncation
Author
Owner

@rekram1-node commented on GitHub (Oct 16, 2025):

@LousyBook94 you should be able to set share: true in your action definition
ex:

name: opencode

on:
  issue_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@v4

      - name: Run opencode
        uses: sst/opencode/github@latest
        env:
          OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
        with:
          model: opencode/kimi-k2
          share: true
@rekram1-node commented on GitHub (Oct 16, 2025): @LousyBook94 you should be able to set share: true in your action definition ex: ``` name: opencode on: issue_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@v4 - name: Run opencode uses: sst/opencode/github@latest env: OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} with: model: opencode/kimi-k2 share: true ```
Author
Owner

@notlousybook commented on GitHub (Oct 17, 2025):

@rekram1-node no it doesn't work while it's working, only shows when finished

@notlousybook commented on GitHub (Oct 17, 2025): @rekram1-node no it doesn't work while it's working, only shows when finished
Author
Owner

@rekram1-node commented on GitHub (Oct 17, 2025):

ah okay gotcha

@rekram1-node commented on GitHub (Oct 17, 2025): ah okay gotcha
Author
Owner

@notlousybook commented on GitHub (Oct 17, 2025):

@rekram1-node thanks for reopening, and listening, other devs aren't as nice 🙏

@notlousybook commented on GitHub (Oct 17, 2025): @rekram1-node thanks for reopening, and listening, other devs aren't as nice 🙏
Author
Owner

@rekram1-node commented on GitHub (Oct 17, 2025):

Haha no problem!

@rekram1-node commented on GitHub (Oct 17, 2025): Haha no problem!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1786