Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
363 commits
Select commit Hold shift + click to select a range
8e03175
chore(deps): bump marked from 17.0.3 to 17.0.4 in /src/frontend
dependabot[bot] Mar 10, 2026
4fcae8a
chore(deps): bump @google/genai from 1.43.0 to 1.44.0 in /src/frontend
dependabot[bot] Mar 10, 2026
2e031cf
Merge pull request #62 from StableLlamaAI/dependabot/npm_and_yarn/src…
StableLlama Mar 10, 2026
010ced9
Merge pull request #64 from StableLlamaAI/dependabot/npm_and_yarn/src…
StableLlama Mar 10, 2026
d8bd4e0
feat: enhance editing capabilities by adding call_editing_assistant a…
StableLlama Mar 10, 2026
fe61e81
feat: add replace_text_in_chapter tool for precise text modifications…
StableLlama Mar 10, 2026
84bc1c2
feat: add model_type parameter to LLM functions and update DebugLogs …
StableLlama Mar 10, 2026
fe79471
feat: enhance chapter context injection and error handling; add unit …
StableLlama Mar 11, 2026
758018c
fix error reported by GH action
StableLlama Mar 11, 2026
dfce0ca
Merge pull request #67 from StableLlama/enhance_edit
StableLlama Mar 11, 2026
9eb6ce2
Undo/redo: This is the first implementation slice.
StableLlama Mar 11, 2026
c603aa7
next steps implemented:
StableLlama Mar 11, 2026
141e220
next steps
StableLlama Mar 11, 2026
bb957a3
next steps
StableLlama Mar 11, 2026
76cfd6e
Next steps:
StableLlama Mar 11, 2026
7c18c31
Undo/redo now covers almost all major mutation classes with either st…
StableLlama Mar 11, 2026
54b0323
New tests for image restore/overwrite undo primitives
StableLlama Mar 11, 2026
8a02e8e
Sourcebook CRUD switched to callback-based undo/redo
StableLlama Mar 11, 2026
a0d28b9
next steps
StableLlama Mar 11, 2026
c669d76
harden to fix CodeQL
StableLlama Mar 11, 2026
ecded1a
Merge pull request #68 from StableLlama/enhance_undo
StableLlama Mar 11, 2026
3da23ad
Enhance application components to support language prop and refresh h…
StableLlama Mar 13, 2026
f0a9bde
Implement story change mutations for image and project tools; add ext…
StableLlama Mar 13, 2026
edaaccc
Enforce mandatory category for sourcebook entries; normalize category…
StableLlama Mar 14, 2026
fb7e811
Refactor chat components to improve input handling and message update…
StableLlama Mar 14, 2026
6e85985
feat: enhance PlainTextEditable with markdown highlighting and whites…
StableLlama Mar 14, 2026
de74773
fix: improve link and image insertion handling in editor
StableLlama Mar 14, 2026
a2668a5
fix: update image handling in MarkdownView and PlainTextEditable for …
StableLlama Mar 14, 2026
72064c6
fix: enhance WYSIWYG selection handling and improve HTML insertion logic
StableLlama Mar 14, 2026
3d50e63
fix: add image handling to sourcebook entry creation and update, incl…
StableLlama Mar 14, 2026
ad0b34b
fix: optimize chat scroll handling by removing unnecessary frame requ…
StableLlama Mar 15, 2026
9872914
fix: implement smart quotes functionality across text inputs and text…
StableLlama Mar 15, 2026
e915eb6
fix: add recheckUnavailableProviderIfStale functionality to provider …
StableLlama Mar 15, 2026
2fc983e
fix: enhance parameter validation in chat tool wrapper and add tests …
StableLlama Mar 15, 2026
f463c89
fix: add documentation comments to various utility files for better c…
StableLlama Mar 15, 2026
0f74626
Merge pull request #69 from StableLlama/bug_fixing
StableLlama Mar 15, 2026
42f775d
Enhance project and story tools with role-based access and improved d…
StableLlama Mar 15, 2026
01abc12
feat: enhance project overview and story content tools with paging an…
StableLlama Mar 15, 2026
b3c8eba
feat: add targeted editing tools for chapter content with marker inse…
StableLlama Mar 15, 2026
882164f
feat: add context window tokens support and implement chat context bu…
StableLlama Mar 15, 2026
0b7ee48
feat: add support for notes in project overview and corresponding tests
StableLlama Mar 15, 2026
651ba30
feat: enhance chat context handling with improved tool call argument …
StableLlama Mar 15, 2026
3c63710
feat: remove conflicts from project overview and update related tests
StableLlama Mar 15, 2026
1323364
Merge pull request #70 from StableLlama/optimize_LLM_interction
StableLlama Mar 15, 2026
d50191b
feat: add checkpoints router to the API v1 router
StableLlama Mar 15, 2026
f704b2b
feat: implement checkpoints functionality with API endpoints and fron…
StableLlama Mar 15, 2026
c1e57e0
feat: add context window tokens handling in useAppSettings
StableLlama Mar 15, 2026
24e1c27
feat: enhance confirmation dialog integration in CheckpointsMenu and …
StableLlama Mar 15, 2026
486e5b7
Add test and documentation
StableLlama Mar 15, 2026
db85448
Fix applied: CodeQL “path traversal” security alert
StableLlama Mar 15, 2026
d04abbf
hardened checkpoint/path handling
StableLlama Mar 15, 2026
26b4f36
more Security Hardening Updates
StableLlama Mar 15, 2026
7443457
Deep Security Hardening
StableLlama Mar 15, 2026
0b66e3e
even more aggressive and explicit security hardening
StableLlama Mar 15, 2026
ef28ee3
Merge pull request #71 from StableLlama/feature_checkpoint
StableLlama Mar 15, 2026
64205d5
I added stable id attributes to the main DOM containers that represen…
StableLlama Mar 15, 2026
b8e2a4e
Merge pull request #72 from StableLlama/enhance_debugability
StableLlama Mar 15, 2026
51f84d0
Tool-call instructions now explicitly require typographic quotation m…
StableLlama Mar 15, 2026
4d0037b
enhance auto repair when the LLM does bad quotation mark calls
StableLlama Mar 15, 2026
6fb0538
Handle better function call of LLM
StableLlama Mar 15, 2026
8c570a5
Add LLM internal scratchpad
StableLlama Mar 15, 2026
158eeb6
Make search_sourcebook tool to be more efficient
StableLlama Mar 15, 2026
f4d3027
chore(deps): bump @google/genai from 1.44.0 to 1.45.0 in /src/frontend
dependabot[bot] Mar 16, 2026
1a79245
chore(deps-dev): bump vitest from 4.0.18 to 4.1.0 in /src/frontend
dependabot[bot] Mar 16, 2026
0ce1aed
feat(sourcebook): Enhance keyword generation and search functionality
StableLlama Mar 16, 2026
b43eaa3
feat(sourcebook): Implement filtering for sourcebook entries and sani…
StableLlama Mar 16, 2026
7647972
feat(sourcebook): Add endpoint for generating keywords from entry des…
StableLlama Mar 16, 2026
af82e76
feat(typography): Implement language-specific typographic quotes hand…
StableLlama Mar 16, 2026
201a45f
feat(sourcebook): Enhance sourcebook relations management and UI inte…
StableLlama Mar 18, 2026
b998aea
feat(editor): Add debounce functionality to text inputs for improved …
StableLlama Mar 18, 2026
ef5e2a3
feat(sourcebook): Add keywords panel to SourcebookEntryDialog for bet…
StableLlama Mar 18, 2026
1ff8b00
feat(sourcebook): Add expandable sections for images and relations in…
StableLlama Mar 18, 2026
d04a77e
feat(sourcebook): Enhance SourcebookEntryDialog and SourcebookList wi…
StableLlama Mar 18, 2026
380467b
feat(sourcebook): Enhance entry retrieval with relations and support …
StableLlama Mar 18, 2026
a2a7bc9
feat(debug): Update LLM logging endpoints and add tests for dynamic l…
StableLlama Mar 18, 2026
21e8741
feat(layout): Implement collapsible sections for Story, Chapters, and…
StableLlama Mar 18, 2026
a541e05
feat(layout): Enhance CollapsibleSection with dynamic height adjustme…
StableLlama Mar 18, 2026
bb018e6
feat(metadata): Remove private_notes from chapter metadata update and…
StableLlama Mar 18, 2026
37c6811
feat(openaiService): add parseToolArguments function to handle JSON w…
StableLlama Mar 18, 2026
0512f10
feat(ai): enhance AI action handling with additional parameters for p…
StableLlama Mar 18, 2026
b17e158
feat(story): enhance AI action handling with additional tool paramete…
StableLlama Mar 18, 2026
ef0a4a1
feat(story): enhance chapter summary and AI action handling with new …
StableLlama Mar 19, 2026
bd82493
feat(story): update button styles and text for AI generation sources …
StableLlama Mar 19, 2026
31133cb
test(debugApi): use regex for endpoint matching in log fetch and clea…
StableLlama Mar 19, 2026
95d4df4
feat(story): add support for story-level notes and private notes in v…
StableLlama Mar 19, 2026
2905864
feat(story): add chapter notes support to the story writing
StableLlama Mar 19, 2026
34e7c73
feat: enhance OpenAI service with cancellation support and add mounte…
StableLlama Mar 19, 2026
0e8b6a1
feat(settings): enhance prompt overrides management with dropdown sel…
StableLlama Mar 19, 2026
cafb8d3
Merge pull request #73 from StableLlama/llm_refinements
StableLlama Mar 19, 2026
c3ae873
chore(deps-dev): bump @types/node from 25.3.5 to 25.5.0 in /src/frontend
dependabot[bot] Mar 19, 2026
7aec38f
feat(docs): add comprehensive guide for writing a story to user manual
StableLlama Mar 19, 2026
d61b42a
Merge pull request #83 from StableLlama/documentation_update
StableLlama Mar 19, 2026
8eb4099
Enhance tests
StableLlama Mar 19, 2026
78627a6
fix failing test
StableLlama Mar 19, 2026
c0f2b9a
Legacy code removed: yes, major v1 migration compatibility path elimi…
StableLlama Mar 19, 2026
e6f6568
Narrowed broad exception handling in backend chat/settings
StableLlama Mar 19, 2026
6c228e6
finish CPT 5.3 codex based refactor
StableLlama Mar 19, 2026
be22726
claude sonnet 4.6 based refactoring
StableLlama Mar 19, 2026
244dcec
phase 3 and phase 4
StableLlama Mar 19, 2026
19dea7f
phase 5, 6, and 7
StableLlama Mar 19, 2026
47bf802
Phase 6.4 and 7.2
StableLlama Mar 19, 2026
910629a
Phase 4
StableLlama Mar 19, 2026
b4a108b
All 7 phases are done:
StableLlama Mar 19, 2026
d5c64dc
fix broken chat text input caused by refactor
StableLlama Mar 20, 2026
aad93a9
Merge pull request #84 from StableLlama/refactor
StableLlama Mar 20, 2026
b706420
Merge branch 'StableLlamaAI:develop' into refactor
StableLlama Mar 20, 2026
51cb9f1
Merge pull request #85 from StableLlama/refactor
StableLlama Mar 20, 2026
6d89005
chore(deps-dev): bump electron from 40.8.2 to 41.0.2 in /electron
dependabot[bot] Mar 20, 2026
2ea6824
fix undo and redo handling
StableLlama Mar 20, 2026
b886a97
add tests for MetadataEditorDialog and implement sync updates on init…
StableLlama Mar 20, 2026
1d35867
Merge pull request #86 from StableLlama/fix_undo
StableLlama Mar 20, 2026
7c65848
Fix "[Violation] 'message' handler took ...ms" messages
StableLlama Mar 20, 2026
3269211
Fix chapter context injection ordering and log deep copy
StableLlama Mar 20, 2026
50d8f73
refactor(tools): restructure LLM tool roles, add new capabilities, fi…
StableLlama Mar 20, 2026
13cf418
clarify call_editing_assistant
StableLlama Mar 20, 2026
4fd74cf
tests: add functional test coverage for new/refined tools; fix delete…
StableLlama Mar 20, 2026
05d4a3e
fix: prevent CHAT from abusing call_editing_assistant for analysis tasks
StableLlama Mar 20, 2026
a0d4c6e
fix: switch web search from duckduckgo_search to ddgs for better results
StableLlama Mar 21, 2026
8757f1d
Merge pull request #87 from StableLlama/fix_llm
StableLlama Mar 21, 2026
13e9860
Merge pull request #76 from StableLlamaAI/dependabot/npm_and_yarn/src…
StableLlama Mar 21, 2026
417051a
Merge pull request #78 from StableLlamaAI/dependabot/npm_and_yarn/src…
StableLlama Mar 21, 2026
57b5db3
Merge pull request #80 from StableLlamaAI/dependabot/npm_and_yarn/src…
StableLlama Mar 21, 2026
a985e79
Merge pull request #82 from StableLlamaAI/dependabot/npm_and_yarn/ele…
StableLlama Mar 21, 2026
e65f2e2
chore(deps-dev): bump @typescript-eslint/parser in /src/frontend
dependabot[bot] Mar 21, 2026
3aff276
Refactor SettingsDialog and SettingsMachine components for improved m…
StableLlama Mar 21, 2026
368fc64
refactor(editor): replace contenteditable with CodeMirror 6
StableLlama Mar 21, 2026
55d4dd8
fix space rendering
StableLlama Mar 21, 2026
f6bac82
test(editor): add CodeMirrorEditor tests and expand markdownToolbarUt…
StableLlama Mar 21, 2026
04f5b90
fix(editor): preserve table markdown through wysiwyg-to-raw mode swit…
StableLlama Mar 21, 2026
185f634
Fix space rendering in Raw with WS active
StableLlama Mar 21, 2026
8353da7
Fix cursor positioning
StableLlama Mar 21, 2026
6d52025
feat(editor): add strikethrough, subscript, superscript, footnote, fe…
StableLlama Mar 21, 2026
a0359d4
fix(security): sanitize URL inputs before passing to createLink/inser…
StableLlama Mar 21, 2026
fbd8536
try to fix https://github.com/StableLlamaAI/AugmentedQuill/security/c…
StableLlama Mar 21, 2026
f7ca980
trying to fix https://github.com/StableLlamaAI/AugmentedQuill/securit…
StableLlama Mar 21, 2026
2750b4f
next try to fix
StableLlama Mar 21, 2026
a4ca741
better dynamic screen width handling
StableLlama Mar 21, 2026
4b4ba7d
update documentation
StableLlama Mar 21, 2026
fb81bfe
update documentation with icons
StableLlama Mar 21, 2026
2bc3559
optimize handler display
StableLlama Mar 21, 2026
2b04655
Merge pull request #88 from StableLlama/ui_refinement
StableLlama Mar 21, 2026
744f0cb
Merge pull request #74 from StableLlamaAI/dependabot/npm_and_yarn/src…
StableLlama Mar 21, 2026
1ebe74b
chore(deps): bump dompurify from 3.3.2 to 3.3.3 in /src/frontend
dependabot[bot] Mar 21, 2026
03d40e4
chore(deps-dev): bump @typescript-eslint/eslint-plugin in /src/frontend
dependabot[bot] Mar 21, 2026
73da1d8
Merge pull request #81 from StableLlamaAI/dependabot/npm_and_yarn/src…
StableLlama Mar 21, 2026
5ad0306
Merge pull request #79 from StableLlamaAI/dependabot/npm_and_yarn/src…
StableLlama Mar 21, 2026
a7b8da5
upgrade vite
StableLlama Mar 21, 2026
3f6f41e
Merge pull request #89 from StableLlama/upgrade_vite
StableLlama Mar 21, 2026
3fa5050
add about to settings
StableLlama Mar 21, 2026
108baf0
Merge pull request #90 from StableLlama/add_about
StableLlama Mar 21, 2026
532e0fb
fix TypeScript error
StableLlama Mar 21, 2026
0bdc816
Warning from cdn.tailwindcss.com is now removed.
StableLlama Mar 21, 2026
cf01bd1
better chat text input sizing
StableLlama Mar 22, 2026
94f9ec7
fix “Thinking Process” expand/collapse
StableLlama Mar 22, 2026
5107e8a
optimize instruction
StableLlama Mar 22, 2026
8980017
first round of documentation update
StableLlama Mar 22, 2026
278018a
update readme
StableLlama Mar 22, 2026
a409979
Clarify setup
StableLlama Mar 22, 2026
f38d8cc
use links in README
StableLlama Mar 22, 2026
18bee01
enhance readme
StableLlama Mar 22, 2026
6506704
update README
StableLlama Mar 22, 2026
c91bbb5
clarify sourcbook instructions
StableLlama Mar 22, 2026
0b9f4ba
enhance Debug and logging
StableLlama Mar 22, 2026
22e881c
Enhance debugging and logging
StableLlama Mar 22, 2026
70f2bc2
Add (virtual) tool call before current chapter is inserted as context
StableLlama Mar 22, 2026
d8b7c3b
fix logging for normal mode
StableLlama Mar 22, 2026
662976c
fix logging
StableLlama Mar 22, 2026
bfc1a03
Set max_tokens to a better default
StableLlama Mar 22, 2026
fa12fe3
Merge pull request #91 from StableLlama/fixes
StableLlama Mar 22, 2026
b46cf76
update release logic
StableLlama Mar 22, 2026
afde112
Merge pull request #92 from StableLlama/update_release
StableLlama Mar 22, 2026
e87f217
Add prerelease option to create-release workflow
StableLlama Mar 22, 2026
1610659
trying to fix release action
StableLlama Mar 22, 2026
ff0f0a5
Merge pull request #93 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
25f2173
try to fix TOKEN handling
StableLlama Mar 22, 2026
6063fa9
Merge pull request #94 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
1da8ead
trigger building for prerelease as well
StableLlama Mar 22, 2026
53d5a8b
trying to fix not running actions
StableLlama Mar 22, 2026
ab0977b
Merge pull request #95 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
ae422bf
trying to fix actions
StableLlama Mar 22, 2026
6ca04e8
Merge pull request #96 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
1f3a53d
fix building
StableLlama Mar 22, 2026
f5b4189
Merge pull request #97 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
84ff213
fix electron build
StableLlama Mar 22, 2026
b8143d3
Merge pull request #98 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
9fe9cb6
add the built Electron files to the release
StableLlama Mar 22, 2026
074d9f8
Merge pull request #99 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
068d935
fix Electron built for windows
StableLlama Mar 22, 2026
e3ed1af
Merge pull request #100 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
6aa50a5
fix windows Electron built
StableLlama Mar 22, 2026
e403957
Merge pull request #101 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
db5e6a4
Make Docker work directly
StableLlama Mar 22, 2026
e56bc11
optimize build to fix Electron publishing
StableLlama Mar 22, 2026
86f4f3d
Merge pull request #102 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
ba079ff
fix macos
StableLlama Mar 22, 2026
b4c5b16
Merge pull request #103 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
7d16f85
try to fix MacOS build
StableLlama Mar 22, 2026
e24d968
Merge pull request #104 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
4057117
try to fix MacOS
StableLlama Mar 22, 2026
0fb1dc1
Merge pull request #105 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
9783da2
remove MacOS build as it's too complicated to support
StableLlama Mar 22, 2026
3ae84c2
Merge pull request #106 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
21e1e9f
try to fix AppImage Electron
StableLlama Mar 22, 2026
8805e75
Merge pull request #107 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
78966db
try to fix AppImage Electron even more
StableLlama Mar 22, 2026
fe37460
Merge pull request #108 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
bacacdf
Trying to fix AppImage Electron
StableLlama Mar 22, 2026
bd229bc
Merge pull request #109 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
39584b5
try to fix AppImage Electron
StableLlama Mar 22, 2026
c7f8aef
Merge pull request #110 from StableLlama/fix_release_action
StableLlama Mar 22, 2026
004833b
trying to fix Electron
StableLlama Mar 22, 2026
4747adc
chore(deps): bump @google/genai from 1.45.0 to 1.46.0 in /src/frontend
dependabot[bot] Mar 23, 2026
85de048
chore(deps): bump marked from 17.0.4 to 17.0.5 in /src/frontend
dependabot[bot] Mar 23, 2026
a3f3d43
chore(deps-dev): bump jsdom from 29.0.0 to 29.0.1 in /src/frontend
dependabot[bot] Mar 23, 2026
b5a14d0
try to fix Electron
StableLlama Mar 23, 2026
4570b29
Merge pull request #111 from StableLlama/fix_release_action
StableLlama Mar 23, 2026
48f5a4c
trying to fix Electron
StableLlama Mar 23, 2026
8e79ba6
Merge pull request #117 from StableLlama/fix_release_action
StableLlama Mar 23, 2026
1f71c46
try to fix Electron
StableLlama Mar 23, 2026
e3b5654
Merge pull request #118 from StableLlama/fix_release_action
StableLlama Mar 23, 2026
8650927
tryin to fix Electron
StableLlama Mar 23, 2026
4f98ea2
Merge pull request #119 from StableLlama/fix_release_action
StableLlama Mar 23, 2026
a000f47
trying to fix Electron
StableLlama Mar 23, 2026
32bbe60
Merge pull request #120 from StableLlama/fix_release_action
StableLlama Mar 23, 2026
1611bdd
Merge pull request #112 from StableLlamaAI/dependabot/npm_and_yarn/sr…
StableLlama Mar 23, 2026
9c8e22a
Merge pull request #114 from StableLlamaAI/dependabot/npm_and_yarn/sr…
StableLlama Mar 23, 2026
1315a03
Merge pull request #115 from StableLlamaAI/dependabot/npm_and_yarn/sr…
StableLlama Mar 23, 2026
a1b4ff0
chore(deps-dev): bump eslint from 10.0.3 to 10.1.0 in /src/frontend
dependabot[bot] Mar 23, 2026
1d5e1c0
Merge pull request #116 from StableLlamaAI/dependabot/npm_and_yarn/sr…
StableLlama Mar 23, 2026
144ad3e
Optimize instructions
StableLlama Mar 25, 2026
1f1cc4f
Fix handling of sourcebook entries with slash
StableLlama Mar 25, 2026
d98fd3e
Make scratchpad local to chat
StableLlama Mar 25, 2026
0a5d3ca
Insert chapte notes in writing
StableLlama Mar 25, 2026
5cebf1d
Fix scrolling while writing
StableLlama Mar 25, 2026
07be428
better keyboard handling whith paragraph suggestions
StableLlama Mar 25, 2026
debc83b
Better newline handling for paragraph suggestions
StableLlama Mar 25, 2026
975c8d4
Better handling of quotation marks from the user
StableLlama Mar 25, 2026
6e92897
try to fix failing tests
StableLlama Mar 26, 2026
673fa4c
trying to fix
StableLlama Mar 26, 2026
9bf4c77
trying to fix dependencies
StableLlama Mar 26, 2026
db6b5fa
Merge pull request #122 from StableLlama/more_fixes
StableLlama Mar 26, 2026
0d9a8a2
Better UX handling of short story type of stories
StableLlama Mar 27, 2026
adf92a7
Refine LLM instructions
StableLlama Mar 27, 2026
be95733
fix GH errors
StableLlama Mar 27, 2026
fc56257
Handle series the same way (generalize)
StableLlama Mar 28, 2026
b3e3768
Merge pull request #123 from StableLlama/short_story_chapter_handling
StableLlama Mar 28, 2026
d882e4f
Potential fix for code scanning alert no. 85: Uncontrolled data used …
StableLlama Mar 28, 2026
34e25bb
Potential fix for code scanning alert no. 83: Uncontrolled data used …
StableLlama Mar 28, 2026
b689ced
Fix current develop branch
StableLlama Mar 28, 2026
cfebffc
Merge pull request #125 from StableLlama/fix_branch
StableLlama Mar 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 8 additions & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

- AugmentedQuill is a web-based GUI for AI-assisted prose writing, with a FastAPI backend and a React + TypeScript SPA frontend (Vite).
- Backend lives in src/augmentedquill/, frontend in src/frontend/, tests in tests/.
- Python 3.11+ required (CI uses 3.11; local validation on 3.12.3). Node.js 18+ required (CI uses 18).
- Python 3.12+ required (CI uses 3.12). Node.js 24+ required (CI uses 24).
- The backend serves the built frontend from static/dist; frontend build output must be present for production-like runs.

## High-level structure and key files
Expand Down Expand Up @@ -112,6 +112,13 @@ Top-level directories (one level down):
- Prefer frontend changes inside features/<domain>/ and keep API calls in services/.
- Trust these instructions and only search the repo if something is missing or contradicts these notes.

## Test Data Safety (Mandatory)

- Never read from or write to real user runtime files under `data/config/`, `data/projects/`, or `data/logs/` when running tests.
- For all automated tests, force the app to use a temporary user data root by setting `AUGQ_USER_DATA_DIR` to a temp directory (for example under `/tmp`).
- Tests and AI-generated test code must isolate runtime paths via environment variables before importing app modules so default config constants resolve into temp paths.
- When tests need projects/registry overrides, use temp values for `AUGQ_PROJECTS_ROOT` and `AUGQ_PROJECTS_REGISTRY` inside that same temp root.

## Branching and Release Policy

The repository uses the following branch layout by default:
Expand Down
40 changes: 40 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "06:00"
timezone: "UTC"
target-branch: "develop"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "python"

- package-ecosystem: "npm"
directory: "/src/frontend"
schedule:
interval: "weekly"
day: "monday"
time: "06:15"
timezone: "UTC"
target-branch: "develop"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "frontend"

- package-ecosystem: "npm"
directory: "/electron"
schedule:
interval: "weekly"
day: "monday"
time: "06:30"
timezone: "UTC"
target-branch: "develop"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "electron"
9 changes: 5 additions & 4 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ name: Build Docker Image

on:
release:
# Run this workflow only when a release is published
types: [published]
# Run this workflow when a release or pre-release is published
types: [published, released, prereleased]

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

Expand All @@ -18,7 +19,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Log in to the Container registry
uses: docker/login-action@v3
Expand All @@ -34,7 +35,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand Down
89 changes: 0 additions & 89 deletions .github/workflows/build-electron.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/build-pyinstaller.yml

This file was deleted.

19 changes: 14 additions & 5 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ jobs:
backend-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
pip install pip-audit
- name: Run ruff
run: ruff check .
- name: Run black
Expand All @@ -29,20 +30,23 @@ jobs:
- name: Run tests
run: pytest

- name: Run pip-audit
run: pip-audit --ignore-vuln CVE-2026-4539

frontend-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '24'
cache: 'npm'
cache-dependency-path: src/frontend/package-lock.json
- name: Install dependencies
run: |
cd src/frontend
npm install
npm ci
- name: Run ESLint
run: |
cd src/frontend
Expand All @@ -59,3 +63,8 @@ jobs:
run: |
cd src/frontend
npm run build

- name: Run npm audit
run: |
cd src/frontend
npm audit --audit-level=high
38 changes: 38 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CodeQL Analysis

on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
schedule:
- cron: "0 4 * * 1"

permissions:
actions: read
contents: read
security-events: write

jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: ["python", "javascript-typescript"]

steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v3
Loading
Loading