Skip to content

R2: full rails in chat, both platforms + Approval UX v2 - #82

Closed
siddWednesday wants to merge 26 commits into
mainfrom
feat/r2-full-rails
Closed

R2: full rails in chat, both platforms + Approval UX v2#82
siddWednesday wants to merge 26 commits into
mainfrom
feat/r2-full-rails

test(tools): pin darwin in the tool tests so they pass on the Linux C…

1e13146
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 14, 2026 in 9m 53s

Annotations

Check warning on line 15 in src/main/browser/browser-rail.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'@offgrid/use' imported multiple times.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtbIuFU2DoSnymeC&open=AaAATtbIuFU2DoSnymeC&pullRequest=82

Check warning on line 139 in src/renderer/src/components/browser/WatchedBrowserPane.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not use Array index in keys

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtdEuFU2DoSnymeT&open=AaAATtdEuFU2DoSnymeT&pullRequest=82

Check warning on line 54 in src/main/vision/vision-action.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtbTuFU2DoSnymeG&open=AaAATtbTuFU2DoSnymeG&pullRequest=82

Check warning on line 54 in src/main/vision/vision-action.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the "RegExp.exec()" method instead.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtbTuFU2DoSnymeF&open=AaAATtbTuFU2DoSnymeF&pullRequest=82

Check failure on line 73 in src/main/vision/vision-action.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtbTuFU2DoSnymeJ&open=AaAATtbTuFU2DoSnymeJ&pullRequest=82

Check warning on line 118 in src/renderer/src/components/browser/WatchedBrowserPane.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add an explicit "type" attribute to this button.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtdEuFU2DoSnymeR&open=AaAATtdEuFU2DoSnymeR&pullRequest=82

Check warning on line 79 in src/main/vision/vision-action.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the "RegExp.exec()" method instead.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtbTuFU2DoSnymeK&open=AaAATtbTuFU2DoSnymeK&pullRequest=82

Check warning on line 115 in src/renderer/src/components/actions/ActionGateDock.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'value ?? ''' 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-desktop&issues=AaAATtc8uFU2DoSnymeO&open=AaAATtc8uFU2DoSnymeO&pullRequest=82

Check warning on line 124 in src/renderer/src/components/actions/ActionGateDock.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'value ?? ''' 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-desktop&issues=AaAATtc8uFU2DoSnymeP&open=AaAATtc8uFU2DoSnymeP&pullRequest=82

Check warning on line 65 in src/main/vision/vision-action.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the "RegExp.exec()" method instead.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtbTuFU2DoSnymeH&open=AaAATtbTuFU2DoSnymeH&pullRequest=82

Check warning on line 53 in src/main/vision/vision-action.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the "RegExp.exec()" method instead.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtbTuFU2DoSnymeE&open=AaAATtbTuFU2DoSnymeE&pullRequest=82

Check warning on line 80 in src/renderer/src/components/browser/WatchedBrowserPane.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-desktop&issues=AaAATtdEuFU2DoSnymeQ&open=AaAATtdEuFU2DoSnymeQ&pullRequest=82

Check warning on line 139 in src/main/vision/vision-action.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtbTuFU2DoSnymeM&open=AaAATtbTuFU2DoSnymeM&pullRequest=82

Check failure on line 155 in src/main/browser/web-task-agent.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATta4uFU2DoSnymeA&open=AaAATta4uFU2DoSnymeA&pullRequest=82

Check warning on line 37 in src/main/browser/browser-driver.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

`new Error()` is too unspecific for a type check. Use `new TypeError()` instead.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtbBuFU2DoSnymeB&open=AaAATtbBuFU2DoSnymeB&pullRequest=82

Check warning on line 65 in src/main/vision/vision-action.ts

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-desktop&issues=AaAATtbTuFU2DoSnymeI&open=AaAATtbTuFU2DoSnymeI&pullRequest=82

Check warning on line 16 in src/main/browser/browser-rail.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'@offgrid/use' imported multiple times.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtbIuFU2DoSnymeD&open=AaAATtbIuFU2DoSnymeD&pullRequest=82

Check warning on line 139 in src/main/vision/vision-action.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtbTuFU2DoSnymeL&open=AaAATtbTuFU2DoSnymeL&pullRequest=82

Check warning on line 116 in src/main/actions/semantic-rail-win.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'cmd.args.url ?? ''' 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-desktop&issues=AaAATtMtuFU2DoSnymd_&open=AaAATtMtuFU2DoSnymd_&pullRequest=82

Check warning on line 139 in src/main/vision/vision-action.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtbTuFU2DoSnymeN&open=AaAATtbTuFU2DoSnymeN&pullRequest=82

Check warning on line 124 in src/renderer/src/components/browser/WatchedBrowserPane.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add an explicit "type" attribute to this button.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAATtdEuFU2DoSnymeS&open=AaAATtdEuFU2DoSnymeS&pullRequest=82