Skip to content

feat(server): Add docker image for one-click deploy - #126

Merged
ryan-t-christensen merged 6 commits into
developfrom
feat/docker-one-click
Mar 2, 2026
Merged

ryan-t-christensen merged 6 commits into
developfrom
feat/docker-one-click

Conversation

@ryan-t-christensen

Copy link
Copy Markdown
Collaborator

Summary

  • VS Code extension Deploy panel pulls and runs the pre-built engine image from GHCR — no repo clone or local build needed
  • CI workflow publishes the Docker image to GHCR on each server release, so the extension always gets the latest version

Note: will have more thorough testing and refinement once we have the published docker images

Type

Testing

  • Tests added or updated
  • Tested locally
  • ./builder test passes

Checklist

  • Commit messages follow conventional commits
  • No secrets or credentials included
  • Wiki updated (if applicable)
  • Breaking changes documented (if applicable)

Related Issues

@kwit75 kwit75 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Review

Critical Issues (2)

  1. GitHub Actions script injection — docker-publish.yml:33-39
    ${{ inputs.version }} and ${{ github.event.release.tag_name }} are interpolated directly into a run: shell block. A malicious workflow_dispatch input or release tag could achieve arbitrary command execution. Use env: to pass these safely:

    env:
      EVENT_NAME: ${{ github.event_name }}
      INPUT_VERSION: ${{ inputs.version }}
      RELEASE_TAG: ${{ github.event.release.tag_name }}
    run: |
      if [ "$EVENT_NAME" = "workflow_dispatch" ]; then
        echo "version=${INPUT_VERSION}" >> $GITHUB_OUTPUT
        echo "tag=server-v${INPUT_VERSION}" >> $GITHUB_OUTPUT
      else
        echo "version=${RELEASE_TAG#server-v}" >> $GITHUB_OUTPUT
        echo "tag=${RELEASE_TAG}" >> $GITHUB_OUTPUT
      fi
  2. Branch HEAD diverges from PR diff — The diff shows a hardened Dockerfile (non-root user, healthcheck, curl) and tighter CI (specific glob pattern, asset count validation), but the actual branch HEAD has the older, less secure versions. The branch needs to be reconciled — the diff version is correct.

Important Issues (4)

  1. runDockerEngine() has zero error handling — PageDeployProvider.ts:~102-108
    No try-catch, no user feedback. If Docker isn't installed, daemon isn't running, or port is in use, the user just sees a cryptic terminal error. The old code it replaced had workspace validation and info messages.

  2. onDidReceiveMessage handler has no error boundary — PageDeployProvider.ts:~82-92
    Async callback with no try-catch. An unhandled rejection silently breaks the extension — buttons stop responding with no indication.

  3. --rm flag inconsistency — PageDeployProvider.ts:109 uses --rm, but PageDeploy.tsx:93,97 display/copy the command without it. Users who copy the command manually will accumulate stopped containers.

  4. Broad glob + no extraction validation in CI — docker-publish.yml:42
    *linux*x64* could match checksums or manifest files. No check that exactly one file was downloaded, no check that the engine binary exists after extraction. A corrupt image could get pushed as :latest.

Suggestions

  • Duplicate image string ghcr.io/rocketride-org/rocketride-engine:latest hardcoded in 3 places across 2 files — extract to a constant
  • No loading state on "Run engine" button — can be double-clicked, spawning multiple terminals with port conflicts
  • async unnecessary on runDockerEngine — no await in the body
  • Dockerfile lacks comments — ENTRYPOINT ["./engine", "./ai/eaas.py"] is non-obvious
  • JSDoc at PageDeployProvider.ts:24-29 still says "on-prem using Docker" but the flow is now "pull and run from GHCR"

Strengths

  • Massive UX improvement — three confusing buttons replaced with a single "Run engine"
  • Clean code deletion — 105 lines removed, net simplification
  • CI workflow design is solid — triggers on release + manual dispatch, proper GHCR auth
  • Dockerfile is lean — minimal runtime deps, no build tools in image

Recommended Action

  1. Reconcile branch with PR diff — push the hardened Dockerfile, tighter glob, and asset validation
  2. Fix script injection in the workflow's version determination step
  3. Add basic error handling to runDockerEngine() and the message handler
  4. Align --rm flag between button action and displayed command

…containers, engine binary validation after extraction
@github-advanced-security

Copy link
Copy Markdown
Contributor

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@kwit75 kwit75 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Clean simplification — matrix trimmed to only existing Dockerfiles, publish workflow is well-validated (asset count check + binary existence check), VSCode deploy UI simplified to GHCR pull-and-run.

Minor: dockerRunning state in PageDeploy.tsx never resets to false — button stays disabled until panel reopen. Not a blocker, just UX polish for later.

@ryan-t-christensen
ryan-t-christensen merged commit 1af9ff7 into develop Mar 2, 2026
10 of 11 checks passed
@ryan-t-christensen
ryan-t-christensen deleted the feat/docker-one-click branch March 2, 2026 18:35
kwit75 added a commit that referenced this pull request Mar 4, 2026
* feat(ci): add nightly prerelease and release workflows (#118)

Split CI/CD into three dedicated workflows:
- build.yaml: PR builds and tests only (removed release code)
- nightly.yaml: cron + manual prerelease to GitHub Releases
- release.yaml: publish to npm, PyPI, VS Code Marketplace, Open VSX on push to main

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(ci): add GitHub Agentic Workflows for auto-triage, reviewer suggestions, and docs drift (#117)

* feat(ci): add GitHub Agentic Workflows for auto-triage, reviewer suggestion, and docs drift

Add three AI-powered GitHub Agentic Workflows using Claude as the engine:

- auto-triage: automatically labels new issues with type, priority, and
  module labels, adds them to the OSS Roadmap project board
- pr-reviewer-suggest: suggests 1-2 reviewers based on changed file paths
  and module ownership mapping
- docs-drift-detect: creates drift issues when code changes on develop
  may have outdated existing documentation

Each workflow is defined as a Markdown file with frontmatter config and
compiled to a .lock.yml GitHub Actions workflow via gh-aw.

* fix(ci): address review findings in agentic workflows

- Fix incorrect doc filenames in docs-drift-detect (ROCKETRIDE_typescript_API.md,
  ROCKETRIDE_python_API.md instead of nonexistent CLIENT_ variants)
- Add missing noop call in docs-drift-detect when no docs are affected
- Remove GH_AW_PROJECT_GITHUB_TOKEN from tools.github block (only needed
  on update-project safe-output, not for all reads)
- Add tika/vcpkg paths to engine module mapping across all 3 workflows
- Add dropper-ui path to chat-ui module in pr-reviewer-suggest and
  docs-drift-detect (was already in auto-triage)
- Add apps/engine/** to docs-drift-detect path mapping
- Add ROCKETRIDE_COMMON_MISTAKES.md and ROCKETRIDE_README.md to
  docs-drift-detect affected docs
- Skip already-triaged issues (auto-triage label check) on reopen
- Skip PRs that already have reviewers assigned
- Handle empty file list and no-eligible-reviewer edge cases
- Bump add-labels max from 5 to 6 for headroom

* chore(ci): add workflow_dispatch trigger for manual testing

Adds workflow_dispatch as an additional trigger to all three agentic
workflows so they can be tested via gh aw run before merging.

* chore(ci): switch agentic workflows from claude to copilot engine

Use the default copilot engine instead of claude. Copilot is free for
public/OSS repos and requires no API key secret.

* revert: switch back to claude engine (copilot requires interactive model acceptance)

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix svg sizing, add icon theme styling, replace dropper header icon (#121)

* initial commit (#122)

* (feat): Agentic-architecture (#125)

* feat(nodes): add agent base, crewai, tools base, and mcp client

* initial refactor -> move agent_base to ai/common/agent

* Tools base refactor -> tools base now lives in ai/common

* turn host tools and host llms into abstract methods that only require binding to the framework nodes format

* Full clean of agent base and crew

* Add Langchain Agents, delete crew question lane output

* refactor tools base

* Get rid of Agent Envelope, switch to outputting framework raw output + stack trace for outputs

* clean utils, stop overriding question context

* Rename Agent base, replace aparavi mentions with Rocketride, rename lang chain driver, add inline documentation

---------

Co-authored-by: dylansavage-aparavi <dylan.savage@aparavi.com>

* feat: add pipeline tracing, fix monitor event routing… (#129)

* feat: add pipeline tracing, fix monitor event routing, and improve VS Code extension UX

Pipeline Tracing (engine-lib):
- Add configurable pipelineTraceLevel (none/metadata/summary/full) to
  pipeline config and endpoint initialization
- Capture lane enter/leave trace data in Binder::callMethods with per-lane
  details (text length, buffer sizes, classification counts, etc.)
- Pass trace JSON through debugger enter/leave and DBG protocol messages
- Add tracing to control callback invocations in filter.callbacks.target

Monitor System Fixes (server):
- Fix bitmask check in forward_event to use the correct `pref` parameter
  instead of outer `subscriber_preference` variable
- Unify monitor subscriptions to project-based keys (p.projectId.source),
  removing redundant token-based (t.token) keys so subscribe/unsubscribe
  by token or project_id/source use the same registry entry
- Allow _send_updates to accept None control for pre-registration monitoring
- Remove auto-subscribe to SUMMARY on task start; global monitors are now
  registered centrally in ConnectionManager.onConnectionEstablished

VS Code Extension:
- Route task output events to the RocketRide Output channel with source
  prefix and icon, fixing output not appearing in the Output panel
- Replace Attach button with Stop button on running pipelines in the
  sidebar, using the same rrext_get_token + terminate pattern as
  PageStatusProvider
- Switch runPipeline from debug session to DAP execute command
- Subscribe PageStatusProvider to flow events for pipeline trace display
- Fix early disposal flag in handlePanelDisposal to prevent stale events
- Clean up execute requests: remove debug trace args and wildcard tokens

SDK (TypeScript + Python):
- Add pipelineTraceLevel option to execute methods in both client SDKs

Misc:
- Fix Python dev path (rocketride-python -> rocketlib-python) in init.cpp
- Clear embedding status message after model load completes
- Add silent option to exec/download scripts to suppress error output
- Remove c.bat build helper script
- Update launch.json for subprocess debugging

* fix(tests): update engtest for removed smb and aws connectors

---------

Co-authored-by: Ariel Vernaza <ariel@lazyracoon.tech>

* feat(vscode): reorganize PageStatus into tabbed layout with fixed header

Restructure the pipeline status page from a vertically-stacked panel layout
into a tabbed interface (Status, Tokens, Pipeline Flow, Errors) with a
persistent two-column header showing state/controls at all times.

Layout changes:
- Add fixed page header with two-column grid: status badge + job subtitle
  on the left, action buttons + elapsed time on the right
- Introduce TabPanel component with MUI-style animated sliding indicator,
  keyboard-accessible tab buttons, and VS Code theme integration
- Move all content sections (chart, tokens, pipeline flow, errors) into
  tab panels rendered on demand
- Tab content area rendered in a bordered, rounded box with margin offset
  from the tab bar for visual separation

StatusSection refactor:
- Extract StatusHeader into two components: StatusHeader (state badge +
  job status subtitle) and StatusElapsed ("Started Xs ago" display)
- Lift elapsed timer state and interval management up to PageStatus so
  both the fixed header and Status tab can share currentElapsed
- Strip StatusSection down to only CompletionsChart + StatusFooter;
  remove its panel header, action buttons, and control button logic
  (all now handled by PageStatus directly)
- Remove Duration field from StatusFooter stats row

Errors tab:
- Always visible in tab bar regardless of error/warning count
- Shows a custom SVG warning triangle icon as badge when errors > 0
- Add WarningIcon component (yellow triangle, black border, exclamation)
- Display "No errors or warnings" empty state using shared .no-data class
  inside consistent section-header/section-content structure

Styling:
- Add CSS for page-header grid, status-header-stack, status-indicator-box
  (16px fixed-width wrapper for dot alignment across rows), status-subtitle
  with focusBorder accent color, and status-elapsed
- Add tab-bar, tab-item, tab-indicator, tab-badge, and tab-content styles
- Remove tab-bar border-bottom, reduce font sizes to match VS Code defaults
- Reduce chart-section padding from 20px to 4px 0
- Neutralize nested panel/section borders inside tab-content

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat: add pipeline trace visualization with document-based state management

End-to-end pipeline tracing: from C++ engine trace payloads through the
Python event router to a new waterfall call-tree UI in the VS Code
extension. This replaces the previous fire-and-forget debug output with
structured, bounded, concurrent-safe trace state.

## C++ Engine — Structured trace levels and payloads

- Add PIPELINE_TRACE_LEVEL enum (NONE/METADATA/SUMMARY/FULL) to replace
  magic integers. Using a proper enum gives compile-time safety and makes
  the tiered data policy self-documenting (types.hpp, config.hpp,
  endpoint.config.cpp).

- Restructure trace payloads in binder.cpp and filter.callbacks.target.cpp:
  remove redundant pipeId/provider fields (already encoded in the pipe
  path), move error strings to trace.error instead of trace.data.error
  so the UI can surface them without nested lookups, and enrich data at
  each trace tier (e.g., writeDocuments now includes full document dicts
  at FULL level, writeQuestions/writeAnswers serialize actual payloads
  instead of just type names).

- Add empty JSON "{}" as the 6th field in BEGIN/END debug messages
  (pipe.instance.cpp) so the wire protocol always has a consistent
  6-field format that the Python parser can split without special-casing.

## Python Server — Two-stage event routing

- transport_stdio.py: Parse the 6th field of >DBG* messages as JSON
  instead of passing raw strings. Rename the transport-level event from
  apaevt_flow to apaevt_trace to distinguish the raw engine event from
  the enriched event forwarded to clients.

- task_engine.py: Handle the renamed apaevt_trace event. Build a new
  apaevt_flow event with the shape {id, op, pipes, trace} that the VS
  Code client expects — the pipes array gives the full call path and
  trace carries the structured data from the engine. This replaces the
  old approach of forwarding the raw pipeflow model dump.

## VS Code Extension — Trace event plumbing

- events.ts: Add EventFlowUpdate interface for apaevt_flow, include it
  in the RocketRideEvent union so the type system enforces handling.

- pageStatus.ts: Add traceEvent variant to PageStatusIncomingMessage
  carrying pipelineId, op, pipes[], and trace data.

- PageStatusProvider.ts: Handle apaevt_flow events by constructing
  traceEvent messages and broadcasting to all open webviews. Pipeline
  slot ID (body.id) is forwarded as pipelineId.

## VS Code Extension — Document-based trace state (PageStatus.tsx)

The engine has 256 pipeline slots that process documents concurrently
and are reused across documents. A naive flat array of trace rows would
grow without bound and interleave events from different pipelines.

Solution: document-based state with per-slot routing.

- On 'begin' for slot N: allocate a new document (monotonic docId),
  bind slot N to it via slotBindingsRef. Old documents from the same
  slot are preserved in the archive.

- On 'enter'/'leave' for slot N: route to the bound document. Each slot
  has its own pending call stack (pendingStacksRef) so concurrent
  pipelines don't corrupt each other's enter/leave matching.

- On 'end' for slot N: mark the document completed, clear the binding.
  The document stays in the archive.

- Eviction: cap at 64 documents. Only evict completed documents — if
  the oldest doc is still in-flight (256 concurrent pipelines would
  exceed the cap), stop evicting to avoid losing live data.

- flushTraceRows() flattens all documents into a single TraceRow[] for
  rendering and stamps each row's completed flag from its parent
  document, so the UI can derive in-flight status without extra state.

## VS Code Extension — TraceSection component (NEW)

Waterfall call-tree visualization with:

- Object groups: rows grouped by docId (not objectName, since the same
  object can appear in multiple pipeline runs). Each group is a
  collapsible document header showing object name, elapsed time, and
  error status.

- Tree structure: flat rows rebuilt into a tree via depth, with
  collapsible parent nodes. Shift-click on any chevron expands/collapses
  the entire subtree.

- Batching: long runs of identical leaf nodes (same filterName + lane +
  depth) are collapsed behind a "N more..." row to keep the DOM small.

- Detail panel: clicking a row shows call info, elapsed time with
  percentage-of-parent bar, and expandable input/output data.

- In-flight styling: documents that haven't received 'end' render their
  header name in italic with descriptionForeground color.

- Lane colors and badges for pipeline stages (open, tags/data, text,
  documents, closing, close).

## VS Code Extension — Section layout standardization

- StatusSection: move time range buttons from CompletionsChart into the
  section header; wrap in section > header + section-content pattern.

- CompletionsChart: remove duplicated chart header (now in parent).

- TokenSection: migrate from status-panel to section pattern; fix
  "CPU Usages Tokens" typo to "CPU Usage Tokens".

- StatusHeader/StatusElapsed: switch from conditional rendering to
  visibility:hidden so the header doesn't reflow when status appears.

- styles.css: move tab-content padding to .section-content so each tab
  panel owns its own padding; add comprehensive trace UI styles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(vscode): move TraceSection into its own directory

Move TraceSection.tsx into a TraceSection/ directory with a barrel
index.tsx export, matching the convention used by StatusSection,
TokenSection, and other section components. The import path
'../../components/TraceSection' resolves unchanged via the barrel.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(vscode): shorten "Pipeline Flow" tab label to "Flow" (#132)

The tab bar uses uppercase small-caps styling, so shorter labels
reduce visual clutter and keep all five tabs comfortably visible
without truncation on narrow panels.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* Fix/engine crash (#134)

* fix(engine): serialize Pydantic models before passing to dictToJson

dictToJson only handles Python primitives, lists, tuples, and dicts.
Passing a Pydantic BaseModel (Question, Answer, IInvokeLLM, IInvokeTool)
directly caused a runtime crash because the function doesn't know how
to iterate a BaseModel — it falls through to the throw at pyjson.hpp:122.

writeDocuments didn't have this problem because it already called
.toDict() on each Doc object before passing the resulting list of
plain dicts to dictToJson. writeQuestions and writeAnswers skipped
that step and passed the raw Pydantic objects directly.

The fix calls .model_dump() (Pydantic v2's built-in serializer) on
each object before handing it to dictToJson, converting it to a plain
dict that dictToJson can traverse. The same fix is applied to
cb_control in filter.callbacks.target.cpp, which traces IInvokeLLM
and IInvokeTool control channel objects with the same pattern.

Files changed:
- binder.cpp: writeQuestions, writeAnswers now call model_dump()
- filter.callbacks.target.cpp: cb_control enter/leave traces call model_dump()
- binder.cpp: fix "pipeling" typo in comment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Updated launch params for C++

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* feat(server): Add docker image for one-click deploy (#126)

* one click docker deploy

* add user directive, tighten up download pattern, add dockerignore, add health check

* fix ga script injection, implement error handling, prevent duplicate containers, engine binary validation after extraction

* updated trivy-action

* update install method for trivy

* Remove Dockerfile.eaas and Dockerfile.overlay from the matrix

* Fix: Performance Metrics reset on tab switch (Closes #137) (#141)

### Problem

When the pipeline was running, switching from the **Status** tab to Tokens or Errors and back to Status caused the Performance Metrics graph to reset to zero instead of continuing.

### Root cause

Tab content was **conditionally rendered** (e.g. `{activeTab === 'status' && <StatusSection ... />}`). Leaving the Status tab **unmounted** `StatusSection`; switching back **remounted** it. On remount, `StatusSection`’s init effect ran again (600 zero `dataPoints`) and the 1s sampling interval restarted, so the graph appeared to start over.

### Solution

- **`PageStatus.tsx`:** All tab panels (Status, Tokens, Flow, Trace, Errors) are always rendered. Each panel is wrapped in a `div` with class `tab-panel` and `tab-panel-hidden` when inactive, plus `role="tabpanel"` and `aria-hidden` for accessibility. Only the active panel is visible; the rest stay mounted but hidden.
- **`PageStatus/styles.css`:** Added `.tab-panel-hidden { display: none; }` so inactive panels take no space while remaining in the DOM.

`StatusSection` (and its `dataPoints`, sampling interval, and refs) now stays mounted when switching tabs, so the Performance Metrics graph continues across tab switches.

### Verification

1. Start a pipeline and let the Performance Metrics graph show data.
2. Switch to Tokens, then to Errors, then back to Status.
3. Confirm the graph continues from where it left off (no reset to zero).

* fix: workflow (#145)

* chore: remove unused version-only package.json files from workspace

These 7 package.json files (engine-core, engine-lib, nodes, ai, tika,
client-python, client-mcp) contained only a name and version field with
no dependencies, scripts, or build configuration. They were not imported
by any code, not referenced by CI workflows, not read by the CMake build
system, and not used as workspace dependencies by any other package.

The release and nightly workflows extract versions from the root
package.json and pyproject.toml files respectively — these sub-package
versions were never consumed by the release pipeline, creating a
misleading version drift (e.g. engine-lib at 3.1.0 while the root
package.json driving releases was at 1.0.3).

The Python client and MCP client already have their canonical versions
in pyproject.toml, making the duplicate package.json files redundant.

Removes corresponding entries from pnpm-workspace.yaml to prevent pnpm
install failures, and removes the explicit nodes/package.json path from
scripts/licenses.js (which handled missing files gracefully via
readJsonSafe but is cleaner without the dead reference).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(ci): merge publish and github-release into single idempotent job

Previously the release workflow had two separate jobs: `publish` (a
single sequential job pushing all packages to registries) and
`github-release` (a matrix job creating GitHub Releases). This created
several problems:

1. A failure in one registry publish (e.g. PyPI) blocked all other
   packages from publishing, even unrelated ones like the VS Code
   extension or TypeScript client.

2. The `github-release` job depended on `publish` completing, so a
   registry failure also prevented GitHub Releases from being created
   for packages that had no registry (like the server).

3. Registry publish and GitHub Release creation were decoupled, making
   it possible for a package to be published to npm but have no
   corresponding GitHub Release (or vice versa), with no easy way to
   detect or recover from partial states.

The new `publish` matrix job handles each package independently with
fail-fast: false. Each matrix entry performs the complete lifecycle for
one package: check if the git tag exists (skip entirely if so), download
its artifacts, publish to its registry (with existing skip-if-exists
checks preserved), create the git tag, and create the GitHub Release.

This makes each package fully idempotent — once a tag exists, that
package is done forever. It also means a Python client failure cannot
block the TypeScript client, server, or VS Code extension from
releasing. Re-running the workflow after fixing a failure will skip
already-completed packages automatically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(ci): split nightly into per-package prereleases with cleanup

The nightly workflow previously bundled all 13 artifacts (server binaries
for 3 platforms, TypeScript client, Python client, MCP client, VS Code
extension) into a single GitHub Release under a date-stamped tag like
nightly-20260301. This made it difficult to find or download a specific
package's prerelease, and the single-release structure was inconsistent
with the release workflow which creates separate releases per package.

The nightly now creates 5 separate GitHub prereleases, one per package,
using tags that mirror the release convention with a -prerelease suffix
(e.g. server-v1.0.3-prerelease, client-typescript-v1.0.1-prerelease).
This makes prereleases discoverable alongside their stable counterparts
when filtering tags by package name.

A cleanup-prereleases job runs before creating new prereleases, deleting
all existing *-prerelease tags and their GitHub Releases. This prevents
stale prereleases from accumulating when versions are bumped — if the
server version changes from 1.0.3 to 1.1.0, the old
server-v1.0.3-prerelease is removed before server-v1.1.0-prerelease is
created.

The commit-based skip check (check job) has been removed. The nightly
now always builds on schedule or manual dispatch, simplifying the
workflow and eliminating the need for a marker tag to track the last
nightly run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: add release process documentation

Adds RELEASE.md documenting the complete release pipeline for
contributors and maintainers. The release process was previously
undocumented, requiring reading the workflow YAML to understand how
versions are managed, what triggers builds, where packages are
published, and how idempotency works.

Covers both workflows (nightly prereleases and stable releases), all 5
packages and their registries, version management and how to release
individual packages, tag naming conventions, and troubleshooting for
common issues like orphaned tags and partial publish failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(server): check prerelease builds when downloading pre-built binaries (#149)

The build system's download-or-compile logic (`makeCheckPrebuiltAction`)
determines whether to download a pre-built server binary or compile from
source by comparing a content hash of the local source tree against the
manifest stored in a GitHub Release.

Previously, it only checked the stable release tag (`server-v{version}`),
which is published from the `main` branch. Developers building from
`develop` — where active development happens — would always get a content
hash mismatch because `develop` has diverged from `main`. This forced a
full C++ compile (~20+ minutes) on every clean build, even though the
nightly workflow had already built and published the exact same source as
a prerelease (`server-v{version}-prerelease`).

This change makes the download logic try both tags in order:

  1. `server-v{version}` (stable) — matches when building from `main`
  2. `server-v{version}-prerelease` (nightly) — matches when building
     from `develop`, since nightlies are built from that branch

If either manifest's content hash matches the local source, the pre-built
binary is downloaded. If neither matches, compilation proceeds as before.

This dramatically reduces build times for developers and CI jobs that
build from the `develop` branch, since the nightly prerelease binary
can be reused instead of recompiling from source.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(parse): fix Tika table fallback for Excel when Aspose is not used (#148)

* feat(vscode): show pipeline errors/warnings in sidebar and link to status Errors tab (#139)

- Sidebar Pipelines tree: show error and warning counts on pipeline file and
  source names when task status has errors/warnings.
- Under each source with issues, show exactly two lines: "Warnings" (if any)
  and "Errors" (if any); no expandable folders or per-message lines.
- Clicking "Warnings" or "Errors" in the sidebar opens the pipeline status
  page (if needed), switches to the Errors tab, and scrolls to the
  corresponding Warnings or Errors section.
- PageStatusProvider: add getTaskStatus(projectId, sourceId) for the sidebar;
  call sidebar refresh from updateStatus() so counts update when task status
  changes.
- Status webview: handle scrollToSection (errors | warnings), set active tab
  to Errors and scroll to #errors-section or #warnings-section.
- Add revealErrorsSection(projectId, sourceId, section) and
  rocketride.sidebar.files.revealErrorsSection command.

* refactor(vscode): replace monolithic ConnectionManager with polymorphic backend managers (#159)

The old ConnectionManager directly managed engine installation, process
spawning, and cloud connections in one large class, leading to tangled
control flow and race conditions when switching engine versions.

This refactor introduces a BaseManager / EngineManager / CloudManager
hierarchy so each backend owns its own lifecycle (install, start, stop).
ConnectionManager now delegates to the active manager and focuses solely
on client connectivity and reconnection state.

Key architectural changes:
- Extract BaseManager (abstract), EngineManager (local), CloudManager
  (cloud/onprem) from the former inline logic and deleted EngineServer
- EngineInstaller.install() now checks GitHub for newer versions when
  using 'latest'/'prerelease' (previously it trusted whatever was on
  disk), and tracks published_at to detect same-tag rebuilds
- EngineInstaller concurrency guard removed — caller (EngineManager)
  controls sequencing; added CancellationToken support so in-flight
  downloads abort on disconnect/config change

Key bug fixes:
- Config change handler debounced (300ms) — saveAllSettings() writes
  each setting individually, firing onDidChangeConfiguration per write.
  Without debounce, multiple concurrent disconnect/reconnect cycles raced
  against each other
- disconnect() now keeps isManualDisconnect=true until the next
  successful connection or explicit caller reset, preventing stale
  onDisconnected callbacks from triggering unwanted reconnection
- onDisconnected callback guarded with closure-based client reference
  check (this.client !== client) to ignore callbacks from replaced clients
- handleConnectionError() is now awaited in _connect()'s catch block —
  previously fire-and-forget, allowing the caller to race past and clear
  isManualDisconnect while the error handler was still deciding whether
  to reconnect
- handleConnectionLoss() and handleConnectionError() made async with
  awaited cleanup() calls — previously cleanup was fire-and-forget
- disconnect() and dispose() are now async, awaiting engine process
  shutdown instead of fire-and-forget kill
- Extension deactivate() is now async to properly await dispose()

UI:
- Connection page shows installed engine version and publish date
  when connected in local mode

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(ci): reduce workflow noise on PRs (#146)

- Add concurrency groups to CodeQL, Dependency Review, Container Scan,
  and Lint PR workflows to cancel stale runs on new pushes
- Add path filtering to CodeQL (source code only) and Dependency Review
  (lockfiles/manifests only) so they skip irrelevant PRs
- Container Scan already had path filtering; Lint PR fires on all PRs
  (intentional — it validates the PR title)

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix: crew output bug, missing tool descriptions, modified 'instructions' agent config field (#157)

* Fix no response from crew bug, add host tool descriptions to agent tool provider description

* Fixed no output bug for crew, add host tools description to agent tool description, modified agent node's instructions config

---------

Co-authored-by: dylansavage-aparavi <dylan.savage@aparavi.com>

* refactor: Removed the architecture section of the readme. (#167)

* chore: pin GitHub Actions to SHA hashes for supply chain security (#155)

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* docs: document Pydantic serialization fix and expand chat pipeline examples (#161)

* chore: add community health files and OSS best practices (#154)

* chore: add community health files and OSS best practices

- CHANGELOG.md (Keep a Changelog format)
- CODEOWNERS (module-based review routing)
- SUPPORT.md (redirect support away from issues)
- FUNDING.yml (sponsor button)
- GOVERNANCE.md (roles and decision-making)
- CONTRIBUTING.md DCO section
- README.md OpenSSF Scorecard badge
- Renovate config for automated dependency updates
- Auto-labeler workflow (label PRs by module)
- Stale bot workflow (90+14 day lifecycle)
- OpenSSF Scorecard workflow (SARIF to Security tab)
- DCO enforcement workflow
- Dev Container for Codespaces
- Architecture Decision Records (ADR framework + first ADR)
- GitHub Copilot instructions

* fix: address review feedback on community health files

- Replace invalid dcoapp/app action with script-based DCO check
- Remove :automergeMinor from Renovate (only automerge patch)
- Fix ADR date to actual creation date

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* refactor(ci): consolidate PR workflows into single CI workflow (#156)

* refactor(ci): consolidate PR workflows into single CI workflow

Merge build, CodeQL, dependency-review, and container-scan into ci.yml
so PRs trigger one workflow run instead of four. Single concurrency
group means one cancel kills everything.

* fix(ci): skip container scan on PRs

Only run on push, schedule, and manual dispatch — matches original
path-filtered behavior without adding complexity.

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(vscode): change Docker deploy to pull and create instead of run (#169)

Replace `docker run --rm` with `docker pull` + `docker create` so the
container persists without auto-starting. Rename "Run engine" to
"Deploy locally" and add a "Deploy to remote server" section with
copyable commands. Uses separate sendText calls for cross-shell
compatibility (PowerShell 5.1 lacks &&).

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(server): Add firecrawl tool for agentic nodes (#158)

* add firecrawl tool for agentic nodes

* remove unused debug

* address PR review: drop namespace prefix, add outputSchema, revert pipelineUtils

- Remove _split_tool_name from firecrawl driver; tools now use bare names
  (scrape_url, map_url) instead of namespaced firecrawl.scrape_url
- Add outputSchema to both SCRAPE_URL_TOOL and MAP_URL_TOOL descriptors
- Include output_schema in _tool_query() returned descriptors
- Revert pipelineUtils.ts to develop (agent JSON fix handled in base class)
- Resolve crewai.py merge conflict: keep Dylan's fixes + add _make_args_schema
  and enhanced schema binding needed for firecrawl tool integration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* rename folder

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(engine,vscode): fix missing Python print() output in piped stdio and improve engine arg forwarding (#168)

Root cause: PyConfig_InitIsolatedConfig defaults buffered_stdio=1, which
wraps Python's sys.stdout in a BufferedWriter. When the engine is spawned
by VS Code with stdio:'pipe' (not a TTY), print() output sits in the
buffer indefinitely because there is no auto-flush on non-TTY streams.
This caused the ASCII banner and other print()-based output to never
appear in VS Code.

Fix: Set g_config.buffered_stdio=0 in engine-lib's Python init so the
BufferedWriter layer is removed entirely. sys.stdout becomes a raw FileIO,
and print() output flushes immediately through pipes.

Additional changes:

Engine argument forwarding:
- Move engineArgs from rocketride.local.engineArgs to top-level
  rocketride.engineArgs so it applies to all connection modes, not just
  local engine
- Pass engineArgs through DAP launch requests (session.ts) and execute
  pipeline requests (PageStatusProvider, SidebarFilesProvider)
- Update config.ts, package.json, and PageSettingsProvider to match the
  new setting path

VS Code output channels:
- Split single "RocketRide" output channel into "Rocket Ride: Extension"
  (DAP traffic, connection lifecycle, diagnostics) and "Rocket Ride:
  Console" (plain engine stdout/stderr from pipelines)
- Route engine-manager stdout/stderr and pipeline output events to the
  new console channel for cleaner separation
- Remove icon prefixes from raw engine output so it reads naturally
- Remove redundant JSDoc and empty else blocks

Server cleanup:
- Remove stdout diagnostic code from eaas.py, node.py (temporary debug
  instrumentation used to diagnose the buffering issue)
- Remove redundant debug() call in task_engine.py that was double-logging
  output events
- Remove configuration print statements from eaas.py startup

Build:
- Remove vscode:clean from default build task (tasks.json)
- Generate .vscodeignore during staging to exclude engine directory from
  VSIX package (engine is downloaded at runtime)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(docker): remove healthcheck that pings unsupported root endpoint (#175)

The HEALTHCHECK was hitting GET / every 10 seconds, which is not a
supported endpoint on the engine. Also removes curl from the image
since it was only needed for the healthcheck.

Signed-off-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix(docs): Update readme (#173)

* update readme v1

* update v1

* fix: Langchain Tool Input Schema (#176)

* fix(agent_langchain): generate per-tool args_schema from input_schema

* Add UI icons for crew and langchain

---------

* fix: update pnpm-lock.yaml for pnpm 10 compatibility (#171)

Remove empty workspace entries that pnpm 10 no longer writes,
fixing ERR_PNPM_LOCKFILE_CONFIG_MISMATCH on --frozen-lockfile.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(nodes): add http_request tool node with security guardrails (#172)

* feat(nodes): add http_request tool node with security guardrails

* refactor(nodes): rename http_request node to tool_httpRequest

* fix(tool_http_request): address PR review comments

- Rename node folder to tool_http_request (snake_case convention)
- Add DEFAULT_TIMEOUT_SECONDS (30s) to http_client.py to prevent
  requests from hanging indefinitely
- Make URL whitelist optional: empty whitelist now allows all URLs
  instead of blocking all

Made-with: Cursor

* feat(tool_http_request): allow agent to override request timeout

The default 30s timeout remains, but the agent can now pass an optional
timeout field (in seconds, capped at 300s) when it expects a slow API.

* chore: update copyright holder from RocketRide, Inc. to Aparavi Software AG

* adjust welcome page (#178)

* refactor(vscode): remove unused vscode elements, updated visuals (#174)

* refactor(vscode): remove integrations, deployment settings, and debug commands

Remove several features that are being replaced or are no longer part of the
extension's direction. This is a cleanup pass to reduce surface area before
building replacement functionality.

Delete the entire `integrations/` directory (integrateCopilot.ts,
integrateCursor.ts, integrations.ts, index.ts) and the IntegrationSettings
UI component. These modules synced RocketRide API docs into .github/copilot-
instructions.md and .cursorrules respectively. The approach of injecting
docs into IDE-specific files is being replaced with a different integration
strategy, so the settings (`copilotIntegration`, `cursorIntegration`),
the workspace-folder-change listener, the config-change listener, and
the startup sync call in extension.ts are all removed.

Remove the "Deployment connection" section from the Settings page. The
`deployUrl` config property, its load/save logic in PageSettingsProvider,
the `testDeployEndpoint` handler (~95 lines that created a temporary
RocketRideClient to verify deploy credentials), and the ConnectionSettings
UI (input + test button + message display) are all removed. The separate
Deploy *page* (PageDeployProvider) is unaffected — this only removes the
settings-page configuration for the deploy URL.

Remove the "Debug Pipeline" and "Deploy" inline buttons from the PIPELINES
sidebar tree view. The `launchPipeline` command handler (~25 lines, created
a debug config and called vscode.debug.startDebugging) and `attachPipeline`
command handler (~75 lines, resolved tokens, prompted for source selection,
created an attach config) are deleted from SidebarFilesProvider. Their
command definitions and `view/item/context` menu entries are removed from
package.json. The Run (play) and Stop (square) buttons remain.

Delete `apps/vscode/docs/` which contained API reference markdown files
(COMMON_MISTAKES, COMPONENT_REFERENCE, PIPELINE_RULES, QUICKSTART, README,
python_API, typescript_API) and integration template files (rules.md,
user.md). These were only consumed by the now-removed integration modules.

Filter prerelease versions out of the engine version selector dropdown in
ConnectionSettings. The `getReleases()` method in engine-installer.ts now
adds `!r.prerelease` to its filter, and the "(pre)" suffix label is removed
from the dropdown options since only stable releases are shown.

Remove the border/background from the status card and connection info
sections, and add top margin above the action buttons for better spacing.

* feat(vscode): add pipeline tracing toggle to status page

Replace the hardcoded pipelineTraceLevel: 'full' with user-controlled
tracing. The status page now shows an "Enable tracing" checkbox below
the Run button (only when the pipeline can be run). When checked, the
button reads "Run & Trace" and sends pipelineTraceLevel: 'full' with
the execute request. When unchecked, it reads "Run" and omits the
trace level, running without tracing overhead.

Also removes the trace level dropdown from the TraceSection header
(TraceLevel type, TRACE_LEVELS constant, select element, and related
props) and removes the sidebar's hardcoded pipelineTraceLevel: 'full'.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* * Updated visual styling on the trace section

* * Reduced the visual size of the handle box displays

* * Fix CI/CD failure, remove TaskMetrics display

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* feat(ci,vscode): version-aware Docker publishing and deploy (#177)

Inline Docker image builds into the release and nightly workflows,
replacing the standalone docker-publish.yml. Release builds tag with
the server version and latest; nightly builds tag with version-prerelease.

The VS Code deploy button now resolves the engine image tag dynamically
from the connected engine version instead of always using :latest.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* * Update version numbers so things get pushed out correctly (#181)

* fix(mcp_client): fix tool invocation, add User-Agent, remove env field (#179)

- Return input_schema (not inputSchema) in tool descriptors to match agent framework
- Strip framework-injected keys (security_context) before forwarding to MCP server
- Add default User-Agent header to streamable-http and SSE transports (fixes Cloudflare 403)
- Remove mcp_client.env field from services.json and env handling from IGlobal.py

* fix(ui): Update icons in deploy page and docs (#180)

* fix icons and update docs

* Fix formatting in README.md for high-performance engine

Remove "No GIL"

* adjust coloring in agent config text boxes

* update readme v2

* update readme v3

* update docs v3

* * Add VSCode marketplace readme

---------

Co-authored-by: Rod-Christensen <98939082+Rod-Christensen@users.noreply.github.com>
Co-authored-by: Rod.Christensen <rod.christensen@aparavi.com>

* refactor(ci): consolidate PR checks and remove DCO/Circleback (#189)

- Merge lint-pr.yaml + labeler.yml into single pr-checks.yml
- Remove DCO enforcement (team not ready for sign-off workflow)
- Remove DCO section from CONTRIBUTING.md
- Delete circleback-webhook.yml (creating noise issues)

PR workflows reduced from 4 to 2 (CI + PR checks).

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix(ai): skip forwarding flow events when pipeline tracing is not enabled (#190)

* fix: Add pydantic model and callable serialization to pyjson (#191)

The dictToJson function previously only handled primitive types,
lists, tuples, and dicts, throwing an exception for anything else.
This caused failures when Python objects contained pydantic models
or method/function references as values.

- Add pydantic v2 support via model_dump() serialization
- Add pydantic v1 fallback via dict() with __fields__ guard
- Add catch-all for callables (functions, methods, builtins,
  partials) using PyCallable_Check, returning "<method>" placeholder
- Order: pydantic checks before callable check, since pydantic
  model classes are technically callable
- The issue manifested itself when tracing through invoke calls
  which were obtaining a function reference or passing a pydantic object

* change default (#192)

* fix(ci): add workflow_dispatch trigger to release workflow (#193)

Allow manual triggering of the release workflow from the Actions UI.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

---------

Signed-off-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
Co-authored-by: Dmitrii Karataev <dmitry.karataev@gmail.com>
Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
Co-authored-by: Ryan Christensen <ryan.christensen@rocketride.ai>
Co-authored-by: dylan-savage <130109357+dylan-savage@users.noreply.github.com>
Co-authored-by: dylansavage-aparavi <dylan.savage@aparavi.com>
Co-authored-by: Ariel Vernaza <ariel@lazyracoon.tech>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Alexandru Sclearuc <asclearuc@gmail.com>
Co-authored-by: Joshua Darron Phillips <J.dspears@yahoo.com>
Co-authored-by: Shashidhar Babu P V D <80318074+shashidharbabu@users.noreply.github.com>
kwit75 added a commit that referenced this pull request Mar 5, 2026
* feat(ci): add nightly prerelease and release workflows (#118)

Split CI/CD into three dedicated workflows:
- build.yaml: PR builds and tests only (removed release code)
- nightly.yaml: cron + manual prerelease to GitHub Releases
- release.yaml: publish to npm, PyPI, VS Code Marketplace, Open VSX on push to main

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(ci): add GitHub Agentic Workflows for auto-triage, reviewer suggestions, and docs drift (#117)

* feat(ci): add GitHub Agentic Workflows for auto-triage, reviewer suggestion, and docs drift

Add three AI-powered GitHub Agentic Workflows using Claude as the engine:

- auto-triage: automatically labels new issues with type, priority, and
  module labels, adds them to the OSS Roadmap project board
- pr-reviewer-suggest: suggests 1-2 reviewers based on changed file paths
  and module ownership mapping
- docs-drift-detect: creates drift issues when code changes on develop
  may have outdated existing documentation

Each workflow is defined as a Markdown file with frontmatter config and
compiled to a .lock.yml GitHub Actions workflow via gh-aw.

* fix(ci): address review findings in agentic workflows

- Fix incorrect doc filenames in docs-drift-detect (ROCKETRIDE_typescript_API.md,
  ROCKETRIDE_python_API.md instead of nonexistent CLIENT_ variants)
- Add missing noop call in docs-drift-detect when no docs are affected
- Remove GH_AW_PROJECT_GITHUB_TOKEN from tools.github block (only needed
  on update-project safe-output, not for all reads)
- Add tika/vcpkg paths to engine module mapping across all 3 workflows
- Add dropper-ui path to chat-ui module in pr-reviewer-suggest and
  docs-drift-detect (was already in auto-triage)
- Add apps/engine/** to docs-drift-detect path mapping
- Add ROCKETRIDE_COMMON_MISTAKES.md and ROCKETRIDE_README.md to
  docs-drift-detect affected docs
- Skip already-triaged issues (auto-triage label check) on reopen
- Skip PRs that already have reviewers assigned
- Handle empty file list and no-eligible-reviewer edge cases
- Bump add-labels max from 5 to 6 for headroom

* chore(ci): add workflow_dispatch trigger for manual testing

Adds workflow_dispatch as an additional trigger to all three agentic
workflows so they can be tested via gh aw run before merging.

* chore(ci): switch agentic workflows from claude to copilot engine

Use the default copilot engine instead of claude. Copilot is free for
public/OSS repos and requires no API key secret.

* revert: switch back to claude engine (copilot requires interactive model acceptance)

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix svg sizing, add icon theme styling, replace dropper header icon (#121)

* initial commit (#122)

* (feat): Agentic-architecture (#125)

* feat(nodes): add agent base, crewai, tools base, and mcp client

* initial refactor -> move agent_base to ai/common/agent

* Tools base refactor -> tools base now lives in ai/common

* turn host tools and host llms into abstract methods that only require binding to the framework nodes format

* Full clean of agent base and crew

* Add Langchain Agents, delete crew question lane output

* refactor tools base

* Get rid of Agent Envelope, switch to outputting framework raw output + stack trace for outputs

* clean utils, stop overriding question context

* Rename Agent base, replace aparavi mentions with Rocketride, rename lang chain driver, add inline documentation

---------

Co-authored-by: dylansavage-aparavi <dylan.savage@aparavi.com>

* feat: add pipeline tracing, fix monitor event routing… (#129)

* feat: add pipeline tracing, fix monitor event routing, and improve VS Code extension UX

Pipeline Tracing (engine-lib):
- Add configurable pipelineTraceLevel (none/metadata/summary/full) to
  pipeline config and endpoint initialization
- Capture lane enter/leave trace data in Binder::callMethods with per-lane
  details (text length, buffer sizes, classification counts, etc.)
- Pass trace JSON through debugger enter/leave and DBG protocol messages
- Add tracing to control callback invocations in filter.callbacks.target

Monitor System Fixes (server):
- Fix bitmask check in forward_event to use the correct `pref` parameter
  instead of outer `subscriber_preference` variable
- Unify monitor subscriptions to project-based keys (p.projectId.source),
  removing redundant token-based (t.token) keys so subscribe/unsubscribe
  by token or project_id/source use the same registry entry
- Allow _send_updates to accept None control for pre-registration monitoring
- Remove auto-subscribe to SUMMARY on task start; global monitors are now
  registered centrally in ConnectionManager.onConnectionEstablished

VS Code Extension:
- Route task output events to the RocketRide Output channel with source
  prefix and icon, fixing output not appearing in the Output panel
- Replace Attach button with Stop button on running pipelines in the
  sidebar, using the same rrext_get_token + terminate pattern as
  PageStatusProvider
- Switch runPipeline from debug session to DAP execute command
- Subscribe PageStatusProvider to flow events for pipeline trace display
- Fix early disposal flag in handlePanelDisposal to prevent stale events
- Clean up execute requests: remove debug trace args and wildcard tokens

SDK (TypeScript + Python):
- Add pipelineTraceLevel option to execute methods in both client SDKs

Misc:
- Fix Python dev path (rocketride-python -> rocketlib-python) in init.cpp
- Clear embedding status message after model load completes
- Add silent option to exec/download scripts to suppress error output
- Remove c.bat build helper script
- Update launch.json for subprocess debugging

* fix(tests): update engtest for removed smb and aws connectors

---------

Co-authored-by: Ariel Vernaza <ariel@lazyracoon.tech>

* feat(vscode): reorganize PageStatus into tabbed layout with fixed header

Restructure the pipeline status page from a vertically-stacked panel layout
into a tabbed interface (Status, Tokens, Pipeline Flow, Errors) with a
persistent two-column header showing state/controls at all times.

Layout changes:
- Add fixed page header with two-column grid: status badge + job subtitle
  on the left, action buttons + elapsed time on the right
- Introduce TabPanel component with MUI-style animated sliding indicator,
  keyboard-accessible tab buttons, and VS Code theme integration
- Move all content sections (chart, tokens, pipeline flow, errors) into
  tab panels rendered on demand
- Tab content area rendered in a bordered, rounded box with margin offset
  from the tab bar for visual separation

StatusSection refactor:
- Extract StatusHeader into two components: StatusHeader (state badge +
  job status subtitle) and StatusElapsed ("Started Xs ago" display)
- Lift elapsed timer state and interval management up to PageStatus so
  both the fixed header and Status tab can share currentElapsed
- Strip StatusSection down to only CompletionsChart + StatusFooter;
  remove its panel header, action buttons, and control button logic
  (all now handled by PageStatus directly)
- Remove Duration field from StatusFooter stats row

Errors tab:
- Always visible in tab bar regardless of error/warning count
- Shows a custom SVG warning triangle icon as badge when errors > 0
- Add WarningIcon component (yellow triangle, black border, exclamation)
- Display "No errors or warnings" empty state using shared .no-data class
  inside consistent section-header/section-content structure

Styling:
- Add CSS for page-header grid, status-header-stack, status-indicator-box
  (16px fixed-width wrapper for dot alignment across rows), status-subtitle
  with focusBorder accent color, and status-elapsed
- Add tab-bar, tab-item, tab-indicator, tab-badge, and tab-content styles
- Remove tab-bar border-bottom, reduce font sizes to match VS Code defaults
- Reduce chart-section padding from 20px to 4px 0
- Neutralize nested panel/section borders inside tab-content

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat: add pipeline trace visualization with document-based state management

End-to-end pipeline tracing: from C++ engine trace payloads through the
Python event router to a new waterfall call-tree UI in the VS Code
extension. This replaces the previous fire-and-forget debug output with
structured, bounded, concurrent-safe trace state.

## C++ Engine — Structured trace levels and payloads

- Add PIPELINE_TRACE_LEVEL enum (NONE/METADATA/SUMMARY/FULL) to replace
  magic integers. Using a proper enum gives compile-time safety and makes
  the tiered data policy self-documenting (types.hpp, config.hpp,
  endpoint.config.cpp).

- Restructure trace payloads in binder.cpp and filter.callbacks.target.cpp:
  remove redundant pipeId/provider fields (already encoded in the pipe
  path), move error strings to trace.error instead of trace.data.error
  so the UI can surface them without nested lookups, and enrich data at
  each trace tier (e.g., writeDocuments now includes full document dicts
  at FULL level, writeQuestions/writeAnswers serialize actual payloads
  instead of just type names).

- Add empty JSON "{}" as the 6th field in BEGIN/END debug messages
  (pipe.instance.cpp) so the wire protocol always has a consistent
  6-field format that the Python parser can split without special-casing.

## Python Server — Two-stage event routing

- transport_stdio.py: Parse the 6th field of >DBG* messages as JSON
  instead of passing raw strings. Rename the transport-level event from
  apaevt_flow to apaevt_trace to distinguish the raw engine event from
  the enriched event forwarded to clients.

- task_engine.py: Handle the renamed apaevt_trace event. Build a new
  apaevt_flow event with the shape {id, op, pipes, trace} that the VS
  Code client expects — the pipes array gives the full call path and
  trace carries the structured data from the engine. This replaces the
  old approach of forwarding the raw pipeflow model dump.

## VS Code Extension — Trace event plumbing

- events.ts: Add EventFlowUpdate interface for apaevt_flow, include it
  in the RocketRideEvent union so the type system enforces handling.

- pageStatus.ts: Add traceEvent variant to PageStatusIncomingMessage
  carrying pipelineId, op, pipes[], and trace data.

- PageStatusProvider.ts: Handle apaevt_flow events by constructing
  traceEvent messages and broadcasting to all open webviews. Pipeline
  slot ID (body.id) is forwarded as pipelineId.

## VS Code Extension — Document-based trace state (PageStatus.tsx)

The engine has 256 pipeline slots that process documents concurrently
and are reused across documents. A naive flat array of trace rows would
grow without bound and interleave events from different pipelines.

Solution: document-based state with per-slot routing.

- On 'begin' for slot N: allocate a new document (monotonic docId),
  bind slot N to it via slotBindingsRef. Old documents from the same
  slot are preserved in the archive.

- On 'enter'/'leave' for slot N: route to the bound document. Each slot
  has its own pending call stack (pendingStacksRef) so concurrent
  pipelines don't corrupt each other's enter/leave matching.

- On 'end' for slot N: mark the document completed, clear the binding.
  The document stays in the archive.

- Eviction: cap at 64 documents. Only evict completed documents — if
  the oldest doc is still in-flight (256 concurrent pipelines would
  exceed the cap), stop evicting to avoid losing live data.

- flushTraceRows() flattens all documents into a single TraceRow[] for
  rendering and stamps each row's completed flag from its parent
  document, so the UI can derive in-flight status without extra state.

## VS Code Extension — TraceSection component (NEW)

Waterfall call-tree visualization with:

- Object groups: rows grouped by docId (not objectName, since the same
  object can appear in multiple pipeline runs). Each group is a
  collapsible document header showing object name, elapsed time, and
  error status.

- Tree structure: flat rows rebuilt into a tree via depth, with
  collapsible parent nodes. Shift-click on any chevron expands/collapses
  the entire subtree.

- Batching: long runs of identical leaf nodes (same filterName + lane +
  depth) are collapsed behind a "N more..." row to keep the DOM small.

- Detail panel: clicking a row shows call info, elapsed time with
  percentage-of-parent bar, and expandable input/output data.

- In-flight styling: documents that haven't received 'end' render their
  header name in italic with descriptionForeground color.

- Lane colors and badges for pipeline stages (open, tags/data, text,
  documents, closing, close).

## VS Code Extension — Section layout standardization

- StatusSection: move time range buttons from CompletionsChart into the
  section header; wrap in section > header + section-content pattern.

- CompletionsChart: remove duplicated chart header (now in parent).

- TokenSection: migrate from status-panel to section pattern; fix
  "CPU Usages Tokens" typo to "CPU Usage Tokens".

- StatusHeader/StatusElapsed: switch from conditional rendering to
  visibility:hidden so the header doesn't reflow when status appears.

- styles.css: move tab-content padding to .section-content so each tab
  panel owns its own padding; add comprehensive trace UI styles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(vscode): move TraceSection into its own directory

Move TraceSection.tsx into a TraceSection/ directory with a barrel
index.tsx export, matching the convention used by StatusSection,
TokenSection, and other section components. The import path
'../../components/TraceSection' resolves unchanged via the barrel.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(vscode): shorten "Pipeline Flow" tab label to "Flow" (#132)

The tab bar uses uppercase small-caps styling, so shorter labels
reduce visual clutter and keep all five tabs comfortably visible
without truncation on narrow panels.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* Fix/engine crash (#134)

* fix(engine): serialize Pydantic models before passing to dictToJson

dictToJson only handles Python primitives, lists, tuples, and dicts.
Passing a Pydantic BaseModel (Question, Answer, IInvokeLLM, IInvokeTool)
directly caused a runtime crash because the function doesn't know how
to iterate a BaseModel — it falls through to the throw at pyjson.hpp:122.

writeDocuments didn't have this problem because it already called
.toDict() on each Doc object before passing the resulting list of
plain dicts to dictToJson. writeQuestions and writeAnswers skipped
that step and passed the raw Pydantic objects directly.

The fix calls .model_dump() (Pydantic v2's built-in serializer) on
each object before handing it to dictToJson, converting it to a plain
dict that dictToJson can traverse. The same fix is applied to
cb_control in filter.callbacks.target.cpp, which traces IInvokeLLM
and IInvokeTool control channel objects with the same pattern.

Files changed:
- binder.cpp: writeQuestions, writeAnswers now call model_dump()
- filter.callbacks.target.cpp: cb_control enter/leave traces call model_dump()
- binder.cpp: fix "pipeling" typo in comment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Updated launch params for C++

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* feat(server): Add docker image for one-click deploy (#126)

* one click docker deploy

* add user directive, tighten up download pattern, add dockerignore, add health check

* fix ga script injection, implement error handling, prevent duplicate containers, engine binary validation after extraction

* updated trivy-action

* update install method for trivy

* Remove Dockerfile.eaas and Dockerfile.overlay from the matrix

* Fix: Performance Metrics reset on tab switch (Closes #137) (#141)

### Problem

When the pipeline was running, switching from the **Status** tab to Tokens or Errors and back to Status caused the Performance Metrics graph to reset to zero instead of continuing.

### Root cause

Tab content was **conditionally rendered** (e.g. `{activeTab === 'status' && <StatusSection ... />}`). Leaving the Status tab **unmounted** `StatusSection`; switching back **remounted** it. On remount, `StatusSection`’s init effect ran again (600 zero `dataPoints`) and the 1s sampling interval restarted, so the graph appeared to start over.

### Solution

- **`PageStatus.tsx`:** All tab panels (Status, Tokens, Flow, Trace, Errors) are always rendered. Each panel is wrapped in a `div` with class `tab-panel` and `tab-panel-hidden` when inactive, plus `role="tabpanel"` and `aria-hidden` for accessibility. Only the active panel is visible; the rest stay mounted but hidden.
- **`PageStatus/styles.css`:** Added `.tab-panel-hidden { display: none; }` so inactive panels take no space while remaining in the DOM.

`StatusSection` (and its `dataPoints`, sampling interval, and refs) now stays mounted when switching tabs, so the Performance Metrics graph continues across tab switches.

### Verification

1. Start a pipeline and let the Performance Metrics graph show data.
2. Switch to Tokens, then to Errors, then back to Status.
3. Confirm the graph continues from where it left off (no reset to zero).

* fix: workflow (#145)

* chore: remove unused version-only package.json files from workspace

These 7 package.json files (engine-core, engine-lib, nodes, ai, tika,
client-python, client-mcp) contained only a name and version field with
no dependencies, scripts, or build configuration. They were not imported
by any code, not referenced by CI workflows, not read by the CMake build
system, and not used as workspace dependencies by any other package.

The release and nightly workflows extract versions from the root
package.json and pyproject.toml files respectively — these sub-package
versions were never consumed by the release pipeline, creating a
misleading version drift (e.g. engine-lib at 3.1.0 while the root
package.json driving releases was at 1.0.3).

The Python client and MCP client already have their canonical versions
in pyproject.toml, making the duplicate package.json files redundant.

Removes corresponding entries from pnpm-workspace.yaml to prevent pnpm
install failures, and removes the explicit nodes/package.json path from
scripts/licenses.js (which handled missing files gracefully via
readJsonSafe but is cleaner without the dead reference).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(ci): merge publish and github-release into single idempotent job

Previously the release workflow had two separate jobs: `publish` (a
single sequential job pushing all packages to registries) and
`github-release` (a matrix job creating GitHub Releases). This created
several problems:

1. A failure in one registry publish (e.g. PyPI) blocked all other
   packages from publishing, even unrelated ones like the VS Code
   extension or TypeScript client.

2. The `github-release` job depended on `publish` completing, so a
   registry failure also prevented GitHub Releases from being created
   for packages that had no registry (like the server).

3. Registry publish and GitHub Release creation were decoupled, making
   it possible for a package to be published to npm but have no
   corresponding GitHub Release (or vice versa), with no easy way to
   detect or recover from partial states.

The new `publish` matrix job handles each package independently with
fail-fast: false. Each matrix entry performs the complete lifecycle for
one package: check if the git tag exists (skip entirely if so), download
its artifacts, publish to its registry (with existing skip-if-exists
checks preserved), create the git tag, and create the GitHub Release.

This makes each package fully idempotent — once a tag exists, that
package is done forever. It also means a Python client failure cannot
block the TypeScript client, server, or VS Code extension from
releasing. Re-running the workflow after fixing a failure will skip
already-completed packages automatically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(ci): split nightly into per-package prereleases with cleanup

The nightly workflow previously bundled all 13 artifacts (server binaries
for 3 platforms, TypeScript client, Python client, MCP client, VS Code
extension) into a single GitHub Release under a date-stamped tag like
nightly-20260301. This made it difficult to find or download a specific
package's prerelease, and the single-release structure was inconsistent
with the release workflow which creates separate releases per package.

The nightly now creates 5 separate GitHub prereleases, one per package,
using tags that mirror the release convention with a -prerelease suffix
(e.g. server-v1.0.3-prerelease, client-typescript-v1.0.1-prerelease).
This makes prereleases discoverable alongside their stable counterparts
when filtering tags by package name.

A cleanup-prereleases job runs before creating new prereleases, deleting
all existing *-prerelease tags and their GitHub Releases. This prevents
stale prereleases from accumulating when versions are bumped — if the
server version changes from 1.0.3 to 1.1.0, the old
server-v1.0.3-prerelease is removed before server-v1.1.0-prerelease is
created.

The commit-based skip check (check job) has been removed. The nightly
now always builds on schedule or manual dispatch, simplifying the
workflow and eliminating the need for a marker tag to track the last
nightly run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: add release process documentation

Adds RELEASE.md documenting the complete release pipeline for
contributors and maintainers. The release process was previously
undocumented, requiring reading the workflow YAML to understand how
versions are managed, what triggers builds, where packages are
published, and how idempotency works.

Covers both workflows (nightly prereleases and stable releases), all 5
packages and their registries, version management and how to release
individual packages, tag naming conventions, and troubleshooting for
common issues like orphaned tags and partial publish failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(server): check prerelease builds when downloading pre-built binaries (#149)

The build system's download-or-compile logic (`makeCheckPrebuiltAction`)
determines whether to download a pre-built server binary or compile from
source by comparing a content hash of the local source tree against the
manifest stored in a GitHub Release.

Previously, it only checked the stable release tag (`server-v{version}`),
which is published from the `main` branch. Developers building from
`develop` — where active development happens — would always get a content
hash mismatch because `develop` has diverged from `main`. This forced a
full C++ compile (~20+ minutes) on every clean build, even though the
nightly workflow had already built and published the exact same source as
a prerelease (`server-v{version}-prerelease`).

This change makes the download logic try both tags in order:

  1. `server-v{version}` (stable) — matches when building from `main`
  2. `server-v{version}-prerelease` (nightly) — matches when building
     from `develop`, since nightlies are built from that branch

If either manifest's content hash matches the local source, the pre-built
binary is downloaded. If neither matches, compilation proceeds as before.

This dramatically reduces build times for developers and CI jobs that
build from the `develop` branch, since the nightly prerelease binary
can be reused instead of recompiling from source.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(parse): fix Tika table fallback for Excel when Aspose is not used (#148)

* feat(vscode): show pipeline errors/warnings in sidebar and link to status Errors tab (#139)

- Sidebar Pipelines tree: show error and warning counts on pipeline file and
  source names when task status has errors/warnings.
- Under each source with issues, show exactly two lines: "Warnings" (if any)
  and "Errors" (if any); no expandable folders or per-message lines.
- Clicking "Warnings" or "Errors" in the sidebar opens the pipeline status
  page (if needed), switches to the Errors tab, and scrolls to the
  corresponding Warnings or Errors section.
- PageStatusProvider: add getTaskStatus(projectId, sourceId) for the sidebar;
  call sidebar refresh from updateStatus() so counts update when task status
  changes.
- Status webview: handle scrollToSection (errors | warnings), set active tab
  to Errors and scroll to #errors-section or #warnings-section.
- Add revealErrorsSection(projectId, sourceId, section) and
  rocketride.sidebar.files.revealErrorsSection command.

* refactor(vscode): replace monolithic ConnectionManager with polymorphic backend managers (#159)

The old ConnectionManager directly managed engine installation, process
spawning, and cloud connections in one large class, leading to tangled
control flow and race conditions when switching engine versions.

This refactor introduces a BaseManager / EngineManager / CloudManager
hierarchy so each backend owns its own lifecycle (install, start, stop).
ConnectionManager now delegates to the active manager and focuses solely
on client connectivity and reconnection state.

Key architectural changes:
- Extract BaseManager (abstract), EngineManager (local), CloudManager
  (cloud/onprem) from the former inline logic and deleted EngineServer
- EngineInstaller.install() now checks GitHub for newer versions when
  using 'latest'/'prerelease' (previously it trusted whatever was on
  disk), and tracks published_at to detect same-tag rebuilds
- EngineInstaller concurrency guard removed — caller (EngineManager)
  controls sequencing; added CancellationToken support so in-flight
  downloads abort on disconnect/config change

Key bug fixes:
- Config change handler debounced (300ms) — saveAllSettings() writes
  each setting individually, firing onDidChangeConfiguration per write.
  Without debounce, multiple concurrent disconnect/reconnect cycles raced
  against each other
- disconnect() now keeps isManualDisconnect=true until the next
  successful connection or explicit caller reset, preventing stale
  onDisconnected callbacks from triggering unwanted reconnection
- onDisconnected callback guarded with closure-based client reference
  check (this.client !== client) to ignore callbacks from replaced clients
- handleConnectionError() is now awaited in _connect()'s catch block —
  previously fire-and-forget, allowing the caller to race past and clear
  isManualDisconnect while the error handler was still deciding whether
  to reconnect
- handleConnectionLoss() and handleConnectionError() made async with
  awaited cleanup() calls — previously cleanup was fire-and-forget
- disconnect() and dispose() are now async, awaiting engine process
  shutdown instead of fire-and-forget kill
- Extension deactivate() is now async to properly await dispose()

UI:
- Connection page shows installed engine version and publish date
  when connected in local mode

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(ci): reduce workflow noise on PRs (#146)

- Add concurrency groups to CodeQL, Dependency Review, Container Scan,
  and Lint PR workflows to cancel stale runs on new pushes
- Add path filtering to CodeQL (source code only) and Dependency Review
  (lockfiles/manifests only) so they skip irrelevant PRs
- Container Scan already had path filtering; Lint PR fires on all PRs
  (intentional — it validates the PR title)

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix: crew output bug, missing tool descriptions, modified 'instructions' agent config field (#157)

* Fix no response from crew bug, add host tool descriptions to agent tool provider description

* Fixed no output bug for crew, add host tools description to agent tool description, modified agent node's instructions config

---------

Co-authored-by: dylansavage-aparavi <dylan.savage@aparavi.com>

* refactor: Removed the architecture section of the readme. (#167)

* chore: pin GitHub Actions to SHA hashes for supply chain security (#155)

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* docs: document Pydantic serialization fix and expand chat pipeline examples (#161)

* chore: add community health files and OSS best practices (#154)

* chore: add community health files and OSS best practices

- CHANGELOG.md (Keep a Changelog format)
- CODEOWNERS (module-based review routing)
- SUPPORT.md (redirect support away from issues)
- FUNDING.yml (sponsor button)
- GOVERNANCE.md (roles and decision-making)
- CONTRIBUTING.md DCO section
- README.md OpenSSF Scorecard badge
- Renovate config for automated dependency updates
- Auto-labeler workflow (label PRs by module)
- Stale bot workflow (90+14 day lifecycle)
- OpenSSF Scorecard workflow (SARIF to Security tab)
- DCO enforcement workflow
- Dev Container for Codespaces
- Architecture Decision Records (ADR framework + first ADR)
- GitHub Copilot instructions

* fix: address review feedback on community health files

- Replace invalid dcoapp/app action with script-based DCO check
- Remove :automergeMinor from Renovate (only automerge patch)
- Fix ADR date to actual creation date

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* refactor(ci): consolidate PR workflows into single CI workflow (#156)

* refactor(ci): consolidate PR workflows into single CI workflow

Merge build, CodeQL, dependency-review, and container-scan into ci.yml
so PRs trigger one workflow run instead of four. Single concurrency
group means one cancel kills everything.

* fix(ci): skip container scan on PRs

Only run on push, schedule, and manual dispatch — matches original
path-filtered behavior without adding complexity.

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(vscode): change Docker deploy to pull and create instead of run (#169)

Replace `docker run --rm` with `docker pull` + `docker create` so the
container persists without auto-starting. Rename "Run engine" to
"Deploy locally" and add a "Deploy to remote server" section with
copyable commands. Uses separate sendText calls for cross-shell
compatibility (PowerShell 5.1 lacks &&).

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(server): Add firecrawl tool for agentic nodes (#158)

* add firecrawl tool for agentic nodes

* remove unused debug

* address PR review: drop namespace prefix, add outputSchema, revert pipelineUtils

- Remove _split_tool_name from firecrawl driver; tools now use bare names
  (scrape_url, map_url) instead of namespaced firecrawl.scrape_url
- Add outputSchema to both SCRAPE_URL_TOOL and MAP_URL_TOOL descriptors
- Include output_schema in _tool_query() returned descriptors
- Revert pipelineUtils.ts to develop (agent JSON fix handled in base class)
- Resolve crewai.py merge conflict: keep Dylan's fixes + add _make_args_schema
  and enhanced schema binding needed for firecrawl tool integration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* rename folder

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(engine,vscode): fix missing Python print() output in piped stdio and improve engine arg forwarding (#168)

Root cause: PyConfig_InitIsolatedConfig defaults buffered_stdio=1, which
wraps Python's sys.stdout in a BufferedWriter. When the engine is spawned
by VS Code with stdio:'pipe' (not a TTY), print() output sits in the
buffer indefinitely because there is no auto-flush on non-TTY streams.
This caused the ASCII banner and other print()-based output to never
appear in VS Code.

Fix: Set g_config.buffered_stdio=0 in engine-lib's Python init so the
BufferedWriter layer is removed entirely. sys.stdout becomes a raw FileIO,
and print() output flushes immediately through pipes.

Additional changes:

Engine argument forwarding:
- Move engineArgs from rocketride.local.engineArgs to top-level
  rocketride.engineArgs so it applies to all connection modes, not just
  local engine
- Pass engineArgs through DAP launch requests (session.ts) and execute
  pipeline requests (PageStatusProvider, SidebarFilesProvider)
- Update config.ts, package.json, and PageSettingsProvider to match the
  new setting path

VS Code output channels:
- Split single "RocketRide" output channel into "Rocket Ride: Extension"
  (DAP traffic, connection lifecycle, diagnostics) and "Rocket Ride:
  Console" (plain engine stdout/stderr from pipelines)
- Route engine-manager stdout/stderr and pipeline output events to the
  new console channel for cleaner separation
- Remove icon prefixes from raw engine output so it reads naturally
- Remove redundant JSDoc and empty else blocks

Server cleanup:
- Remove stdout diagnostic code from eaas.py, node.py (temporary debug
  instrumentation used to diagnose the buffering issue)
- Remove redundant debug() call in task_engine.py that was double-logging
  output events
- Remove configuration print statements from eaas.py startup

Build:
- Remove vscode:clean from default build task (tasks.json)
- Generate .vscodeignore during staging to exclude engine directory from
  VSIX package (engine is downloaded at runtime)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(docker): remove healthcheck that pings unsupported root endpoint (#175)

The HEALTHCHECK was hitting GET / every 10 seconds, which is not a
supported endpoint on the engine. Also removes curl from the image
since it was only needed for the healthcheck.

Signed-off-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix(docs): Update readme (#173)

* update readme v1

* update v1

* fix: Langchain Tool Input Schema (#176)

* fix(agent_langchain): generate per-tool args_schema from input_schema

* Add UI icons for crew and langchain

---------

* fix: update pnpm-lock.yaml for pnpm 10 compatibility (#171)

Remove empty workspace entries that pnpm 10 no longer writes,
fixing ERR_PNPM_LOCKFILE_CONFIG_MISMATCH on --frozen-lockfile.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(nodes): add http_request tool node with security guardrails (#172)

* feat(nodes): add http_request tool node with security guardrails

* refactor(nodes): rename http_request node to tool_httpRequest

* fix(tool_http_request): address PR review comments

- Rename node folder to tool_http_request (snake_case convention)
- Add DEFAULT_TIMEOUT_SECONDS (30s) to http_client.py to prevent
  requests from hanging indefinitely
- Make URL whitelist optional: empty whitelist now allows all URLs
  instead of blocking all

Made-with: Cursor

* feat(tool_http_request): allow agent to override request timeout

The default 30s timeout remains, but the agent can now pass an optional
timeout field (in seconds, capped at 300s) when it expects a slow API.

* chore: update copyright holder from RocketRide, Inc. to Aparavi Software AG

* adjust welcome page (#178)

* refactor(vscode): remove unused vscode elements, updated visuals (#174)

* refactor(vscode): remove integrations, deployment settings, and debug commands

Remove several features that are being replaced or are no longer part of the
extension's direction. This is a cleanup pass to reduce surface area before
building replacement functionality.

Delete the entire `integrations/` directory (integrateCopilot.ts,
integrateCursor.ts, integrations.ts, index.ts) and the IntegrationSettings
UI component. These modules synced RocketRide API docs into .github/copilot-
instructions.md and .cursorrules respectively. The approach of injecting
docs into IDE-specific files is being replaced with a different integration
strategy, so the settings (`copilotIntegration`, `cursorIntegration`),
the workspace-folder-change listener, the config-change listener, and
the startup sync call in extension.ts are all removed.

Remove the "Deployment connection" section from the Settings page. The
`deployUrl` config property, its load/save logic in PageSettingsProvider,
the `testDeployEndpoint` handler (~95 lines that created a temporary
RocketRideClient to verify deploy credentials), and the ConnectionSettings
UI (input + test button + message display) are all removed. The separate
Deploy *page* (PageDeployProvider) is unaffected — this only removes the
settings-page configuration for the deploy URL.

Remove the "Debug Pipeline" and "Deploy" inline buttons from the PIPELINES
sidebar tree view. The `launchPipeline` command handler (~25 lines, created
a debug config and called vscode.debug.startDebugging) and `attachPipeline`
command handler (~75 lines, resolved tokens, prompted for source selection,
created an attach config) are deleted from SidebarFilesProvider. Their
command definitions and `view/item/context` menu entries are removed from
package.json. The Run (play) and Stop (square) buttons remain.

Delete `apps/vscode/docs/` which contained API reference markdown files
(COMMON_MISTAKES, COMPONENT_REFERENCE, PIPELINE_RULES, QUICKSTART, README,
python_API, typescript_API) and integration template files (rules.md,
user.md). These were only consumed by the now-removed integration modules.

Filter prerelease versions out of the engine version selector dropdown in
ConnectionSettings. The `getReleases()` method in engine-installer.ts now
adds `!r.prerelease` to its filter, and the "(pre)" suffix label is removed
from the dropdown options since only stable releases are shown.

Remove the border/background from the status card and connection info
sections, and add top margin above the action buttons for better spacing.

* feat(vscode): add pipeline tracing toggle to status page

Replace the hardcoded pipelineTraceLevel: 'full' with user-controlled
tracing. The status page now shows an "Enable tracing" checkbox below
the Run button (only when the pipeline can be run). When checked, the
button reads "Run & Trace" and sends pipelineTraceLevel: 'full' with
the execute request. When unchecked, it reads "Run" and omits the
trace level, running without tracing overhead.

Also removes the trace level dropdown from the TraceSection header
(TraceLevel type, TRACE_LEVELS constant, select element, and related
props) and removes the sidebar's hardcoded pipelineTraceLevel: 'full'.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* * Updated visual styling on the trace section

* * Reduced the visual size of the handle box displays

* * Fix CI/CD failure, remove TaskMetrics display

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* feat(ci,vscode): version-aware Docker publishing and deploy (#177)

Inline Docker image builds into the release and nightly workflows,
replacing the standalone docker-publish.yml. Release builds tag with
the server version and latest; nightly builds tag with version-prerelease.

The VS Code deploy button now resolves the engine image tag dynamically
from the connected engine version instead of always using :latest.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* * Update version numbers so things get pushed out correctly (#181)

* fix(mcp_client): fix tool invocation, add User-Agent, remove env field (#179)

- Return input_schema (not inputSchema) in tool descriptors to match agent framework
- Strip framework-injected keys (security_context) before forwarding to MCP server
- Add default User-Agent header to streamable-http and SSE transports (fixes Cloudflare 403)
- Remove mcp_client.env field from services.json and env handling from IGlobal.py

* fix(ui): Update icons in deploy page and docs (#180)

* fix icons and update docs

* Fix formatting in README.md for high-performance engine

Remove "No GIL"

* adjust coloring in agent config text boxes

* update readme v2

* update readme v3

* update docs v3

* * Add VSCode marketplace readme

---------

Co-authored-by: Rod-Christensen <98939082+Rod-Christensen@users.noreply.github.com>
Co-authored-by: Rod.Christensen <rod.christensen@aparavi.com>

* refactor(ci): consolidate PR checks and remove DCO/Circleback (#189)

- Merge lint-pr.yaml + labeler.yml into single pr-checks.yml
- Remove DCO enforcement (team not ready for sign-off workflow)
- Remove DCO section from CONTRIBUTING.md
- Delete circleback-webhook.yml (creating noise issues)

PR workflows reduced from 4 to 2 (CI + PR checks).

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix(ai): skip forwarding flow events when pipeline tracing is not enabled (#190)

* fix: Add pydantic model and callable serialization to pyjson (#191)

The dictToJson function previously only handled primitive types,
lists, tuples, and dicts, throwing an exception for anything else.
This caused failures when Python objects contained pydantic models
or method/function references as values.

- Add pydantic v2 support via model_dump() serialization
- Add pydantic v1 fallback via dict() with __fields__ guard
- Add catch-all for callables (functions, methods, builtins,
  partials) using PyCallable_Check, returning "<method>" placeholder
- Order: pydantic checks before callable check, since pydantic
  model classes are technically callable
- The issue manifested itself when tracing through invoke calls
  which were obtaining a function reference or passing a pydantic object

* change default (#192)

* fix(ci): add workflow_dispatch trigger to release workflow (#193)

Allow manual triggering of the release workflow from the Actions UI.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix(ci): prefix tarball path with ./ for npm publish (#195)

npm interprets paths without ./ prefix as GitHub shorthand (owner/repo),
causing it to attempt git ls-remote instead of publishing the local file.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix(ci): add OIDC support for npm trusted publishers (#196)

Add id-token: write permission and --provenance flag to npm publish
for OIDC-based authentication with npm trusted publishers.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

---------

Signed-off-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
Co-authored-by: Ryan Christensen <ryan.christensen@rocketride.ai>
Co-authored-by: dylan-savage <130109357+dylan-savage@users.noreply.github.com>
Co-authored-by: dylansavage-aparavi <dylan.savage@aparavi.com>
Co-authored-by: Rod-Christensen <98939082+Rod-Christensen@users.noreply.github.com>
Co-authored-by: Ariel Vernaza <ariel@lazyracoon.tech>
Co-authored-by: Rod.Christensen <rod.christensen@aparavi.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Alexandru Sclearuc <asclearuc@gmail.com>
Co-authored-by: Joshua Darron Phillips <J.dspears@yahoo.com>
Co-authored-by: Shashidhar Babu P V D <80318074+shashidharbabu@users.noreply.github.com>
AviNormie pushed a commit to AviNormie/rocketride-server that referenced this pull request Nov 9, 2026
* one click docker deploy

* add user directive, tighten up download pattern, add dockerignore, add health check

* fix ga script injection, implement error handling, prevent duplicate containers, engine binary validation after extraction

* updated trivy-action

* update install method for trivy

* Remove Dockerfile.eaas and Dockerfile.overlay from the matrix
AviNormie pushed a commit to AviNormie/rocketride-server that referenced this pull request Nov 9, 2026
* feat(ci): add nightly prerelease and release workflows (rocketride-org#118)

Split CI/CD into three dedicated workflows:
- build.yaml: PR builds and tests only (removed release code)
- nightly.yaml: cron + manual prerelease to GitHub Releases
- release.yaml: publish to npm, PyPI, VS Code Marketplace, Open VSX on push to main

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(ci): add GitHub Agentic Workflows for auto-triage, reviewer suggestions, and docs drift (rocketride-org#117)

* feat(ci): add GitHub Agentic Workflows for auto-triage, reviewer suggestion, and docs drift

Add three AI-powered GitHub Agentic Workflows using Claude as the engine:

- auto-triage: automatically labels new issues with type, priority, and
  module labels, adds them to the OSS Roadmap project board
- pr-reviewer-suggest: suggests 1-2 reviewers based on changed file paths
  and module ownership mapping
- docs-drift-detect: creates drift issues when code changes on develop
  may have outdated existing documentation

Each workflow is defined as a Markdown file with frontmatter config and
compiled to a .lock.yml GitHub Actions workflow via gh-aw.

* fix(ci): address review findings in agentic workflows

- Fix incorrect doc filenames in docs-drift-detect (ROCKETRIDE_typescript_API.md,
  ROCKETRIDE_python_API.md instead of nonexistent CLIENT_ variants)
- Add missing noop call in docs-drift-detect when no docs are affected
- Remove GH_AW_PROJECT_GITHUB_TOKEN from tools.github block (only needed
  on update-project safe-output, not for all reads)
- Add tika/vcpkg paths to engine module mapping across all 3 workflows
- Add dropper-ui path to chat-ui module in pr-reviewer-suggest and
  docs-drift-detect (was already in auto-triage)
- Add apps/engine/** to docs-drift-detect path mapping
- Add ROCKETRIDE_COMMON_MISTAKES.md and ROCKETRIDE_README.md to
  docs-drift-detect affected docs
- Skip already-triaged issues (auto-triage label check) on reopen
- Skip PRs that already have reviewers assigned
- Handle empty file list and no-eligible-reviewer edge cases
- Bump add-labels max from 5 to 6 for headroom

* chore(ci): add workflow_dispatch trigger for manual testing

Adds workflow_dispatch as an additional trigger to all three agentic
workflows so they can be tested via gh aw run before merging.

* chore(ci): switch agentic workflows from claude to copilot engine

Use the default copilot engine instead of claude. Copilot is free for
public/OSS repos and requires no API key secret.

* revert: switch back to claude engine (copilot requires interactive model acceptance)

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix svg sizing, add icon theme styling, replace dropper header icon (rocketride-org#121)

* initial commit (rocketride-org#122)

* (feat): Agentic-architecture (rocketride-org#125)

* feat(nodes): add agent base, crewai, tools base, and mcp client

* initial refactor -> move agent_base to ai/common/agent

* Tools base refactor -> tools base now lives in ai/common

* turn host tools and host llms into abstract methods that only require binding to the framework nodes format

* Full clean of agent base and crew

* Add Langchain Agents, delete crew question lane output

* refactor tools base

* Get rid of Agent Envelope, switch to outputting framework raw output + stack trace for outputs

* clean utils, stop overriding question context

* Rename Agent base, replace aparavi mentions with Rocketride, rename lang chain driver, add inline documentation

---------

Co-authored-by: dylansavage-aparavi <dylan.savage@aparavi.com>

* feat: add pipeline tracing, fix monitor event routing… (rocketride-org#129)

* feat: add pipeline tracing, fix monitor event routing, and improve VS Code extension UX

Pipeline Tracing (engine-lib):
- Add configurable pipelineTraceLevel (none/metadata/summary/full) to
  pipeline config and endpoint initialization
- Capture lane enter/leave trace data in Binder::callMethods with per-lane
  details (text length, buffer sizes, classification counts, etc.)
- Pass trace JSON through debugger enter/leave and DBG protocol messages
- Add tracing to control callback invocations in filter.callbacks.target

Monitor System Fixes (server):
- Fix bitmask check in forward_event to use the correct `pref` parameter
  instead of outer `subscriber_preference` variable
- Unify monitor subscriptions to project-based keys (p.projectId.source),
  removing redundant token-based (t.token) keys so subscribe/unsubscribe
  by token or project_id/source use the same registry entry
- Allow _send_updates to accept None control for pre-registration monitoring
- Remove auto-subscribe to SUMMARY on task start; global monitors are now
  registered centrally in ConnectionManager.onConnectionEstablished

VS Code Extension:
- Route task output events to the RocketRide Output channel with source
  prefix and icon, fixing output not appearing in the Output panel
- Replace Attach button with Stop button on running pipelines in the
  sidebar, using the same rrext_get_token + terminate pattern as
  PageStatusProvider
- Switch runPipeline from debug session to DAP execute command
- Subscribe PageStatusProvider to flow events for pipeline trace display
- Fix early disposal flag in handlePanelDisposal to prevent stale events
- Clean up execute requests: remove debug trace args and wildcard tokens

SDK (TypeScript + Python):
- Add pipelineTraceLevel option to execute methods in both client SDKs

Misc:
- Fix Python dev path (rocketride-python -> rocketlib-python) in init.cpp
- Clear embedding status message after model load completes
- Add silent option to exec/download scripts to suppress error output
- Remove c.bat build helper script
- Update launch.json for subprocess debugging

* fix(tests): update engtest for removed smb and aws connectors

---------

Co-authored-by: Ariel Vernaza <ariel@lazyracoon.tech>

* feat(vscode): reorganize PageStatus into tabbed layout with fixed header

Restructure the pipeline status page from a vertically-stacked panel layout
into a tabbed interface (Status, Tokens, Pipeline Flow, Errors) with a
persistent two-column header showing state/controls at all times.

Layout changes:
- Add fixed page header with two-column grid: status badge + job subtitle
  on the left, action buttons + elapsed time on the right
- Introduce TabPanel component with MUI-style animated sliding indicator,
  keyboard-accessible tab buttons, and VS Code theme integration
- Move all content sections (chart, tokens, pipeline flow, errors) into
  tab panels rendered on demand
- Tab content area rendered in a bordered, rounded box with margin offset
  from the tab bar for visual separation

StatusSection refactor:
- Extract StatusHeader into two components: StatusHeader (state badge +
  job status subtitle) and StatusElapsed ("Started Xs ago" display)
- Lift elapsed timer state and interval management up to PageStatus so
  both the fixed header and Status tab can share currentElapsed
- Strip StatusSection down to only CompletionsChart + StatusFooter;
  remove its panel header, action buttons, and control button logic
  (all now handled by PageStatus directly)
- Remove Duration field from StatusFooter stats row

Errors tab:
- Always visible in tab bar regardless of error/warning count
- Shows a custom SVG warning triangle icon as badge when errors > 0
- Add WarningIcon component (yellow triangle, black border, exclamation)
- Display "No errors or warnings" empty state using shared .no-data class
  inside consistent section-header/section-content structure

Styling:
- Add CSS for page-header grid, status-header-stack, status-indicator-box
  (16px fixed-width wrapper for dot alignment across rows), status-subtitle
  with focusBorder accent color, and status-elapsed
- Add tab-bar, tab-item, tab-indicator, tab-badge, and tab-content styles
- Remove tab-bar border-bottom, reduce font sizes to match VS Code defaults
- Reduce chart-section padding from 20px to 4px 0
- Neutralize nested panel/section borders inside tab-content

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat: add pipeline trace visualization with document-based state management

End-to-end pipeline tracing: from C++ engine trace payloads through the
Python event router to a new waterfall call-tree UI in the VS Code
extension. This replaces the previous fire-and-forget debug output with
structured, bounded, concurrent-safe trace state.

## C++ Engine — Structured trace levels and payloads

- Add PIPELINE_TRACE_LEVEL enum (NONE/METADATA/SUMMARY/FULL) to replace
  magic integers. Using a proper enum gives compile-time safety and makes
  the tiered data policy self-documenting (types.hpp, config.hpp,
  endpoint.config.cpp).

- Restructure trace payloads in binder.cpp and filter.callbacks.target.cpp:
  remove redundant pipeId/provider fields (already encoded in the pipe
  path), move error strings to trace.error instead of trace.data.error
  so the UI can surface them without nested lookups, and enrich data at
  each trace tier (e.g., writeDocuments now includes full document dicts
  at FULL level, writeQuestions/writeAnswers serialize actual payloads
  instead of just type names).

- Add empty JSON "{}" as the 6th field in BEGIN/END debug messages
  (pipe.instance.cpp) so the wire protocol always has a consistent
  6-field format that the Python parser can split without special-casing.

## Python Server — Two-stage event routing

- transport_stdio.py: Parse the 6th field of >DBG* messages as JSON
  instead of passing raw strings. Rename the transport-level event from
  apaevt_flow to apaevt_trace to distinguish the raw engine event from
  the enriched event forwarded to clients.

- task_engine.py: Handle the renamed apaevt_trace event. Build a new
  apaevt_flow event with the shape {id, op, pipes, trace} that the VS
  Code client expects — the pipes array gives the full call path and
  trace carries the structured data from the engine. This replaces the
  old approach of forwarding the raw pipeflow model dump.

## VS Code Extension — Trace event plumbing

- events.ts: Add EventFlowUpdate interface for apaevt_flow, include it
  in the RocketRideEvent union so the type system enforces handling.

- pageStatus.ts: Add traceEvent variant to PageStatusIncomingMessage
  carrying pipelineId, op, pipes[], and trace data.

- PageStatusProvider.ts: Handle apaevt_flow events by constructing
  traceEvent messages and broadcasting to all open webviews. Pipeline
  slot ID (body.id) is forwarded as pipelineId.

## VS Code Extension — Document-based trace state (PageStatus.tsx)

The engine has 256 pipeline slots that process documents concurrently
and are reused across documents. A naive flat array of trace rows would
grow without bound and interleave events from different pipelines.

Solution: document-based state with per-slot routing.

- On 'begin' for slot N: allocate a new document (monotonic docId),
  bind slot N to it via slotBindingsRef. Old documents from the same
  slot are preserved in the archive.

- On 'enter'/'leave' for slot N: route to the bound document. Each slot
  has its own pending call stack (pendingStacksRef) so concurrent
  pipelines don't corrupt each other's enter/leave matching.

- On 'end' for slot N: mark the document completed, clear the binding.
  The document stays in the archive.

- Eviction: cap at 64 documents. Only evict completed documents — if
  the oldest doc is still in-flight (256 concurrent pipelines would
  exceed the cap), stop evicting to avoid losing live data.

- flushTraceRows() flattens all documents into a single TraceRow[] for
  rendering and stamps each row's completed flag from its parent
  document, so the UI can derive in-flight status without extra state.

## VS Code Extension — TraceSection component (NEW)

Waterfall call-tree visualization with:

- Object groups: rows grouped by docId (not objectName, since the same
  object can appear in multiple pipeline runs). Each group is a
  collapsible document header showing object name, elapsed time, and
  error status.

- Tree structure: flat rows rebuilt into a tree via depth, with
  collapsible parent nodes. Shift-click on any chevron expands/collapses
  the entire subtree.

- Batching: long runs of identical leaf nodes (same filterName + lane +
  depth) are collapsed behind a "N more..." row to keep the DOM small.

- Detail panel: clicking a row shows call info, elapsed time with
  percentage-of-parent bar, and expandable input/output data.

- In-flight styling: documents that haven't received 'end' render their
  header name in italic with descriptionForeground color.

- Lane colors and badges for pipeline stages (open, tags/data, text,
  documents, closing, close).

## VS Code Extension — Section layout standardization

- StatusSection: move time range buttons from CompletionsChart into the
  section header; wrap in section > header + section-content pattern.

- CompletionsChart: remove duplicated chart header (now in parent).

- TokenSection: migrate from status-panel to section pattern; fix
  "CPU Usages Tokens" typo to "CPU Usage Tokens".

- StatusHeader/StatusElapsed: switch from conditional rendering to
  visibility:hidden so the header doesn't reflow when status appears.

- styles.css: move tab-content padding to .section-content so each tab
  panel owns its own padding; add comprehensive trace UI styles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(vscode): move TraceSection into its own directory

Move TraceSection.tsx into a TraceSection/ directory with a barrel
index.tsx export, matching the convention used by StatusSection,
TokenSection, and other section components. The import path
'../../components/TraceSection' resolves unchanged via the barrel.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(vscode): shorten "Pipeline Flow" tab label to "Flow" (rocketride-org#132)

The tab bar uses uppercase small-caps styling, so shorter labels
reduce visual clutter and keep all five tabs comfortably visible
without truncation on narrow panels.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* Fix/engine crash (rocketride-org#134)

* fix(engine): serialize Pydantic models before passing to dictToJson

dictToJson only handles Python primitives, lists, tuples, and dicts.
Passing a Pydantic BaseModel (Question, Answer, IInvokeLLM, IInvokeTool)
directly caused a runtime crash because the function doesn't know how
to iterate a BaseModel — it falls through to the throw at pyjson.hpp:122.

writeDocuments didn't have this problem because it already called
.toDict() on each Doc object before passing the resulting list of
plain dicts to dictToJson. writeQuestions and writeAnswers skipped
that step and passed the raw Pydantic objects directly.

The fix calls .model_dump() (Pydantic v2's built-in serializer) on
each object before handing it to dictToJson, converting it to a plain
dict that dictToJson can traverse. The same fix is applied to
cb_control in filter.callbacks.target.cpp, which traces IInvokeLLM
and IInvokeTool control channel objects with the same pattern.

Files changed:
- binder.cpp: writeQuestions, writeAnswers now call model_dump()
- filter.callbacks.target.cpp: cb_control enter/leave traces call model_dump()
- binder.cpp: fix "pipeling" typo in comment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Updated launch params for C++

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* feat(server): Add docker image for one-click deploy (rocketride-org#126)

* one click docker deploy

* add user directive, tighten up download pattern, add dockerignore, add health check

* fix ga script injection, implement error handling, prevent duplicate containers, engine binary validation after extraction

* updated trivy-action

* update install method for trivy

* Remove Dockerfile.eaas and Dockerfile.overlay from the matrix

* Fix: Performance Metrics reset on tab switch (Closes rocketride-org#137) (rocketride-org#141)

### Problem

When the pipeline was running, switching from the **Status** tab to Tokens or Errors and back to Status caused the Performance Metrics graph to reset to zero instead of continuing.

### Root cause

Tab content was **conditionally rendered** (e.g. `{activeTab === 'status' && <StatusSection ... />}`). Leaving the Status tab **unmounted** `StatusSection`; switching back **remounted** it. On remount, `StatusSection`’s init effect ran again (600 zero `dataPoints`) and the 1s sampling interval restarted, so the graph appeared to start over.

### Solution

- **`PageStatus.tsx`:** All tab panels (Status, Tokens, Flow, Trace, Errors) are always rendered. Each panel is wrapped in a `div` with class `tab-panel` and `tab-panel-hidden` when inactive, plus `role="tabpanel"` and `aria-hidden` for accessibility. Only the active panel is visible; the rest stay mounted but hidden.
- **`PageStatus/styles.css`:** Added `.tab-panel-hidden { display: none; }` so inactive panels take no space while remaining in the DOM.

`StatusSection` (and its `dataPoints`, sampling interval, and refs) now stays mounted when switching tabs, so the Performance Metrics graph continues across tab switches.

### Verification

1. Start a pipeline and let the Performance Metrics graph show data.
2. Switch to Tokens, then to Errors, then back to Status.
3. Confirm the graph continues from where it left off (no reset to zero).

* fix: workflow (rocketride-org#145)

* chore: remove unused version-only package.json files from workspace

These 7 package.json files (engine-core, engine-lib, nodes, ai, tika,
client-python, client-mcp) contained only a name and version field with
no dependencies, scripts, or build configuration. They were not imported
by any code, not referenced by CI workflows, not read by the CMake build
system, and not used as workspace dependencies by any other package.

The release and nightly workflows extract versions from the root
package.json and pyproject.toml files respectively — these sub-package
versions were never consumed by the release pipeline, creating a
misleading version drift (e.g. engine-lib at 3.1.0 while the root
package.json driving releases was at 1.0.3).

The Python client and MCP client already have their canonical versions
in pyproject.toml, making the duplicate package.json files redundant.

Removes corresponding entries from pnpm-workspace.yaml to prevent pnpm
install failures, and removes the explicit nodes/package.json path from
scripts/licenses.js (which handled missing files gracefully via
readJsonSafe but is cleaner without the dead reference).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(ci): merge publish and github-release into single idempotent job

Previously the release workflow had two separate jobs: `publish` (a
single sequential job pushing all packages to registries) and
`github-release` (a matrix job creating GitHub Releases). This created
several problems:

1. A failure in one registry publish (e.g. PyPI) blocked all other
   packages from publishing, even unrelated ones like the VS Code
   extension or TypeScript client.

2. The `github-release` job depended on `publish` completing, so a
   registry failure also prevented GitHub Releases from being created
   for packages that had no registry (like the server).

3. Registry publish and GitHub Release creation were decoupled, making
   it possible for a package to be published to npm but have no
   corresponding GitHub Release (or vice versa), with no easy way to
   detect or recover from partial states.

The new `publish` matrix job handles each package independently with
fail-fast: false. Each matrix entry performs the complete lifecycle for
one package: check if the git tag exists (skip entirely if so), download
its artifacts, publish to its registry (with existing skip-if-exists
checks preserved), create the git tag, and create the GitHub Release.

This makes each package fully idempotent — once a tag exists, that
package is done forever. It also means a Python client failure cannot
block the TypeScript client, server, or VS Code extension from
releasing. Re-running the workflow after fixing a failure will skip
already-completed packages automatically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(ci): split nightly into per-package prereleases with cleanup

The nightly workflow previously bundled all 13 artifacts (server binaries
for 3 platforms, TypeScript client, Python client, MCP client, VS Code
extension) into a single GitHub Release under a date-stamped tag like
nightly-20260301. This made it difficult to find or download a specific
package's prerelease, and the single-release structure was inconsistent
with the release workflow which creates separate releases per package.

The nightly now creates 5 separate GitHub prereleases, one per package,
using tags that mirror the release convention with a -prerelease suffix
(e.g. server-v1.0.3-prerelease, client-typescript-v1.0.1-prerelease).
This makes prereleases discoverable alongside their stable counterparts
when filtering tags by package name.

A cleanup-prereleases job runs before creating new prereleases, deleting
all existing *-prerelease tags and their GitHub Releases. This prevents
stale prereleases from accumulating when versions are bumped — if the
server version changes from 1.0.3 to 1.1.0, the old
server-v1.0.3-prerelease is removed before server-v1.1.0-prerelease is
created.

The commit-based skip check (check job) has been removed. The nightly
now always builds on schedule or manual dispatch, simplifying the
workflow and eliminating the need for a marker tag to track the last
nightly run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: add release process documentation

Adds RELEASE.md documenting the complete release pipeline for
contributors and maintainers. The release process was previously
undocumented, requiring reading the workflow YAML to understand how
versions are managed, what triggers builds, where packages are
published, and how idempotency works.

Covers both workflows (nightly prereleases and stable releases), all 5
packages and their registries, version management and how to release
individual packages, tag naming conventions, and troubleshooting for
common issues like orphaned tags and partial publish failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(server): check prerelease builds when downloading pre-built binaries (rocketride-org#149)

The build system's download-or-compile logic (`makeCheckPrebuiltAction`)
determines whether to download a pre-built server binary or compile from
source by comparing a content hash of the local source tree against the
manifest stored in a GitHub Release.

Previously, it only checked the stable release tag (`server-v{version}`),
which is published from the `main` branch. Developers building from
`develop` — where active development happens — would always get a content
hash mismatch because `develop` has diverged from `main`. This forced a
full C++ compile (~20+ minutes) on every clean build, even though the
nightly workflow had already built and published the exact same source as
a prerelease (`server-v{version}-prerelease`).

This change makes the download logic try both tags in order:

  1. `server-v{version}` (stable) — matches when building from `main`
  2. `server-v{version}-prerelease` (nightly) — matches when building
     from `develop`, since nightlies are built from that branch

If either manifest's content hash matches the local source, the pre-built
binary is downloaded. If neither matches, compilation proceeds as before.

This dramatically reduces build times for developers and CI jobs that
build from the `develop` branch, since the nightly prerelease binary
can be reused instead of recompiling from source.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(parse): fix Tika table fallback for Excel when Aspose is not used (rocketride-org#148)

* feat(vscode): show pipeline errors/warnings in sidebar and link to status Errors tab (rocketride-org#139)

- Sidebar Pipelines tree: show error and warning counts on pipeline file and
  source names when task status has errors/warnings.
- Under each source with issues, show exactly two lines: "Warnings" (if any)
  and "Errors" (if any); no expandable folders or per-message lines.
- Clicking "Warnings" or "Errors" in the sidebar opens the pipeline status
  page (if needed), switches to the Errors tab, and scrolls to the
  corresponding Warnings or Errors section.
- PageStatusProvider: add getTaskStatus(projectId, sourceId) for the sidebar;
  call sidebar refresh from updateStatus() so counts update when task status
  changes.
- Status webview: handle scrollToSection (errors | warnings), set active tab
  to Errors and scroll to #errors-section or #warnings-section.
- Add revealErrorsSection(projectId, sourceId, section) and
  rocketride.sidebar.files.revealErrorsSection command.

* refactor(vscode): replace monolithic ConnectionManager with polymorphic backend managers (rocketride-org#159)

The old ConnectionManager directly managed engine installation, process
spawning, and cloud connections in one large class, leading to tangled
control flow and race conditions when switching engine versions.

This refactor introduces a BaseManager / EngineManager / CloudManager
hierarchy so each backend owns its own lifecycle (install, start, stop).
ConnectionManager now delegates to the active manager and focuses solely
on client connectivity and reconnection state.

Key architectural changes:
- Extract BaseManager (abstract), EngineManager (local), CloudManager
  (cloud/onprem) from the former inline logic and deleted EngineServer
- EngineInstaller.install() now checks GitHub for newer versions when
  using 'latest'/'prerelease' (previously it trusted whatever was on
  disk), and tracks published_at to detect same-tag rebuilds
- EngineInstaller concurrency guard removed — caller (EngineManager)
  controls sequencing; added CancellationToken support so in-flight
  downloads abort on disconnect/config change

Key bug fixes:
- Config change handler debounced (300ms) — saveAllSettings() writes
  each setting individually, firing onDidChangeConfiguration per write.
  Without debounce, multiple concurrent disconnect/reconnect cycles raced
  against each other
- disconnect() now keeps isManualDisconnect=true until the next
  successful connection or explicit caller reset, preventing stale
  onDisconnected callbacks from triggering unwanted reconnection
- onDisconnected callback guarded with closure-based client reference
  check (this.client !== client) to ignore callbacks from replaced clients
- handleConnectionError() is now awaited in _connect()'s catch block —
  previously fire-and-forget, allowing the caller to race past and clear
  isManualDisconnect while the error handler was still deciding whether
  to reconnect
- handleConnectionLoss() and handleConnectionError() made async with
  awaited cleanup() calls — previously cleanup was fire-and-forget
- disconnect() and dispose() are now async, awaiting engine process
  shutdown instead of fire-and-forget kill
- Extension deactivate() is now async to properly await dispose()

UI:
- Connection page shows installed engine version and publish date
  when connected in local mode

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(ci): reduce workflow noise on PRs (rocketride-org#146)

- Add concurrency groups to CodeQL, Dependency Review, Container Scan,
  and Lint PR workflows to cancel stale runs on new pushes
- Add path filtering to CodeQL (source code only) and Dependency Review
  (lockfiles/manifests only) so they skip irrelevant PRs
- Container Scan already had path filtering; Lint PR fires on all PRs
  (intentional — it validates the PR title)

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix: crew output bug, missing tool descriptions, modified 'instructions' agent config field (rocketride-org#157)

* Fix no response from crew bug, add host tool descriptions to agent tool provider description

* Fixed no output bug for crew, add host tools description to agent tool description, modified agent node's instructions config

---------

Co-authored-by: dylansavage-aparavi <dylan.savage@aparavi.com>

* refactor: Removed the architecture section of the readme. (rocketride-org#167)

* chore: pin GitHub Actions to SHA hashes for supply chain security (rocketride-org#155)

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* docs: document Pydantic serialization fix and expand chat pipeline examples (rocketride-org#161)

* chore: add community health files and OSS best practices (rocketride-org#154)

* chore: add community health files and OSS best practices

- CHANGELOG.md (Keep a Changelog format)
- CODEOWNERS (module-based review routing)
- SUPPORT.md (redirect support away from issues)
- FUNDING.yml (sponsor button)
- GOVERNANCE.md (roles and decision-making)
- CONTRIBUTING.md DCO section
- README.md OpenSSF Scorecard badge
- Renovate config for automated dependency updates
- Auto-labeler workflow (label PRs by module)
- Stale bot workflow (90+14 day lifecycle)
- OpenSSF Scorecard workflow (SARIF to Security tab)
- DCO enforcement workflow
- Dev Container for Codespaces
- Architecture Decision Records (ADR framework + first ADR)
- GitHub Copilot instructions

* fix: address review feedback on community health files

- Replace invalid dcoapp/app action with script-based DCO check
- Remove :automergeMinor from Renovate (only automerge patch)
- Fix ADR date to actual creation date

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* refactor(ci): consolidate PR workflows into single CI workflow (rocketride-org#156)

* refactor(ci): consolidate PR workflows into single CI workflow

Merge build, CodeQL, dependency-review, and container-scan into ci.yml
so PRs trigger one workflow run instead of four. Single concurrency
group means one cancel kills everything.

* fix(ci): skip container scan on PRs

Only run on push, schedule, and manual dispatch — matches original
path-filtered behavior without adding complexity.

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(vscode): change Docker deploy to pull and create instead of run (rocketride-org#169)

Replace `docker run --rm` with `docker pull` + `docker create` so the
container persists without auto-starting. Rename "Run engine" to
"Deploy locally" and add a "Deploy to remote server" section with
copyable commands. Uses separate sendText calls for cross-shell
compatibility (PowerShell 5.1 lacks &&).

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(server): Add firecrawl tool for agentic nodes (rocketride-org#158)

* add firecrawl tool for agentic nodes

* remove unused debug

* address PR review: drop namespace prefix, add outputSchema, revert pipelineUtils

- Remove _split_tool_name from firecrawl driver; tools now use bare names
  (scrape_url, map_url) instead of namespaced firecrawl.scrape_url
- Add outputSchema to both SCRAPE_URL_TOOL and MAP_URL_TOOL descriptors
- Include output_schema in _tool_query() returned descriptors
- Revert pipelineUtils.ts to develop (agent JSON fix handled in base class)
- Resolve crewai.py merge conflict: keep Dylan's fixes + add _make_args_schema
  and enhanced schema binding needed for firecrawl tool integration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* rename folder

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(engine,vscode): fix missing Python print() output in piped stdio and improve engine arg forwarding (rocketride-org#168)

Root cause: PyConfig_InitIsolatedConfig defaults buffered_stdio=1, which
wraps Python's sys.stdout in a BufferedWriter. When the engine is spawned
by VS Code with stdio:'pipe' (not a TTY), print() output sits in the
buffer indefinitely because there is no auto-flush on non-TTY streams.
This caused the ASCII banner and other print()-based output to never
appear in VS Code.

Fix: Set g_config.buffered_stdio=0 in engine-lib's Python init so the
BufferedWriter layer is removed entirely. sys.stdout becomes a raw FileIO,
and print() output flushes immediately through pipes.

Additional changes:

Engine argument forwarding:
- Move engineArgs from rocketride.local.engineArgs to top-level
  rocketride.engineArgs so it applies to all connection modes, not just
  local engine
- Pass engineArgs through DAP launch requests (session.ts) and execute
  pipeline requests (PageStatusProvider, SidebarFilesProvider)
- Update config.ts, package.json, and PageSettingsProvider to match the
  new setting path

VS Code output channels:
- Split single "RocketRide" output channel into "Rocket Ride: Extension"
  (DAP traffic, connection lifecycle, diagnostics) and "Rocket Ride:
  Console" (plain engine stdout/stderr from pipelines)
- Route engine-manager stdout/stderr and pipeline output events to the
  new console channel for cleaner separation
- Remove icon prefixes from raw engine output so it reads naturally
- Remove redundant JSDoc and empty else blocks

Server cleanup:
- Remove stdout diagnostic code from eaas.py, node.py (temporary debug
  instrumentation used to diagnose the buffering issue)
- Remove redundant debug() call in task_engine.py that was double-logging
  output events
- Remove configuration print statements from eaas.py startup

Build:
- Remove vscode:clean from default build task (tasks.json)
- Generate .vscodeignore during staging to exclude engine directory from
  VSIX package (engine is downloaded at runtime)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(docker): remove healthcheck that pings unsupported root endpoint (rocketride-org#175)

The HEALTHCHECK was hitting GET / every 10 seconds, which is not a
supported endpoint on the engine. Also removes curl from the image
since it was only needed for the healthcheck.

Signed-off-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix(docs): Update readme (rocketride-org#173)

* update readme v1

* update v1

* fix: Langchain Tool Input Schema (rocketride-org#176)

* fix(agent_langchain): generate per-tool args_schema from input_schema

* Add UI icons for crew and langchain

---------

* fix: update pnpm-lock.yaml for pnpm 10 compatibility (rocketride-org#171)

Remove empty workspace entries that pnpm 10 no longer writes,
fixing ERR_PNPM_LOCKFILE_CONFIG_MISMATCH on --frozen-lockfile.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(nodes): add http_request tool node with security guardrails (rocketride-org#172)

* feat(nodes): add http_request tool node with security guardrails

* refactor(nodes): rename http_request node to tool_httpRequest

* fix(tool_http_request): address PR review comments

- Rename node folder to tool_http_request (snake_case convention)
- Add DEFAULT_TIMEOUT_SECONDS (30s) to http_client.py to prevent
  requests from hanging indefinitely
- Make URL whitelist optional: empty whitelist now allows all URLs
  instead of blocking all

Made-with: Cursor

* feat(tool_http_request): allow agent to override request timeout

The default 30s timeout remains, but the agent can now pass an optional
timeout field (in seconds, capped at 300s) when it expects a slow API.

* chore: update copyright holder from RocketRide, Inc. to Aparavi Software AG

* adjust welcome page (rocketride-org#178)

* refactor(vscode): remove unused vscode elements, updated visuals (rocketride-org#174)

* refactor(vscode): remove integrations, deployment settings, and debug commands

Remove several features that are being replaced or are no longer part of the
extension's direction. This is a cleanup pass to reduce surface area before
building replacement functionality.

Delete the entire `integrations/` directory (integrateCopilot.ts,
integrateCursor.ts, integrations.ts, index.ts) and the IntegrationSettings
UI component. These modules synced RocketRide API docs into .github/copilot-
instructions.md and .cursorrules respectively. The approach of injecting
docs into IDE-specific files is being replaced with a different integration
strategy, so the settings (`copilotIntegration`, `cursorIntegration`),
the workspace-folder-change listener, the config-change listener, and
the startup sync call in extension.ts are all removed.

Remove the "Deployment connection" section from the Settings page. The
`deployUrl` config property, its load/save logic in PageSettingsProvider,
the `testDeployEndpoint` handler (~95 lines that created a temporary
RocketRideClient to verify deploy credentials), and the ConnectionSettings
UI (input + test button + message display) are all removed. The separate
Deploy *page* (PageDeployProvider) is unaffected — this only removes the
settings-page configuration for the deploy URL.

Remove the "Debug Pipeline" and "Deploy" inline buttons from the PIPELINES
sidebar tree view. The `launchPipeline` command handler (~25 lines, created
a debug config and called vscode.debug.startDebugging) and `attachPipeline`
command handler (~75 lines, resolved tokens, prompted for source selection,
created an attach config) are deleted from SidebarFilesProvider. Their
command definitions and `view/item/context` menu entries are removed from
package.json. The Run (play) and Stop (square) buttons remain.

Delete `apps/vscode/docs/` which contained API reference markdown files
(COMMON_MISTAKES, COMPONENT_REFERENCE, PIPELINE_RULES, QUICKSTART, README,
python_API, typescript_API) and integration template files (rules.md,
user.md). These were only consumed by the now-removed integration modules.

Filter prerelease versions out of the engine version selector dropdown in
ConnectionSettings. The `getReleases()` method in engine-installer.ts now
adds `!r.prerelease` to its filter, and the "(pre)" suffix label is removed
from the dropdown options since only stable releases are shown.

Remove the border/background from the status card and connection info
sections, and add top margin above the action buttons for better spacing.

* feat(vscode): add pipeline tracing toggle to status page

Replace the hardcoded pipelineTraceLevel: 'full' with user-controlled
tracing. The status page now shows an "Enable tracing" checkbox below
the Run button (only when the pipeline can be run). When checked, the
button reads "Run & Trace" and sends pipelineTraceLevel: 'full' with
the execute request. When unchecked, it reads "Run" and omits the
trace level, running without tracing overhead.

Also removes the trace level dropdown from the TraceSection header
(TraceLevel type, TRACE_LEVELS constant, select element, and related
props) and removes the sidebar's hardcoded pipelineTraceLevel: 'full'.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* * Updated visual styling on the trace section

* * Reduced the visual size of the handle box displays

* * Fix CI/CD failure, remove TaskMetrics display

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* feat(ci,vscode): version-aware Docker publishing and deploy (rocketride-org#177)

Inline Docker image builds into the release and nightly workflows,
replacing the standalone docker-publish.yml. Release builds tag with
the server version and latest; nightly builds tag with version-prerelease.

The VS Code deploy button now resolves the engine image tag dynamically
from the connected engine version instead of always using :latest.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* * Update version numbers so things get pushed out correctly (rocketride-org#181)

* fix(mcp_client): fix tool invocation, add User-Agent, remove env field (rocketride-org#179)

- Return input_schema (not inputSchema) in tool descriptors to match agent framework
- Strip framework-injected keys (security_context) before forwarding to MCP server
- Add default User-Agent header to streamable-http and SSE transports (fixes Cloudflare 403)
- Remove mcp_client.env field from services.json and env handling from IGlobal.py

* fix(ui): Update icons in deploy page and docs (rocketride-org#180)

* fix icons and update docs

* Fix formatting in README.md for high-performance engine

Remove "No GIL"

* adjust coloring in agent config text boxes

* update readme v2

* update readme v3

* update docs v3

* * Add VSCode marketplace readme

---------

Co-authored-by: Rod-Christensen <98939082+Rod-Christensen@users.noreply.github.com>
Co-authored-by: Rod.Christensen <rod.christensen@aparavi.com>

* refactor(ci): consolidate PR checks and remove DCO/Circleback (rocketride-org#189)

- Merge lint-pr.yaml + labeler.yml into single pr-checks.yml
- Remove DCO enforcement (team not ready for sign-off workflow)
- Remove DCO section from CONTRIBUTING.md
- Delete circleback-webhook.yml (creating noise issues)

PR workflows reduced from 4 to 2 (CI + PR checks).

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix(ai): skip forwarding flow events when pipeline tracing is not enabled (rocketride-org#190)

* fix: Add pydantic model and callable serialization to pyjson (rocketride-org#191)

The dictToJson function previously only handled primitive types,
lists, tuples, and dicts, throwing an exception for anything else.
This caused failures when Python objects contained pydantic models
or method/function references as values.

- Add pydantic v2 support via model_dump() serialization
- Add pydantic v1 fallback via dict() with __fields__ guard
- Add catch-all for callables (functions, methods, builtins,
  partials) using PyCallable_Check, returning "<method>" placeholder
- Order: pydantic checks before callable check, since pydantic
  model classes are technically callable
- The issue manifested itself when tracing through invoke calls
  which were obtaining a function reference or passing a pydantic object

* change default (rocketride-org#192)

* fix(ci): add workflow_dispatch trigger to release workflow (rocketride-org#193)

Allow manual triggering of the release workflow from the Actions UI.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

---------

Signed-off-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
Co-authored-by: Dmitrii Karataev <dmitry.karataev@gmail.com>
Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
Co-authored-by: Ryan Christensen <ryan.christensen@rocketride.ai>
Co-authored-by: dylan-savage <130109357+dylan-savage@users.noreply.github.com>
Co-authored-by: dylansavage-aparavi <dylan.savage@aparavi.com>
Co-authored-by: Ariel Vernaza <ariel@lazyracoon.tech>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Alexandru Sclearuc <asclearuc@gmail.com>
Co-authored-by: Joshua Darron Phillips <J.dspears@yahoo.com>
Co-authored-by: Shashidhar Babu P V D <80318074+shashidharbabu@users.noreply.github.com>
AviNormie pushed a commit to AviNormie/rocketride-server that referenced this pull request Nov 9, 2026
)

* feat(ci): add nightly prerelease and release workflows (rocketride-org#118)

Split CI/CD into three dedicated workflows:
- build.yaml: PR builds and tests only (removed release code)
- nightly.yaml: cron + manual prerelease to GitHub Releases
- release.yaml: publish to npm, PyPI, VS Code Marketplace, Open VSX on push to main

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(ci): add GitHub Agentic Workflows for auto-triage, reviewer suggestions, and docs drift (rocketride-org#117)

* feat(ci): add GitHub Agentic Workflows for auto-triage, reviewer suggestion, and docs drift

Add three AI-powered GitHub Agentic Workflows using Claude as the engine:

- auto-triage: automatically labels new issues with type, priority, and
  module labels, adds them to the OSS Roadmap project board
- pr-reviewer-suggest: suggests 1-2 reviewers based on changed file paths
  and module ownership mapping
- docs-drift-detect: creates drift issues when code changes on develop
  may have outdated existing documentation

Each workflow is defined as a Markdown file with frontmatter config and
compiled to a .lock.yml GitHub Actions workflow via gh-aw.

* fix(ci): address review findings in agentic workflows

- Fix incorrect doc filenames in docs-drift-detect (ROCKETRIDE_typescript_API.md,
  ROCKETRIDE_python_API.md instead of nonexistent CLIENT_ variants)
- Add missing noop call in docs-drift-detect when no docs are affected
- Remove GH_AW_PROJECT_GITHUB_TOKEN from tools.github block (only needed
  on update-project safe-output, not for all reads)
- Add tika/vcpkg paths to engine module mapping across all 3 workflows
- Add dropper-ui path to chat-ui module in pr-reviewer-suggest and
  docs-drift-detect (was already in auto-triage)
- Add apps/engine/** to docs-drift-detect path mapping
- Add ROCKETRIDE_COMMON_MISTAKES.md and ROCKETRIDE_README.md to
  docs-drift-detect affected docs
- Skip already-triaged issues (auto-triage label check) on reopen
- Skip PRs that already have reviewers assigned
- Handle empty file list and no-eligible-reviewer edge cases
- Bump add-labels max from 5 to 6 for headroom

* chore(ci): add workflow_dispatch trigger for manual testing

Adds workflow_dispatch as an additional trigger to all three agentic
workflows so they can be tested via gh aw run before merging.

* chore(ci): switch agentic workflows from claude to copilot engine

Use the default copilot engine instead of claude. Copilot is free for
public/OSS repos and requires no API key secret.

* revert: switch back to claude engine (copilot requires interactive model acceptance)

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix svg sizing, add icon theme styling, replace dropper header icon (rocketride-org#121)

* initial commit (rocketride-org#122)

* (feat): Agentic-architecture (rocketride-org#125)

* feat(nodes): add agent base, crewai, tools base, and mcp client

* initial refactor -> move agent_base to ai/common/agent

* Tools base refactor -> tools base now lives in ai/common

* turn host tools and host llms into abstract methods that only require binding to the framework nodes format

* Full clean of agent base and crew

* Add Langchain Agents, delete crew question lane output

* refactor tools base

* Get rid of Agent Envelope, switch to outputting framework raw output + stack trace for outputs

* clean utils, stop overriding question context

* Rename Agent base, replace aparavi mentions with Rocketride, rename lang chain driver, add inline documentation

---------

Co-authored-by: dylansavage-aparavi <dylan.savage@aparavi.com>

* feat: add pipeline tracing, fix monitor event routing… (rocketride-org#129)

* feat: add pipeline tracing, fix monitor event routing, and improve VS Code extension UX

Pipeline Tracing (engine-lib):
- Add configurable pipelineTraceLevel (none/metadata/summary/full) to
  pipeline config and endpoint initialization
- Capture lane enter/leave trace data in Binder::callMethods with per-lane
  details (text length, buffer sizes, classification counts, etc.)
- Pass trace JSON through debugger enter/leave and DBG protocol messages
- Add tracing to control callback invocations in filter.callbacks.target

Monitor System Fixes (server):
- Fix bitmask check in forward_event to use the correct `pref` parameter
  instead of outer `subscriber_preference` variable
- Unify monitor subscriptions to project-based keys (p.projectId.source),
  removing redundant token-based (t.token) keys so subscribe/unsubscribe
  by token or project_id/source use the same registry entry
- Allow _send_updates to accept None control for pre-registration monitoring
- Remove auto-subscribe to SUMMARY on task start; global monitors are now
  registered centrally in ConnectionManager.onConnectionEstablished

VS Code Extension:
- Route task output events to the RocketRide Output channel with source
  prefix and icon, fixing output not appearing in the Output panel
- Replace Attach button with Stop button on running pipelines in the
  sidebar, using the same rrext_get_token + terminate pattern as
  PageStatusProvider
- Switch runPipeline from debug session to DAP execute command
- Subscribe PageStatusProvider to flow events for pipeline trace display
- Fix early disposal flag in handlePanelDisposal to prevent stale events
- Clean up execute requests: remove debug trace args and wildcard tokens

SDK (TypeScript + Python):
- Add pipelineTraceLevel option to execute methods in both client SDKs

Misc:
- Fix Python dev path (rocketride-python -> rocketlib-python) in init.cpp
- Clear embedding status message after model load completes
- Add silent option to exec/download scripts to suppress error output
- Remove c.bat build helper script
- Update launch.json for subprocess debugging

* fix(tests): update engtest for removed smb and aws connectors

---------

Co-authored-by: Ariel Vernaza <ariel@lazyracoon.tech>

* feat(vscode): reorganize PageStatus into tabbed layout with fixed header

Restructure the pipeline status page from a vertically-stacked panel layout
into a tabbed interface (Status, Tokens, Pipeline Flow, Errors) with a
persistent two-column header showing state/controls at all times.

Layout changes:
- Add fixed page header with two-column grid: status badge + job subtitle
  on the left, action buttons + elapsed time on the right
- Introduce TabPanel component with MUI-style animated sliding indicator,
  keyboard-accessible tab buttons, and VS Code theme integration
- Move all content sections (chart, tokens, pipeline flow, errors) into
  tab panels rendered on demand
- Tab content area rendered in a bordered, rounded box with margin offset
  from the tab bar for visual separation

StatusSection refactor:
- Extract StatusHeader into two components: StatusHeader (state badge +
  job status subtitle) and StatusElapsed ("Started Xs ago" display)
- Lift elapsed timer state and interval management up to PageStatus so
  both the fixed header and Status tab can share currentElapsed
- Strip StatusSection down to only CompletionsChart + StatusFooter;
  remove its panel header, action buttons, and control button logic
  (all now handled by PageStatus directly)
- Remove Duration field from StatusFooter stats row

Errors tab:
- Always visible in tab bar regardless of error/warning count
- Shows a custom SVG warning triangle icon as badge when errors > 0
- Add WarningIcon component (yellow triangle, black border, exclamation)
- Display "No errors or warnings" empty state using shared .no-data class
  inside consistent section-header/section-content structure

Styling:
- Add CSS for page-header grid, status-header-stack, status-indicator-box
  (16px fixed-width wrapper for dot alignment across rows), status-subtitle
  with focusBorder accent color, and status-elapsed
- Add tab-bar, tab-item, tab-indicator, tab-badge, and tab-content styles
- Remove tab-bar border-bottom, reduce font sizes to match VS Code defaults
- Reduce chart-section padding from 20px to 4px 0
- Neutralize nested panel/section borders inside tab-content

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat: add pipeline trace visualization with document-based state management

End-to-end pipeline tracing: from C++ engine trace payloads through the
Python event router to a new waterfall call-tree UI in the VS Code
extension. This replaces the previous fire-and-forget debug output with
structured, bounded, concurrent-safe trace state.

## C++ Engine — Structured trace levels and payloads

- Add PIPELINE_TRACE_LEVEL enum (NONE/METADATA/SUMMARY/FULL) to replace
  magic integers. Using a proper enum gives compile-time safety and makes
  the tiered data policy self-documenting (types.hpp, config.hpp,
  endpoint.config.cpp).

- Restructure trace payloads in binder.cpp and filter.callbacks.target.cpp:
  remove redundant pipeId/provider fields (already encoded in the pipe
  path), move error strings to trace.error instead of trace.data.error
  so the UI can surface them without nested lookups, and enrich data at
  each trace tier (e.g., writeDocuments now includes full document dicts
  at FULL level, writeQuestions/writeAnswers serialize actual payloads
  instead of just type names).

- Add empty JSON "{}" as the 6th field in BEGIN/END debug messages
  (pipe.instance.cpp) so the wire protocol always has a consistent
  6-field format that the Python parser can split without special-casing.

## Python Server — Two-stage event routing

- transport_stdio.py: Parse the 6th field of >DBG* messages as JSON
  instead of passing raw strings. Rename the transport-level event from
  apaevt_flow to apaevt_trace to distinguish the raw engine event from
  the enriched event forwarded to clients.

- task_engine.py: Handle the renamed apaevt_trace event. Build a new
  apaevt_flow event with the shape {id, op, pipes, trace} that the VS
  Code client expects — the pipes array gives the full call path and
  trace carries the structured data from the engine. This replaces the
  old approach of forwarding the raw pipeflow model dump.

## VS Code Extension — Trace event plumbing

- events.ts: Add EventFlowUpdate interface for apaevt_flow, include it
  in the RocketRideEvent union so the type system enforces handling.

- pageStatus.ts: Add traceEvent variant to PageStatusIncomingMessage
  carrying pipelineId, op, pipes[], and trace data.

- PageStatusProvider.ts: Handle apaevt_flow events by constructing
  traceEvent messages and broadcasting to all open webviews. Pipeline
  slot ID (body.id) is forwarded as pipelineId.

## VS Code Extension — Document-based trace state (PageStatus.tsx)

The engine has 256 pipeline slots that process documents concurrently
and are reused across documents. A naive flat array of trace rows would
grow without bound and interleave events from different pipelines.

Solution: document-based state with per-slot routing.

- On 'begin' for slot N: allocate a new document (monotonic docId),
  bind slot N to it via slotBindingsRef. Old documents from the same
  slot are preserved in the archive.

- On 'enter'/'leave' for slot N: route to the bound document. Each slot
  has its own pending call stack (pendingStacksRef) so concurrent
  pipelines don't corrupt each other's enter/leave matching.

- On 'end' for slot N: mark the document completed, clear the binding.
  The document stays in the archive.

- Eviction: cap at 64 documents. Only evict completed documents — if
  the oldest doc is still in-flight (256 concurrent pipelines would
  exceed the cap), stop evicting to avoid losing live data.

- flushTraceRows() flattens all documents into a single TraceRow[] for
  rendering and stamps each row's completed flag from its parent
  document, so the UI can derive in-flight status without extra state.

## VS Code Extension — TraceSection component (NEW)

Waterfall call-tree visualization with:

- Object groups: rows grouped by docId (not objectName, since the same
  object can appear in multiple pipeline runs). Each group is a
  collapsible document header showing object name, elapsed time, and
  error status.

- Tree structure: flat rows rebuilt into a tree via depth, with
  collapsible parent nodes. Shift-click on any chevron expands/collapses
  the entire subtree.

- Batching: long runs of identical leaf nodes (same filterName + lane +
  depth) are collapsed behind a "N more..." row to keep the DOM small.

- Detail panel: clicking a row shows call info, elapsed time with
  percentage-of-parent bar, and expandable input/output data.

- In-flight styling: documents that haven't received 'end' render their
  header name in italic with descriptionForeground color.

- Lane colors and badges for pipeline stages (open, tags/data, text,
  documents, closing, close).

## VS Code Extension — Section layout standardization

- StatusSection: move time range buttons from CompletionsChart into the
  section header; wrap in section > header + section-content pattern.

- CompletionsChart: remove duplicated chart header (now in parent).

- TokenSection: migrate from status-panel to section pattern; fix
  "CPU Usages Tokens" typo to "CPU Usage Tokens".

- StatusHeader/StatusElapsed: switch from conditional rendering to
  visibility:hidden so the header doesn't reflow when status appears.

- styles.css: move tab-content padding to .section-content so each tab
  panel owns its own padding; add comprehensive trace UI styles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(vscode): move TraceSection into its own directory

Move TraceSection.tsx into a TraceSection/ directory with a barrel
index.tsx export, matching the convention used by StatusSection,
TokenSection, and other section components. The import path
'../../components/TraceSection' resolves unchanged via the barrel.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(vscode): shorten "Pipeline Flow" tab label to "Flow" (rocketride-org#132)

The tab bar uses uppercase small-caps styling, so shorter labels
reduce visual clutter and keep all five tabs comfortably visible
without truncation on narrow panels.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* Fix/engine crash (rocketride-org#134)

* fix(engine): serialize Pydantic models before passing to dictToJson

dictToJson only handles Python primitives, lists, tuples, and dicts.
Passing a Pydantic BaseModel (Question, Answer, IInvokeLLM, IInvokeTool)
directly caused a runtime crash because the function doesn't know how
to iterate a BaseModel — it falls through to the throw at pyjson.hpp:122.

writeDocuments didn't have this problem because it already called
.toDict() on each Doc object before passing the resulting list of
plain dicts to dictToJson. writeQuestions and writeAnswers skipped
that step and passed the raw Pydantic objects directly.

The fix calls .model_dump() (Pydantic v2's built-in serializer) on
each object before handing it to dictToJson, converting it to a plain
dict that dictToJson can traverse. The same fix is applied to
cb_control in filter.callbacks.target.cpp, which traces IInvokeLLM
and IInvokeTool control channel objects with the same pattern.

Files changed:
- binder.cpp: writeQuestions, writeAnswers now call model_dump()
- filter.callbacks.target.cpp: cb_control enter/leave traces call model_dump()
- binder.cpp: fix "pipeling" typo in comment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Updated launch params for C++

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* feat(server): Add docker image for one-click deploy (rocketride-org#126)

* one click docker deploy

* add user directive, tighten up download pattern, add dockerignore, add health check

* fix ga script injection, implement error handling, prevent duplicate containers, engine binary validation after extraction

* updated trivy-action

* update install method for trivy

* Remove Dockerfile.eaas and Dockerfile.overlay from the matrix

* Fix: Performance Metrics reset on tab switch (Closes rocketride-org#137) (rocketride-org#141)

### Problem

When the pipeline was running, switching from the **Status** tab to Tokens or Errors and back to Status caused the Performance Metrics graph to reset to zero instead of continuing.

### Root cause

Tab content was **conditionally rendered** (e.g. `{activeTab === 'status' && <StatusSection ... />}`). Leaving the Status tab **unmounted** `StatusSection`; switching back **remounted** it. On remount, `StatusSection`’s init effect ran again (600 zero `dataPoints`) and the 1s sampling interval restarted, so the graph appeared to start over.

### Solution

- **`PageStatus.tsx`:** All tab panels (Status, Tokens, Flow, Trace, Errors) are always rendered. Each panel is wrapped in a `div` with class `tab-panel` and `tab-panel-hidden` when inactive, plus `role="tabpanel"` and `aria-hidden` for accessibility. Only the active panel is visible; the rest stay mounted but hidden.
- **`PageStatus/styles.css`:** Added `.tab-panel-hidden { display: none; }` so inactive panels take no space while remaining in the DOM.

`StatusSection` (and its `dataPoints`, sampling interval, and refs) now stays mounted when switching tabs, so the Performance Metrics graph continues across tab switches.

### Verification

1. Start a pipeline and let the Performance Metrics graph show data.
2. Switch to Tokens, then to Errors, then back to Status.
3. Confirm the graph continues from where it left off (no reset to zero).

* fix: workflow (rocketride-org#145)

* chore: remove unused version-only package.json files from workspace

These 7 package.json files (engine-core, engine-lib, nodes, ai, tika,
client-python, client-mcp) contained only a name and version field with
no dependencies, scripts, or build configuration. They were not imported
by any code, not referenced by CI workflows, not read by the CMake build
system, and not used as workspace dependencies by any other package.

The release and nightly workflows extract versions from the root
package.json and pyproject.toml files respectively — these sub-package
versions were never consumed by the release pipeline, creating a
misleading version drift (e.g. engine-lib at 3.1.0 while the root
package.json driving releases was at 1.0.3).

The Python client and MCP client already have their canonical versions
in pyproject.toml, making the duplicate package.json files redundant.

Removes corresponding entries from pnpm-workspace.yaml to prevent pnpm
install failures, and removes the explicit nodes/package.json path from
scripts/licenses.js (which handled missing files gracefully via
readJsonSafe but is cleaner without the dead reference).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(ci): merge publish and github-release into single idempotent job

Previously the release workflow had two separate jobs: `publish` (a
single sequential job pushing all packages to registries) and
`github-release` (a matrix job creating GitHub Releases). This created
several problems:

1. A failure in one registry publish (e.g. PyPI) blocked all other
   packages from publishing, even unrelated ones like the VS Code
   extension or TypeScript client.

2. The `github-release` job depended on `publish` completing, so a
   registry failure also prevented GitHub Releases from being created
   for packages that had no registry (like the server).

3. Registry publish and GitHub Release creation were decoupled, making
   it possible for a package to be published to npm but have no
   corresponding GitHub Release (or vice versa), with no easy way to
   detect or recover from partial states.

The new `publish` matrix job handles each package independently with
fail-fast: false. Each matrix entry performs the complete lifecycle for
one package: check if the git tag exists (skip entirely if so), download
its artifacts, publish to its registry (with existing skip-if-exists
checks preserved), create the git tag, and create the GitHub Release.

This makes each package fully idempotent — once a tag exists, that
package is done forever. It also means a Python client failure cannot
block the TypeScript client, server, or VS Code extension from
releasing. Re-running the workflow after fixing a failure will skip
already-completed packages automatically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(ci): split nightly into per-package prereleases with cleanup

The nightly workflow previously bundled all 13 artifacts (server binaries
for 3 platforms, TypeScript client, Python client, MCP client, VS Code
extension) into a single GitHub Release under a date-stamped tag like
nightly-20260301. This made it difficult to find or download a specific
package's prerelease, and the single-release structure was inconsistent
with the release workflow which creates separate releases per package.

The nightly now creates 5 separate GitHub prereleases, one per package,
using tags that mirror the release convention with a -prerelease suffix
(e.g. server-v1.0.3-prerelease, client-typescript-v1.0.1-prerelease).
This makes prereleases discoverable alongside their stable counterparts
when filtering tags by package name.

A cleanup-prereleases job runs before creating new prereleases, deleting
all existing *-prerelease tags and their GitHub Releases. This prevents
stale prereleases from accumulating when versions are bumped — if the
server version changes from 1.0.3 to 1.1.0, the old
server-v1.0.3-prerelease is removed before server-v1.1.0-prerelease is
created.

The commit-based skip check (check job) has been removed. The nightly
now always builds on schedule or manual dispatch, simplifying the
workflow and eliminating the need for a marker tag to track the last
nightly run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: add release process documentation

Adds RELEASE.md documenting the complete release pipeline for
contributors and maintainers. The release process was previously
undocumented, requiring reading the workflow YAML to understand how
versions are managed, what triggers builds, where packages are
published, and how idempotency works.

Covers both workflows (nightly prereleases and stable releases), all 5
packages and their registries, version management and how to release
individual packages, tag naming conventions, and troubleshooting for
common issues like orphaned tags and partial publish failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(server): check prerelease builds when downloading pre-built binaries (rocketride-org#149)

The build system's download-or-compile logic (`makeCheckPrebuiltAction`)
determines whether to download a pre-built server binary or compile from
source by comparing a content hash of the local source tree against the
manifest stored in a GitHub Release.

Previously, it only checked the stable release tag (`server-v{version}`),
which is published from the `main` branch. Developers building from
`develop` — where active development happens — would always get a content
hash mismatch because `develop` has diverged from `main`. This forced a
full C++ compile (~20+ minutes) on every clean build, even though the
nightly workflow had already built and published the exact same source as
a prerelease (`server-v{version}-prerelease`).

This change makes the download logic try both tags in order:

  1. `server-v{version}` (stable) — matches when building from `main`
  2. `server-v{version}-prerelease` (nightly) — matches when building
     from `develop`, since nightlies are built from that branch

If either manifest's content hash matches the local source, the pre-built
binary is downloaded. If neither matches, compilation proceeds as before.

This dramatically reduces build times for developers and CI jobs that
build from the `develop` branch, since the nightly prerelease binary
can be reused instead of recompiling from source.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(parse): fix Tika table fallback for Excel when Aspose is not used (rocketride-org#148)

* feat(vscode): show pipeline errors/warnings in sidebar and link to status Errors tab (rocketride-org#139)

- Sidebar Pipelines tree: show error and warning counts on pipeline file and
  source names when task status has errors/warnings.
- Under each source with issues, show exactly two lines: "Warnings" (if any)
  and "Errors" (if any); no expandable folders or per-message lines.
- Clicking "Warnings" or "Errors" in the sidebar opens the pipeline status
  page (if needed), switches to the Errors tab, and scrolls to the
  corresponding Warnings or Errors section.
- PageStatusProvider: add getTaskStatus(projectId, sourceId) for the sidebar;
  call sidebar refresh from updateStatus() so counts update when task status
  changes.
- Status webview: handle scrollToSection (errors | warnings), set active tab
  to Errors and scroll to #errors-section or #warnings-section.
- Add revealErrorsSection(projectId, sourceId, section) and
  rocketride.sidebar.files.revealErrorsSection command.

* refactor(vscode): replace monolithic ConnectionManager with polymorphic backend managers (rocketride-org#159)

The old ConnectionManager directly managed engine installation, process
spawning, and cloud connections in one large class, leading to tangled
control flow and race conditions when switching engine versions.

This refactor introduces a BaseManager / EngineManager / CloudManager
hierarchy so each backend owns its own lifecycle (install, start, stop).
ConnectionManager now delegates to the active manager and focuses solely
on client connectivity and reconnection state.

Key architectural changes:
- Extract BaseManager (abstract), EngineManager (local), CloudManager
  (cloud/onprem) from the former inline logic and deleted EngineServer
- EngineInstaller.install() now checks GitHub for newer versions when
  using 'latest'/'prerelease' (previously it trusted whatever was on
  disk), and tracks published_at to detect same-tag rebuilds
- EngineInstaller concurrency guard removed — caller (EngineManager)
  controls sequencing; added CancellationToken support so in-flight
  downloads abort on disconnect/config change

Key bug fixes:
- Config change handler debounced (300ms) — saveAllSettings() writes
  each setting individually, firing onDidChangeConfiguration per write.
  Without debounce, multiple concurrent disconnect/reconnect cycles raced
  against each other
- disconnect() now keeps isManualDisconnect=true until the next
  successful connection or explicit caller reset, preventing stale
  onDisconnected callbacks from triggering unwanted reconnection
- onDisconnected callback guarded with closure-based client reference
  check (this.client !== client) to ignore callbacks from replaced clients
- handleConnectionError() is now awaited in _connect()'s catch block —
  previously fire-and-forget, allowing the caller to race past and clear
  isManualDisconnect while the error handler was still deciding whether
  to reconnect
- handleConnectionLoss() and handleConnectionError() made async with
  awaited cleanup() calls — previously cleanup was fire-and-forget
- disconnect() and dispose() are now async, awaiting engine process
  shutdown instead of fire-and-forget kill
- Extension deactivate() is now async to properly await dispose()

UI:
- Connection page shows installed engine version and publish date
  when connected in local mode

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(ci): reduce workflow noise on PRs (rocketride-org#146)

- Add concurrency groups to CodeQL, Dependency Review, Container Scan,
  and Lint PR workflows to cancel stale runs on new pushes
- Add path filtering to CodeQL (source code only) and Dependency Review
  (lockfiles/manifests only) so they skip irrelevant PRs
- Container Scan already had path filtering; Lint PR fires on all PRs
  (intentional — it validates the PR title)

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix: crew output bug, missing tool descriptions, modified 'instructions' agent config field (rocketride-org#157)

* Fix no response from crew bug, add host tool descriptions to agent tool provider description

* Fixed no output bug for crew, add host tools description to agent tool description, modified agent node's instructions config

---------

Co-authored-by: dylansavage-aparavi <dylan.savage@aparavi.com>

* refactor: Removed the architecture section of the readme. (rocketride-org#167)

* chore: pin GitHub Actions to SHA hashes for supply chain security (rocketride-org#155)

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* docs: document Pydantic serialization fix and expand chat pipeline examples (rocketride-org#161)

* chore: add community health files and OSS best practices (rocketride-org#154)

* chore: add community health files and OSS best practices

- CHANGELOG.md (Keep a Changelog format)
- CODEOWNERS (module-based review routing)
- SUPPORT.md (redirect support away from issues)
- FUNDING.yml (sponsor button)
- GOVERNANCE.md (roles and decision-making)
- CONTRIBUTING.md DCO section
- README.md OpenSSF Scorecard badge
- Renovate config for automated dependency updates
- Auto-labeler workflow (label PRs by module)
- Stale bot workflow (90+14 day lifecycle)
- OpenSSF Scorecard workflow (SARIF to Security tab)
- DCO enforcement workflow
- Dev Container for Codespaces
- Architecture Decision Records (ADR framework + first ADR)
- GitHub Copilot instructions

* fix: address review feedback on community health files

- Replace invalid dcoapp/app action with script-based DCO check
- Remove :automergeMinor from Renovate (only automerge patch)
- Fix ADR date to actual creation date

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* refactor(ci): consolidate PR workflows into single CI workflow (rocketride-org#156)

* refactor(ci): consolidate PR workflows into single CI workflow

Merge build, CodeQL, dependency-review, and container-scan into ci.yml
so PRs trigger one workflow run instead of four. Single concurrency
group means one cancel kills everything.

* fix(ci): skip container scan on PRs

Only run on push, schedule, and manual dispatch — matches original
path-filtered behavior without adding complexity.

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(vscode): change Docker deploy to pull and create instead of run (rocketride-org#169)

Replace `docker run --rm` with `docker pull` + `docker create` so the
container persists without auto-starting. Rename "Run engine" to
"Deploy locally" and add a "Deploy to remote server" section with
copyable commands. Uses separate sendText calls for cross-shell
compatibility (PowerShell 5.1 lacks &&).

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(server): Add firecrawl tool for agentic nodes (rocketride-org#158)

* add firecrawl tool for agentic nodes

* remove unused debug

* address PR review: drop namespace prefix, add outputSchema, revert pipelineUtils

- Remove _split_tool_name from firecrawl driver; tools now use bare names
  (scrape_url, map_url) instead of namespaced firecrawl.scrape_url
- Add outputSchema to both SCRAPE_URL_TOOL and MAP_URL_TOOL descriptors
- Include output_schema in _tool_query() returned descriptors
- Revert pipelineUtils.ts to develop (agent JSON fix handled in base class)
- Resolve crewai.py merge conflict: keep Dylan's fixes + add _make_args_schema
  and enhanced schema binding needed for firecrawl tool integration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* rename folder

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(engine,vscode): fix missing Python print() output in piped stdio and improve engine arg forwarding (rocketride-org#168)

Root cause: PyConfig_InitIsolatedConfig defaults buffered_stdio=1, which
wraps Python's sys.stdout in a BufferedWriter. When the engine is spawned
by VS Code with stdio:'pipe' (not a TTY), print() output sits in the
buffer indefinitely because there is no auto-flush on non-TTY streams.
This caused the ASCII banner and other print()-based output to never
appear in VS Code.

Fix: Set g_config.buffered_stdio=0 in engine-lib's Python init so the
BufferedWriter layer is removed entirely. sys.stdout becomes a raw FileIO,
and print() output flushes immediately through pipes.

Additional changes:

Engine argument forwarding:
- Move engineArgs from rocketride.local.engineArgs to top-level
  rocketride.engineArgs so it applies to all connection modes, not just
  local engine
- Pass engineArgs through DAP launch requests (session.ts) and execute
  pipeline requests (PageStatusProvider, SidebarFilesProvider)
- Update config.ts, package.json, and PageSettingsProvider to match the
  new setting path

VS Code output channels:
- Split single "RocketRide" output channel into "Rocket Ride: Extension"
  (DAP traffic, connection lifecycle, diagnostics) and "Rocket Ride:
  Console" (plain engine stdout/stderr from pipelines)
- Route engine-manager stdout/stderr and pipeline output events to the
  new console channel for cleaner separation
- Remove icon prefixes from raw engine output so it reads naturally
- Remove redundant JSDoc and empty else blocks

Server cleanup:
- Remove stdout diagnostic code from eaas.py, node.py (temporary debug
  instrumentation used to diagnose the buffering issue)
- Remove redundant debug() call in task_engine.py that was double-logging
  output events
- Remove configuration print statements from eaas.py startup

Build:
- Remove vscode:clean from default build task (tasks.json)
- Generate .vscodeignore during staging to exclude engine directory from
  VSIX package (engine is downloaded at runtime)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix(docker): remove healthcheck that pings unsupported root endpoint (rocketride-org#175)

The HEALTHCHECK was hitting GET / every 10 seconds, which is not a
supported endpoint on the engine. Also removes curl from the image
since it was only needed for the healthcheck.

Signed-off-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix(docs): Update readme (rocketride-org#173)

* update readme v1

* update v1

* fix: Langchain Tool Input Schema (rocketride-org#176)

* fix(agent_langchain): generate per-tool args_schema from input_schema

* Add UI icons for crew and langchain

---------

* fix: update pnpm-lock.yaml for pnpm 10 compatibility (rocketride-org#171)

Remove empty workspace entries that pnpm 10 no longer writes,
fixing ERR_PNPM_LOCKFILE_CONFIG_MISMATCH on --frozen-lockfile.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* feat(nodes): add http_request tool node with security guardrails (rocketride-org#172)

* feat(nodes): add http_request tool node with security guardrails

* refactor(nodes): rename http_request node to tool_httpRequest

* fix(tool_http_request): address PR review comments

- Rename node folder to tool_http_request (snake_case convention)
- Add DEFAULT_TIMEOUT_SECONDS (30s) to http_client.py to prevent
  requests from hanging indefinitely
- Make URL whitelist optional: empty whitelist now allows all URLs
  instead of blocking all

Made-with: Cursor

* feat(tool_http_request): allow agent to override request timeout

The default 30s timeout remains, but the agent can now pass an optional
timeout field (in seconds, capped at 300s) when it expects a slow API.

* chore: update copyright holder from RocketRide, Inc. to Aparavi Software AG

* adjust welcome page (rocketride-org#178)

* refactor(vscode): remove unused vscode elements, updated visuals (rocketride-org#174)

* refactor(vscode): remove integrations, deployment settings, and debug commands

Remove several features that are being replaced or are no longer part of the
extension's direction. This is a cleanup pass to reduce surface area before
building replacement functionality.

Delete the entire `integrations/` directory (integrateCopilot.ts,
integrateCursor.ts, integrations.ts, index.ts) and the IntegrationSettings
UI component. These modules synced RocketRide API docs into .github/copilot-
instructions.md and .cursorrules respectively. The approach of injecting
docs into IDE-specific files is being replaced with a different integration
strategy, so the settings (`copilotIntegration`, `cursorIntegration`),
the workspace-folder-change listener, the config-change listener, and
the startup sync call in extension.ts are all removed.

Remove the "Deployment connection" section from the Settings page. The
`deployUrl` config property, its load/save logic in PageSettingsProvider,
the `testDeployEndpoint` handler (~95 lines that created a temporary
RocketRideClient to verify deploy credentials), and the ConnectionSettings
UI (input + test button + message display) are all removed. The separate
Deploy *page* (PageDeployProvider) is unaffected — this only removes the
settings-page configuration for the deploy URL.

Remove the "Debug Pipeline" and "Deploy" inline buttons from the PIPELINES
sidebar tree view. The `launchPipeline` command handler (~25 lines, created
a debug config and called vscode.debug.startDebugging) and `attachPipeline`
command handler (~75 lines, resolved tokens, prompted for source selection,
created an attach config) are deleted from SidebarFilesProvider. Their
command definitions and `view/item/context` menu entries are removed from
package.json. The Run (play) and Stop (square) buttons remain.

Delete `apps/vscode/docs/` which contained API reference markdown files
(COMMON_MISTAKES, COMPONENT_REFERENCE, PIPELINE_RULES, QUICKSTART, README,
python_API, typescript_API) and integration template files (rules.md,
user.md). These were only consumed by the now-removed integration modules.

Filter prerelease versions out of the engine version selector dropdown in
ConnectionSettings. The `getReleases()` method in engine-installer.ts now
adds `!r.prerelease` to its filter, and the "(pre)" suffix label is removed
from the dropdown options since only stable releases are shown.

Remove the border/background from the status card and connection info
sections, and add top margin above the action buttons for better spacing.

* feat(vscode): add pipeline tracing toggle to status page

Replace the hardcoded pipelineTraceLevel: 'full' with user-controlled
tracing. The status page now shows an "Enable tracing" checkbox below
the Run button (only when the pipeline can be run). When checked, the
button reads "Run & Trace" and sends pipelineTraceLevel: 'full' with
the execute request. When unchecked, it reads "Run" and omits the
trace level, running without tracing overhead.

Also removes the trace level dropdown from the TraceSection header
(TraceLevel type, TRACE_LEVELS constant, select element, and related
props) and removes the sidebar's hardcoded pipelineTraceLevel: 'full'.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* * Updated visual styling on the trace section

* * Reduced the visual size of the handle box displays

* * Fix CI/CD failure, remove TaskMetrics display

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* feat(ci,vscode): version-aware Docker publishing and deploy (rocketride-org#177)

Inline Docker image builds into the release and nightly workflows,
replacing the standalone docker-publish.yml. Release builds tag with
the server version and latest; nightly builds tag with version-prerelease.

The VS Code deploy button now resolves the engine image tag dynamically
from the connected engine version instead of always using :latest.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* * Update version numbers so things get pushed out correctly (rocketride-org#181)

* fix(mcp_client): fix tool invocation, add User-Agent, remove env field (rocketride-org#179)

- Return input_schema (not inputSchema) in tool descriptors to match agent framework
- Strip framework-injected keys (security_context) before forwarding to MCP server
- Add default User-Agent header to streamable-http and SSE transports (fixes Cloudflare 403)
- Remove mcp_client.env field from services.json and env handling from IGlobal.py

* fix(ui): Update icons in deploy page and docs (rocketride-org#180)

* fix icons and update docs

* Fix formatting in README.md for high-performance engine

Remove "No GIL"

* adjust coloring in agent config text boxes

* update readme v2

* update readme v3

* update docs v3

* * Add VSCode marketplace readme

---------

Co-authored-by: Rod-Christensen <98939082+Rod-Christensen@users.noreply.github.com>
Co-authored-by: Rod.Christensen <rod.christensen@aparavi.com>

* refactor(ci): consolidate PR checks and remove DCO/Circleback (rocketride-org#189)

- Merge lint-pr.yaml + labeler.yml into single pr-checks.yml
- Remove DCO enforcement (team not ready for sign-off workflow)
- Remove DCO section from CONTRIBUTING.md
- Delete circleback-webhook.yml (creating noise issues)

PR workflows reduced from 4 to 2 (CI + PR checks).

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix(ai): skip forwarding flow events when pipeline tracing is not enabled (rocketride-org#190)

* fix: Add pydantic model and callable serialization to pyjson (rocketride-org#191)

The dictToJson function previously only handled primitive types,
lists, tuples, and dicts, throwing an exception for anything else.
This caused failures when Python objects contained pydantic models
or method/function references as values.

- Add pydantic v2 support via model_dump() serialization
- Add pydantic v1 fallback via dict() with __fields__ guard
- Add catch-all for callables (functions, methods, builtins,
  partials) using PyCallable_Check, returning "<method>" placeholder
- Order: pydantic checks before callable check, since pydantic
  model classes are technically callable
- The issue manifested itself when tracing through invoke calls
  which were obtaining a function reference or passing a pydantic object

* change default (rocketride-org#192)

* fix(ci): add workflow_dispatch trigger to release workflow (rocketride-org#193)

Allow manual triggering of the release workflow from the Actions UI.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix(ci): prefix tarball path with ./ for npm publish (rocketride-org#195)

npm interprets paths without ./ prefix as GitHub shorthand (owner/repo),
causing it to attempt git ls-remote instead of publishing the local file.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

* fix(ci): add OIDC support for npm trusted publishers (rocketride-org#196)

Add id-token: write permission and --provenance flag to npm publish
for OIDC-based authentication with npm trusted publishers.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>

---------

Signed-off-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
Co-authored-by: Ryan Christensen <ryan.christensen@rocketride.ai>
Co-authored-by: dylan-savage <130109357+dylan-savage@users.noreply.github.com>
Co-authored-by: dylansavage-aparavi <dylan.savage@aparavi.com>
Co-authored-by: Rod-Christensen <98939082+Rod-Christensen@users.noreply.github.com>
Co-authored-by: Ariel Vernaza <ariel@lazyracoon.tech>
Co-authored-by: Rod.Christensen <rod.christensen@aparavi.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Alexandru Sclearuc <asclearuc@gmail.com>
Co-authored-by: Joshua Darron Phillips <J.dspears@yahoo.com>
Co-authored-by: Shashidhar Babu P V D <80318074+shashidharbabu@users.noreply.github.com>
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.

3 participants