aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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.
2024-11-05 fixed display of where control point will be added on mouse moves. fixed ↵bobzel
clickable ink line to not select fill area unless its actually painted. added end cap properties to ink stroke ui. enabled more than one ink stroke to show editable control points when multiselected.
2024-11-04Merge branch 'ajs-finalagent' into alyssa-agentalyssaf16
2024-11-04Updatesalyssaf16
2024-11-04fixing chunking and doc namesA.J. Shulman
2024-11-03fixed parsing of chat's svg's to strokesbobzel
2024-11-03style fixes to smart draw controlseleanor-park
2024-11-03working on smart draw width bugseleanor-park
2024-11-01fixed inifnite loop in card view caused by bug in formattedText of adding ↵bobzel
tagsView height to doc height. made selected docs also be focused docs in cardview. fixed tags text color to be set to black
2024-11-01fixed resize problem where NaN is generated by scaling very narrow in a card ↵bobzel
view.
2024-10-31Merge branch 'master' of https://github.com/brown-dash/Dash-Webgeireann
2024-10-31restored smartdraw ink mode. siwtched to enums for setting ink properties.bobzel
2024-10-31nesting worksalyssaf16
2024-10-30Merge branch 'master' of https://github.com/brown-dash/Dash-Web into ↵alyssaf16
alyssa-agent
2024-10-30version 5 workingalyssaf16
2024-10-30Merge branch 'master' into eleanor-gptdraweleanor-park
2024-10-30from lastbobzel
2024-10-30blending changeseleanor-park
2024-10-30Merge branch 'master' into eleanor-gptdraweleanor-park
2024-10-30fix for disableMixedBlend over images and videos.bobzel
2024-10-30version 4 of restructuringalyssaf16
2024-10-30Merge branch 'master' into eleanor-gptdraweleanor-park
2024-10-30integrated image stickers with paletteeleanor-park
2024-10-30reworked how context menu buttons for ink and text work. added ↵bobzel
disableMixBlend for making transparent docs not use 'multiply'.
2024-10-30much better RAG with image retrieval fixed significantly and much faster ↵A.J. Shulman
(only saving images in one place and remembering where they are saved)
2024-10-30before changing the get result endpointA.J. Shulman
2024-10-30bug fixes to cut modes and renderingeleanor-park
2024-10-29improved rectangle/triangle gesture recognitionbobzel
2024-10-29fixes to allow typing and drawing without a mode switch.bobzel
2024-10-28basic structure of 4 cut modes implemented, many bugs to fixeleanor-park
2024-10-28reworked LabelBox's to be fully editable. gor rid of singleLine for label ↵bobzel
boxes. made a text_fitBox field to render text with a labelBox. fixed styleprovider in freeformview clusters to be untracked() to avoid invalidations. added a default text color to Settings panel. fixed clicking text buttons to not lose focus in labelBox.
2024-10-27redesigning to make structure recursivealyssaf16
2024-10-24create documentsalyssaf16
2024-10-24fixed pinning of card and carousel views.geireann
2024-10-24fixed doc decorations for carousel docs.bobzel
2024-10-22fixed websearch tool endpoint so it only returns displayable results in ↵A.J. Shulman
Dash; also fixed type checking but needs to be improved
2024-10-20added different cut types, haven't been able to run & testeleanor-park
2024-10-20changed to generic addLinkedDocA.J. Shulman
2024-10-20changeseleanor-park
2024-10-18fixed following anchors to collection card/carousel to set the ↵bobzel
current/selected Doc
2024-10-18fixed tab switching instead of bringing up a lightbox when following link to ↵bobzel
doc in different tab.
2024-10-18fixed following links/show document of items in tabs/carousel/card view to ↵bobzel
set options.didMove correctly so that toggleTarget works.
2024-10-17from lastbobzel
2024-10-17changed layout_isFlashcard to layout_flashcardType with value of 'flashcard' ↵bobzel
to make it easy to search for flashcards. made carousel views able to focus() on a Doc. added ability for carousel and card views to have anchors so they can be pinned and linked. fixed pinning collections to save filters