Skip to content

chore: update @probelabs/probe to v0.6.0-rc324#579

Open
probelabs[bot] wants to merge 1 commit into
mainfrom
update-probe-v0.6.0-rc324
Open

chore: update @probelabs/probe to v0.6.0-rc324#579
probelabs[bot] wants to merge 1 commit into
mainfrom
update-probe-v0.6.0-rc324

Conversation

@probelabs

@probelabs probelabs Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

This PR updates @probelabs/probe to version v0.6.0-rc324.

Triggered by release: probelabs/probe@v0.6.0-rc324

Changes

  • Updates @probelabs/probe dependency to v0.6.0-rc324

🤖 Auto-generated by release workflow

@probelabs

probelabs Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

PR Overview: Update @probelabs/probe to v0.6.0-rc324

Summary

This PR updates the @probelabs/probe dependency from version 0.6.0-rc318 to 0.6.0-rc324. This is a dependency-only update that brings in the latest release candidate of the Probe AI agent framework.

Files Changed

  • package.json: Updated @probelabs/probe version constraint from ^0.6.0-rc318 to ^0.6.0-rc324
  • package-lock.json: Updated the locked version, integrity hash, and tarball URL for @probelabs/probe

Architecture & Impact Assessment

What This PR Accomplishes

  • Bumps the core AI agent library dependency to the latest RC version
  • Maintains compatibility with the existing ProbeAgent integration

Key Technical Changes

  • Version bump: 0.6.0-rc3180.6.0-rc324
  • New integrity hash: sha512-3iyPpvpXfuapmrlERRxgV60dxv6EaFryqRvrtLu7L9peveixKvS00rRUKC5pvaX+/Ct3hcvKS1MEfTeXT6RzMw==
  • Registry URL: Points to https://registry.npmjs.org/@probelabs/probe/-/probe-0.6.0-rc324.tgz

Affected System Components

The @probelabs/probe library is deeply integrated throughout Visor's AI review system:

  1. AI Review Service (src/ai-review-service.ts)

    • Core service that wraps ProbeAgent for code review and analysis
    • Implements timeout management, graceful wind-down, and negotiated timeout extensions
    • Handles session reuse (clone/append modes) for multi-check workflows
    • Integrates telemetry via custom tracer adapter
  2. Session Registry (src/session-registry.ts)

    • Manages ProbeAgent instance lifecycle for session reuse
    • Enables conversation history sharing across sequential AI checks
  3. Diff Processing (src/utils/diff-processor.ts)

    • Uses extract function from @probelabs/probe for outline-diff format processing
    • Transforms raw diffs into structured XML for AI context
  4. Tracer Initialization (src/utils/tracer-init.ts)

    • Imports SimpleTelemetry and SimpleAppTracer from @probelabs/probe
    • Creates JSONL trace files for debugging AI sessions
  5. LLM Judge (src/test-runner/llm-judge.ts)

    • Dynamically imports ProbeAgent for test evaluation
  6. Mock Definitions (__mocks__/@probelabs/probe.ts)

    • Provides mock implementations of ProbeAgent and DelegationManager for testing
    • Mirrors the real API for unit/integration tests

Component Relationships

graph TD
    A[Visor Engine] --> B[AI Review Service]
    B --> C["ProbeAgent from @probelabs/probe"]
    B --> D[Session Registry]
    D --> C
    B --> E[Diff Processor]
    E --> F["extract from @probelabs/probe"]
    B --> G[Tracer Init]
    G --> H[SimpleTelemetry/SimpleAppTracer]
    C --> I[DelegationManager]
    J[Concurrency Limiter] --> I
    
    style C fill:#f9f,stroke:#333,stroke-width:2px
    style F fill:#f9f,stroke:#333,stroke-width:2px
    style H fill:#f9f,stroke:#333,stroke-width:2px
    style I fill:#f9f,stroke:#333,stroke-width:2px

Loading

Scope Discovery & Context Expansion

Integration Points

The Probe library is used in the following contexts:

  1. Production AI Checks: All AI-powered code review, security analysis, and custom checks
  2. Session Reuse: Multi-check workflows that share conversation context
  3. Telemetry: Debug tracing for AI sessions (saved to debug-artifacts/)
  4. Concurrency Control: Global AI call limiting via DelegationManager
  5. Testing: Mock implementations for unit/integration tests

Configuration Files

  • package.json: Runtime dependency declaration
  • defaults/*.yaml: Various AI check configurations that reference Probe features

Related Tests

  • Unit tests for concurrency limiting (tests/unit/concurrency-limiter.test.ts)
  • Unit tests for FairConcurrencyLimiter (tests/unit/fair-concurrency-limiter.test.ts)
  • Mock implementations in __mocks__/@probelabs/probe.ts

Potential Breaking Areas to Verify

Since this is a minor version bump within the 0.6.0-rc series, breaking changes are unlikely. However, reviewers should verify:

  1. Session reuse behavior: Clone and append modes continue to work correctly
  2. Timeout extensions: Negotiated timeout observer events still fire
  3. Telemetry output: SimpleTelemetry trace format remains compatible
  4. DelegationManager API: acquire/release/getStats methods unchanged
  5. Mock compatibility: Test mocks still align with real ProbeAgent API

References

Source Code Locations

  • visor/package.json:56 - Dependency declaration
  • visor/src/ai-review-service.ts - Core ProbeAgent integration
  • visor/src/session-registry.ts - Session management
  • visor/src/utils/diff-processor.ts - Diff processing with extract
  • visor/src/utils/tracer-init.ts - Telemetry initialization
  • visor/src/test-runner/llm-judge.ts:146 - Dynamic ProbeAgent import
  • visor/__mocks__/@probelabs/probe.ts - Mock definitions
  • visor/src/utils/fair-concurrency-limiter.ts - Internal concurrency limiter
  • visor/src/state-machine/context/build-engine-context.ts - Engine context builder
  • visor/src/providers/ai-check-provider.ts - AI check provider
  • visor/src/types/config.ts - Configuration types
  • visor/src/types/engine.ts - Engine context types
  • visor/tests/unit/concurrency-limiter.test.ts - Concurrency limiter tests
  • visor/tests/unit/fair-concurrency-limiter.test.ts - FairConcurrencyLimiter tests
Metadata
  • Review Effort: 1 / 5
  • Primary Label: chore

Powered by Visor from Probelabs

Last updated: 2026-06-04T13:49:35.716Z | Triggered by: pr_opened | Commit: d133cf3

💡 TIP: You can chat with Visor using /visor ask <your question>

@probelabs

probelabs Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

Security Issues (1)

Severity Location Issue
🟠 Error contract:0
Output schema validation failed: must have required property 'issues'

✅ Performance Check Passed

No performance issues found – changes LGTM.

✅ Quality Check Passed

No quality issues found – changes LGTM.


Powered by Visor from Probelabs

Last updated: 2026-06-04T13:48:24.978Z | Triggered by: pr_opened | Commit: d133cf3

💡 TIP: You can chat with Visor using /visor ask <your question>

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.

1 participant