diff --git a/packages/react-components/src/App.tsx b/packages/react-components/src/App.tsx index a347e0d..5f851c1 100644 --- a/packages/react-components/src/App.tsx +++ b/packages/react-components/src/App.tsx @@ -1,6 +1,6 @@ import { BrowserRouter, Route, Routes } from 'react-router-dom' -import { WebAppConfig } from '@buf/stateful_runme.bufbuild_es/agent/config/webapp_pb' +import { WebAppConfig } from '@buf/stateful_runme.bufbuild_es/agent/v1/webapp_pb' import { Theme } from '@radix-ui/themes' import '@radix-ui/themes/styles.css' diff --git a/packages/react-components/src/components/Actions/Actions.tsx b/packages/react-components/src/components/Actions/Actions.tsx index 7af44cc..fd9e768 100644 --- a/packages/react-components/src/components/Actions/Actions.tsx +++ b/packages/react-components/src/components/Actions/Actions.tsx @@ -173,22 +173,22 @@ function Action({ block }: { block: Block }) { ...block, outputs: [ { - $typeName: 'BlockOutput', + $typeName: 'agent.v1.BlockOutput', kind: BlockOutputKind.STDOUT, items: [ { - $typeName: 'BlockOutputItem', + $typeName: 'agent.v1.BlockOutputItem', mime: mimeType || 'text/plain', textData: stdout, }, ], }, { - $typeName: 'BlockOutput', + $typeName: 'agent.v1.BlockOutput', kind: BlockOutputKind.STDERR, items: [ { - $typeName: 'BlockOutputItem', + $typeName: 'agent.v1.BlockOutputItem', mime: mimeType || 'text/plain', textData: stderr, }, diff --git a/packages/react-components/src/components/Files/Viewer.tsx b/packages/react-components/src/components/Files/Viewer.tsx index 8c0b877..ab022fd 100644 --- a/packages/react-components/src/components/Files/Viewer.tsx +++ b/packages/react-components/src/components/Files/Viewer.tsx @@ -1,7 +1,7 @@ import { useEffect, useMemo, useRef } from 'react' -import { BlockSchema } from '@buf/stateful_runme.bufbuild_es/agent/blocks_pb' -import { FileSearchResult } from '@buf/stateful_runme.bufbuild_es/agent/filesearch_pb' +import { BlockSchema } from '@buf/stateful_runme.bufbuild_es/agent/v1/blocks_pb' +import { FileSearchResult } from '@buf/stateful_runme.bufbuild_es/agent/v1/filesearch_pb' import { create } from '@bufbuild/protobuf' import { Box, Link, ScrollArea, Text } from '@radix-ui/themes' @@ -52,7 +52,7 @@ const FileViewer = () => { ) : (
{oneBlock.fileSearchResults.map((b: FileSearchResult) => ( -
+
{ > - {b.FileName} + {b.fileName} diff --git a/packages/react-components/src/contexts/AgentContext.tsx b/packages/react-components/src/contexts/AgentContext.tsx index f3e3cbd..94e669b 100644 --- a/packages/react-components/src/contexts/AgentContext.tsx +++ b/packages/react-components/src/contexts/AgentContext.tsx @@ -7,7 +7,7 @@ import { } from 'react' import { type FC } from 'react' -import * as blocks_pb from '@buf/stateful_runme.bufbuild_es/agent/blocks_pb' +import * as blocks_pb from '@buf/stateful_runme.bufbuild_es/agent/v1/blocks_pb' import { Code, ConnectError, createClient } from '@connectrpc/connect' import { createGrpcWebTransport } from '@connectrpc/connect-web' diff --git a/packages/react-components/src/contexts/BlockContext.tsx b/packages/react-components/src/contexts/BlockContext.tsx index 7d13c5e..e43e20a 100644 --- a/packages/react-components/src/contexts/BlockContext.tsx +++ b/packages/react-components/src/contexts/BlockContext.tsx @@ -17,7 +17,7 @@ import { BlockSchema, GenerateRequest, GenerateRequestSchema, -} from '@buf/stateful_runme.bufbuild_es/agent/blocks_pb' +} from '@buf/stateful_runme.bufbuild_es/agent/v1/blocks_pb' import { clone, create } from '@bufbuild/protobuf' import { v4 as uuidv4 } from 'uuid' diff --git a/packages/react-components/src/contexts/SettingsContext.tsx b/packages/react-components/src/contexts/SettingsContext.tsx index 1161d92..bda2398 100644 --- a/packages/react-components/src/contexts/SettingsContext.tsx +++ b/packages/react-components/src/contexts/SettingsContext.tsx @@ -8,7 +8,7 @@ import { useState, } from 'react' -import { WebAppConfig } from '@buf/stateful_runme.bufbuild_es/agent/config/webapp_pb' +import { WebAppConfig } from '@buf/stateful_runme.bufbuild_es/agent/v1/webapp_pb' import { Heartbeat, StreamError, diff --git a/packages/react-components/src/token.tsx b/packages/react-components/src/token.tsx index 6f05173..07ef03d 100644 --- a/packages/react-components/src/token.tsx +++ b/packages/react-components/src/token.tsx @@ -1,7 +1,7 @@ import { OAuthToken, OAuthTokenSchema, -} from '@buf/stateful_runme.bufbuild_es/agent/credentials_pb' +} from '@buf/stateful_runme.bufbuild_es/agent/v1/credentials_pb' import { fromJson } from '@bufbuild/protobuf' import { create } from '@bufbuild/protobuf'