new: add copy btn for ask ai (#975)

This commit is contained in:
lollipopkit🏳️‍⚧️
2025-12-07 17:51:07 +08:00
committed by GitHub
parent 6458e736fa
commit 3f15caeaf2
3 changed files with 27 additions and 4 deletions

View File

@@ -292,7 +292,7 @@ class ServerNotifier extends _$ServerNotifier {
try {
final statusCmd = ShellFunc.status.exec(spi.id, systemType: state.status.system, customDir: spi.custom?.scriptDir);
Loggers.app.info('Running status command for ${spi.name} (${state.status.system.name}): $statusCmd');
// Loggers.app.info('Running status command for ${spi.name} (${state.status.system.name}): $statusCmd');
final execResult = await state.client?.run(statusCmd);
if (execResult != null) {
raw = SSHDecoder.decode(
@@ -300,7 +300,7 @@ class ServerNotifier extends _$ServerNotifier {
isWindows: state.status.system == SystemType.windows,
context: 'GetStatus<${spi.name}>',
);
Loggers.app.info('Status response length for ${spi.name}: ${raw.length} bytes');
// Loggers.app.info('Status response length for ${spi.name}: ${raw.length} bytes');
} else {
raw = '';
Loggers.app.warning('No status result from ${spi.name}');