Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion src/commands/command-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from '../kernel/device.ts';
import type { JsonSchema } from './command-contract.ts';
import { AppError } from '../kernel/errors.ts';
import { readOptionalInteger as optionalInteger } from '../kernel/input-validation.ts';
import { readOptionalInteger as optionalInteger } from '../contracts/input-validation.ts';

const INTERACTION_TARGET_KINDS = ['ref', 'selector', 'point'] as const;

Expand Down
5 changes: 1 addition & 4 deletions src/commands/observability/runtime/diagnostics-format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ import type {
DiagnosticsNetworkCommandResult,
DiagnosticsPerfCommandResult,
} from './diagnostics-types.ts';
import {
redactNetworkLogText as redactText,
redactNetworkUrl,
} from '../../../kernel/observability-redaction.ts';
import { redactNetworkLogText as redactText, redactNetworkUrl } from './observability-redaction.ts';

const PAYLOAD_MAX_CHARS = 2048;
const MESSAGE_MAX_CHARS = 4096;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from 'node:assert/strict';
import { test } from 'vitest';
import { isAudioProbeSupportedDevice } from '../../kernel/audio-probe-support.ts';
import { isAudioProbeSupportedDevice } from '../audio-probe-support.ts';
import {
isIosFamily,
isMacOs,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isIosFamily, isMacOs } from './device.ts';
import type { DeviceInfo } from './device.ts';
import { isIosFamily, isMacOs } from '../kernel/device.ts';
import type { DeviceInfo } from '../kernel/device.ts';

export function isHostSystemAudioProbeDevice(device: DeviceInfo): boolean {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/gesture-input.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AppError } from '../kernel/errors.ts';
import type { Point } from '../kernel/snapshot.ts';
import { readOptionalInteger } from '../kernel/input-validation.ts';
import { readOptionalInteger } from './input-validation.ts';
import {
SCROLL_DIRECTIONS,
SWIPE_PRESETS,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AppError } from './errors.ts';
import { AppError } from '../kernel/errors.ts';

export function readOptionalInteger(
record: Record<string, unknown>,
Expand Down
2 changes: 1 addition & 1 deletion src/core/interactors/register-builtins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { registerPlatformPlugin, type PlatformPlugin } from '../../contracts/pla
import { applePlugin } from '../../platforms/apple/plugin.ts';
import { vegaPlugin } from '../../platforms/vega/plugin.ts';
import { PUBLIC_COMMANDS } from '../../command-catalog.ts';
import { isAudioProbeSupportedDevice } from '../../kernel/audio-probe-support.ts';
import { isAudioProbeSupportedDevice } from '../../contracts/audio-probe-support.ts';
import {
WEB_DESKTOP_DEVICE,
type DeviceInventoryRequest,
Expand Down
2 changes: 1 addition & 1 deletion src/daemon/handlers/interaction-gesture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
SWIPE_SERIES_MAX_SCHEDULED_DURATION_MS,
} from '../../contracts/scroll-gesture.ts';
import { AppError, normalizeError } from '../../kernel/errors.ts';
import { readOptionalInteger } from '../../kernel/input-validation.ts';
import { readOptionalInteger } from '../../contracts/input-validation.ts';
import type { Point } from '../../kernel/snapshot.ts';
import type { GestureSemanticInput } from '../../contracts/gesture-plan-types.ts';
import { isActiveProviderDevice } from '../../provider-device-runtime.ts';
Expand Down
2 changes: 1 addition & 1 deletion src/platforms/apple/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { appleOsCapabilities } from './capabilities.ts';
import type { PlatformPlugin } from '../../contracts/platform-plugin.ts';
import { PUBLIC_COMMANDS } from '../../command-catalog.ts';
import { isAudioProbeSupportedDevice } from '../../kernel/audio-probe-support.ts';
import { isAudioProbeSupportedDevice } from '../../contracts/audio-probe-support.ts';
import {
shouldUseHostMacFastPath,
type DeviceInventoryRequest,
Expand Down
2 changes: 1 addition & 1 deletion src/platforms/audio-probe-backend.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { AudioProbeSource } from '../contracts/audio-probe-result.ts';
import { isHostSystemAudioProbeDevice } from '../kernel/audio-probe-support.ts';
import { isHostSystemAudioProbeDevice } from '../contracts/audio-probe-support.ts';
import type { DeviceInfo } from '../kernel/device.ts';
import type { ExecBackgroundResult } from '../utils/exec.ts';

Expand Down
Loading