Skip to content

Commit 5349809

Browse files
authored
fix import sorting, remove sgp-app references (#9)
Fixes a couple things: * Linting pre-commit step was broken cuz it referenced sgp-app * Vscode auto-sort imports settings were conflicting with eslint's auto import sorting * A couple references to sgp-app in docs * `agentex-auth` was referenced as a package in the uv lock
1 parent ec67879 commit 5349809

File tree

7 files changed

+33
-78
lines changed

7 files changed

+33
-78
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ repos:
1111

1212
- repo: local
1313
hooks:
14-
- id: agentex-sgp-app-lint-fix
15-
name: Agentex SGP App Linting
16-
entry: bash -c 'cd agentex-sgp-app && npx eslint --fix --no-warn-ignored --max-warnings=0 $(echo "$@" | sed "s|agentex-sgp-app/||g")' --
14+
- id: agentex-ui-lint-fix
15+
name: Agentex UI Linting
16+
entry: bash -c 'cd agentex-ui && npx eslint --fix --no-warn-ignored --max-warnings=0 $(echo "$@" | sed "s|agentex-ui/||g")' --
1717
language: system
18-
files: ^agentex-sgp-app/.*\.(ts|tsx|js|jsx)$
18+
files: ^agentex-ui/.*\.(ts|tsx|js|jsx)$
1919
pass_filenames: true
20+

.vscode/settings.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,13 @@
2222
"editor.defaultFormatter": "esbenp.prettier-vscode",
2323
"editor.formatOnSave": true,
2424
"editor.codeActionsOnSave": {
25-
"source.organizeImports": "explicit",
2625
"source.fixAll.eslint": "explicit"
2726
}
2827
},
2928
"[typescriptreact]": {
3029
"editor.defaultFormatter": "esbenp.prettier-vscode",
3130
"editor.formatOnSave": true,
3231
"editor.codeActionsOnSave": {
33-
"source.organizeImports": "explicit",
3432
"source.fixAll.eslint": "explicit"
3533
}
3634
},
@@ -57,7 +55,7 @@
5755
"eslint.useFlatConfig": true,
5856
"eslint.workingDirectories": [
5957
{
60-
"pattern": "agentex-sgp-app"
58+
"pattern": "agentex-ui"
6159
}
6260
],
6361
"prettier.documentSelectors": ["**/*.{ts,tsx,js,jsx}"],

CLAUDE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
77
Agentex is a comprehensive platform for building and deploying intelligent agents. This repository contains:
88

99
- **agentex/** - Backend services (FastAPI + Temporal workflows)
10-
- **agentex-sgp-app/** - Developer UI for interacting with agents
10+
- **agentex-ui/** - Developer UI for interacting with agents
1111

1212
The platform integrates with the separate [agentex-python SDK](https://github.com/scaleapi/scale-agentex-python) for creating and running agents.
1313

@@ -30,7 +30,7 @@ make dev # Starts Docker services and backend
3030

3131
**Terminal 2 - Frontend:**
3232
```bash
33-
cd agentex-sgp-app/
33+
cd agentex-ui/
3434
npm install
3535
npm run dev # Starts Next.js dev server
3636
```
@@ -94,7 +94,7 @@ make build-docs # Build documentation
9494
make docker-build # Build production Docker image
9595
```
9696

97-
### Frontend (agentex-sgp-app/)
97+
### Frontend (agentex-ui/)
9898

9999
```bash
100100
npm install # Install npm dependencies
@@ -219,7 +219,7 @@ Tests are organized by type and use different strategies:
219219
- **States**: Key-value state storage for agents
220220
- **Deployment History**: Track agent deployment versions and changes
221221

222-
### Frontend Architecture (agentex-sgp-app/)
222+
### Frontend Architecture (agentex-ui/)
223223

224224
- **Framework**: Next.js 15 with React 19 and App Router
225225
- **Styling**: Tailwind CSS with Radix UI components
@@ -310,4 +310,4 @@ sudo systemctl stop redis-server
310310

311311
This repository contains two main components:
312312
- **Backend**: `agentex/src/`, `agentex/database/`, `agentex/tests/`
313-
- **Frontend**: `agentex-sgp-app/`
313+
- **Frontend**: `agentex-ui/`

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ The installation was successful if you see help output after you run `agentex -h
7878

7979
Before you share your agents with other people (or your company), you'll want a fully isolated developer sandbox. This allows you to freely develop agents without affecting anyone else or be affected by anyone else.
8080

81-
To do this, you just need to spin up the [Agentex Server](https://github.com/scaleapi/scale-agentex/tree/main/agentex) and a [Developer UI](https://github.com/scaleapi/scale-agentex/tree/main/agentex-sgp-app) which allows you to interact with your agent nicely. This way you'll know how your agent feels in a simple UI.
81+
To do this, you just need to spin up the [Agentex Server](https://github.com/scaleapi/scale-agentex/tree/main/agentex) and a [Developer UI](https://github.com/scaleapi/scale-agentex/tree/main/agentex-ui) which allows you to interact with your agent nicely. This way you'll know how your agent feels in a simple UI.
8282

8383
> Each agent also ships with a `dev.ipynb` notebook for those uninterested in a UI, but more on that later
8484
@@ -116,7 +116,7 @@ Then, open up a second terminal. Then run the following commands.
116116
*Note: you should run these commands at the root of this repository.*
117117

118118
```bash
119-
cd agentex-sgp-app/
119+
cd agentex-ui/
120120
# Install dependencies (see Makefile for details)
121121
make install
122122
# Starts web interface on localhost (default port 3000)

agentex-ui/.vscode/settings.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
11
{
2-
"cSpell.words": ["Agentex"]
2+
"cSpell.words": ["Agentex"],
3+
"[typescript]": {
4+
"editor.defaultFormatter": "esbenp.prettier-vscode",
5+
"editor.formatOnSave": true,
6+
"editor.codeActionsOnSave": {
7+
"source.fixAll.eslint": "explicit"
8+
}
9+
},
10+
"[typescriptreact]": {
11+
"editor.defaultFormatter": "esbenp.prettier-vscode",
12+
"editor.formatOnSave": true,
13+
"editor.codeActionsOnSave": {
14+
"source.fixAll.eslint": "explicit"
15+
}
16+
}
317
}

agentex-ui/components/agentex/task-messages.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ import { useAgentexClient } from '@/components/providers';
1010
import { useTaskMessages } from '@/hooks/use-task-messages';
1111

1212
import { TaskMessageToolPairComponent } from './task-message-tool-pair';
13+
import { ShimmeringText } from '../ui/shimmering-text';
1314

1415
import type {
1516
TaskMessage,
1617
ToolRequestContent,
1718
ToolResponseContent,
1819
} from 'agentex/resources';
19-
import { ShimmeringText } from '../ui/shimmering-text';
2020

2121
type TaskMessagesComponentProps = {
2222
taskId: string;
@@ -199,15 +199,15 @@ function MemoizedTaskMessagesComponentImpl({
199199
))}
200200
</AnimatePresence>
201201
<AnimatePresence>
202-
{pair.agentMessages.length === 0 && (
202+
{pair.agentMessages.length === 0 && (
203203
<motion.div
204-
initial={{ opacity: 0 , y: 10 }}
204+
initial={{ opacity: 0, y: 10 }}
205205
animate={{ opacity: 1, y: 10 }}
206206
exit={{ opacity: 0, y: -10 }}
207207
transition={{ duration: 0.3 }}
208208
className="px-4 py-2"
209209
>
210-
<ShimmeringText text='Thinking ...' enabled={true} />
210+
<ShimmeringText text="Thinking ..." enabled={true} />
211211
</motion.div>
212212
)}
213213
</AnimatePresence>

uv.lock

Lines changed: 1 addition & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)