tmux-ide 2.9.2 → 2.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/cli.js +2071 -625
- package/package.json +14 -5
- package/packages/contracts/src/desktop-host.ts +3 -0
- package/packages/contracts/src/saved-machines.ts +19 -0
- package/packages/contracts/src/terminal-replica.ts +1 -1
- package/packages/core/package.json +3 -2
- package/packages/core/src/terminal-delivery.ts +51 -3
- package/packages/core/src/terminal-fnv64-wasm.ts +4 -3
- package/packages/core/src/terminal-replica-hash-cache.ts +129 -31
- package/packages/core/src/terminal-replica-owned-row.ts +27 -0
- package/packages/core/src/terminal-replica.ts +13 -28
- package/packages/daemon/dist/command-center/daemon-fleet-facts-observer.js +96 -10
- package/packages/daemon/dist/command-center/resources/saved-machine-route.js +40 -1
- package/packages/daemon/dist/command-center/ws-events.js +5 -24
- package/packages/daemon/dist/lib/canonical-daemon-bootstrap.js +8 -0
- package/packages/daemon/dist/lib/canonical-daemon.js +28 -2
- package/packages/daemon/dist/lib/daemon-embed.js +1 -1
- package/packages/daemon/dist/lib/daemon-service-manager.js +122 -0
- package/packages/daemon/dist/lib/daemon-service-plan.js +127 -0
- package/packages/daemon/dist/lib/daemon-service.js +259 -0
- package/packages/daemon/dist/lib/install-origin.js +2 -0
- package/packages/daemon/dist/lib/local-fleet-request.js +9 -3
- package/packages/daemon/dist/lib/log.js +6 -10
- package/packages/daemon/dist/lib/managed-installer-update.js +67 -0
- package/packages/daemon/dist/lib/{tui-download-lock.js → private-operation-lock.js} +11 -11
- package/packages/daemon/dist/lib/remote-daemon-info.js +3 -2
- package/packages/daemon/dist/lib/remote-daemon-lifecycle.js +4 -4
- package/packages/daemon/dist/lib/remote-tmux-command.js +10 -0
- package/packages/daemon/dist/lib/runtime-namespace.js +28 -16
- package/packages/daemon/dist/lib/saved-machines.js +40 -2
- package/packages/daemon/dist/lib/ssh-daemon-transport.js +24 -9
- package/packages/daemon/dist/lib/tmux-server-owner.js +1 -1
- package/packages/daemon/dist/lib/tmux-server-registration.js +21 -3
- package/packages/daemon/dist/lib/tui-binary.js +2 -2
- package/packages/daemon/dist/lib/update.js +18 -0
- package/packages/daemon/dist/lib/workspace-multiplexer-verbs.js +24 -1
- package/packages/daemon/dist/machines.js +40 -4
- package/packages/daemon/dist/native/TmuxIdeNotifier.app/Contents/Info.plist +2 -2
- package/packages/daemon/dist/native/TmuxIdeNotifier.app/Contents/MacOS/tmux-ide-notifier +0 -0
- package/packages/daemon/dist/native/TmuxIdeNotifier.app/Contents/Resources/Assets.car +0 -0
- package/packages/daemon/dist/native/TmuxIdeNotifier.app/Contents/_CodeSignature/CodeResources +2 -2
- package/packages/daemon/dist/terminal/attachments/direct-websocket.js +4 -1
- package/packages/daemon/dist/terminal/attachments/native-runtime.js +22 -13
- package/packages/daemon/dist/terminal/mirror/mirror-service.js +101 -3
- package/packages/daemon/dist/terminal/mirror/registered-window-guard.js +62 -0
- package/packages/daemon/dist/terminal/mirror/session-channel.js +75 -4
- package/packages/daemon/dist/terminal/mirror/shared-window-index.js +45 -0
- package/packages/daemon/dist/terminal/pane-stream/pane-stream-websocket.js +11 -1
- package/packages/daemon/dist/terminal/session-runtime/multiplexer-backend.js +1 -0
- package/packages/daemon/dist/terminal/session-runtime/registry.js +56 -7
- package/packages/daemon/dist/terminal/session-runtime/semantic-mutation-executor.js +3 -1
- package/packages/daemon/dist/tui/mirror/dialog-model.js +2 -35
- package/packages/daemon/dist/tui/mirror/runtime/application-daemon-authority-owner.js +8 -0
- package/packages/daemon/dist/tui/mirror/runtime/application-home-fleet.js +20 -2
- package/packages/daemon/dist/tui/mirror/runtime/application-machine-agents.js +7 -1
- package/packages/daemon/dist/tui/mirror/runtime/application-machine-authority.js +59 -9
- package/packages/daemon/dist/tui/mirror/runtime/application-machine-navigation.js +27 -19
- package/packages/daemon/dist/tui/mirror/runtime/application-machine-sidebar.jsx +23 -18
- package/packages/daemon/dist/tui/mirror/runtime/application-machine-startup.js +31 -2
- package/packages/daemon/dist/tui/mirror/runtime/application-palette-search-owner.js +7 -3
- package/packages/daemon/dist/tui/mirror/runtime/application-performance-log.js +3 -0
- package/packages/daemon/dist/tui/mirror/runtime/application-terminal-input-ingress.js +146 -2
- package/packages/daemon/dist/tui/mirror/runtime/application-terminal-interaction-controller.js +201 -50
- package/packages/daemon/dist/tui/mirror/runtime/bounded-performance-record-writer.js +50 -10
- package/packages/daemon/dist/tui/mirror/runtime/terminal-fast-lane-renderer-adapter.js +6 -5
- package/packages/daemon/dist/tui/mirror/runtime/terminal-pane-input-router.js +3 -0
- package/packages/daemon/dist/tui/mirror/runtime/workspace-terminal-fast-lane.js +8 -2
- package/packages/daemon/dist/tui/mirror/terminal-text.js +35 -0
- package/packages/daemon/dist/tui/mirror/workspace/connection-feedback.js +5 -3
- package/packages/daemon/src/command-center/daemon-fleet-facts-observer.ts +100 -10
- package/packages/daemon/src/command-center/resources/saved-machine-route.ts +48 -1
- package/packages/daemon/src/command-center/ws-events.ts +5 -25
- package/packages/daemon/src/lib/canonical-daemon-bootstrap.ts +12 -0
- package/packages/daemon/src/lib/canonical-daemon.ts +44 -2
- package/packages/daemon/src/lib/daemon-embed.ts +1 -0
- package/packages/daemon/src/lib/daemon-service-manager.ts +152 -0
- package/packages/daemon/src/lib/daemon-service-plan.ts +153 -0
- package/packages/daemon/src/lib/daemon-service.ts +301 -0
- package/packages/daemon/src/lib/install-origin.ts +5 -0
- package/packages/daemon/src/lib/local-fleet-request.ts +19 -3
- package/packages/daemon/src/lib/log.ts +13 -9
- package/packages/daemon/src/lib/managed-installer-update.ts +79 -0
- package/packages/daemon/src/lib/{tui-download-lock.ts → private-operation-lock.ts} +15 -11
- package/packages/daemon/src/lib/remote-daemon-info.ts +3 -3
- package/packages/daemon/src/lib/remote-daemon-lifecycle.ts +4 -4
- package/packages/daemon/src/lib/remote-tmux-command.ts +12 -0
- package/packages/daemon/src/lib/runtime-namespace.ts +27 -18
- package/packages/daemon/src/lib/saved-machines.ts +40 -1
- package/packages/daemon/src/lib/ssh-daemon-transport.ts +25 -7
- package/packages/daemon/src/lib/tmux-server-owner.ts +1 -0
- package/packages/daemon/src/lib/tmux-server-registration.ts +21 -3
- package/packages/daemon/src/lib/tui-binary.ts +2 -2
- package/packages/daemon/src/lib/update.ts +24 -0
- package/packages/daemon/src/lib/workspace-multiplexer-verbs.ts +22 -0
- package/packages/daemon/src/machines.ts +53 -5
- package/packages/daemon/src/terminal/attachments/direct-websocket.ts +8 -2
- package/packages/daemon/src/terminal/attachments/native-runtime.ts +28 -13
- package/packages/daemon/src/terminal/mirror/mirror-service.ts +105 -3
- package/packages/daemon/src/terminal/mirror/registered-window-guard.ts +66 -0
- package/packages/daemon/src/terminal/mirror/session-channel.ts +92 -4
- package/packages/daemon/src/terminal/mirror/shared-window-index.ts +42 -0
- package/packages/daemon/src/terminal/pane-stream/pane-stream-websocket.ts +12 -1
- package/packages/daemon/src/terminal/session-runtime/multiplexer-backend.ts +2 -0
- package/packages/daemon/src/terminal/session-runtime/registry.ts +70 -8
- package/packages/daemon/src/terminal/session-runtime/semantic-mutation-executor.ts +3 -1
- package/packages/daemon/src/tui/mirror/dialog-model.ts +2 -32
- package/packages/daemon/src/tui/mirror/runtime/application-daemon-authority-owner.ts +8 -0
- package/packages/daemon/src/tui/mirror/runtime/application-home-fleet.ts +19 -2
- package/packages/daemon/src/tui/mirror/runtime/application-machine-agents.ts +6 -1
- package/packages/daemon/src/tui/mirror/runtime/application-machine-authority.ts +60 -11
- package/packages/daemon/src/tui/mirror/runtime/application-machine-navigation.ts +39 -33
- package/packages/daemon/src/tui/mirror/runtime/application-machine-sidebar.tsx +31 -23
- package/packages/daemon/src/tui/mirror/runtime/application-machine-startup.ts +38 -2
- package/packages/daemon/src/tui/mirror/runtime/application-palette-search-owner.ts +7 -4
- package/packages/daemon/src/tui/mirror/runtime/application-performance-log.ts +3 -0
- package/packages/daemon/src/tui/mirror/runtime/application-root-v2.tsx +1 -1
- package/packages/daemon/src/tui/mirror/runtime/application-shell-view.tsx +47 -46
- package/packages/daemon/src/tui/mirror/runtime/application-terminal-input-ingress.ts +165 -2
- package/packages/daemon/src/tui/mirror/runtime/application-terminal-interaction-controller.ts +207 -53
- package/packages/daemon/src/tui/mirror/runtime/bounded-performance-record-writer.ts +49 -9
- package/packages/daemon/src/tui/mirror/runtime/terminal-fast-lane-renderer-adapter.ts +6 -5
- package/packages/daemon/src/tui/mirror/runtime/terminal-pane-input-router.ts +4 -0
- package/packages/daemon/src/tui/mirror/runtime/workspace-terminal-fast-lane.ts +8 -3
- package/packages/daemon/src/tui/mirror/terminal-text.ts +32 -0
- package/packages/daemon/src/tui/mirror/workspace/connection-feedback.ts +6 -3
- package/packages/daemon-client/src/fleet-connection-status.ts +10 -1
- package/packages/daemon-client/src/workspace-client.ts +4 -1
- package/packages/contracts/src/__tests__/actions-contract.test.ts +0 -119
- package/packages/contracts/src/__tests__/agent-graph-overlay.test.ts +0 -428
- package/packages/contracts/src/__tests__/app-window-mutation.test.ts +0 -51
- package/packages/contracts/src/__tests__/app-window-state.test.ts +0 -34
- package/packages/contracts/src/__tests__/application-shell.test.ts +0 -645
- package/packages/contracts/src/__tests__/automation-operations.test.ts +0 -78
- package/packages/contracts/src/__tests__/causal-cell.test.ts +0 -47
- package/packages/contracts/src/__tests__/client-view-state.test.ts +0 -115
- package/packages/contracts/src/__tests__/cohesion-fixture.test.ts +0 -106
- package/packages/contracts/src/__tests__/commands.test.ts +0 -86
- package/packages/contracts/src/__tests__/control.test.ts +0 -154
- package/packages/contracts/src/__tests__/daemon-events.test.ts +0 -405
- package/packages/contracts/src/__tests__/daemon-resources.test.ts +0 -143
- package/packages/contracts/src/__tests__/daemon-wire.test.ts +0 -149
- package/packages/contracts/src/__tests__/desktop-host.test.ts +0 -269
- package/packages/contracts/src/__tests__/desktop-missions.test.ts +0 -215
- package/packages/contracts/src/__tests__/experience-conformance.test.ts +0 -153
- package/packages/contracts/src/__tests__/experience-kernel-boundary.test.ts +0 -113
- package/packages/contracts/src/__tests__/experience-shell.test.ts +0 -65
- package/packages/contracts/src/__tests__/fixtures/daemon-wire-v2.json +0 -35
- package/packages/contracts/src/__tests__/fixtures/daemon-wire-v3.json +0 -35
- package/packages/contracts/src/__tests__/fixtures/daemon-wire-v4.json +0 -35
- package/packages/contracts/src/__tests__/fixtures/scoped-receipt.ts +0 -62
- package/packages/contracts/src/__tests__/fleet-agent-graph.test.ts +0 -231
- package/packages/contracts/src/__tests__/fleet-catalog.test.ts +0 -270
- package/packages/contracts/src/__tests__/fleet-lifecycle.test.ts +0 -62
- package/packages/contracts/src/__tests__/focus-overlay.test.ts +0 -110
- package/packages/contracts/src/__tests__/ide-config.test.ts +0 -64
- package/packages/contracts/src/__tests__/interaction-evidence.test.ts +0 -288
- package/packages/contracts/src/__tests__/interaction-receipt-v2.test.ts +0 -72
- package/packages/contracts/src/__tests__/issue-error.test.ts +0 -78
- package/packages/contracts/src/__tests__/mission-projections.test.ts +0 -186
- package/packages/contracts/src/__tests__/missions.test.ts +0 -272
- package/packages/contracts/src/__tests__/multiplexer-verbs.test.ts +0 -242
- package/packages/contracts/src/__tests__/pane-appearance.test.ts +0 -146
- package/packages/contracts/src/__tests__/pane-read-result.test.ts +0 -55
- package/packages/contracts/src/__tests__/pane-stream.test.ts +0 -536
- package/packages/contracts/src/__tests__/pane-widget-marker.test.ts +0 -327
- package/packages/contracts/src/__tests__/performance-metrics.test.ts +0 -73
- package/packages/contracts/src/__tests__/performance-qualification.test.ts +0 -137
- package/packages/contracts/src/__tests__/rich-card-widget.test.ts +0 -29
- package/packages/contracts/src/__tests__/session-runtime.test.ts +0 -512
- package/packages/contracts/src/__tests__/startup-readiness.test.ts +0 -409
- package/packages/contracts/src/__tests__/terminal-attachment-stream.test.ts +0 -72
- package/packages/contracts/src/__tests__/terminal-attachments.test.ts +0 -329
- package/packages/contracts/src/__tests__/terminal-delivery.test.ts +0 -88
- package/packages/contracts/src/__tests__/terminal-runtime-inventory.test.ts +0 -68
- package/packages/contracts/src/__tests__/terminals.test.ts +0 -87
- package/packages/contracts/src/__tests__/tmux-server-scope.test.ts +0 -166
- package/packages/contracts/src/__tests__/transport-contract-loading.test.ts +0 -91
- package/packages/contracts/src/__tests__/visual-tokens.test.ts +0 -224
- package/packages/contracts/src/__tests__/window-links.test.ts +0 -243
- package/packages/contracts/src/__tests__/workspace-changes-resource.test.ts +0 -317
- package/packages/contracts/src/__tests__/workspace-changes-view.test.ts +0 -122
- package/packages/contracts/src/__tests__/workspace-config.test.ts +0 -294
- package/packages/contracts/src/__tests__/workspace-files-resource.test.ts +0 -261
- package/packages/contracts/src/__tests__/workspace-files-tree.test.ts +0 -147
- package/packages/contracts/src/__tests__/workspace-pane-creation.test.ts +0 -249
- package/packages/contracts/src/__tests__/workspace-promotion.test.ts +0 -94
- package/packages/contracts/src/__tests__/workspace-resource-identity.test.ts +0 -90
- package/packages/contracts/src/daemon-resource-request.test.ts +0 -192
- package/packages/contracts/src/native-operation-identity.test.ts +0 -23
- package/packages/contracts/src/workspace-admission.test.ts +0 -21
- package/packages/contracts/src/workspace-catalog-resource.test.ts +0 -146
- package/packages/core/src/agent-provisioning.test.ts +0 -42
- package/packages/core/src/application-shell-session.test.ts +0 -105
- package/packages/core/src/interaction-evidence.test.ts +0 -134
- package/packages/core/src/interaction-flow.test.ts +0 -66
- package/packages/core/src/interaction-receipts.test.ts +0 -671
- package/packages/core/src/navigator.test.ts +0 -34
- package/packages/core/src/optimistic-projection-conformance.test.ts +0 -75
- package/packages/core/src/optimistic-projection.test.ts +0 -118
- package/packages/core/src/performance-metrics.test.ts +0 -121
- package/packages/core/src/performance-qualification.test.ts +0 -283
- package/packages/core/src/saved-machines.test.ts +0 -80
- package/packages/core/src/terminal-compact-cold.test.ts +0 -87
- package/packages/core/src/terminal-conformance.test.ts +0 -48
- package/packages/core/src/terminal-delivery-cache-lifetime.test.ts +0 -167
- package/packages/core/src/terminal-delivery-encode-cooperative.test.ts +0 -140
- package/packages/core/src/terminal-delivery-representation-hash.test.ts +0 -77
- package/packages/core/src/terminal-delivery.test.ts +0 -1471
- package/packages/core/src/terminal-fnv64-wasm.test.ts +0 -61
- package/packages/core/src/terminal-replica-cold.test.ts +0 -31
- package/packages/core/src/terminal-replica-cooperative.test.ts +0 -170
- package/packages/core/src/terminal-replica-hash-cache.test.ts +0 -283
- package/packages/core/src/terminal-replica.test.ts +0 -347
- package/packages/core/src/workspace-selection.test.ts +0 -63
- package/packages/daemon/dist/__tests__/support.js +0 -33
- package/packages/daemon/dist/lib/__tests__/fixtures/workspace-state-writer.js +0 -58
- package/packages/daemon/dist/lib/__tests__/installed-recovery-fixture.js +0 -400
- package/packages/daemon/dist/terminal/__tests__/MockPtyAdapter.js +0 -182
- package/packages/daemon/dist/terminal/mirror/__tests__/scripted-channel.js +0 -98
- package/packages/daemon/dist/terminal/mirror/__tests__/simulated-channel.js +0 -156
- package/packages/daemon/src/tui/mirror/__snapshots__/activity-surface-renderer.test.tsx.snap +0 -42
- package/packages/daemon/src/tui/mirror/__snapshots__/changes-terminal-surface-renderer.test.tsx.snap +0 -267
- package/packages/daemon/src/tui/mirror/__snapshots__/home-files-surface-renderer.test.tsx.snap +0 -267
- package/packages/daemon/src/tui/mirror/__snapshots__/missions-surface-renderer.test.tsx.snap +0 -134
- package/packages/daemon/src/tui/mirror/__snapshots__/recipes-gallery-renderer.test.tsx.snap +0 -141
- package/packages/daemon/src/tui/mirror/__snapshots__/shell-chrome-renderer.test.tsx.snap +0 -134
- package/packages/daemon/src/tui/mirror/runtime/__snapshots__/application-shell-view-renderer.test.tsx.snap +0 -87
- package/packages/daemon/src/tui/mirror/workspace/__snapshots__/agent-terminal-canvas-renderer.test.tsx.snap +0 -348
- package/packages/daemon/src/tui/mirror/workspace/__snapshots__/application-shell-renderer.test.tsx.snap +0 -134
- package/packages/daemon/src/tui/mirror/workspace/__snapshots__/command-palette-surface-renderer.test.tsx.snap +0 -255
- package/packages/daemon/src/tui/mirror/workspace/__snapshots__/pane-frame-renderer.test.tsx.snap +0 -525
- package/packages/daemon/src/tui/mirror/workspace/__snapshots__/terminal-pane-header-polish-renderer.test.tsx.snap +0 -31
- package/packages/daemon/src/tui/mirror/workspace/__snapshots__/workbench-shell-renderer.test.tsx.snap +0 -134
- package/packages/daemon-client/src/application-shell-session.test.ts +0 -196
- package/packages/daemon-client/src/automation-client.test.ts +0 -214
- package/packages/daemon-client/src/bootstrap-coordinator.test.ts +0 -145
- package/packages/daemon-client/src/connection-supervisor.test.ts +0 -109
- package/packages/daemon-client/src/direct-application-shell-transport.test.ts +0 -941
- package/packages/daemon-client/src/first-latest-coordinator.test.ts +0 -175
- package/packages/daemon-client/src/fleet-dial-scheduler.test.ts +0 -114
- package/packages/daemon-client/src/fleet-environments.test.ts +0 -40
- package/packages/daemon-client/src/generation-bound-store-timers.test.ts +0 -74
- package/packages/daemon-client/src/owner-action-client.test.ts +0 -245
- package/packages/daemon-client/src/pane-stream-client.test.ts +0 -2841
- package/packages/daemon-client/src/pane-stream-clock-calibration.test.ts +0 -207
- package/packages/daemon-client/src/pane-stream-loopback-benchmark.test.ts +0 -51
- package/packages/daemon-client/src/push-resource-session.test.ts +0 -509
- package/packages/daemon-client/src/resource-replica.test.ts +0 -186
- package/packages/daemon-client/src/runtime-resource-ledger.test.ts +0 -18
- package/packages/daemon-client/src/scoped-tmux-server-transport.test.ts +0 -114
- package/packages/daemon-client/src/terminal-fast-lane.test.ts +0 -835
- package/packages/daemon-client/src/tmux-server-client.test.ts +0 -279
- package/packages/daemon-client/src/tmux-server-interaction-events.test.ts +0 -230
- package/packages/daemon-client/src/workspace-catalog-v2.test.ts +0 -109
- package/packages/daemon-client/src/workspace-client-boundaries.test.ts +0 -59
- package/packages/daemon-client/src/workspace-client-operations.test.ts +0 -96
- package/packages/daemon-client/src/workspace-client.test.ts +0 -2912
- package/packages/daemon-client/src/workspace-event-supervisor.test.ts +0 -1086
- package/packages/daemon-client/src/workspace-pane-client.test.ts +0 -80
- package/packages/presentation/src/presentation-contract.test.ts +0 -63
- package/packages/tmux-bridge/src/runner.test.ts +0 -614
- package/packages/tmux-bridge/src/targeting.test.ts +0 -107
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from "vitest";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
projectWorkspaceCatalogV2,
|
|
5
|
-
projectWorkspaceCatalogV3,
|
|
6
|
-
} from "./workspace-catalog-resource.ts";
|
|
7
|
-
|
|
8
|
-
const daemon = {
|
|
9
|
-
protocolVersion: 1,
|
|
10
|
-
productVersion: "2.8.0",
|
|
11
|
-
instanceId: "9bcf33b0-c837-4a94-b5e8-c0977f54464f",
|
|
12
|
-
startedAt: "2026-07-21T00:00:00.000Z",
|
|
13
|
-
};
|
|
14
|
-
const alphaFleetSessionId = "session.aaaaaaaaaaaaaaaaaaaa";
|
|
15
|
-
|
|
16
|
-
describe("projectWorkspaceCatalogV2", () => {
|
|
17
|
-
it("keeps durable intent while publishing zero live sessions", () => {
|
|
18
|
-
expect(
|
|
19
|
-
projectWorkspaceCatalogV2(
|
|
20
|
-
daemon,
|
|
21
|
-
[{ workspaceName: "alpha", sessionName: "alpha", source: "project" }],
|
|
22
|
-
[],
|
|
23
|
-
),
|
|
24
|
-
).toEqual({
|
|
25
|
-
version: 2,
|
|
26
|
-
daemon,
|
|
27
|
-
intents: [
|
|
28
|
-
{
|
|
29
|
-
workspaceName: "alpha",
|
|
30
|
-
sessionName: "alpha",
|
|
31
|
-
source: "project",
|
|
32
|
-
availability: "stopped",
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
liveSessions: [],
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
it("marks only an exactly observed tmux session live", () => {
|
|
40
|
-
const result = projectWorkspaceCatalogV2(
|
|
41
|
-
daemon,
|
|
42
|
-
[
|
|
43
|
-
{ workspaceName: "alpha", sessionName: "alpha-live", source: "workspace" },
|
|
44
|
-
{ workspaceName: "beta", sessionName: "beta", source: "project" },
|
|
45
|
-
],
|
|
46
|
-
[
|
|
47
|
-
{
|
|
48
|
-
sessionName: "alpha-live",
|
|
49
|
-
fleetSessionId: alphaFleetSessionId,
|
|
50
|
-
paneCount: 2,
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
);
|
|
54
|
-
expect(result.intents.map(({ availability }) => availability)).toEqual(["live", "stopped"]);
|
|
55
|
-
expect(result.liveSessions).toEqual([
|
|
56
|
-
{
|
|
57
|
-
sessionName: "alpha-live",
|
|
58
|
-
fleetSessionId: alphaFleetSessionId,
|
|
59
|
-
paneCount: 2,
|
|
60
|
-
},
|
|
61
|
-
]);
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
it("requires a daemon-minted opaque id for every exact live-session route", () => {
|
|
65
|
-
expect(() =>
|
|
66
|
-
projectWorkspaceCatalogV2(
|
|
67
|
-
daemon,
|
|
68
|
-
[],
|
|
69
|
-
[
|
|
70
|
-
// @ts-expect-error Proves the runtime schema rejects the legacy identity-less row.
|
|
71
|
-
{ sessionName: "alpha-live", paneCount: 2 },
|
|
72
|
-
],
|
|
73
|
-
),
|
|
74
|
-
).toThrow();
|
|
75
|
-
expect(() =>
|
|
76
|
-
projectWorkspaceCatalogV2(
|
|
77
|
-
daemon,
|
|
78
|
-
[],
|
|
79
|
-
[{ sessionName: "alpha-live", fleetSessionId: "$1", paneCount: 2 }],
|
|
80
|
-
),
|
|
81
|
-
).toThrow();
|
|
82
|
-
});
|
|
83
|
-
});
|
|
84
|
-
|
|
85
|
-
describe("projectWorkspaceCatalogV3", () => {
|
|
86
|
-
it("adds a strict tmux-incarnation identity without weakening V2 routing", () => {
|
|
87
|
-
expect(
|
|
88
|
-
projectWorkspaceCatalogV3(
|
|
89
|
-
daemon,
|
|
90
|
-
[],
|
|
91
|
-
[
|
|
92
|
-
{
|
|
93
|
-
liveSessionId: "live-session.bbbbbbbbbbbbbbbbbbbb",
|
|
94
|
-
sessionName: "alpha-live",
|
|
95
|
-
fleetSessionId: alphaFleetSessionId,
|
|
96
|
-
paneCount: 2,
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
),
|
|
100
|
-
).toMatchObject({
|
|
101
|
-
version: 3,
|
|
102
|
-
liveSessions: [
|
|
103
|
-
{
|
|
104
|
-
liveSessionId: "live-session.bbbbbbbbbbbbbbbbbbbb",
|
|
105
|
-
sessionName: "alpha-live",
|
|
106
|
-
},
|
|
107
|
-
],
|
|
108
|
-
});
|
|
109
|
-
|
|
110
|
-
expect(() =>
|
|
111
|
-
projectWorkspaceCatalogV3(
|
|
112
|
-
daemon,
|
|
113
|
-
[],
|
|
114
|
-
[
|
|
115
|
-
{
|
|
116
|
-
liveSessionId: "alpha-live",
|
|
117
|
-
sessionName: "alpha-live",
|
|
118
|
-
fleetSessionId: alphaFleetSessionId,
|
|
119
|
-
paneCount: 2,
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
),
|
|
123
|
-
).toThrow();
|
|
124
|
-
|
|
125
|
-
expect(() =>
|
|
126
|
-
projectWorkspaceCatalogV3(
|
|
127
|
-
daemon,
|
|
128
|
-
[],
|
|
129
|
-
[
|
|
130
|
-
{
|
|
131
|
-
liveSessionId: "live-session.bbbbbbbbbbbbbbbbbbbb",
|
|
132
|
-
sessionName: "alpha-live",
|
|
133
|
-
fleetSessionId: alphaFleetSessionId,
|
|
134
|
-
paneCount: 1,
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
liveSessionId: "live-session.bbbbbbbbbbbbbbbbbbbb",
|
|
138
|
-
sessionName: "beta-live",
|
|
139
|
-
fleetSessionId: "session.cccccccccccccccccccc",
|
|
140
|
-
paneCount: 1,
|
|
141
|
-
},
|
|
142
|
-
],
|
|
143
|
-
),
|
|
144
|
-
).toThrow("duplicate live session identity");
|
|
145
|
-
});
|
|
146
|
-
});
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from "vitest";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
projectProvisioningTargets,
|
|
5
|
-
provisioningPlacementForTarget,
|
|
6
|
-
targetFirstProvisioningStage,
|
|
7
|
-
} from "./agent-provisioning.ts";
|
|
8
|
-
|
|
9
|
-
describe("target-first provisioning", () => {
|
|
10
|
-
it("places the active semantic pane first and keeps unavailable workspaces visible", () => {
|
|
11
|
-
const targets = projectProvisioningTargets(
|
|
12
|
-
[
|
|
13
|
-
{ name: "workspace.beta", label: "Beta", available: false },
|
|
14
|
-
{ name: "workspace.alpha", label: "Alpha", available: true },
|
|
15
|
-
],
|
|
16
|
-
{ workspaceName: "workspace.alpha", semanticPaneId: "pane.editor", paneLabel: "Editor" },
|
|
17
|
-
);
|
|
18
|
-
expect(targets).toEqual([
|
|
19
|
-
expect.objectContaining({ kind: "pane", label: "Editor", workspaceName: "workspace.alpha" }),
|
|
20
|
-
expect.objectContaining({ kind: "workspace", label: "Alpha", available: true }),
|
|
21
|
-
expect.objectContaining({ kind: "workspace", label: "Beta", available: false }),
|
|
22
|
-
]);
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
it("projects the same semantic placement for every renderer", () => {
|
|
26
|
-
expect(provisioningPlacementForTarget({ kind: "workspace", semanticPaneId: null })).toEqual({
|
|
27
|
-
kind: "window",
|
|
28
|
-
});
|
|
29
|
-
expect(
|
|
30
|
-
provisioningPlacementForTarget({ kind: "pane", semanticPaneId: "pane.editor" }, "down"),
|
|
31
|
-
).toEqual({ kind: "split", direction: "down", targetSemanticPaneId: "pane.editor" });
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
it("moves through where, what, details without renderer state", () => {
|
|
35
|
-
const target = projectProvisioningTargets([
|
|
36
|
-
{ name: "workspace.alpha", label: "Alpha", available: true },
|
|
37
|
-
])[0]!;
|
|
38
|
-
expect(targetFirstProvisioningStage(null, null)).toBe("target");
|
|
39
|
-
expect(targetFirstProvisioningStage(target, null)).toBe("kind");
|
|
40
|
-
expect(targetFirstProvisioningStage(target, "agent")).toBe("details");
|
|
41
|
-
});
|
|
42
|
-
});
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from "vitest";
|
|
2
|
-
import {
|
|
3
|
-
APPLICATION_SHELL_COMMAND_IDS,
|
|
4
|
-
COHESION_FIXTURE_V1,
|
|
5
|
-
applicationShellCommandInvocation,
|
|
6
|
-
type ApplicationShellProjectionInputV1,
|
|
7
|
-
} from "@tmux-ide/contracts";
|
|
8
|
-
|
|
9
|
-
import {
|
|
10
|
-
createApplicationShellReplayState,
|
|
11
|
-
projectApplicationShellSession,
|
|
12
|
-
reconcileApplicationShellReplayState,
|
|
13
|
-
reduceApplicationShellTransaction,
|
|
14
|
-
} from "./application-shell-session.ts";
|
|
15
|
-
|
|
16
|
-
function input(): ApplicationShellProjectionInputV1 {
|
|
17
|
-
return {
|
|
18
|
-
project: COHESION_FIXTURE_V1.project,
|
|
19
|
-
workspace: COHESION_FIXTURE_V1.workspace,
|
|
20
|
-
dock: COHESION_FIXTURE_V1.dock,
|
|
21
|
-
focus: { ...COHESION_FIXTURE_V1.focus, overlays: [] },
|
|
22
|
-
connection: COHESION_FIXTURE_V1.connection,
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
describe("application shell client session", () => {
|
|
27
|
-
it("applies a semantic command transaction identically for every renderer", () => {
|
|
28
|
-
const initial = createApplicationShellReplayState(input());
|
|
29
|
-
const source = { kind: "program" as const, surface: "parity-test" };
|
|
30
|
-
const transaction = reduceApplicationShellTransaction(initial, [
|
|
31
|
-
applicationShellCommandInvocation(
|
|
32
|
-
APPLICATION_SHELL_COMMAND_IDS.setDockMode,
|
|
33
|
-
{ mode: "maximized" },
|
|
34
|
-
source,
|
|
35
|
-
),
|
|
36
|
-
applicationShellCommandInvocation(
|
|
37
|
-
APPLICATION_SHELL_COMMAND_IDS.activateDockTool,
|
|
38
|
-
{ tool: "changes" },
|
|
39
|
-
source,
|
|
40
|
-
),
|
|
41
|
-
]);
|
|
42
|
-
|
|
43
|
-
expect(transaction.state).toMatchObject({ dockMode: "maximized", activeDockTool: "changes" });
|
|
44
|
-
expect(
|
|
45
|
-
transaction.steps.map(({ previous, next }) => [previous.dockMode, next.dockMode]),
|
|
46
|
-
).toEqual([
|
|
47
|
-
[initial.dockMode, "maximized"],
|
|
48
|
-
["maximized", "maximized"],
|
|
49
|
-
]);
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
it("keeps authority facts while projecting renderer-local view state", () => {
|
|
53
|
-
const authority = input();
|
|
54
|
-
const replay = {
|
|
55
|
-
...createApplicationShellReplayState(authority),
|
|
56
|
-
activeMode: "home" as const,
|
|
57
|
-
dockMode: "maximized" as const,
|
|
58
|
-
activeDockTool: "changes" as const,
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
const projection = projectApplicationShellSession(authority, replay);
|
|
62
|
-
expect(projection.project).toEqual(authority.project);
|
|
63
|
-
expect(projection.sidebar.sessions).toHaveLength(authority.workspace.sidebar.sessions.length);
|
|
64
|
-
expect(projection.workspaceCanvas.activeMode).toBe("home");
|
|
65
|
-
expect(projection.bottomDock).toMatchObject({ mode: "maximized", activeTool: "changes" });
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
it("retains safe local state but rejects stale pane focus and resource selection", () => {
|
|
69
|
-
const previous = input();
|
|
70
|
-
const current = {
|
|
71
|
-
...createApplicationShellReplayState(previous),
|
|
72
|
-
focus: {
|
|
73
|
-
...previous.focus,
|
|
74
|
-
appFocusedPaneId: "pane.removed",
|
|
75
|
-
terminalInputPaneId: "pane.removed",
|
|
76
|
-
},
|
|
77
|
-
selectedResources: [{ surface: "terminals" as const, resourceId: "pane.removed" }],
|
|
78
|
-
};
|
|
79
|
-
const next = { ...previous, terminalInventory: { activeResourceId: null, resources: [] } };
|
|
80
|
-
|
|
81
|
-
const reconciled = reconcileApplicationShellReplayState(previous, next, current);
|
|
82
|
-
expect(reconciled.focus).toEqual(next.focus);
|
|
83
|
-
expect(reconciled.selectedResources).toEqual([]);
|
|
84
|
-
});
|
|
85
|
-
|
|
86
|
-
it("resets all renderer-local state when workspace authority changes", () => {
|
|
87
|
-
const previous = input();
|
|
88
|
-
const current = {
|
|
89
|
-
...createApplicationShellReplayState(previous),
|
|
90
|
-
dockMode: "maximized" as const,
|
|
91
|
-
};
|
|
92
|
-
const next = {
|
|
93
|
-
...previous,
|
|
94
|
-
workspace: {
|
|
95
|
-
...previous.workspace,
|
|
96
|
-
id: "workspace.replacement",
|
|
97
|
-
activeMode: "home" as const,
|
|
98
|
-
},
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
expect(reconcileApplicationShellReplayState(previous, next, current)).toEqual(
|
|
102
|
-
createApplicationShellReplayState(next),
|
|
103
|
-
);
|
|
104
|
-
});
|
|
105
|
-
});
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from "vitest";
|
|
2
|
-
import { InteractionEvidenceSchemaZ, type InteractionEvidence } from "@tmux-ide/contracts";
|
|
3
|
-
import { canEnrichInteractionEvidence } from "./interaction-evidence.ts";
|
|
4
|
-
|
|
5
|
-
const id = "00000000-0000-4000-8000-000000000001";
|
|
6
|
-
const other = "00000000-0000-4000-8000-000000000002";
|
|
7
|
-
const stock = InteractionEvidenceSchemaZ.parse({
|
|
8
|
-
schemaVersion: 1,
|
|
9
|
-
interactionId: id,
|
|
10
|
-
revision: 0,
|
|
11
|
-
endpoints: {
|
|
12
|
-
destination: {
|
|
13
|
-
kind: "pane",
|
|
14
|
-
environmentId: id,
|
|
15
|
-
serverScope: { serverId: `tmux-server.${"a".repeat(32)}`, generation: id },
|
|
16
|
-
paneLifetimeId: id,
|
|
17
|
-
workspaceName: "workspace.project",
|
|
18
|
-
semanticPaneId: "pane.editor",
|
|
19
|
-
},
|
|
20
|
-
source: null,
|
|
21
|
-
},
|
|
22
|
-
actor: { kind: "unknown", reason: "stock-hook" },
|
|
23
|
-
observation: { kind: "stock-hook", command: "send-keys" },
|
|
24
|
-
effect: { kind: "unknown" },
|
|
25
|
-
occurredAt: null,
|
|
26
|
-
timeBasis: "unknown",
|
|
27
|
-
receivedAt: "2026-09-28T10:00:00Z",
|
|
28
|
-
});
|
|
29
|
-
const native = InteractionEvidenceSchemaZ.parse({
|
|
30
|
-
...stock,
|
|
31
|
-
revision: 1,
|
|
32
|
-
actor: {
|
|
33
|
-
kind: "native",
|
|
34
|
-
issuerId: id,
|
|
35
|
-
identity: "connection",
|
|
36
|
-
sourceBindingId: null,
|
|
37
|
-
classification: { kind: "viewer", bindingId: id },
|
|
38
|
-
},
|
|
39
|
-
observation: {
|
|
40
|
-
kind: "native-journal",
|
|
41
|
-
serverEpoch: id,
|
|
42
|
-
command: "send-keys",
|
|
43
|
-
commandId: id,
|
|
44
|
-
parentCommandId: null,
|
|
45
|
-
correlatedOperationId: null,
|
|
46
|
-
cursor: { epoch: id, sequence: "9007199254740993" },
|
|
47
|
-
},
|
|
48
|
-
effect: { kind: "input-enqueued" },
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
describe("monotonic interaction evidence", () => {
|
|
52
|
-
it("enriches a correlated stock command without changing its immutable endpoint", () => {
|
|
53
|
-
if (native.observation.kind !== "native-journal") throw Error("fixture");
|
|
54
|
-
expect(
|
|
55
|
-
canEnrichInteractionEvidence(stock, {
|
|
56
|
-
...native,
|
|
57
|
-
observation: {
|
|
58
|
-
...native.observation,
|
|
59
|
-
correlatedOperationId: stock.interactionId,
|
|
60
|
-
},
|
|
61
|
-
}),
|
|
62
|
-
).toBe(true);
|
|
63
|
-
expect(canEnrichInteractionEvidence(native, native)).toBe(false);
|
|
64
|
-
});
|
|
65
|
-
it("does not correlate matching command, target and timestamp without explicit native proof", () => {
|
|
66
|
-
expect(canEnrichInteractionEvidence(stock, native)).toBe(false);
|
|
67
|
-
});
|
|
68
|
-
it("rejects endpoint, generation, lifetime, effect, actor and occurrence changes", () => {
|
|
69
|
-
const destination = stock.endpoints.destination;
|
|
70
|
-
const observation = native.observation;
|
|
71
|
-
if (destination.kind !== "pane" || observation.kind !== "native-journal")
|
|
72
|
-
throw Error("fixture");
|
|
73
|
-
const candidates = [
|
|
74
|
-
{ interactionId: other },
|
|
75
|
-
{ effect: { kind: "unknown" } },
|
|
76
|
-
{ actor: stock.actor },
|
|
77
|
-
{ occurredAt: native.receivedAt, timeBasis: "daemon" },
|
|
78
|
-
{ receivedAt: "2026-09-28T09:00:00Z" },
|
|
79
|
-
...[
|
|
80
|
-
{ paneLifetimeId: other },
|
|
81
|
-
{ environmentId: other },
|
|
82
|
-
{ serverScope: { ...destination.serverScope, generation: other } },
|
|
83
|
-
].map((patch) => ({
|
|
84
|
-
endpoints: {
|
|
85
|
-
...native.endpoints,
|
|
86
|
-
destination: { ...destination, ...patch },
|
|
87
|
-
},
|
|
88
|
-
})),
|
|
89
|
-
...[
|
|
90
|
-
{ commandId: other },
|
|
91
|
-
{ cursor: { epoch: other, sequence: "9007199254740994" } },
|
|
92
|
-
{ cursor: { epoch: id, sequence: "9007199254740992" } },
|
|
93
|
-
].map((patch) => ({ observation: { ...observation, ...patch } })),
|
|
94
|
-
];
|
|
95
|
-
for (const patch of candidates)
|
|
96
|
-
expect(
|
|
97
|
-
canEnrichInteractionEvidence(native, {
|
|
98
|
-
...native,
|
|
99
|
-
revision: 2,
|
|
100
|
-
...patch,
|
|
101
|
-
} as InteractionEvidence),
|
|
102
|
-
).toBe(false);
|
|
103
|
-
});
|
|
104
|
-
it("compares uint64 cursors precisely without Number conversion", () => {
|
|
105
|
-
if (native.observation.kind !== "native-journal") throw Error("fixture");
|
|
106
|
-
expect(
|
|
107
|
-
canEnrichInteractionEvidence(native, {
|
|
108
|
-
...native,
|
|
109
|
-
revision: 2,
|
|
110
|
-
observation: {
|
|
111
|
-
...native.observation,
|
|
112
|
-
cursor: { epoch: id, sequence: "9007199254740994" },
|
|
113
|
-
},
|
|
114
|
-
}),
|
|
115
|
-
).toBe(true);
|
|
116
|
-
});
|
|
117
|
-
it("permits admitted completion but requires an explicit native operation correlation", () => {
|
|
118
|
-
const admitted: InteractionEvidence = {
|
|
119
|
-
...stock,
|
|
120
|
-
observation: { kind: "admission", operationId: id },
|
|
121
|
-
};
|
|
122
|
-
expect(canEnrichInteractionEvidence(admitted, native)).toBe(false);
|
|
123
|
-
if (native.observation.kind !== "native-journal") throw Error("fixture");
|
|
124
|
-
expect(
|
|
125
|
-
canEnrichInteractionEvidence(admitted, {
|
|
126
|
-
...native,
|
|
127
|
-
observation: {
|
|
128
|
-
...native.observation,
|
|
129
|
-
correlatedOperationId: id,
|
|
130
|
-
},
|
|
131
|
-
}),
|
|
132
|
-
).toBe(true);
|
|
133
|
-
});
|
|
134
|
-
});
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from "vitest";
|
|
2
|
-
import {
|
|
3
|
-
cycleWorkspaceFocusZone,
|
|
4
|
-
workspaceEscapeFocusTarget,
|
|
5
|
-
workspaceInteractionPresentation,
|
|
6
|
-
type WorkspaceInteractionContext,
|
|
7
|
-
} from "./interaction-flow.ts";
|
|
8
|
-
|
|
9
|
-
function context(
|
|
10
|
-
overrides: Partial<WorkspaceInteractionContext> = {},
|
|
11
|
-
): WorkspaceInteractionContext {
|
|
12
|
-
return {
|
|
13
|
-
overlay: null,
|
|
14
|
-
surface: "terminals",
|
|
15
|
-
focusZone: "canvas",
|
|
16
|
-
dockMode: "open",
|
|
17
|
-
missionMode: "board",
|
|
18
|
-
editorFocus: "list",
|
|
19
|
-
editorFilterOpen: false,
|
|
20
|
-
diffFilterOpen: false,
|
|
21
|
-
homePromptOpen: false,
|
|
22
|
-
hosted: false,
|
|
23
|
-
...overrides,
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
describe("renderer-neutral workspace interaction flow", () => {
|
|
28
|
-
it.each([
|
|
29
|
-
[context({ overlay: "dialog" }), "DIALOG", "dialog"],
|
|
30
|
-
[context({ overlay: "commands" }), "COMMANDS", "command palette"],
|
|
31
|
-
[context({ focusZone: "dock-tabs" }), "TOOL TABS", "tool tabs"],
|
|
32
|
-
[context({ surface: "files", editorFilterOpen: true }), "FILTER", "file filter"],
|
|
33
|
-
[context({ surface: "files", editorFocus: "editor" }), "EDITOR", "file editor"],
|
|
34
|
-
[context({ surface: "changes" }), "CHANGES", "changes"],
|
|
35
|
-
[context({ surface: "missions", missionMode: "detail" }), "MISSION", "mission detail"],
|
|
36
|
-
[context({ surface: "home" }), "HOME", "workspace list"],
|
|
37
|
-
[context(), "TERMINAL INPUT", "terminal"],
|
|
38
|
-
] as const)("projects the active input owner", (input, mode, focus) => {
|
|
39
|
-
expect(workspaceInteractionPresentation(input)).toMatchObject({ mode, focus });
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
it("walks the same reversible focus ring for every renderer", () => {
|
|
43
|
-
expect(cycleWorkspaceFocusZone("canvas", "open")).toBe("dock-tabs");
|
|
44
|
-
expect(cycleWorkspaceFocusZone("dock-tabs", "open")).toBe("dock-body");
|
|
45
|
-
expect(cycleWorkspaceFocusZone("dock-body", "open")).toBe("canvas");
|
|
46
|
-
expect(cycleWorkspaceFocusZone("dock-tabs", "collapsed")).toBe("canvas");
|
|
47
|
-
expect(cycleWorkspaceFocusZone("canvas", "open", "previous")).toBe("dock-body");
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
it("advertises the tmux-safe focus key", () => {
|
|
51
|
-
expect(workspaceInteractionPresentation(context()).help).toContain("F8 focus tools");
|
|
52
|
-
expect(workspaceInteractionPresentation(context()).help).not.toContain("^tab");
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
it("backs out through local state before parent focus zones", () => {
|
|
56
|
-
expect(
|
|
57
|
-
workspaceEscapeFocusTarget({ focusZone: "dock-body", layer: "editor-input" }),
|
|
58
|
-
).toBeNull();
|
|
59
|
-
expect(workspaceEscapeFocusTarget({ focusZone: "dock-body", layer: "editor-list" })).toBe(
|
|
60
|
-
"dock-tabs",
|
|
61
|
-
);
|
|
62
|
-
expect(workspaceEscapeFocusTarget({ focusZone: "dock-tabs", layer: "terminal" })).toBe(
|
|
63
|
-
"canvas",
|
|
64
|
-
);
|
|
65
|
-
});
|
|
66
|
-
});
|