Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/react-components/src/App.tsx
Original file line number Diff line number Diff line change
@@ -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'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
10 changes: 5 additions & 5 deletions packages/react-components/src/components/Files/Viewer.tsx
Original file line number Diff line number Diff line change
@@ -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'

Expand Down Expand Up @@ -52,7 +52,7 @@ const FileViewer = () => {
) : (
<div className="grow">
{oneBlock.fileSearchResults.map((b: FileSearchResult) => (
<div key={b.FileID} className="mb-2">
<div key={b.fileId} className="mb-2">
<Box
p="2"
style={{
Expand All @@ -62,11 +62,11 @@ const FileViewer = () => {
>
<Text size="2" weight="medium">
<Link
href={b.Link}
href={b.link}
target="_blank"
className="text-blue-500 hover:underline"
>
{b.FileName}
{b.fileName}
</Link>
</Text>
</Box>
Expand Down
2 changes: 1 addition & 1 deletion packages/react-components/src/contexts/AgentContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion packages/react-components/src/contexts/BlockContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/react-components/src/token.tsx
Original file line number Diff line number Diff line change
@@ -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'

Expand Down