Skip to content

Release 1.2.1 - #248

Merged
aMonteSl merged 801 commits into
masterfrom
v1.2.1
Nov 27, 2026
Merged

aMonteSl merged 801 commits into
masterfrom
v1.2.1

Conversation

@aMonteSl

@aMonteSl aMonteSl commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Brings v1.2.1 into master now that Code-XR 1.2.1 is published on the VS Code Marketplace. master is an ancestor of v1.2.1. The v1.2.1 tag goes on the merge commit.

Release notes: apps/vscode-extension/CHANGELOG.md, section [1.2.1].

aMonteSl and others added 30 commits November 26, 2026 11:40
…culq

refactor(core): host paths for the backend resolver and one private-storage rule (#13, step 2a)
…rage types (#13, step 2b)

settingsFile, generatedHttpsCertificateManager, pythonEnvStorage and
themeUtils take FileLocation / GlobalStorageContext from core/host instead
of vscode.Uri / ExtensionContext (both still fit, no caller changed);
themeUtils logs through the sink. Behaviour-neutral; vscodeFreeFloor
118 -> 122.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKtAxisfZYMc9LDQD3ED
…sl9c

docs(xr-audit): independent verification of the epic #72 fixes
…ad-svsl9c-evo-dedupe

# Conflicts:
#	.claude/docs/V1.2.1_STATUS.md
Git 2.43 dies on the first missing promisor object under
GIT_NO_LAZY_FETCH, and both cat-file batch readers then failed every
request, excluding every revision including HEAD. The readers now share
GitCatFileProcess: the request that killed the process is rejected as
"not on this computer (partial clone)", a new process is started and the
rest of the queue is replayed. `missing` / non-numeric-size answers from
newer Git map to the same message. GIT_ALLOW_PROTOCOL blocks every
transport so a Git without GIT_NO_LAZY_FETCH cannot fetch either.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt6UPgMfbYbVNmtLv7V
The lexical inheritance pattern read a Python `class X: pass` body, a
generic constraint (`<T extends object>`), a C++ access specifier and a
comment's "object with scheme" as base types, and the require pattern read
the gap in `'import' | 'require'` as a module. Each became an external node.

- Skip a generic parameter list and a primary constructor after the type
  name; split the extends and `:` patterns; the `:` one is off for Python
  and GDScript, so the raw-target extractors now take the file language.
- Mixin `with` only on a declaration line; require ignores the string
  'require' and a blank specifier. CACHE_VERSION 3 -> 4.
- DependencyGraphService seeds its revision counter from the highest
  dataset file already on disk, so pruning never deletes the file it just
  wrote.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt6UPgMfbYbVNmtLv7V
When get-port fails, the manual scan probed 0.0.0.0 alone, which on macOS
and Windows can succeed while a dev server owns 127.0.0.1 on that port.
The scan is now PortManager.scanSequentially, and isPortAvailable treats a
wildcard host (0.0.0.0, ::) like no host: wildcard, 127.0.0.1 and ::1, the
same exclusive probes as the main check. HttpsServerBase's own check (host
0.0.0.0) gets the same treatment. Guardrail baseline regenerated
(complexity.over10 50 -> 49).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt6UPgMfbYbVNmtLv7V
…ad-svsl9c-depgraph-packages

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt6UPgMfbYbVNmtLv7V
…ad-svsl9c-port-probe

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt6UPgMfbYbVNmtLv7V
…nel (#108)

HIST-7: the LivePanel History section gets a Cancel button backed by
POST /api/historical/cancel, which calls the same service cancel as the
room's historical-comparison-cancel and frees the job slot. Leaving History
cancels a comparison with no result yet: the room switching mode (the host
broadcasts historical-comparison-cancelled) or closing the LivePanel page
that started it (pagehide beacon scoped by job id). The live refresh of a
result already on screen is left to finish, and a cancelled refresh is no
longer retried as a failure.

HIST-13: GET /api/historical/status reports idle/running/done/error with the
last successful revision; the panel reads it on load and after every SSE
reconnect, so a missed event can no longer leave it on "Comparing...".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt6UPgMfbYbVNmtLv7V
- CHARTS-16: babiaCompat guards the pie/donut hover-legend removeChild
  after a rebuild.
- CHARTS-18: chart titles are escaped for the Babia component string
  (`;` -> `,`, HTML entities); buildFilteredBounds skips hidden subtrees.
- EVO-16: evolution data transitions end in try/finally (cancel on throw).
- LIFECYCLE-11: dependency-graph mount and collaboration registration log
  once when they give up.
- LIFECYCLE-12: the Normal-analysis activation promise has a .catch.
- DEPGRAPH-7: clicks during a re-analysis show "Busy, please wait...".
- HIST-8: startup cleanup sweeps historical-comparisons/, dispose removes
  the empty session folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt6UPgMfbYbVNmtLv7V
…sl9c-evo-dedupe

fix(epic #72): project evolution analyses a commit once when two picks name it
…ad-svsl9c-partial-clone

# Conflicts:
#	.claude/docs/V1.2.1_STATUS.md
…ad-svsl9c-depgraph-packages

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt6UPgMfbYbVNmtLv7V
…ad-svsl9c-port-probe

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt6UPgMfbYbVNmtLv7V
…culq

refactor(core): four leaf modules off vscode with structural storage types (#13, step 2b)
#13, step 3)

New vscode-free core/host/hostEmitter.ts: HostEmitter<T> on Node events,
keeping the vscode.Event call shape and contract (subscription order, a
throwing listener reported and skipped, nothing after dispose). It
replaces vscode.EventEmitter in sessionRegistry, collaborationProfileManager
and pythonEnvUiState; HostDisposable replaces vscode.Disposable type
positions there and in httpServer and remoteAccessManager.
collaborationProfileManager takes a structural context and is vscode-free.
Behaviour-neutral; vscodeFreeFloor 122 -> 125.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKtAxisfZYMc9LDQD3ED
…sl9c-partial-clone

fix(epic #72): partial clones work with Git 2.43
…itch (#107)

HIST-3: a chart entity can declare its own sources through
entity.__codexrChartSource(chartId); applyChartTypeToEntity follows it
instead of guessing from the previous `from`. Each comparison clone
declares its side: flat charts read codexrComparisonData{Left,Right},
boats an inline tree of that side's payload. Both producers exist
whatever the first chart is, and a live refresh updates the producer
under boats too.

HIST-12 / LIFECYCLE-8: comparison clones are built from a whitelist, so
no data-codexr-* marker of the scene chart reaches them.

The mode-cycle harness wraps the chart like xr-visualization.html, its
history fixtures carry filePath, and the runner gains comparison
scenarios (enter, Bars/Boats/flat switches, leave, re-enter).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt6UPgMfbYbVNmtLv7V
…ad-svsl9c-compare-charts

# Conflicts:
#	.claude/docs/V1.2.1_STATUS.md
#	apps/vscode-extension/CHANGELOG.md
…culq

refactor(core): Node events instead of vscode.EventEmitter in the core (#13, step 3)
… step 4)

HostProgress / HostCancellation replace vscode.Progress /
vscode.CancellationToken in gitRevisionExporter, executePython (9) and
venvManager (6). Type-only: a VS Code progress and token still fit. The
withProgress call sites move in step 6 together with the notifications of
the same classes, since both need a CodeXRHost there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKtAxisfZYMc9LDQD3ED
…13, step 5)

hostPaths.ts adds GlobalStateContext (globalStorageUri + a
HostKeyValueStore). settingsStorage and settingsAccessors take it instead
of vscode.ExtensionContext (same keys and files), so both are vscode-free,
and so is getVisualizationConfiguration, which reached vscode only through
them. vscodeFreeFloor 125 -> 128.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKtAxisfZYMc9LDQD3ED
…sl9c-livepanel-history

fix(epic #72): LivePanel cancel and status for historical comparisons
…ad-svsl9c-depgraph-packages

# Conflicts:
#	.claude/docs/V1.2.1_STATUS.md
#	apps/vscode-extension/CHANGELOG.md
…ad-svsl9c-port-probe

# Conflicts:
#	.claude/docs/V1.2.1_STATUS.md
#	apps/vscode-extension/CHANGELOG.md
…ad-svsl9c-robustness

# Conflicts:
#	.claude/docs/V1.2.1_STATUS.md
claude and others added 27 commits November 27, 2026 08:45
…ay why it did not

The chart-bounds harness failed twice on CI with 'pie with 300 files: never
stabilized (last reason ok)' and passed on rerun. Locally it settles in 4-10 s;
on a shared runner with software WebGL the fit controller took over 25 s to
stand down while the chart stayed on the table. Datasets of 300 rows now get
60 s (the loop still leaves as soon as the chart settles), the budget can be
overridden with CODEXR_CHART_BOUNDS_SETTLE_MS, and a failure now reports the
render phase, the settled flag and whether the fit controller is still active.
Command Palette titles, the sidebar, the output channels, notifications,
the in-scene texts and the guide now read Code-XR, like the Marketplace
listing. Command IDs, setting keys, JS globals and console log tags are
unchanged, so keybindings, settings and scripts keep working. The feature
baseline, the sidebar snapshot and the server transcripts were regenerated
for the new strings only; the marketplace listing test now also guards the
name.
- repository and bugs point at Code-XR-Project/Code-XR, sponsor at Buy Me
  a Coffee, pricing Free, Q&A on the Marketplace
- categories: Visualization, Linters, Data Science, Education (Debuggers
  and Testing did not describe the extension)
- keywords: drop the duplicate, add the new metrics and XR terms
- description mentions the browser, VR and 28 languages
- icon.png resized from 1024 to 256 px (1 MB to 50 KB); the Marketplace
  shows it at 128 px and every saved analysis copies it as its favicon
The 1.2.1 entry opens with a summary and highlights, names the product
Code-XR, records the user-facing rename, and no longer mentions
unreleased work. The README links the 1.2.1 changes to the CHANGELOG and
its repository links point at Code-XR-Project/Code-XR.
A new folder asks once whether its authors are trusted (this folder, or
every folder in its parent). Until trusted, the main process runs no Git
in it and starts no Python language server; reading, editing, the
terminal and the Code-XR analysis work either way. Decisions live in the
user-data folder; a status-bar shield and Manage Workspace Trust change
them. The smoke run checks the gate.
…b4ko

IDE: workspace trust and Restricted Mode (#177)
Run Task lists the open folder's package.json scripts (with the package
manager its lock file names), its Makefile targets and the user's tasks in
.codexr/tasks.json; each runs in a terminal tab of its own with the default
profile's shell and keeps its exit code. tsc and ESLint problem matchers
send what the output reports to the Problems panel. Run Current File runs
the active file with its interpreter (Python and Node configurable, the
rest looked up on PATH). The main process builds every command line and
refuses all of it in Restricted Mode (#177); the smoke run checks that.
The examples loaded A-Frame 1.0.4 with an unpinned BabiaXR that needs a
newer A-Frame, and Bars Map, Pie and the population doughnut fetched
../../data/*.json, which the example server (rooted at the chart's own
folder) answers with a 404, so their scenes were empty.

- Pinned to the template versions: A-Frame 1.7.1, aframe-babia-components
  1.3.4, aframe-environment-component 1.5.0, aframe-extras 7.5.4.
- Data inline (data:), so each page is self-contained.
- One light look (BabiaXR 1.3.4 draws axis labels in black), a camera rig
  that frames the whole chart, titles as dark a-text, English copy,
  lang=en; invalid 1.3.4 attributes (heightMax, titleFont, titleSize)
  removed.
- Pie is a pie again (it was a doughnut fed by a 404); population.html is
  the doughnut. Mix lays out four aligned charts.

Checked in headless Chromium with the CDN routed to the npm tarballs: no
errors or failed requests on any page.
The About BabiaXR dialog and THIRD_PARTY_NOTICES listed A-Frame 1.0.4,
an unpinned BabiaXR, environment 1.0.0 and extras 6.1.0; the examples now
load 1.7.1, 1.3.4, 1.5.0 and 7.5.4. CHANGELOG records the examples fix.
The ESLint matcher and its test named the report's summary marks literally;
they are Unicode escapes now, as the plugin's no-emoji check requires.
Prepare the 1.2.1 Marketplace release (CHANGELOG, README, listing metadata, Code-XR name, BabiaXR examples)
Open files are compared with HEAD as they are edited: added, changed and
deleted lines are marked in the gutter and the overview ruler, and a click
shows what HEAD had there with Revert. The cursor line ends with its blame,
from git blame --contents on the editor's text, so unsaved lines say so.
The explorer colours changed files with their letter and the folders above
them. Without Git, outside a repository, in Restricted Mode or for an
untracked file the editor shows nothing and reports nothing.
- The Lizard paragraph now says why: Code-XR's own engine makes it
  independent of an external library, lets it add languages and fixes
  errors Lizard had.
- The additions are simply three new metrics and five new languages.
- Removed: the function metrics in the editor and Problems entry, the
  numeric-axis chart panel entry, and the internal items (proof of no
  loss, false-green tests, CI, offline browser tests, monorepo, src/
  reorganization).
- One line per item, grouped by area; no em dashes anywhere.
…b4ko

IDE: Git change markers, inline blame and explorer colours (#175)
docs(changelog): schematic 1.2.1 entry after Adrián's review
docs(changelog): drop the Reveal / Open in editor highlight line
… workflows

The What's New in v1.2.1 section now explains Code-XR's own metrics
engine, lists the five new languages, describes the three new metrics and
how to read them, and gives short how-to steps for Reveal in XR Scene,
Open in editor from the dependency graph and Open on a headset. The rest
of the README, its hero image included, is unchanged.
Both taken from a real directory XR analysis of backend/src, served by
the real analysis server: the reveal was sent through the core's
revealInScene, and the dependency graph card was opened by clicking
through the scene. Stored under media/v1.2.1/ (not shipped in the VSIX).
…w workflows

docs(readme): document the 1.2.1 languages, metrics and new workflows
electron-builder refuses an icon under 512x512 on macOS, and the
extension's icon.png became 256x256 for the 1.2.1 Marketplace listing.
The installers now use apps/ide/build-resources/icon.png, a 512x512
copy of the original master.
@aMonteSl
aMonteSl merged commit e86c25f into master Nov 27, 2026
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants