aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-12-07field superclassNathan-SR
2024-12-07work started on field interface --> inheritcance structureNathan-SR
2024-12-05playing with ink stroke editing and fireflybobzel
2024-12-05added image to blob logic and firefly api call in drawingFillHandlereleanor-park
2024-12-04Merge branch 'master' into eleanor-gptdraweleanor-park
2024-12-04created drawing fill handlereleanor-park
2024-12-04added structure and upload image firefly api callseleanor-park
2024-12-04stuff seems to have broken... (some changes relating to doc rerendering)Nathan-SR
2024-12-03bunch of changes related to rendering changes to template docs; trying to ↵Nathan-SR
make it so docs don't need to rerender every time, and so that all attributes are accounted for.
2024-11-26website glitch fixedalyssaf16
2024-11-25bug fixes to image croppingeleanor-park
2024-11-22switched to providing secret instead of bearer token for adobe api accessbobzel
2024-11-22fixed resamppling images uploaded from non-local source.bobzel
2024-11-22Update FireflyManager.tsbobzel
2024-11-22added initial Firefly endpoint and hanged smartDrawHandler to generate an ↵bobzel
image and an svg.
2024-11-19Merge remote-tracking branch 'origin/ajs-finalagent'bobzel
2024-11-14changed isScribble related code to be more robust at determine cusps and ↵bobzel
deciding if cusps amount to a scribble. enabled undo of scribble erase without undoing scribble. added cusp visualizer for debugging, and cleaned up downDocView to be downFfview on CollectionFreeformView.
2024-11-13made link text use text menu. and made link text zoom with view. cleaned up ↵bobzel
equationBox updateSize()
2024-11-13dashboard functioningalyssaf16
2024-11-134 hours later...dashboard i think workingalyssaf16
2024-11-12don't include ink strokes in freeform clustersbobzel
2024-11-12changed cluster coloring to apply to all Docs that don't have the current ↵bobzel
default background color.
2024-11-12updated equationBox to support margins/padding like text. fixed initial ↵bobzel
undo of newly typed equation.
2024-11-12fixed resizing height to 0 to autoResize. fixed setting background color ↵bobzel
default for equations (and everything else) to textBackgroundColor from user doc. Added a math pseudo-font to trigger entering equations instead of rich text.
2024-11-12made equation background same as text. fixed dflt stroke/link width to both ↵bobzel
be 1. made function plot axis ranges get saved to Doc. marked equation->function links as being svgs. fixed initial size of equation boxes..
2024-11-12fixed clicking on filled closed strokes to select them.. fixed equationBox ↵bobzel
initial width. fixed line mode for ink to always create lines. fixed contextMenu to reset selectedIndex after being hidden. added reveal options for comparisonbox to contexst menu.
2024-11-12image doc workingalyssaf16
2024-11-12comparison box with assistant workingalyssaf16
2024-11-12flashcards w assistant finally workgit add -Aalyssaf16
2024-11-11changes for demoeleanor-park
2024-11-08cNathan-SR
2024-11-08Displays markdown again nowA.J. Shulman
2024-11-08displays much better with citations inlineA.J. Shulman
2024-11-08looks better still some things to work outA.J. Shulman
2024-11-08comp boxalyssaf16
2024-11-08style provideralyssaf16
2024-11-08new template addedNathan-SR
2024-11-08loading indicator in layout preview works properlyNathan-SR
2024-11-08image generation workingNathan-SR
2024-11-07template reset option and fixed preview not rendering on edits after 1stNathan-SR
2024-11-07fields set properlyNathan-SR
2024-11-07making it work even betterA.J. Shulman
2024-11-07working to create docs but wrong doc types/not compatible with LLMA.J. Shulman
2024-11-07trying to add a new create any doc toolA.J. Shulman
2024-11-07GPT text generation working fully!!Nathan-SR
2024-11-07gpt text gen working for previewsNathan-SR
2024-11-07cNathan-SR
2024-11-07refactored preview updating code, hopefully user added templates should be ↵Nathan-SR
working
2024-11-06changesNathan-SR
2024-11-06Enhance assistant security with structured validation and input sanitizationA.J. Shulman
- Prompt enhancements: - Enforce strict response structure validation by requiring <stage>, <thought>, <action>, and <answer> tags in responses. - Add self-validation instruction in <final_instruction> for assistant to check response structure before outputting. - Instruct assistant to ignore XML-like syntax from user input, treating any <stage>, <action>, etc., as plain text. - Code changes: - Implement `validateAssistantResponse` function to enforce required response structure (e.g., ensuring <stage> element). - Add input sanitization using `lodash.escape` to treat user inputs as plain text, preventing XML or HTML injection. - Configure XML parser to ignore external entities and avoid interpreting embedded XML-like syntax. - Introduce fallback error handling in parsing and validation to prevent assistant crashes on malformed or unexpected input. - Log response errors with detailed messages to aid debugging and improve system resilience. - Enhance input validation for tools by adding parameter checks, handling malformed data gracefully, and logging safety errors.