* Remove compiled files that were committed by mistake
* Don't JSON encode the grpc message request.
The original grpc-client-base.ts encoded the request message using
```
function encodeRequest(request: any): any {
if (request === null || request === undefined) {
return {}
} else if (typeof request.toJSON === "function") {
return request.toJSON()
} else if (typeof request === "object") {
return { ...request }
} else {
return { value: request }
}
```
But the request object don't have a .toJSON method, so it was not actually converting them
to JSON properly.
Don't JSON encode request to keeo the same behaviour as before.
* Update gitignore
35 lines
444 B
Plaintext
35 lines
444 B
Plaintext
out
|
|
dist
|
|
dist-standalone
|
|
node_modules
|
|
tmp
|
|
.vscode-test/
|
|
*.vsix
|
|
|
|
.DS_Store
|
|
.idea
|
|
|
|
pnpm-lock.yaml
|
|
|
|
.clineignore
|
|
.venv
|
|
.actrc
|
|
|
|
webview-ui/src/**/*.js
|
|
webview-ui/src/**/*.js.map
|
|
|
|
# Ignore coverage directories and files
|
|
coverage
|
|
# But don't ignore the coverage scripts in .github/scripts/
|
|
!.github/scripts/coverage/
|
|
|
|
*evals.env
|
|
|
|
## Generated files ##
|
|
src/generated/
|
|
src/shared/proto/
|
|
webview-ui/src/services/grpc-client.ts
|
|
|
|
# E2E Tests
|
|
test-results
|