Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ChatBotActionService Adjust ChatPresenter for the service Adjust so it can take in special character input Separate executeCommand in multiple functions for testing Make visible for testing Initial test for json input, failing Adjust so there's a role in the Message data class Add passing test for creating json input Clean up, add more JsonInput tests Change chat colors Update dependency com.github.oshi:oshi-core to v6.6.4 (#965) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.github.oshi:oshi-core](https://redirect.github.com/oshi/oshi) | dependencies | patch | `6.6.3` -> `6.6.4` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- <details> <summary>oshi/oshi (com.github.oshi:oshi-core)</summary> [`v6.6.4`](https://redirect.github.com/oshi/oshi/blob/HEAD/CHANGELOG.md#660-2024-04-13--661-2024-05-26--662-2024-07-21--663-2024-08-20--664-2024-09-15) - [#​2603](https://redirect.github.com/oshi/oshi/pull/2603), [#​2625](https://redirect.github.com/oshi/oshi/pull/2625): Add part number to Physical Memory - [@​BartekDziurowicz](https://redirect.github.com/BartekDziurowicz), [@​dbwiddis](https://redirect.github.com/dbwiddis). - [#​2644](https://redirect.github.com/oshi/oshi/pull/2644): Add serial number to Physical Memory - [@​Tegrason](https://redirect.github.com/Tegrason). - [#​2605](https://redirect.github.com/oshi/oshi/pull/2605): Reduce CpuStat.getSystemCpuLoadticks memory allocation pressure - [@​chrisribble](https://redirect.github.com/chrisribble). - [#​2612](https://redirect.github.com/oshi/oshi/pull/2612): Use 1k buffer in FileUtils.readLines to reduce heap allocation pressure - [@​chrisribble](https://redirect.github.com/chrisribble). - [#​2621](https://redirect.github.com/oshi/oshi/pull/2621): Cache thread counters when updating OS Process with suspended state - [@​dbwiddis](https://redirect.github.com/dbwiddis). - [#​2626](https://redirect.github.com/oshi/oshi/pull/2626): Make sys and dev paths on Linux configurable - [@​dbwiddis](https://redirect.github.com/dbwiddis). - [#​2627](https://redirect.github.com/oshi/oshi/pull/2627): Add more SMBIOSMemoryType values - [@​dbwiddis](https://redirect.github.com/dbwiddis). - [#​2645](https://redirect.github.com/oshi/oshi/pull/2645): fix getOwningProcessId sometimes return -1 on 64x linux - [@​yourancc](https://redirect.github.com/yourancc). - [#​2660](https://redirect.github.com/oshi/oshi/pull/2660): Add macOS 15 (Sequoia) to version properties - [@​dbwiddis](https://redirect.github.com/dbwiddis). - [#​2662](https://redirect.github.com/oshi/oshi/pull/2662): Only warn on duplicate properties files if they differ - [@​dbwiddis](https://redirect.github.com/dbwiddis). - [#​2692](https://redirect.github.com/oshi/oshi/pull/2692): Do not log errors for reading process arguments on Linux - [@​wolfs](https://redirect.github.com/wolfs). - [#​2704](https://redirect.github.com/oshi/oshi/pull/2704): Properly parse CPU vendor when lscpu not available - [@​dbwiddis](https://redirect.github.com/dbwiddis). - [#​2705](https://redirect.github.com/oshi/oshi/pull/2705): Restore optional legacy method of calculating Windows System CPU - [@​dbwiddis](https://redirect.github.com/dbwiddis). - [#​2711](https://redirect.github.com/oshi/oshi/pull/2711): Do not log error on macOS for hw.nperflevels - [@​Puppy4C](https://redirect.github.com/Puppy4C). - [#​2722](https://redirect.github.com/oshi/oshi/pull/2722): Fix speed value for LinuxNetworkIF - [@​Puppy4C](https://redirect.github.com/Puppy4C). - [#​2724](https://redirect.github.com/oshi/oshi/pull/2724): Clarify IO bytes documentation on OSProcess - [@​dbwiddis](https://redirect.github.com/dbwiddis). - [#​2725](https://redirect.github.com/oshi/oshi/pull/2725): Reduce redundant logging on perf counter failures - [@​dbwiddis](https://redirect.github.com/dbwiddis). - [#​2726](https://redirect.github.com/oshi/oshi/pull/2726): JNA 5.15.0 - [@​dbwiddis](https://redirect.github.com/dbwiddis). </details> --- 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Run spotless Remove script content Update -Werror behavior in kotlin and disallow in tests by default (#963) Never realized we didn't allow this in tests, this refreshes the logic for this area a bit and adds a test control. <!-- ⬆ Put your description above this! ⬆ Please be descriptive and detailed. Please read our [Contributing Guidelines](https://github.com/tinyspeck/slack-gradle-plugin/blob/main/.github/CONTRIBUTING.md) and [Code of Conduct](https://slackhq.github.io/code-of-conduct). Don't worry about deleting this, it's not visible in the PR! --> Update jna monorepo to v5.15.0 (#966) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [net.java.dev.jna:jna-platform](https://redirect.github.com/java-native-access/jna) | dependencies | minor | `5.14.0` -> `5.15.0` | | [net.java.dev.jna:jna](https://redirect.github.com/java-native-access/jna) | dependencies | minor | `5.14.0` -> `5.15.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- <details> <summary>java-native-access/jna (net.java.dev.jna:jna-platform)</summary> [`v5.15.0`](https://redirect.github.com/java-native-access/jna/blob/HEAD/CHANGES.md#Release-5150) [Compare Source](https://redirect.github.com/java-native-access/jna/compare/5.14.0...5.15.0) \============== - [#​1578](https://redirect.github.com/java-native-access/jna/pull/1578): Add support for FreeBSD aarch64 - [@​alexdupre](https://redirect.github.com/alexdupre). - [#​1593](https://redirect.github.com/java-native-access/jna/pull/1593): Add support for DragonFly BSD x86-64 - [@​liweitianux](https://redirect.github.com/liweitianux). - [#​1595](https://redirect.github.com/java-native-access/jna/pull/1595): Add `IsProcessorFeaturePresent` to `c.s.j.p.win32.Kernel32` - [@​dbwiddis](https://redirect.github.com/dbwiddis). - [#​1602](https://redirect.github.com/java-native-access/jna/pull/1602): Add `XMoveWindow`, `XResizeWindow`, `XMoveResizeWindow`, `XRaiseWindow`, `XLowerWindow` X11 calls to `c.s.j.p.unix.X11` - [@​vinceh121](https://redirect.github.com/vinceh121). - [#​1613](https://redirect.github.com/java-native-access/jna/issues/1613): Added static helper method \`Native#getNativeLibrary' for getting the underlying NativeLibrary instance from a Library interface instance or from a "registered" class - [@​matthiasblaesing](https://redirect.github.com/matthiasblaesing). - [#​1624](https://redirect.github.com/java-native-access/jna/pull/1624): Enable linker build-id for android builds - [@​mstyura](https://redirect.github.com/mstyura). - [#​1579](https://redirect.github.com/java-native-access/jna/issues/1579): Fix analysis of ELF binary on arm systems running with a java ELF binary without section table headers (java8 on armv7 NAS) - [@​matthiasblaesing](https://redirect.github.com/matthiasblaesing). - [#​1586](https://redirect.github.com/java-native-access/jna/issues/1586): Fix free_callback JNI weak reference leak - [@​xiezhaokun](https://redirect.github.com/xiezhaokun). - [6486c90d913a413f247eef84742ce3c474738933](https://redirect.github.com/java-native-access/jna/commit/6486c90d913a413f247eef84742ce3c474738933): Check CallbackReference#cbstruct for null when checking existing Reference - [@​matthiasblaesing](https://redirect.github.com/matthiasblaesing). - [#​1622](https://redirect.github.com/java-native-access/jna/issues/1622): Add "linux-riscv64" entry to OSGI Bundle-NativeCode header in MANIFEST.MF - [@​matthiasblaesing](https://redirect.github.com/matthiasblaesing). </details> --- 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Update dependency com.android.tools.build:gradle to v8.6.1 (#971) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.android.tools.build:gradle](http://tools.android.com/) ([source](https://android.googlesource.com/platform/tools/base)) | dependencies | patch | `8.6.0` -> `8.6.1` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44Ny4xIiwidXBkYXRlZEluVmVyIjoiMzguODcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Update dependency com.github.ajalt.clikt:clikt to v5 (#968) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.github.ajalt.clikt:clikt](https://redirect.github.com/ajalt/clikt) | dependencies | major | `4.4.0` -> `5.0.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- <details> <summary>ajalt/clikt (com.github.ajalt.clikt:clikt)</summary> [`v5.0.0`](https://redirect.github.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#500) [Compare Source](https://redirect.github.com/ajalt/clikt/compare/4.4.0...5.0.0) - Publish `iosArm64` and `iosX64` targets. - Added `NoSuchArgument` exception that is thrown when too many arguments were given on the command line. Previously, a less specific `UsageError` was thrown instead. - Added `CommandLineParser.tokenize` that splits a string into argv tokens. - Added `CommandLineParser` that provides functions for parsing and finalizing commands manually for more control. - Added `Context.invokedSubcommands` that contains all subcommands of the current command that are going to be invoked when `allowMultipleSubcommands` is `true`. - Added `SuspendingCliktCommand` that has a `suspend fun run` method, allowing you to use coroutines in your commands. - Added `ChainedCliktCommand` that allows you to return a value from your `run` method and pass it to the next command in the chain. - Added `Context.data` as an alternative to `obj` that allows you to store more than one object in the context. - Added `Context.echoer` to customize how `echo` messages are printed. - Added `CompletionGenerator` to manually generate completions for a command. - Added `Context.exitProcess` which you can use to prevent the process from exiting during tests. - Added core module that supports watchOS, tvOS, and wasmWasi targets and has no dependencies. - Added more options to `CliktCommand.test` to control the terminal interactivity. ([#​517](https://redirect.github.com/ajalt/clikt/pull/517)) - Added `associate{}`, `associateBy{}`, and `associateWith{}` transforms for options that allow you to convert the keys and values of the map. ([#​529](https://redirect.github.com/ajalt/clikt/pull/529)) - Added support for aliasing options to other options. ([#​535](https://redirect.github.com/ajalt/clikt/pull/535)) - Added `limit` and `ignoreCase` parameters to `option().split()`. ([#​541](https://redirect.github.com/ajalt/clikt/pull/541)) - Support calling `--help` on subcommands when parents have required parameters. - In a subcommand with and an `argument()` with `multiple()` or `optional()`, the behavior is now the same regardless of the value of `allowMultipleSubcommands`: if a token matches a subcommand name, it's now treated as a subcommand rather than a positional argument. - Due to changes to the internal parsing algorithm, the exact details of error messages when multiple usage errors occur have changed in some cases. - **Breaking Change:** Moved the following parameters from `CliktCommand`'s constructor; override the corresponding properties instead: | removed parameter | replacement property | |-----------------------------|---------------------------------| | `help` | `fun help` | | `epilog` | `fun helpEpilog` | | `invokeWithoutSubcommand` | `val invokeWithoutSubcommand` | | `printHelpOnEmptyArgs` | `val printHelpOnEmptyArgs` | | `helpTags` | `val helpTags` | | `autoCompleteEnvvar` | `val autoCompleteEnvvar` | | `allowMultipleSubcommands` | `val allowMultipleSubcommands` | | `treatUnknownOptionsAsArgs` | `val treatUnknownOptionsAsArgs` | | `hidden` | `val hiddenFromHelp` | - The following methods on `CliktCommand` have been renamed: `commandHelp` -> `help`, `commandHelpEpilog` -> `epilog`. The old names are deprecated. - **Breaking Change:** `CliktCommand.main` and `CliktCommand.parse` are now extension functions rather than methods. - **Breaking Change:** `Context.obj` and `Context.terminal`, and `OptionTransformContext.terminal` are now extension functions rather than properties. - **Breaking Change:** The `RenderedSection` and `DefinitionRow` classes have moved to `AbstractHelpFormatter`. - Markdown support in the help formatter is no longer included by default. To enable it, include the `:clikt-markdown` dependency and call `yourCommand.installMordantMarkdown()` before parsing. - Updated Kotlin to 2.0.0 - Fixed excess arguments not being reported when `allowMultipleSubcommands=true` and a subcommand has excess arguments followed by another subcommand. - Commands with `printHelpOnEmptyArgs=true` will no longer print help if an option has a value from an environment variable or value source. ([#​382](https://redirect.github.com/ajalt/clikt/pull/382)) - Deprecated `Context.originalArgv`. It will now always return an empty list. If your commands need an argv, you can pass it to them before you run them, or set in on the new `Context.data` map. - Deprecated `Context.expandArgumentFiles`. Use `Context.argumentFileReader` instead. - Renamed the following `Context` fields to be more consistent. The old names are deprecated. | old name | new name | |-------------------------------|---------------------------------| | `Context.envvarReader` | `Context.readEnvvar` | | `Context.correctionSuggestor` | `Context.suggestTypoCorrection` | | `Context.argumentFileReader` | `Context.readArgumentFile` | | `Context.tokenTransformer` | `Context.transformToken` | - Removed previously deprecated experimental annotations. - Removed `MordantHelpFormatter.graphemeLength` - Removed `TermUi` </details> --- 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44NC4xIiwidXBkYXRlZEluVmVyIjoiMzguODQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> --------- Co-authored-by: Zac Sweers <[email protected]>
- Loading branch information