Skip to content

Comments

Feat/audiov2#8

Merged
JasonLovesDoggo merged 26 commits intomainfrom
feat/audiov2
Feb 13, 2026
Merged

Feat/audiov2#8
JasonLovesDoggo merged 26 commits intomainfrom
feat/audiov2

Conversation

@JasonLovesDoggo
Copy link
Owner

No description provided.

@JasonLovesDoggo
Copy link
Owner Author

@greptile

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request introduces "audiov2" - a major feature update that adds Cloudflare AI as the default transcription provider, implements a migration system for database schema management, adds voice activity detection (VAD), text alignment functionality, and edit analytics tracking. The PR also renames the Base10 provider to "Auto" provider and removes the langgraph TypeScript worker implementation.

Changes:

  • Adds Cloudflare Workers AI as default transcription backend with Base10 as fallback option
  • Implements SQL migration system for database schema versioning
  • Adds new VAD module, text alignment module, and edit analytics tracking
  • Renames Base10 provider to Auto provider (flow-worker handles provider selection)
  • Removes flow-worker-langgraph TypeScript implementation
  • Adds comprehensive test coverage for storage, FFI, and end-to-end pipelines

Reviewed changes

Copilot reviewed 55 out of 59 changed files in this pull request and generated no comments.

Show a summary per file
File Description
flow-worker/wrangler.toml Updated worker name, added AI binding and transcription provider config
flow-worker/src/lib.rs Added Cloudflare AI integration, proper noun extraction, routing logic
flow-worker/README.md New documentation (contains outdated references to Base10)
flow-core/src/storage.rs Added migration system, edit analytics, learned words sessions
flow-core/src/migrations.rs New migration management system
flow-core/src/vad.rs New voice activity detection module
flow-core/src/alignment.rs New text alignment module (not shown in diff)
flow-core/src/providers/auto.rs Renamed from base10.rs, updated URLs
flow-core/src/ffi.rs Added alignment, edit analytics, and undo FFI functions
flow-core/tests/*.rs Added comprehensive test coverage
flow-worker-langgraph/* Deleted entire TypeScript worker
Sources/FlowApp/WaveformView.swift Changed animation interval from 1/30 to 1/107
Files not reviewed (1)
  • flow-worker-langgraph/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JasonLovesDoggo
Copy link
Owner Author

@codex

@chatgpt-codex-connector
Copy link

To use Codex here, create a Codex account and connect to github.

@JasonLovesDoggo
Copy link
Owner Author

@codex

@chatgpt-codex-connector
Copy link

To use Codex here, create a Codex account and connect to github.

@JasonLovesDoggo
Copy link
Owner Author

bruh

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 69 out of 74 changed files in this pull request and generated 6 comments.

Files not reviewed (1)
  • flow-worker-langgraph/package-lock.json: Language not supported
Comments suppressed due to low confidence (1)

Sources/FlowApp/WaveformView.swift:92

  • The code removes the assignment let colors = colorCache ?? ColorCache(barCount: barCount) but the removed variable colors was likely used later in the rendering loop. This will cause a compilation error unless colors is no longer needed. Verify that this removal doesn't break the waveform rendering.
                let normalizationFactor = max(0.3, windowMax)
                let bufferFilling = sampleBuffer.count < barCount

                for i in 0 ..< barCount {
                    let x = startX + CGFloat(i) * (barWidth + gap)

                    // Get sample for this bar and apply log scale normalization

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Replace SELECT-then-INSERT with atomic UPSERT using
  corrections.occurrences + 1, then read back actual count to
  recompute confidence. Eliminates TOCTOU race on concurrent writes.
- Strip leading/trailing punctuation before correction cache lookup
  so "teh," correctly matches "teh" and produces "the,".
- Fix test assertions that documented bugs instead of testing
  correct behavior.
# Conflicts:
#	flow-core/src/learning.rs
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 59 out of 63 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JasonLovesDoggo JasonLovesDoggo merged commit a031cf2 into main Feb 13, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant