Commit Graph

986 Commits

Author SHA1 Message Date
Mahmoud-Emad
a62147d7cc feat: add editable ttyd dashboard mode
- Implement `-editable` CLI argument
- Configure ttyd for read/write access
- Introduce `TtydArgs` struct for ttyd parameters
- Update help message with ttyd modes
- Streamline Hero Web startup command
2025-08-25 11:52:13 +03:00
Mahmoud-Emad
750e34cbe4 fix: Fix build 2025-08-25 09:43:37 +03:00
Mahmoud-Emad
25f4e4f03e Merge branch 'development' into development_tmux 2025-08-25 09:40:18 +03:00
Omdanii
0bc6150986 Merge pull request #118 from freeflowuniverse/development_heroprompt
Development heroprompt
2025-08-25 09:39:47 +03:00
4c1ed80b85 ... 2025-08-25 07:16:16 +02:00
85eaee4c0a ... 2025-08-25 07:14:11 +02:00
161f6786bd Merge branch 'development' into development_tmux
* development:
  ...

# Conflicts:
#	lib/osal/sshagent/agent.v
#	lib/osal/sshagent/play.v
2025-08-25 07:00:06 +02:00
692838566a Merge branch 'development' into development_heroprompt
* development:
  ...
2025-08-25 06:59:37 +02:00
856a5add22 ... 2025-08-25 06:59:30 +02:00
43e7c087db Merge branch 'development' into development_tmux
* development:
  ...
  ...
  ...
  ...

# Conflicts:
#	examples/osal/sshagent.vsh
#	examples/osal/sshagent/sshagent_example.v
#	examples/osal/tmux.vsh
#	lib/osal/sshagent/agent.v
#	lib/osal/sshagent/builder_integration.v
#	lib/osal/tmux/tmux_pane.v
#	lib/osal/tmux/tmux_scan.v
#	lib/osal/tmux/tmux_session.v
#	lib/osal/tmux/tmux_window.v
2025-08-25 06:34:03 +02:00
e0a81f9525 Merge branch 'development' into development_heroprompt
* development:
  ...
  ...

# Conflicts:
#	lib/threefold/grid4/datamodel/model_node.v
2025-08-25 06:33:07 +02:00
80741a3500 ... 2025-08-25 06:31:32 +02:00
c6d703b860 ... 2025-08-25 06:29:42 +02:00
836c87fbec ... 2025-08-25 06:28:42 +02:00
5f683ec4a8 ... 2025-08-25 06:09:51 +02:00
77d9b5c869 Merge branch 'development' into development_heroprompt
* development:
  ...
  ...
  ...
  ...
  ...
  ...
  ...
  ...
  ...
  ...
  ...
  ...
  ...
  ...
  ...
  ...
  ...

# Conflicts:
#	lib/threefold/grid4/datamodel/model_slice_compute.v
#	lib/threefold/grid4/datamodel/model_slice_storage.v
2025-08-25 06:01:35 +02:00
01163ef534 ... 2025-08-25 05:44:45 +02:00
Mahmoud-Emad
a37dbd2438 refactor: update SSH agent examples and module structure
- Refactor `gittools` to remove `sshagent` import
- Update `sshagent.loaded()` to use `ssh-add -l` command
- Relocate and expose `remote_copy` and `remote_auth` functions
- Improve SSH agent examples and remove Linux tests
- Optimize `sshagent` module and `play` function imports
2025-08-24 23:54:57 +03:00
Mahmoud-Emad
9945cfb52c Merge branch 'development' into development_tmux 2025-08-24 23:15:34 +03:00
Mahmoud-Emad
25327053b9 feat: add tmux dashboard with ttyd integration
- Create script for 3-pane tmux dashboard
- Run Python HTTP server, counter, and htop in panes
- Add `run_ttyd` function to `Session` struct
- Add `run_ttyd` function to `Window` struct
- Expose tmux session and window via ttyd
2025-08-24 23:12:32 +03:00
Mahmoud-Emad
426a53a50d refactor: Remove is_tmux_server_not_running_error function 2025-08-24 18:10:30 +03:00
Mahmoud-Emad
b26893bf45 wip: pushing the code to sync in other branch 2025-08-24 17:58:09 +03:00
4e20df3eb8 ... 2025-08-24 16:42:07 +02:00
a2a9b07238 ... 2025-08-24 16:40:07 +02:00
8532373e7e ... 2025-08-24 16:19:41 +02:00
c7b2ea9e2a ... 2025-08-24 16:00:13 +02:00
698724f810 ... 2025-08-24 15:43:07 +02:00
4f54551f14 ... 2025-08-24 15:42:01 +02:00
Mahmoud-Emad
117c9ac67c refactor: Improve tmux API consistency and formatting
- Refactor `logs_get_new` to use `LogsGetArgs` struct
- Return window as reference from `window_new`
- Standardize indentation and spacing
- Remove excessive blank lines
- Comment out initial example usage
2025-08-24 16:31:04 +03:00
e47d311c99 ... 2025-08-24 15:28:57 +02:00
6de2153f11 ... 2025-08-24 15:24:52 +02:00
Mahmoud-Emad
0e7344ae4a feat: add persistent AI chat interface
- Implement persistent AI chat with conversation history.
- Add chat sidebar for conversation management (create, load, delete).
- Enhance message display with markdown, copy, regenerate actions.
- Integrate interactive chat input (auto-resize, char count, typing indicator).
- Apply comprehensive responsive and accessibility styles to chat UI.
2025-08-24 16:13:25 +03:00
810cbda176 ... 2025-08-24 15:10:03 +02:00
d07aec8434 ... 2025-08-24 15:02:22 +02:00
4ab65ac61b ... 2025-08-24 14:56:20 +02:00
1dd8c29735 ... 2025-08-24 14:47:48 +02:00
e7a36f47e8 ... 2025-08-24 14:41:12 +02:00
Mahmoud-Emad
7fe03b5a5d feat: implement workspace search and improve UI
- Add workspace search API endpoint
- Integrate workspace search into frontend UI
- Implement synchronized scrolling for code previews
- Standardize API error/success JSON responses
- Improve file tree loading animations & interaction
2025-08-24 15:14:25 +03:00
9f39481cb4 ... 2025-08-24 14:02:41 +02:00
2253ef71e6 ... 2025-08-24 13:56:54 +02:00
Mahmoud-Emad
cd512813e3 feat: add ignore filtering to directory listing
- Add `list_directory_filtered` function with ignore logic
- Update `default_gitignore` with common VCS and build patterns
- Integrate ignore filtering into `Workspace.list_dir`
- Rename project to HeroPrompt in README
- Update README features and usage descriptions
2025-08-24 13:57:25 +03:00
Mahmoud-Emad
d6ea18e6db feat: add workspace management and file preview
- Add workspace update and delete API endpoints
- Redesign selected files display to use interactive cards
- Implement VS Code-style modal for file content preview
- Enhance file tree with animations and local state
- Update UI styles for explorer, forms, and modals
2025-08-24 13:40:51 +03:00
Mahmoud-Emad
cc93081b15 feat: Add workspace selection synchronization
- Create `codewalker` module with file system utilities
- Refactor `Workspace` file operations to use `codewalker`
- Add `include_tree` flag to `HeropromptChild` struct
- Implement new `/selection` API endpoint for workspace
- Sync frontend selection state to backend via new API
2025-08-24 12:58:09 +03:00
Mahmoud-Emad
6098f166bb feat: Add directory listing functionality
- Add `list_dir` function to `Workspace` struct
- Implement path handling and directory scanning logic
- Refine struct formatting for `Node`, `ComputeSlice`, `StorageSlice`
- Update `StorageSlice.pricing_policy` comment
- Adjust whitespace in CSS styles
2025-08-24 12:00:12 +03:00
Mahmoud-Emad
3050433cfd Merge branch 'development' into development_heroprompt 2025-08-24 11:35:08 +03:00
Mahmoud-Emad
de9e310867 feat: redesign UI for improved file explorer and workspaces
- Refactor file tree logic into `SimpleFileTree` class
- Implement new explorer with collapse, refresh, search, and selection controls
- Redesign selection, prompt, and chat workspaces with new layouts and styles
- Introduce dedicated CSS icon set for various UI elements
- Add prompt generation and clipboard copy functionality for prompt output
2025-08-24 11:34:30 +03:00
9398d653d3 ... 2025-08-23 14:06:15 +02:00
66240aa9f2 ... 2025-08-22 14:33:01 +02:00
Mahmoud-Emad
03de3a6aee docs: add HeroLib Web UI documentation
- Add quick start guide with code example
- List key features of the UI
- Detail built-in tools and their paths
2025-08-21 20:04:25 +03:00
Mahmoud-Emad
cf187d46b3 feat: improve Heroprompt UI and refactor modules
- Refactor all UI rendering logic into a single `ui` module
- Centralize static assets serving to `/static` directory
- Redesign Heroprompt page with Bootstrap 5 components
- Enhance workspace management and file tree interactions
- Add Bootstrap modal support for UI dialogs
2025-08-21 20:01:43 +03:00