Repository navigation
Rename npm package from @ocw/sdk to @openclawwatch/sdk - #2
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This was referenced Jun 16, 2026
anilmurty
added a commit
that referenced
this pull request
Jun 18, 2026
Iterate findings carrying the estimated_recoverable_usd contract field instead of a hardcoded ['cache','script','trim'] list, so a future analyzer (e.g. reuse) surfaces on Overview with no UI change. cache-recommend / budget-projection lack the field and stay excluded by contract. Addresses the PR #125 review nit (AC #2). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This was referenced Jun 20, 2026
anshss
added a commit
to anshss/tokenjam
that referenced
this pull request
Jun 30, 2026
Verified end-to-end that the Timeline (StorySection) already renders recursive subagent logs: a StoryStep renders a SubagentBlock per spawned subagent, SubagentBlock re-renders the child's steps via renderTimelineSteps, and renderTimelineSteps renders a StoryStep each — a closed cycle, so nested delegations nest arbitrarily deep, each level independently expandable (caret ▾/▸), matching Approach/Map. Caps are honest (depth/size/cycle each map to an explicit "… omitted …"/"… already shown …" note, never a silent drop). Confirmed visually against seeded session 3024587f… (13 subagents): expanding step Metabuilder-Labs#2 surfaces its nested "subagent: Investigate session map + PR 306" block; expanding that renders its Task + 38 own steps. No overflow. No UI change needed (affordance already consistent). Adds two static-grep regression tests asserting the recursion cycle + honest cap markers stay wired, so a future edit can't silently flatten the Timeline. Co-Authored-By: Claude Opus 4.8 <[email protected]>
anilmurty
pushed a commit
that referenced
this pull request
Jul 2, 2026
Every other dollar-bearing read route (/cost, /optimize, /budget, /traces, /status) returns a `framing` block (core/framing.py, #191), but the session detail endpoint did not. During the origin/main merge SessionDetailView's Overview / subagents / traces cost cells were routed through fmtFramedDollar(..., framing) to satisfy main's global framing regression, yet framing resolved to null there — so fmtFramedDollar silently fell back to raw fmtCost and subscription users (e.g. Claude Max) saw verbatim dollars on the session detail page that are suppressed everywhere else. Compute a framing block in get_session_detail via compute_framing (the single source of truth) with a window-independent plan mix scoped to the session's agent (plan_determination_mix, mirroring /status and /traces), passing the session's own token total + cost as window totals so the subscription token-share denominator is present. No UI change needed — SessionDetailView already reads data.framing. Co-Authored-By: Claude Opus 4.8 <[email protected]>
anilmurty
pushed a commit
that referenced
this pull request
Jul 2, 2026
…lar (#17) claimed "no UI change needed," but two dollar-bearing cells in the served SPA still called bare `fmtCost(...)`. For a Max-subscription user (framing.display_rule = suppress_dollars_for_subscription_share) this leaked raw dollars: the session-detail "Cost & Tokens" / "Implied API value" panel rendered e.g. "$198.9709" (and "$0.0000" on empty sessions), and the Status "Archived sessions" table cost column showed raw "$0.0000". The panel only relabeled the header for subscription users while still emitting the raw figure — the exact honesty leak #191/#2 exist to prevent. Both cells now route through the existing `fmtFramedDollar(value, framing)` helper, matching how Traces/Cost/Optimize/Analytics render: subscription users see token-share ("% of cycle"), local sees "—", and only api/unknown plans see raw "$". The `framing` block is already in scope in both views — SessionDetailView reads `data.framing` off /sessions/{id}; the Status view reads `data.framing` off /status (already consumed by the agent cards' "Cost today" cell). No backend change needed. Guarded by two new static-grep regressions in tests/unit/test_lens_ui_regression.py asserting the bare-fmtCost patterns are gone and the framed forms are present (there is no JS runner in the Python CI job; the served source is the unit under test). Co-Authored-By: Claude <[email protected]>
anilmurty
pushed a commit
that referenced
this pull request
Jul 2, 2026
Verified end-to-end that the Timeline (StorySection) already renders recursive subagent logs: a StoryStep renders a SubagentBlock per spawned subagent, SubagentBlock re-renders the child's steps via renderTimelineSteps, and renderTimelineSteps renders a StoryStep each — a closed cycle, so nested delegations nest arbitrarily deep, each level independently expandable (caret ▾/▸), matching Approach/Map. Caps are honest (depth/size/cycle each map to an explicit "… omitted …"/"… already shown …" note, never a silent drop). Confirmed visually against seeded session 3024587f… (13 subagents): expanding step #2 surfaces its nested "subagent: Investigate session map + PR 306" block; expanding that renders its Task + 38 own steps. No overflow. No UI change needed (affordance already consistent). Adds two static-grep regression tests asserting the recursion cycle + honest cap markers stay wired, so a future edit can't silently flatten the Timeline. Co-Authored-By: Claude Opus 4.8 <[email protected]>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
@ocw/sdkreferences with@openclawwatch/sdkacross 8 filessdk-ts/package.jsonwas already renamed in PR Add PyPI and npm publish workflows #1Test plan
grep -r "@ocw/sdk" .returns zero results🤖 Generated with Claude Code