Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
8a46f0c
refactor(slm): import formatters and logger from @autobot/ui, drop th…
mrveiss Nov 2, 2026
f3074bb
Merge main into issue-14908-shared-utils (auto-sync) [skip ci]
github-actions[bot] Nov 2, 2026
5612841
Merge main into issue-14908-shared-utils (auto-sync) [skip ci]
github-actions[bot] Nov 2, 2026
26af289
Merge main into issue-14908-shared-utils (auto-sync) [skip ci]
github-actions[bot] Nov 2, 2026
d584e99
chore(merge): merge #20601 into issue-14908-shared-utils; the NPU scr…
mrveiss Nov 3, 2026
ad7954e
chore(merge): merge #20659 into issue-14908-shared-utils; the code-sy…
mrveiss Nov 3, 2026
aa4b8e9
fix(frontend): size ceilings follow the merged tree after the #20601 …
mrveiss Nov 3, 2026
d80c3da
Merge main into issue-14908-shared-utils (auto-sync) [skip ci]
github-actions[bot] Nov 3, 2026
7863649
chore(merge): merge #20659's head after its main sync (#14908)
mrveiss Nov 3, 2026
bbb2a0b
chore(merge): merge #20659's fix for the update-all poll binding (#14…
mrveiss Nov 3, 2026
5e1c994
Merge main into issue-14908-shared-utils (auto-sync) [skip ci]
github-actions[bot] Nov 3, 2026
2558c7c
Merge main into issue-14908-shared-utils (auto-sync) [skip ci]
github-actions[bot] Nov 3, 2026
77a6083
Merge main into issue-14908-shared-utils (#14908)
mrveiss Nov 5, 2026
37b0000
Merge main into issue-14908-shared-utils (auto-sync) [skip ci]
github-actions[bot] Nov 5, 2026
52b267a
Merge main into issue-14908-shared-utils (auto-sync) [skip ci]
github-actions[bot] Nov 5, 2026
da2ba5c
Merge main into issue-14908-shared-utils (auto-sync) [skip ci]
github-actions[bot] Nov 5, 2026
a486e86
Merge main into issue-14908-shared-utils (auto-sync) [skip ci]
github-actions[bot] Nov 6, 2026
0ea6b4a
Merge main into issue-14908-shared-utils (auto-sync) [skip ci]
github-actions[bot] Nov 6, 2026
28fa25a
Merge main into issue-14908-shared-utils (auto-sync) [skip ci]
github-actions[bot] Nov 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions autobot-slm-frontend/src/components/AddNodeModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@
</template>

<script setup lang="ts">
import { BaseAlert, BaseModal } from '@autobot/ui'
import { BaseAlert, BaseModal, createLogger } from '@autobot/ui'
// AutoBot - AI-Powered Automation Platform
// Copyright (c) 2025 mrveiss
// Author: mrveiss
Expand All @@ -555,7 +555,6 @@ import { ref, computed, watch, onMounted } from 'vue'
import { useI18n } from 'vue-i18n'
import { useSlmApi } from '@/composables/useSlmApi'
import type { NodeRole, RoleInfo } from '@/types/slm'
import { createLogger } from '@/utils/debugUtils'

const logger = createLogger('AddNodeModal')

Expand Down
3 changes: 1 addition & 2 deletions autobot-slm-frontend/src/components/CodeSourceModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
*/

import { ref, onMounted } from 'vue'
import { BaseModal } from '@autobot/ui'
import { BaseModal, createLogger } from '@autobot/ui'
import { useSlmApi } from '@/composables/useSlmApi'
import { createLogger } from '@/utils/debugUtils'
import slmApiClient from '@/utils/ApiClient'
import type { SLMNode } from '@/types/slm'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@
*/

import { ref, onMounted, onUnmounted, watch, nextTick } from 'vue'
import { BaseAlert, BaseModal } from '@autobot/ui'
import { BaseAlert, BaseModal, createLogger, createDateFormatter } from '@autobot/ui'
import { getSlmApiBase } from '@/config/ssot-config'
import { createLogger } from '@/utils/debugUtils'
import { createDateFormatter } from '@/utils/formatHelpers'

const logger = createLogger('DeploymentLogViewer')

Expand Down
3 changes: 1 addition & 2 deletions autobot-slm-frontend/src/components/DeploymentWizard.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { BaseAlert, BaseModal } from '@autobot/ui'
import { BaseAlert, BaseModal, createLogger } from '@autobot/ui'
// AutoBot - AI-Powered Automation Platform
// Copyright (c) 2025 mrveiss
// Author: mrveiss
Expand All @@ -9,7 +9,6 @@ import { useSlmApi } from '@/composables/useSlmApi'
import { useFleetStore } from '@/stores/fleet'
import { slmApiClient } from '@/utils/ApiClient'
import type { SLMNode, NodeRole, RoleInfo, RoleListResponse } from '@/types/slm'
import { createLogger } from '@/utils/debugUtils'

const logger = createLogger('DeploymentWizard')

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { BaseAlert, BaseModal, usePollingJob } from '@autobot/ui'
import { BaseAlert, BaseModal, usePollingJob, createLogger } from '@autobot/ui'
// AutoBot - AI-Powered Automation Platform
// Copyright (c) 2025 mrveiss
// Author: mrveiss
Expand All @@ -13,7 +13,6 @@ import { BaseAlert, BaseModal, usePollingJob } from '@autobot/ui'

import { ref, computed, watch, onMounted } from 'vue'
import { useI18n } from 'vue-i18n'
import { createLogger } from '@/utils/debugUtils'
import { slmApiClient } from '@/utils/ApiClient'
import { PLAYBOOK_EXECUTE_TIMEOUT_MS, POLLED_READ_MAX_RETRIES } from '@/constants/api-timeouts'
import type { PlaybookInfo, PlaybookExecution } from '@/types/slm'
Expand Down
4 changes: 1 addition & 3 deletions autobot-slm-frontend/src/components/RedisServicePanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@
*/

import { ref, computed, watch } from 'vue'
import { formatBytes } from '@/utils/formatHelpers'
import i18n from '@/i18n'
import { createLogger } from '@/utils/debugUtils'
import { useSlmApi } from '@/composables/useSlmApi'
import type { NodeService, ServiceActionResponse } from '@/types/slm'
import ServiceLogsModal from '@/components/fleet/ServiceLogsModal.vue'
import { BaseAlert, BaseModal, PollingPausedAlert } from '@autobot/ui'
import { BaseAlert, BaseModal, PollingPausedAlert, formatBytes, createLogger } from '@autobot/ui'
import { useDashboardPoller } from '@/composables/useDashboardPoller'

type RedisServiceAction = 'start' | 'stop' | 'restart'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { BaseButton } from '@autobot/ui'
import { BaseButton, createDateFormatter } from '@autobot/ui'
// AutoBot - AI-Powered Automation Platform
// Copyright (c) 2025 mrveiss
// Author: mrveiss
Expand All @@ -16,7 +16,6 @@ import { BaseButton } from '@autobot/ui'

import { useI18n } from 'vue-i18n'
import { ref, watch } from 'vue'
import { createDateFormatter } from '@/utils/formatHelpers'
import {
useAutobotApi,
autobotApiErrorMessage,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { BaseButton } from '@autobot/ui'
import { BaseButton, formatDuration, createDateFormatter } from '@autobot/ui'
// AutoBot - AI-Powered Automation Platform
// Copyright (c) 2025 mrveiss
// Author: mrveiss
Expand Down Expand Up @@ -29,7 +29,6 @@ import { useI18n } from 'vue-i18n'
import { ref, computed } from 'vue'
import { getBackendUrl } from '@/config/ssot-config'
import { useAuthStore } from '@/stores/auth'
import { formatDuration, createDateFormatter } from '@/utils/formatHelpers'
import {
useAutobotApi,
autobotApiErrorMessage,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@

import { ref, computed, onMounted } from 'vue'
import { useRoles, type DecommissionPreflight } from '@/composables/useRoles'
import { createLogger } from '@/utils/debugUtils'
import { BaseModal, BaseButton } from '@autobot/ui'
import { BaseModal, BaseButton, createLogger } from '@autobot/ui'

const logger = createLogger('DecommissionModal')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Author: mrveiss

<script setup lang="ts">
import { BaseAlert, BaseSwitch, PollingPausedAlert, useToast } from '@autobot/ui'
import { BaseAlert, BaseSwitch, PollingPausedAlert, useToast, createLogger } from '@autobot/ui'
/**
* LoadBalancingView - NPU Worker Load Balancing Visualization
*
Expand All @@ -20,7 +20,6 @@ import { ref, computed, onMounted } from 'vue'
import { useI18n } from 'vue-i18n'
import { useFleetStore } from '@/stores/fleet'
import { throwIfFailed, useDashboardPoller } from '@/composables/useDashboardPoller'
import { createLogger } from '@/utils/debugUtils'
import type {
NPULoadBalancingConfig,
NPUFleetMetrics,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@

import { ref, computed, onMounted } from 'vue'
import { useI18n } from 'vue-i18n'
import { PollingPausedAlert, BaseSkeleton } from '@autobot/ui'
import { PollingPausedAlert, BaseSkeleton, formatUptime } from '@autobot/ui'
import { useDashboardPoller } from '@/composables/useDashboardPoller'
import { formatUptime } from '@/utils/formatHelpers'
import type { NPUFleetMetrics, NPUWorkerMetrics } from '@/types/slm'
import { useFleetStore } from '@/stores/fleet'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@

import { ref, computed, onMounted, watch } from 'vue'
import { useI18n } from 'vue-i18n'
import { BaseAlert, PollingPausedAlert } from '@autobot/ui'
import { BaseAlert, PollingPausedAlert, createLogger, createDateFormatter } from '@autobot/ui'
import { useDashboardPoller } from '@/composables/useDashboardPoller'
import { createLogger } from '@/utils/debugUtils'
import type { SLMNode, NPUWorkerMetrics } from '@/types/slm'
import { useFleetStore } from '@/stores/fleet'
import { createDateFormatter } from '@/utils/formatHelpers'

const logger = createLogger('NPUWorkerMonitor')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@
*/

import { ref, computed, watch, onMounted, onUnmounted } from 'vue'
import { BaseButton, PollingPausedAlert } from '@autobot/ui'
import { BaseButton, PollingPausedAlert, formatDuration, createLogger } from '@autobot/ui'
import { throwUnlessLoaded, useDashboardPoller } from '@/composables/useDashboardPoller'
import { formatDuration } from '@/utils/formatHelpers'
import { useSlmApi } from '@/composables/useSlmApi'
import { useFleetStore } from '@/stores/fleet'
import { getConfig, getSlmApiBase } from '@/config/ssot-config'
import { createLogger } from '@/utils/debugUtils'
import { formatCompactRelativeTime } from '@/utils/dateUtils'

const logger = createLogger('NodeLifecyclePanel')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@
*/

import { ref, computed, watch, onMounted, onUnmounted } from 'vue'
import { BaseAlert, PollingPausedAlert } from '@autobot/ui'
import { BaseAlert, PollingPausedAlert, formatBytes, createLogger } from '@autobot/ui'
import { throwUnlessLoaded, useDashboardPoller } from '@/composables/useDashboardPoller'
import { formatBytes } from '@/utils/formatHelpers'
import { useSlmApi } from '@/composables/useSlmApi'
import { useSlmWebSocket } from '@/composables/useSlmWebSocket'
import { createLogger } from '@/utils/debugUtils'
import { formatCompactRelativeTime } from '@/utils/dateUtils'
import type { NodeService, ServiceStatus } from '@/types/slm'
import i18n from '@/i18n'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
*/

import { ref, watch } from 'vue'
import { BaseModal } from '@autobot/ui'
import { BaseModal, createLogger } from '@autobot/ui'
import { useSlmApi } from '@/composables/useSlmApi'
import { createLogger } from '@/utils/debugUtils'

const props = withDefaults(
defineProps<{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import { computed } from 'vue'
import type { FleetMetricsDetailed } from '@/composables/useFleetMetrics'
import { createDateFormatter } from '@/utils/formatHelpers'
import { createDateFormatter } from '@autobot/ui'

interface Props {
metrics: FleetMetricsDetailed | null
Expand Down
2 changes: 1 addition & 1 deletion autobot-slm-frontend/src/composables/useAccessibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

import { ref, type Ref } from 'vue'
import { createLogger } from '@/utils/debugUtils'
import { createLogger } from '@autobot/ui'

const logger = createLogger('Accessibility')

Expand Down
3 changes: 1 addition & 2 deletions autobot-slm-frontend/src/composables/useFleetMetrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@

import { ref, onMounted } from 'vue'
import { throwUnlessLoaded, useDashboardPoller } from '@/composables/useDashboardPoller'
import { createLogger } from '@/utils/debugUtils'
import { slmApiClient } from '@/utils/ApiClient'
import { POLLED_READ_MAX_RETRIES } from '@/constants/api-timeouts'
import type { GPUNodeStatus } from '@/types/slm'
import { HttpError, useMetricsSummary } from '@autobot/ui'
import { HttpError, useMetricsSummary, createLogger } from '@autobot/ui'
// Types and the pure summary helper live in fleetMetricsModel.ts (#18225).
import { summariseGpus } from './fleetMetricsModel'
import type {
Expand Down
2 changes: 1 addition & 1 deletion autobot-slm-frontend/src/composables/useOrchestration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import { ref, computed, readonly } from 'vue'
import { makeAxiosCompatClient } from '@/utils/slmApiCompat'
import { createLogger } from '@/utils/debugUtils'
import { createLogger } from '@autobot/ui'
import type { components } from '@/types/generated/api'

const logger = createLogger('useOrchestration')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { ref, computed, readonly, reactive } from 'vue'
import { makeAxiosCompatClient } from '@/utils/slmApiCompat'
import { useFleetStore } from '@/stores/fleet'
import { useSlmWebSocket } from '@/composables/useSlmWebSocket'
import { createLogger } from '@/utils/debugUtils'
import { createLogger } from '@autobot/ui'
import type {
ServiceDefinition,
ServiceActionRequest,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
*/

import { ref, onMounted } from 'vue'
import { HttpError } from '@autobot/ui'
import { HttpError, createLogger } from '@autobot/ui'
import { throwIfFailed, useDashboardPoller } from '@/composables/useDashboardPoller'
import { createLogger } from '@/utils/debugUtils'
import { slmApiClient } from '@/utils/ApiClient'

const logger = createLogger('usePerformanceMonitoring')
Expand Down
2 changes: 1 addition & 1 deletion autobot-slm-frontend/src/composables/usePersonality.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

import { ref, computed } from 'vue'
import { createLogger } from '@/utils/debugUtils'
import { createLogger } from '@autobot/ui'
import slmApiClient from '@/utils/ApiClient'

const logger = createLogger('usePersonality')
Expand Down
3 changes: 1 addition & 2 deletions autobot-slm-frontend/src/composables/useSlmWebSocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
* herd reconnection during backend restarts.
*/

import { backoffDelay } from '@autobot/ui'
import { backoffDelay, createLogger } from '@autobot/ui'
import { ref, onUnmounted } from 'vue'
import type { SLMWebSocketMessage, NodeHealth } from '@/types/slm'
import { getConfig } from '@/config/ssot-config'
import { createLogger } from '@/utils/debugUtils'
import { slmApiClient } from '@/utils/ApiClient'
import { readSlmToken } from '@/utils/authStorage'
import { HEALTH_PROBE_TIMEOUT_MS } from '@/constants/api-timeouts'
Expand Down
3 changes: 1 addition & 2 deletions autobot-slm-frontend/src/composables/useTimezone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@

import { ref } from 'vue'
import { getTimeConfig } from '@/utils/slmSettingsApi'
import { createLogger } from '@/utils/debugUtils'
import { createDateFormatter } from '@/utils/formatHelpers'
import { createLogger, createDateFormatter } from '@autobot/ui'

const logger = createLogger('useTimezone')

Expand Down
2 changes: 1 addition & 1 deletion autobot-slm-frontend/src/composables/useUpdateAllPoll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
UPDATE_ALL_UNAUTHENTICATED,
type UpdateAllJob,
} from '@/composables/useCodeSync'
import { createLogger } from '@/utils/debugUtils'
import { createLogger } from '@autobot/ui'

const logger = createLogger('UpdateAllPoll')

Expand Down
2 changes: 1 addition & 1 deletion autobot-slm-frontend/src/stores/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import { defineStore } from 'pinia'
import { ref, computed } from 'vue'
import { useRouter } from 'vue-router'
import { createLogger } from '@/utils/debugUtils'
import { createLogger } from '@autobot/ui'
import { slmApiClient } from '@/utils/ApiClient'
import { clearSlmSession, readSlmToken, readSlmUserRaw, writeSlmToken, writeSlmUser } from '@/utils/authStorage'
import type { components } from '@/types/generated/api'
Expand Down
2 changes: 1 addition & 1 deletion autobot-slm-frontend/src/stores/provision.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { ref, computed } from 'vue'
import { useSlmApi } from '@/composables/useSlmApi'
import { useDashboardPoller } from '@/composables/useDashboardPoller'
import { getConfig } from '@/config/ssot-config'
import { createLogger } from '@/utils/debugUtils'
import { createLogger } from '@autobot/ui'

const logger = createLogger('ProvisionStore')

Expand Down
2 changes: 1 addition & 1 deletion autobot-slm-frontend/src/utils/ApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
* - `getContract`, typed by the generated contract (#16292).
*/

import { createLogger } from '@/utils/debugUtils'
import { getSlmApiBase } from '@/config/ssot-config'
import { clearSlmSession, readSlmToken } from '@/utils/authStorage'
import { buildLoginUrl, isLoginPathname } from '@/utils/loginRedirect'
Expand All @@ -35,6 +34,7 @@ import {
type GetPath,
type GetResponse,
type TransportRequestOptions,
createLogger,
} from '@autobot/ui'
import type { paths } from '@/types/generated/api'

Expand Down
15 changes: 0 additions & 15 deletions autobot-slm-frontend/src/utils/debugUtils.ts

This file was deleted.

29 changes: 0 additions & 29 deletions autobot-slm-frontend/src/utils/formatHelpers.ts

This file was deleted.

Loading