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
31 changes: 31 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# CLAUDE.md

## Behavioral Guidelines

### Think Before Coding
- State assumptions explicitly. If uncertain, ask.
- If multiple interpretations exist, present them — don't pick silently.
- If a simpler approach exists, say so. Push back when warranted.
- If something is unclear, stop. Name what's confusing. Ask.

### Simplicity First
- No features beyond what was asked.
- No abstractions for single-use code.
- No "flexibility" or "configurability" that wasn't requested.
- No error handling for impossible scenarios.
- If you write 200 lines and it could be 50, rewrite it.

### Surgical Changes
When editing existing code:
- Don't "improve" adjacent code, comments, or formatting.
- Don't refactor things that aren't broken.
- Match existing style, even if you'd do it differently.
- If you notice unrelated dead code, mention it — don't delete it.
- Remove imports/variables/functions that YOUR changes made unused.
- Don't remove pre-existing dead code unless asked.
- Every changed line should trace directly to the user's request.

### Goal-Driven Execution
Transform tasks into verifiable goals:
- "Add validation" → write tests for invalid inputs, then make them pass.
- "Fix the bug" → write a test that reproduces it, then make it pass.
- "Refactor X" → ensure tests pass before and after.

## Workflow Rules
- NEVER commit, push, or create PRs unless explicitly asked to do so.
- Always wait for explicit user confirmation before any git operations that affect the repository.
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[project]
name = "uipath-dev"
version = "0.0.41"
version = "0.0.42"
description = "UiPath Developer Console"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
dependencies = [
"uipath-runtime>=0.8.0, <0.9.0",
"uipath-runtime>=0.8.2, <0.9.0",
"textual>=7.5.0, <8.0.0",
"pyperclip>=1.11.0, <2.0.0",
]
Expand Down
1 change: 1 addition & 0 deletions src/uipath/dev/models/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class StateData:

run_id: str
node_name: str
qualified_node_name: str | None = None
payload: dict[str, Any] | None = None
timestamp: datetime = field(default_factory=datetime.now)

Expand Down
1 change: 1 addition & 0 deletions src/uipath/dev/models/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def __init__(
self.error: UiPathErrorContract | None = None
self.breakpoints: list[str] = []
self.breakpoint_node: str | None = None
self.breakpoint_next_nodes: list[str] = []
self.graph_data: dict[str, Any] | None = None
self.chat_events = ChatEvents()

Expand Down
1 change: 1 addition & 0 deletions src/uipath/dev/server/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export default function App() {
selectedRunId,
detail.states.map((s) => ({
node_name: s.node_name,
qualified_node_name: s.qualified_node_name,
timestamp: new Date(s.timestamp).getTime(),
payload: s.payload,
})),
Expand Down
Loading