Commit Graph

1352 Commits

Author SHA1 Message Date
1903ebe045 ... 2025-08-18 07:30:00 +02:00
3dee0d7eef Merge branch 'development_codewalker' of github.com:freeflowuniverse/herolib into development_codewalker 2025-08-18 07:23:29 +02:00
ba85e91c58 .. 2025-08-18 07:23:27 +02:00
Mahmoud-Emad
1ed08b3ca4 fix: add the removed README 2025-08-17 20:19:41 +03:00
Mahmoud-Emad
bcee46fa15 refactor: overhaul codewalker with improved parser and ignore logic
- Implement level-scoped .gitignore/.heroignore matching
- Rewrite directory walker to use new ignore matcher
- Replace filemap parser with robust header-based logic
- Support `FILE`, `FILECHANGE`, and legacy header formats
- Add extensive tests for new parsing and ignore features
2025-08-17 15:23:15 +03:00
f3449d6812 ... 2025-08-17 11:07:26 +02:00
Mahmoud-Emad
3c5e0a053e Merge branch 'development' into development_heroprompt 2025-08-17 11:42:16 +03:00
Mahmoud-Emad
f6c077c6b5 refactor: simplify heroprompt workspace selection model
- Introduce HeropromptChild to unify file and dir items
- Replace nested Dir/File structs with a flat `children` list
- Generate prompt content by traversing the filesystem on-demand
- Add `workspace.add_file` for direct file selection
- Simplify `workspace.add_dir` to only add the directory path
2025-08-17 11:41:29 +03:00
df5d91e7b6 ... 2025-08-17 10:41:09 +02:00
25e01e308c ... 2025-08-17 10:13:45 +02:00
7204aff27e ... 2025-08-17 10:04:58 +02:00
cd91734a84 ... 2025-08-16 19:51:06 +02:00
6306883463 ... 2025-08-16 19:42:08 +02:00
42bfecffb6 ... 2025-08-16 19:37:42 +02:00
f7d5415484 ... 2025-08-16 19:27:31 +02:00
5825640c2c ... 2025-08-16 17:45:04 +02:00
de60c5f78e ... 2025-08-16 11:23:58 +02:00
be19609855 ... 2025-08-16 10:07:35 +02:00
27bc172257 ... 2025-08-16 07:31:32 +02:00
6732928156 ... 2025-08-16 05:21:52 +02:00
3bd1117210 ... 2025-08-16 05:20:51 +02:00
1cd8e8c299 ... 2025-08-16 05:13:18 +02:00
97d506ecbf ... 2025-08-15 17:57:16 +02:00
43ffedfad8 ... 2025-08-15 08:52:46 +02:00
71298a9704 ... 2025-08-15 08:25:00 +02:00
e76f558f97 ... 2025-08-15 07:41:10 +02:00
e030309b7f ... 2025-08-15 07:09:40 +02:00
e77f923cd2 ... 2025-08-15 06:30:12 +02:00
bd86f2c4f7 ... 2025-08-15 06:20:00 +02:00
Mahmoud-Emad
2d00d6cf9f feat: implement workspace file tree listing
- Add `list()` method to generate a full workspace file tree
- Introduce `WorkspaceItem` and `WorkspaceList` structs
- Remove `HeropromptSession` to simplify the public API
- Rename Heroscript action to `heropromptworkspace.configure`
- Enable full heroscript encoding/decoding for workspaces
2025-08-14 15:45:26 +03:00
Mahmoud-Emad
a58d72615d feat: Add recursive directory selection and enhance prompt builder
- Add `select_all` option to recursively add directory contents
- Implement `select_all_files_and_dirs` for file traversal
- Rework prompt building with file tree and content formatters
- Improve `get_file_extension` to handle dotfiles and special files
- Update prompt template to use new structured data model
2025-08-14 10:56:05 +03:00
Mahmoud-Emad
14771ed944 feat: add heroprompt module for prompt generation
- Introduce sessions and workspaces for managing context
- Allow adding directories and selecting files
- Generate structured prompts with file maps and content
- Add example script and a prompt template
- Define core data models like `HeropromptWorkspace`
2025-08-13 20:13:01 +03:00
Mahmoud-Emad
a6d4a23172 feat: add Heroprompt workspace management UI
- Add HTML, CSS, and JS for the Heroprompt feature
- Implement a three-panel UI for workspaces and files
- Add logic for creating/deleting workspaces in localStorage
- Enable adding directories and selecting files for
2025-08-13 15:37:36 +03:00
Mahmoud-Emad
5c77c6bd8d fix: Rename reporomt to heroprompt 2025-08-13 14:17:29 +03:00
b0ff9e3fbf ... 2025-08-13 13:12:55 +02:00
Mahmoud-Emad
3f82240564 feat: add web command to run Hero UI
- Add `web` command to start the Hero UI server
- Introduce `--host`, `--port`, and `--open` flags
- Implement cross-platform browser opening
- Update UI factory arguments for server configuration
2025-08-13 14:08:00 +03:00
06a89aead9 Merge branch 'development' of github.com:freeflowuniverse/herolib into development
# Conflicts:
#	lib/develop/gittools/gittools_do.v
2025-08-13 12:10:21 +02:00
23a723e17f ... 2025-08-13 12:09:14 +02:00
1501a09e62 ... 2025-08-13 12:09:11 +02:00
Omdanii
1f9b8c1e76 Merge pull request #112 from freeflowuniverse/development_fix_git_clone
Prevent double clone for clone command with URL
2025-08-13 13:08:31 +03:00
Mahmoud-Emad
f7ed2ea31e fix: prevent double clone for clone command with URL
- Differentiate logic when a URL is used for the clone command.
- Parse URL to get identifiers without cloning the repository.
- This avoids an implicit clone before the explicit one.
- Retain original `get_repo` behavior for other commands.
2025-08-13 13:07:30 +03:00
15aeb136b2 ... 2025-08-13 10:12:57 +02:00
50f33e9303 ... 2025-08-13 10:03:33 +02:00
f026565f77 ... 2025-08-13 10:01:09 +02:00
0845feffac ... 2025-08-13 09:48:56 +02:00
55f0621983 ... 2025-08-13 09:35:58 +02:00
75363d7aeb ... 2025-08-13 08:55:38 +02:00
1f9bc11a2e ... 2025-08-13 08:49:44 +02:00
aab018925d ... 2025-08-13 07:23:14 +02:00
5fa361256a ... 2025-08-13 07:18:02 +02:00