Skip to content

feat(recorder): on-device recorder host + whisper transcription + chat/RAG - #433

Open
dishit-wednesday wants to merge 193 commits into
devfrom
feat/locket-pro
Open

feat(recorder): on-device recorder host + whisper transcription + chat/RAG#433
dishit-wednesday wants to merge 193 commits into
devfrom
feat/locket-pro

Merge pull request #619 from off-grid-ai/feat/recorder-v2

40ab6e0
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 3, 2026 in 3m 48s

Annotations

Check warning on line 596 in android/app/src/main/java/ai/offgridmobile/litert/LiteRTModule.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Deprecated code should not be used.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ9mErFh2ikY66UeyCie&open=AZ9mErFh2ikY66UeyCie&pullRequest=433

Check failure on line 321 in android/app/src/test/java/ai/offgridmobile/download/DownloadManagerModuleTest.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "encoder.int8.onnx" 7 times.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ_HtsNhAkQm9OqVdAR8&open=AZ_HtsNhAkQm9OqVdAR8&pullRequest=433

Check warning on line 22 in src/components/DevGrammarModal.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

`String.raw` should be used to avoid escaping `\`.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ9mErC02ikY66UeyCiO&open=AZ9mErC02ikY66UeyCiO&pullRequest=433

Check warning on line 1 in react-native.config.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:fs` over `fs`.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ9mErFw2ikY66UeyCih&open=AZ9mErFw2ikY66UeyCih&pullRequest=433

Check warning on line 95 in src/services/whisperService.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark these members as `readonly`.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ9w6hDIMh4lWgnPVwqT&open=AZ9w6hDIMh4lWgnPVwqT&pullRequest=433

Check warning on line 175 in ios/OffgridRecorderWidget/RecorderHomeWidget.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this "switch" statement with "if" statement to increase readability.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ_HtsOnAkQm9OqVdAR_&open=AZ_HtsOnAkQm9OqVdAR_&pullRequest=433

Check failure on line 242 in android/app/src/main/java/ai/offgridmobile/litert/LiteRTModule.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ9mErFh2ikY66UeyCif&open=AZ9mErFh2ikY66UeyCif&pullRequest=433

Check failure on line 56 in scripts/uat.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ9vfoXn6Wb2Xf37wMKg&open=AZ9vfoXn6Wb2Xf37wMKg&pullRequest=433

Check warning on line 2 in react-native.config.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:path` over `path`.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ9mErFw2ikY66UeyCii&open=AZ9mErFw2ikY66UeyCii&pullRequest=433

Check failure on line 64 in scripts/ios-refresh-js.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ_HtsPiAkQm9OqVdASC&open=AZ_HtsPiAkQm9OqVdASC&pullRequest=433

Check failure on line 115 in scripts/ios-refresh-js.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ_HtsPiAkQm9OqVdASH&open=AZ_HtsPiAkQm9OqVdASH&pullRequest=433

Check warning on line 240 in src/components/ChatInput/Attachments.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ9mEq-H2ikY66UeyCiN&open=AZ9mEq-H2ikY66UeyCiN&pullRequest=433

Check warning on line 85 in src/services/devInference.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'error' will use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ9o6tbY-bz6XtERYlld&open=AZ9o6tbY-bz6XtERYlld&pullRequest=433

Check failure on line 33 in ios/OffgridRecorderActivity/StopRecordingIntent.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this function is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ_HtsN5AkQm9OqVdAR9&open=AZ_HtsN5AkQm9OqVdAR9&pullRequest=433

Check failure on line 69 in scripts/ios-refresh-js.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ_HtsPiAkQm9OqVdASE&open=AZ_HtsPiAkQm9OqVdASE&pullRequest=433

Check failure on line 131 in src/services/transcriptSummarizer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ_HtsIDAkQm9OqVdAR5&open=AZ_HtsIDAkQm9OqVdAR5&pullRequest=433

Check failure on line 138 in scripts/ios-refresh-js.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ_HtsPiAkQm9OqVdASJ&open=AZ_HtsPiAkQm9OqVdASJ&pullRequest=433

Check failure on line 40 in ios/OffgridRecorderActivity/StartRecordingIntent.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this function is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ_HtsOYAkQm9OqVdAR-&open=AZ_HtsOYAkQm9OqVdAR-&pullRequest=433

Check failure on line 62 in scripts/ios-refresh-js.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ_HtsPiAkQm9OqVdASB&open=AZ_HtsPiAkQm9OqVdASB&pullRequest=433

Check failure on line 99 in scripts/ios-refresh-js.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ_HtsPiAkQm9OqVdASG&open=AZ_HtsPiAkQm9OqVdASG&pullRequest=433

Check failure on line 118 in scripts/ios-refresh-js.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ_HtsPiAkQm9OqVdASI&open=AZ_HtsPiAkQm9OqVdASI&pullRequest=433

Check failure on line 275 in src/services/whisperService.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ9mErDY2ikY66UeyCiW&open=AZ9mErDY2ikY66UeyCiW&pullRequest=433

Check warning on line 66 in src/components/DevGrammarModal.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.NaN` over `NaN`.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ9mErC02ikY66UeyCiQ&open=AZ9mErC02ikY66UeyCiQ&pullRequest=433

Check warning on line 180 in src/components/DevGrammarModal.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ9mErC02ikY66UeyCiR&open=AZ9mErC02ikY66UeyCiR&pullRequest=433

Check failure on line 31 in src/services/devInference.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 19 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-mobile&issues=AZ9mErDl2ikY66UeyCiZ&open=AZ9mErDl2ikY66UeyCiZ&pullRequest=433