GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(subagents): show background Code Mode scripts and subagent jobs in activity capsule by Hona · Pull Request #249 · anomalyco/opencode-rune

Conversation

@Hona

@Hona Hona commented Nov 20, 2026

Copy link
Copy Markdown
Member

Summary

Wires opencode-kit's typed job client and JobTracker state machine into features/subagents and apps/desktop (ports anomalyco/opencode#63391, #64790, #64951, and #64966):

  • Per-server job tracking (features/subagents/src/jobs.rs): Lists running jobs via Server::list_jobs on session open and reconnect, merges concurrent experimental.job.updated SSE events over in-flight HTTP list responses (merge_job_list, #64966), caches 404/405/501 JobEndpoint::Unsupported per server until reconnect (zero error toasts and no repeated 404 requests on older v2.2.6/v2.3.0 servers), and tolerates video, image, and unknown future job kinds.
  • Activity capsule & list (features/subagents): Renders "subagents · scripts · shells" counts, lists running Code Mode scripts with the code glyph and first non-blank line of input.code, keeps idle subagents listed while their tree owns running jobs without a secondary background-work subtitle (#64951), cancels scripts and subagent job trees on Stop, and supports Delete/Backspace stop on focused activity rows (#63391).
  • Foreground blocking work (apps/desktop/src/shell/appearance/background.rs): Removes leftover foreground subagent matching (#63391), marks backgroundable foreground execute calls (metadata.background == true) as blocking, and hides running shells covered by a foreground execute call (#64790).
  • Timeline isolation (ours.md §3.2): Moves the 1-second activity-panel elapsed clock into a dedicated ACTIVITY_CLOCK slot, builds pills outside the memoized "timeline-fade" region via jump::timeline_scroll / jump::over_scroll, and keys timeline shell-output reads on follow.version() so ticks and job events never dirty the timeline region.

Screenshots

Modern dev server (dark 1x — subagents + idle subagent with jobs + Code Mode scripts + shell):

After stopping script 1 and the idle subagent's job tree:

Legacy 404 server (zero error toasts; shells and subagents still shown):

Verification

  • pwsh scripts/guardrails.ps1: 5/5 passed.
  • cargo clippy -p opencode-feature-subagents -p session-view -p opencode-desktop --no-deps -- -D warnings: 0 warnings.
  • cargo check --workspace and cargo check -p session-view --examples: passed.
  • pwsh scripts/web.ps1 -Check: opencode-web wasm32-unknown-unknown clean, web-clock 996 files / 46 crates clean.
  • Driven live against scratch modern, legacy-404, and delayed-race fixture servers (light & dark, 1x & 1.5x): all #64966 interleavings passed, legacy 404 produced 0 error toasts and cached Unsupported (1 request across 3 session opens), Stop cancelled script and descendant job tree without interrupting idle subagent, 0 stale-region warnings.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Hona
feat(subagents): show background Code Mode scripts and subagent jobs …
611dd40
…in activity capsule

Wire opencode-kit's typed job client and JobTracker into features/subagents
and apps/desktop (ports anomalyco/opencode#63391, #64790, #64951, #64966):

- Per-server JobTracker (features/subagents/src/jobs.rs): lists running jobs
  via Server::list_jobs on session open and reconnect, merges concurrent
  experimental.job.updated SSE events over in-flight HTTP list responses
  (#64966), caches 404/405/501 JobEndpoint::Unsupported per server until
  reconnect (zero error toasts on v2.2.6/v2.3.0 servers), and tolerates
  video, image, and unknown future job kinds.
- Activity capsule & list: shows "subagents · scripts · shells" counts,
  renders Code Mode script rows with code icon and first non-blank code line,
  keeps idle subagents listed while their tree owns running jobs without a
  secondary subtitle (#64951), cancels scripts and subagent job trees on Stop,
  and supports Delete/Backspace stop on focused rows (#63391).
- Foreground blocking work: drops leftover foreground subagent matching
  (#63391), marks backgroundable foreground execute calls as blocking, and
  hides running shells covered by a foreground execute script (#64790).
- Timeline isolation (ours.md 3.2): moves the 1-second activity elapsed clock
  to a dedicated ACTIVITY_CLOCK slot, moves pills outside the "timeline-area"
  region via jump::timeline_scroll / jump::over_scroll, and keys timeline
  shell-output reads on follow.version() so ticks and job events never dirty
  the timeline region.
@Hona
Hona merged commit 259837b into dev Nov 20, 2026
@Hona
Hona deleted the ws4/running-work branch November 20, 2026 07:34
Hona added a commit that referenced this pull request Nov 20, 2026
@Hona
docs(sync): fold #248/#249, split UP-095-EXT to WS-9, and add UP-106 …
ee55276
…(#65073) (#250)

- Fold verified PR #248 (a4cf871, PRE-10 Free Limit Reached panel) and
  PR #249 (259837b, PRE-07, UP-050, UP-077, UP-082, UP-087, UP-090) to
  "have it"
- Split Chrome extensions out of UP-095 (#63002) into UP-095-EXT owned by WS-9
- Add UP-106 (#65073, bf683129fa, browser history import & address-bar
  autocomplete) assigned to WS-1, advancing upstream_head to bf683129fa
@github-actions

github-actions Bot commented Nov 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

PR test build retired — merged into dev. Install or auto-update OpenCode (Rune) from https://anoma.ly/release/opencode/desktop-rune/dev/macos-arm64-dmg.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Hona
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.