Commit Graph
26 Commits
Author SHA1 Message Date
Cohee 8d2b9d2dab Secrets manager (#4131)
* Secret manager (now for real)

* Refactor secret manager dialog

* Add error handling to secrets migration

* Adjust default value

* Add secret-id slash command

* Add secret management slash commands

* Improve type definitions

* Improve compatibility of UUID generator

* Add copy buttons to manager view

* Improve compatibility with Vertex AI service account
- Changed to input since textarea can't be used with datalist
- Unblock regular key placeholder
- Save email as a key label
- Interrupt validation if the input is a UUID (autocompleted)

* Add optional label input for secret values in key manager dialog

* Update masking rules

* /secret-id: make the arg "required" (it's not)
2025-06-11 21:26:19 +03:00
Cohee e7189a1260 Refactor hideMessageCallback and unhideMessageCallback to remove unnecessary console logs. Introduce onlyUniqueJson and sortIgnoreCaseAndAccents utility functions 2025-03-12 10:18:02 +02:00
Cohee 1026e1f8e9 Add "name" argument to /hide and /unhide. Add default value for unnamed argument 2025-03-11 23:14:31 +02:00
Wolfsblvt 1ad3a2b968 Add 'return' and 'strict' to /reasoning-parse
- Add 'return' arg to `/reasoning-parse` to decide whether to return the reasoning, or the content without reasoning. Defaulting to reasoning.
- Add 'strict' arg to `/reasoning-parse` to decide whether the reasoning block has to be at the beginning of the provided message or not. Defaulting to true.
- Update parsing of all reasoning (even the auto parse one) to be strict by default - meaning the regex block has to be at the beginning (excluding whitespaces)
2025-02-17 03:47:31 +01:00
Wolfsblvt a8b5f8a95f Add /css-var slash command
- Add /css-var slash command to set CSS variables on some elements
- Update gallery div id to something actually unique ("#draggable_gallery")
2025-01-09 18:37:50 +01:00
Cohee d82dc4952b Merge branch 'staging' into send-commands-return-value 2024-10-01 01:52:33 +03:00
Wolfsblvt d8379edee7 Update return types as optional via named arg
- Update the modified slash commands for chat sending to use the named arg
- Add `slashCommandReturnHelper` for shared funcitonality on return type usage
2024-09-30 23:32:24 +02:00
Cohee bed7df0038 Merge branch 'staging' into fix-math-commands 2024-09-30 23:26:04 +03:00
Wolfsblvt 4855f25419 Update /mul, /max and /min definition
- Update command definition for /mul, /max and /min to fit the actual code behind, split them too
- Add numbersAndVariables enum provider, to centralize
2024-09-30 20:45:39 +02:00
Wolfsblvt 0be48c567a /char-find command to get a specific unique char
- findChar utility function that does the heavy lifting of finding a specific char based on conditions
- Log/warn if multiple characters match
- Validation function for named args that should be arrays
2024-09-29 00:36:13 +02:00
Wolfsblvt 22d8a654d9 Allow searching on /sendas via tag= 2024-09-28 22:22:44 +02:00
Wolfsblvt f6b240b294 Add Assistant to char enum provider 2024-09-10 22:15:56 +02:00
Wolfsblvt fbcd546db2 Fix lint issues in enum providers 2024-09-10 22:08:36 +02:00
Cohee bcac8c065b Add command for switching profiles 2024-09-07 13:58:46 +03:00
Cohee 3746f08590 Add type conversion for /setvar commands with index 2024-08-29 12:55:54 +00:00
LenAnderson 3327be5468 Merge branch 'staging' into parser-followup-2 2024-07-12 08:33:28 -04:00
Wolfsblvt 240f3f2c49 fix linting issues in enum providers 2024-07-11 22:49:32 +02:00
Wolfsblvt 8cbb80f44f Change 'world' enum provider query field, not UI 2024-07-11 22:43:56 +02:00
LenAnderson d61fbc3992 add scoped vars and fix hiding (scope->local->global) 2024-06-23 11:51:12 -04:00
LenAnderson 0506451ee6 add missing semicolon 2024-06-23 11:41:45 -04:00
Cohee 278b526898 Add icon for voice command 2024-06-23 15:43:57 +03:00
Wolfsblvt c6c8f91c99 forceEnum:false as default & enum icon changes
- Set forceEnum to false, for now
- Switch some icons around
2024-06-22 01:04:03 +02:00
Wolfsblvt 48077d200b More slash command enums (nearly done) 2024-06-21 20:04:55 +02:00
Wolfsblvt 461b1a9d87 Even more enum refactorings (not done yet)
- Add common enum icons
- enum def for existing enum types, with color description
2024-06-20 20:33:45 +02:00
Wolfsblvt 66d609c35f Several million refactoring of existing slash commands with enums (really) 2024-06-17 07:04:10 +02:00
Wolfsblvt 6f7ef25369 Rework slash command enum values pt.2
- Fix jsconfig module resolution for imports in frontend scripts
- Add file with common slash command enum values
2024-06-17 03:30:52 +02:00