@timurproko/a1 0.2.7-dev.1252 → 0.2.7-dev.1264
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/bin/ui.js +3 -3
- package/dist/app/session-shell/clipboard-diagnostics.d.ts +2 -2
- package/dist/app/session-shell/clipboard-image.d.ts +0 -1
- package/dist/app/session-shell/clipboard-image.js +1 -1
- package/dist/app/session-shell/dialog-coordinator.d.ts +6 -5
- package/dist/app/session-shell/dialog-coordinator.js +3 -4
- package/dist/app/session-shell/dock-chrome.d.ts +11 -6
- package/dist/app/session-shell/dock-chrome.js +5 -8
- package/dist/app/session-shell/editor-hyperlink-budget.d.ts +0 -2
- package/dist/app/session-shell/editor-hyperlink-budget.js +1 -1
- package/dist/app/session-shell/exit-notice.d.ts +2 -2
- package/dist/app/session-shell/exit-notice.js +1 -1
- package/dist/app/session-shell/extension-surface.d.ts +8 -7
- package/dist/app/session-shell/helper-pool.d.ts +3 -4
- package/dist/app/session-shell/helper-pool.js +1 -1
- package/dist/app/session-shell/image-preparation-client.d.ts +4 -3
- package/dist/app/session-shell/image-preparation.d.ts +0 -2
- package/dist/app/session-shell/image-preparation.js +2 -2
- package/dist/app/session-shell/image-source.d.ts +2 -3
- package/dist/app/session-shell/image-source.js +2 -2
- package/dist/app/session-shell/input-surface-switch.d.ts +9 -7
- package/dist/app/session-shell/input-surface-switch.js +1 -2
- package/dist/app/session-shell/login-interaction.d.ts +5 -4
- package/dist/app/session-shell/login-interaction.js +2 -3
- package/dist/app/session-shell/paste-executor.d.ts +4 -8
- package/dist/app/session-shell/paste-executor.js +2 -2
- package/dist/app/session-shell/paste-protocol.d.ts +2 -2
- package/dist/app/session-shell/path-chip-presentation.d.ts +0 -5
- package/dist/app/session-shell/path-chip-presentation.js +3 -3
- package/dist/app/session-shell/prompt-chips.d.ts +8 -7
- package/dist/app/session-shell/prompt-history-controller.d.ts +3 -3
- package/dist/app/session-shell/prompt-submission.d.ts +5 -2
- package/dist/app/session-shell/prompt-submission.js +13 -14
- package/dist/app/session-shell/quit-outro-effects.d.ts +3 -3
- package/dist/app/session-shell/quit-outro-effects.js +1 -4
- package/dist/app/session-shell/quit-outro.d.ts +9 -12
- package/dist/app/session-shell/quit-outro.js +11 -11
- package/dist/app/session-shell/resource-labels.d.ts +2 -0
- package/dist/app/session-shell/resource-labels.js +158 -0
- package/dist/app/session-shell/response-copy-protocol.d.ts +3 -2
- package/dist/app/session-shell/response-copy-transport.d.ts +2 -14
- package/dist/app/session-shell/response-copy-transport.js +1 -1
- package/dist/app/session-shell/session-lifecycle.d.ts +2 -1
- package/dist/app/session-shell/session-prompt-history.d.ts +29 -0
- package/dist/app/session-shell/session-prompt-history.js +80 -0
- package/dist/app/session-shell/session-selectors.d.ts +46 -0
- package/dist/app/session-shell/session-selectors.js +269 -0
- package/dist/app/session-shell/session-shell-root.d.ts +76 -113
- package/dist/app/session-shell/session-shell-root.js +103 -329
- package/dist/app/session-shell/session-shell.d.ts +14 -37
- package/dist/app/session-shell/session-shell.js +177 -612
- package/dist/app/session-shell/session-viewport-controller.d.ts +9 -16
- package/dist/app/session-shell/session-viewport-controller.js +42 -320
- package/dist/app/session-shell/settings-bindings.d.ts +25 -3
- package/dist/app/session-shell/settings-bindings.js +26 -2
- package/dist/app/session-shell/share-operation.d.ts +3 -3
- package/dist/app/session-shell/share-operation.js +4 -6
- package/dist/app/session-shell/shell-clipboard.d.ts +59 -0
- package/dist/app/session-shell/shell-clipboard.js +119 -0
- package/dist/app/session-shell/shell-editor-factory.d.ts +8 -4
- package/dist/app/session-shell/shell-editor-factory.js +13 -15
- package/dist/app/session-shell/shell-host.d.ts +16 -17
- package/dist/app/session-shell/shell-host.js +18 -19
- package/dist/app/session-shell/shell-layout.d.ts +2 -2
- package/dist/app/session-shell/shell-prompt-suggestions.d.ts +26 -0
- package/dist/app/session-shell/shell-prompt-suggestions.js +48 -0
- package/dist/app/session-shell/suggestion-surface.d.ts +1 -6
- package/dist/app/session-shell/suggestion-surface.js +1 -1
- package/dist/app/session-shell/system-clipboard.d.ts +2 -14
- package/dist/app/session-shell/system-clipboard.js +2 -7
- package/dist/app/session-shell/transcript-document.d.ts +11 -8
- package/dist/app/session-shell/transcript-document.js +13 -14
- package/dist/app/session-shell/viewport-layout.d.ts +2 -2
- package/dist/app/session-shell/viewport-pointer.d.ts +83 -0
- package/dist/app/session-shell/viewport-pointer.js +361 -0
- package/dist/app/session-shell/workflow-output.d.ts +5 -3
- package/dist/app/session-shell/workflow-output.js +13 -15
- package/dist/cli/package-messages.d.ts +0 -1
- package/dist/cli/package-messages.js +1 -1
- package/dist/cli/session-context.d.ts +1 -1
- package/dist/cli/uninstall.d.ts +3 -2
- package/dist/composition/owned-settings.d.ts +2 -1
- package/dist/composition/owned-settings.js +0 -3
- package/dist/composition/owned-ui.d.ts +1 -1
- package/dist/composition/owned-ui.js +77 -73
- package/dist/composition/reference-selection-options.d.ts +1 -1
- package/dist/composition/reference-selection-options.js +1 -1
- package/dist/composition/session-runtime-registry.d.ts +2 -1
- package/dist/composition/settings-route-host.js +3 -10
- package/dist/composition/settings-search-input.d.ts +2 -1
- package/dist/composition/startup-route.d.ts +2 -2
- package/dist/composition/startup-route.js +2 -2
- package/dist/contracts/owned-ui/extension-ui.d.ts +2 -1
- package/dist/contracts/owned-ui/index.d.ts +2 -1
- package/dist/contracts/owned-ui/index.js +1 -1
- package/dist/contracts/owned-ui/session-presenters.d.ts +3 -0
- package/dist/contracts/owned-ui/shell-components.d.ts +543 -0
- package/dist/contracts/owned-ui/validation.d.ts +1 -11
- package/dist/contracts/owned-ui/validation.js +8 -104
- package/dist/contracts/presentation/component.d.ts +17 -0
- package/dist/contracts/presentation/component.js +8 -0
- package/dist/contracts/presentation/index.d.ts +6 -15
- package/dist/contracts/presentation/index.js +2 -0
- package/dist/contracts/presentation/terminal.d.ts +284 -0
- package/dist/contracts/presentation/terminal.js +1 -0
- package/dist/contracts/presentation/theme.d.ts +46 -0
- package/dist/contracts/presentation/theme.js +1 -0
- package/dist/features/launch/development-launch.js +1 -1
- package/dist/features/launch/runtime-selection.d.ts +2 -2
- package/dist/features/launch/runtime-selection.js +2 -2
- package/dist/features/owned-ui/project-trust-prompt.d.ts +2 -2
- package/dist/features/owned-ui/project-trust-prompt.js +1 -1
- package/dist/features/owned-ui/release-note-state.d.ts +2 -1
- package/dist/features/owned-ui/settings-app.js +49 -425
- package/dist/features/owned-ui/settings-edits.d.ts +31 -0
- package/dist/features/owned-ui/settings-edits.js +139 -0
- package/dist/features/owned-ui/settings-model-dialog.d.ts +41 -0
- package/dist/features/owned-ui/settings-model-dialog.js +194 -0
- package/dist/features/owned-ui/settings-scroll-rail.d.ts +29 -0
- package/dist/features/owned-ui/settings-scroll-rail.js +79 -0
- package/dist/features/owned-ui/settings-search-input.d.ts +2 -1
- package/dist/features/prompt-history/service.d.ts +3 -2
- package/dist/foundation/lifecycle/claim-gate.d.ts +2 -1
- package/dist/foundation/release/automatic-update.d.ts +5 -14
- package/dist/foundation/release/automatic-update.js +15 -22
- package/dist/foundation/release/bootstrap.js +4 -4
- package/dist/foundation/release/dependency-certification.d.ts +0 -1
- package/dist/foundation/release/dependency-certification.js +1 -1
- package/dist/foundation/release/dependency-layer.js +3 -3
- package/dist/foundation/release/early-accent.d.ts +2 -2
- package/dist/foundation/release/early-accent.js +1 -1
- package/dist/foundation/release/index.d.ts +2 -2
- package/dist/foundation/release/index.js +1 -1
- package/dist/foundation/release/latest-release.d.ts +3 -18
- package/dist/foundation/release/latest-release.js +11 -11
- package/dist/foundation/release/managed-path.d.ts +10 -0
- package/dist/foundation/release/managed-path.js +26 -0
- package/dist/foundation/release/ordinary-launch-selection.d.ts +1 -1
- package/dist/foundation/release/ordinary-launch-selection.js +1 -1
- package/dist/foundation/release/release-gc.d.ts +3 -3
- package/dist/foundation/release/release-gc.js +10 -12
- package/dist/foundation/release/{cohort-state.d.ts → release-state.d.ts} +23 -23
- package/dist/foundation/release/{cohort-state.js → release-state.js} +8 -8
- package/dist/foundation/release/restart-certification.js +3 -4
- package/dist/foundation/release/update-activation.js +3 -3
- package/dist/foundation/release/update-execution-lease.d.ts +2 -3
- package/dist/foundation/release/update-execution-lease.js +2 -8
- package/dist/foundation/release/update-installer.d.ts +45 -0
- package/dist/foundation/release/update-installer.js +57 -0
- package/dist/foundation/release/update-launch.d.ts +2 -2
- package/dist/foundation/release/update-recovery.js +2 -9
- package/dist/foundation/release/update.d.ts +4 -25
- package/dist/foundation/release/update.js +164 -183
- package/dist/foundation/startup/startup-budget.d.ts +5 -5
- package/dist/foundation/startup/startup-budget.js +2 -2
- package/dist/integrations/pi/components/bracketed-paste.d.ts +33 -0
- package/dist/integrations/pi/components/bracketed-paste.js +123 -0
- package/dist/integrations/pi/components/editor-interaction.d.ts +4 -12
- package/dist/integrations/pi/components/index.d.ts +15 -9
- package/dist/integrations/pi/components/index.js +9 -5
- package/dist/integrations/pi/components/lazy-selectors.d.ts +2 -10
- package/dist/integrations/pi/components/lazy-selectors.js +1 -1
- package/dist/integrations/pi/components/modal-frame.d.ts +5 -22
- package/dist/integrations/pi/components/modal-frame.js +3 -23
- package/dist/integrations/pi/components/owned-editor-ux.d.ts +4 -3
- package/dist/integrations/pi/components/owned-editor-ux.js +46 -140
- package/dist/integrations/pi/components/prompt-input-port.d.ts +2 -19
- package/dist/integrations/pi/components/resources/builtin-themes.d.ts +2 -1
- package/dist/integrations/pi/components/shell-editor-autocomplete.d.ts +3 -2
- package/dist/integrations/pi/components/shell-footer-status.d.ts +2 -2
- package/dist/integrations/pi/components/shell-footer-status.js +3 -2
- package/dist/integrations/pi/components/shell-presenters-info.d.ts +6 -5
- package/dist/integrations/pi/components/shell-presenters-info.js +2 -1
- package/dist/integrations/pi/components/shell-session-info-reference.d.ts +2 -1
- package/dist/integrations/pi/components/shell-shared-facade.d.ts +33 -227
- package/dist/integrations/pi/components/shell-shared-facade.js +8 -1
- package/dist/integrations/pi/components/skills-command.d.ts +1 -9
- package/dist/integrations/pi/components/skills-command.js +5 -5
- package/dist/integrations/pi/components/theme.d.ts +9 -2
- package/dist/integrations/pi/components/theme.js +17 -2
- package/dist/integrations/pi/components/thinking-selector-dialog.d.ts +2 -1
- package/dist/integrations/pi/components/upstream/adjacent/core/keybindings.d.ts +2 -2
- package/dist/integrations/pi/engine/adapter.d.ts +4 -13
- package/dist/integrations/pi/engine/adapter.js +9 -61
- package/dist/integrations/pi/engine/changelog.d.ts +2 -2
- package/dist/integrations/pi/engine/changelog.js +3 -3
- package/dist/integrations/pi/engine/compaction-progress.d.ts +2 -3
- package/dist/integrations/pi/engine/compaction-progress.js +1 -1
- package/dist/integrations/pi/engine/conformance.d.ts +2 -1
- package/dist/integrations/pi/engine/default-model-setting.d.ts +0 -2
- package/dist/integrations/pi/engine/default-model-setting.js +1 -2
- package/dist/integrations/pi/engine/event-delivery.d.ts +2 -1
- package/dist/integrations/pi/engine/extension-ui-binding.d.ts +2 -1
- package/dist/integrations/pi/engine/host.js +3 -3
- package/dist/integrations/pi/engine/message-values.d.ts +0 -1
- package/dist/integrations/pi/engine/message-values.js +1 -1
- package/dist/integrations/pi/engine/pending-delivery.d.ts +0 -4
- package/dist/integrations/pi/engine/pending-delivery.js +3 -3
- package/dist/integrations/pi/engine/ports.d.ts +7 -1
- package/dist/integrations/pi/engine/ports.js +4 -0
- package/dist/integrations/pi/engine/project-trust-preflight.d.ts +2 -1
- package/dist/integrations/pi/engine/prompt-suggestions.d.ts +3 -2
- package/dist/integrations/pi/engine/provider-authentication.d.ts +1 -1
- package/dist/integrations/pi/engine/public-main-entry.d.ts +1 -5
- package/dist/integrations/pi/engine/public-main-entry.js +1 -1
- package/dist/integrations/pi/engine/repository-metadata.d.ts +49 -0
- package/dist/integrations/pi/engine/repository-metadata.js +189 -0
- package/dist/integrations/pi/engine/repository-pr-rest.d.ts +1 -9
- package/dist/integrations/pi/engine/repository-pr-rest.js +2 -2
- package/dist/integrations/pi/engine/repository-pr.d.ts +1 -3
- package/dist/integrations/pi/engine/repository-pr.js +1 -1
- package/dist/integrations/pi/engine/resource-catalog.d.ts +2 -1
- package/dist/integrations/pi/engine/session-integration.d.ts +1 -1
- package/dist/integrations/pi/engine/session-runtime.d.ts +7 -12
- package/dist/integrations/pi/engine/session-runtime.js +21 -178
- package/dist/integrations/pi/engine/settings-bridge.d.ts +0 -2
- package/dist/integrations/pi/engine/settings-bridge.js +1 -1
- package/dist/integrations/pi/engine/settings-port.d.ts +3 -2
- package/dist/integrations/pi/engine/transcript-projection.d.ts +2 -1
- package/dist/integrations/pi/engine/view-state.d.ts +21 -2
- package/dist/integrations/pi/engine/view-state.js +129 -1
- package/dist/integrations/pi/engine/workflow-contexts.d.ts +1 -1
- package/dist/integrations/pi/engine/workflow-runner.d.ts +1 -2
- package/dist/integrations/pi/engine/workflow-runner.js +254 -365
- package/dist/integrations/pi/engine/workflow-share.d.ts +9 -0
- package/dist/integrations/pi/engine/workflow-share.js +168 -0
- package/dist/integrations/pi/engine/workflow-support.d.ts +0 -20
- package/dist/integrations/pi/engine/workflow-support.js +4 -65
- package/dist/integrations/pi/engine/workflows.d.ts +5 -5
- package/dist/integrations/pi/session-presenters/components.d.ts +3 -0
- package/dist/integrations/pi/session-presenters/components.js +75 -0
- package/dist/integrations/pi/session-presenters/index.d.ts +1 -0
- package/dist/integrations/pi/session-presenters/index.js +1 -0
- package/dist/integrations/pi/session-presenters/presentation.d.ts +3 -0
- package/dist/integrations/pi/session-presenters/presentation.js +10 -0
- package/dist/integrations/pi/session-presenters/presenters.d.ts +2 -1
- package/dist/integrations/pi/session-presenters/presenters.js +3 -1
- package/dist/integrations/pi/tui-runtime/adapter.d.ts +9 -19
- package/dist/integrations/pi/tui-runtime/adapter.js +56 -174
- package/dist/integrations/pi/tui-runtime/damage-aware-terminal.d.ts +9 -44
- package/dist/integrations/pi/tui-runtime/index.d.ts +1 -1
- package/dist/integrations/pi/tui-runtime/index.js +1 -0
- package/dist/integrations/pi/tui-runtime/input-presentation-coordinator.d.ts +4 -6
- package/dist/integrations/pi/tui-runtime/overlay-geometry.d.ts +4 -10
- package/dist/integrations/pi/tui-runtime/overlay-geometry.js +3 -9
- package/dist/integrations/pi/tui-runtime/presentation-adapter.d.ts +2 -2
- package/dist/integrations/pi/tui-runtime/runtime-factory.d.ts +3 -0
- package/dist/integrations/pi/tui-runtime/runtime-factory.js +11 -0
- package/dist/ui/components/index.d.ts +2 -2
- package/dist/ui/components/index.js +1 -1
- package/dist/ui/components/selection-copy.d.ts +0 -1
- package/dist/ui/components/selection-copy.js +0 -12
- package/dist/ui/components/theme.d.ts +4 -19
- package/dist/ui/components/theme.js +6 -0
- package/dist/ui/components/transcript-viewport-frame.d.ts +120 -0
- package/dist/ui/components/transcript-viewport-frame.js +314 -0
- package/dist/ui/components/transcript-viewport-types.d.ts +147 -0
- package/dist/ui/components/transcript-viewport-types.js +1 -0
- package/dist/ui/components/transcript-viewport.d.ts +2 -147
- package/dist/ui/components/transcript-viewport.js +87 -315
- package/dist/ui/settings/declarations.d.ts +2 -3
- package/dist/ui/settings/declarations.js +2 -3
- package/dist/ui/settings/early-accent.js +1 -1
- package/dist/ui/settings/index.d.ts +3 -5
- package/dist/ui/settings/index.js +2 -3
- package/dist/ui/settings/manager.d.ts +0 -4
- package/dist/ui/settings/manager.js +6 -62
- package/dist/ui/settings/resolution.d.ts +6 -18
- package/dist/ui/settings/resolution.js +4 -103
- package/dist/ui/settings/sections.d.ts +0 -4
- package/dist/ui/settings/sections.js +1 -1
- package/docs/architecture/boundaries.md +2 -2
- package/docs/architecture/internal-naming.md +2 -0
- package/docs/architecture/project-structure.md +4 -2
- package/docs/validation.md +1 -1
- package/package.json +3 -4
- package/dist/integrations/pi/components/components.d.ts +0 -4
- package/dist/integrations/pi/components/components.js +0 -48
- package/dist/integrations/pi/components/conformance.d.ts +0 -18
- package/dist/integrations/pi/components/conformance.js +0 -70
- package/dist/integrations/pi/components/shell-components.d.ts +0 -7
- package/dist/integrations/pi/components/shell-components.js +0 -7
- package/dist/integrations/pi/components/upstream/theme/theme-controller.d.ts +0 -33
- package/dist/integrations/pi/components/upstream/theme/theme-controller.js +0 -114
- package/dist/integrations/pi/engine/diagnostics-state.d.ts +0 -9
- package/dist/integrations/pi/engine/diagnostics-state.js +0 -34
- package/dist/integrations/pi/engine/usage-view.d.ts +0 -4
- package/dist/integrations/pi/engine/usage-view.js +0 -56
- package/dist/integrations/pi/tui-runtime/contracts.d.ts +0 -166
- package/dist/ui/settings/migrations.d.ts +0 -19
- package/dist/ui/settings/migrations.js +0 -225
- package/dist/ui/settings/progress-palette.generated.d.ts +0 -139
- package/dist/ui/settings/progress-palette.generated.js +0 -139
- /package/dist/{integrations/pi/tui-runtime/contracts.js → contracts/owned-ui/shell-components.js} +0 -0
- /package/dist/{foundation/release → contracts/presentation}/progress-palette.generated.d.ts +0 -0
- /package/dist/{foundation/release → contracts/presentation}/progress-palette.generated.js +0 -0
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
import { OWNED_UI_SETTINGS_VERSION } from "./declarations.js";
|
|
2
|
-
/**
|
|
3
|
-
* Ordered, contiguous migrations ending at OWNED_UI_SETTINGS_VERSION. Version 1
|
|
4
|
-
* is the first stored shape.
|
|
5
|
-
*/
|
|
6
|
-
export const OWNED_UI_SETTINGS_MIGRATIONS = Object.freeze([
|
|
7
|
-
Object.freeze({
|
|
8
|
-
to: 2,
|
|
9
|
-
description: "Rename scrollbar speed high to fast.",
|
|
10
|
-
migrate(values) {
|
|
11
|
-
return values.scrollbarSpeed === "high"
|
|
12
|
-
? { ...values, scrollbarSpeed: "fast" }
|
|
13
|
-
: { ...values };
|
|
14
|
-
},
|
|
15
|
-
}),
|
|
16
|
-
Object.freeze({
|
|
17
|
-
to: 3,
|
|
18
|
-
description: "Match Pi's auto scrollbar appearance name and ordering.",
|
|
19
|
-
migrate(values) {
|
|
20
|
-
return values.scrollbarAppearance === "hover"
|
|
21
|
-
? { ...values, scrollbarAppearance: "auto" }
|
|
22
|
-
: { ...values };
|
|
23
|
-
},
|
|
24
|
-
}),
|
|
25
|
-
Object.freeze({
|
|
26
|
-
to: 4,
|
|
27
|
-
description: "Introduce contextual prompt suggestions with an enabled default.",
|
|
28
|
-
migrate(values) {
|
|
29
|
-
return { ...values };
|
|
30
|
-
},
|
|
31
|
-
}),
|
|
32
|
-
Object.freeze({
|
|
33
|
-
to: 5,
|
|
34
|
-
description: "Introduce the quit outro effect and duration with prototype defaults.",
|
|
35
|
-
migrate(values) {
|
|
36
|
-
return { ...values };
|
|
37
|
-
},
|
|
38
|
-
}),
|
|
39
|
-
Object.freeze({
|
|
40
|
-
to: 6,
|
|
41
|
-
description: "Move the disabled quit effect into the exit-animation toggle.",
|
|
42
|
-
migrate(values) {
|
|
43
|
-
// Invariant: a profile that chose off keeps quitting without an animation; the
|
|
44
|
-
// effect it stored is no longer a choice, so it resolves to the default.
|
|
45
|
-
if (values.quitEffect !== "off")
|
|
46
|
-
return { ...values };
|
|
47
|
-
const migrated = { ...values, quitAnimation: false };
|
|
48
|
-
delete migrated.quitEffect;
|
|
49
|
-
return migrated;
|
|
50
|
-
},
|
|
51
|
-
}),
|
|
52
|
-
Object.freeze({
|
|
53
|
-
to: 7,
|
|
54
|
-
description: "Drop the quit effect and duration; the outro always plays fall for 800 ms.",
|
|
55
|
-
migrate(values) {
|
|
56
|
-
// Invariant: the manager keeps unknown keys, so the retired ids are removed here rather than lingering.
|
|
57
|
-
const migrated = { ...values };
|
|
58
|
-
delete migrated.quitEffect;
|
|
59
|
-
delete migrated.quitEffectDurationMs;
|
|
60
|
-
return migrated;
|
|
61
|
-
},
|
|
62
|
-
}),
|
|
63
|
-
Object.freeze({
|
|
64
|
-
to: 8,
|
|
65
|
-
description: "Introduce the collapsed skills presentation with the collapse default.",
|
|
66
|
-
migrate(values) {
|
|
67
|
-
return { ...values };
|
|
68
|
-
},
|
|
69
|
-
}),
|
|
70
|
-
Object.freeze({
|
|
71
|
-
to: 9,
|
|
72
|
-
description: "Introduce the configurable prompt image limit with the eight-image default.",
|
|
73
|
-
migrate(values) {
|
|
74
|
-
return { ...values };
|
|
75
|
-
},
|
|
76
|
-
}),
|
|
77
|
-
Object.freeze({
|
|
78
|
-
to: 10,
|
|
79
|
-
description: "Introduce the startup update check with the enabled default.",
|
|
80
|
-
migrate(values) {
|
|
81
|
-
return { ...values };
|
|
82
|
-
},
|
|
83
|
-
}),
|
|
84
|
-
Object.freeze({
|
|
85
|
-
to: 11,
|
|
86
|
-
description: "Introduce semantic accent selection with the active-theme default.",
|
|
87
|
-
migrate(values) {
|
|
88
|
-
return { ...values };
|
|
89
|
-
},
|
|
90
|
-
}),
|
|
91
|
-
Object.freeze({
|
|
92
|
-
to: 12,
|
|
93
|
-
description: "Rename the inherited default accent choice to explicit purple.",
|
|
94
|
-
migrate(values) {
|
|
95
|
-
return values.accentColor === "default"
|
|
96
|
-
? { ...values, accentColor: "purple" }
|
|
97
|
-
: { ...values };
|
|
98
|
-
},
|
|
99
|
-
}),
|
|
100
|
-
Object.freeze({
|
|
101
|
-
to: 13,
|
|
102
|
-
description: "Introduce the transparent fullscreen background default.",
|
|
103
|
-
migrate(values) {
|
|
104
|
-
return { ...values };
|
|
105
|
-
},
|
|
106
|
-
}),
|
|
107
|
-
Object.freeze({
|
|
108
|
-
to: 14,
|
|
109
|
-
description: "Introduce the opt-in resident tabs preview with a disabled default.",
|
|
110
|
-
migrate(values) {
|
|
111
|
-
return { ...values };
|
|
112
|
-
},
|
|
113
|
-
}),
|
|
114
|
-
Object.freeze({
|
|
115
|
-
to: 15,
|
|
116
|
-
description: "Introduce the bounded concurrent resident-tab start limit.",
|
|
117
|
-
migrate(values) {
|
|
118
|
-
return { ...values };
|
|
119
|
-
},
|
|
120
|
-
}),
|
|
121
|
-
Object.freeze({
|
|
122
|
-
to: 16,
|
|
123
|
-
description: "Make bare A1 tabs unconditional and keep only tab UX controls.",
|
|
124
|
-
migrate(values) {
|
|
125
|
-
const migrated = { ...values };
|
|
126
|
-
delete migrated.residentTabs;
|
|
127
|
-
delete migrated.tabsMaxConcurrentStarts;
|
|
128
|
-
delete migrated.tabsUnresponsiveRestartSeconds;
|
|
129
|
-
delete migrated.tabsStallNoticeSeconds;
|
|
130
|
-
return migrated;
|
|
131
|
-
},
|
|
132
|
-
}),
|
|
133
|
-
Object.freeze({
|
|
134
|
-
to: 17,
|
|
135
|
-
description: "Introduce the shared twelve-hour time format default.",
|
|
136
|
-
migrate(values) {
|
|
137
|
-
return { ...values };
|
|
138
|
-
},
|
|
139
|
-
}),
|
|
140
|
-
Object.freeze({
|
|
141
|
-
to: 18,
|
|
142
|
-
description: "Introduce the top resident tab-bar position default.",
|
|
143
|
-
migrate(values) {
|
|
144
|
-
return { ...values };
|
|
145
|
-
},
|
|
146
|
-
}),
|
|
147
|
-
Object.freeze({
|
|
148
|
-
to: 19,
|
|
149
|
-
description: "Expand the update check into auto, notify, and no modes.",
|
|
150
|
-
migrate(values) {
|
|
151
|
-
if (values.updateCheck === true)
|
|
152
|
-
return { ...values, updateCheck: "notify" };
|
|
153
|
-
if (values.updateCheck === false)
|
|
154
|
-
return { ...values, updateCheck: "no" };
|
|
155
|
-
return { ...values };
|
|
156
|
-
},
|
|
157
|
-
}),
|
|
158
|
-
Object.freeze({
|
|
159
|
-
to: 20,
|
|
160
|
-
description: "Introduce the resident tab-bar Version and Time defaults.",
|
|
161
|
-
migrate(values) {
|
|
162
|
-
return { ...values };
|
|
163
|
-
},
|
|
164
|
-
}),
|
|
165
|
-
Object.freeze({
|
|
166
|
-
to: 21,
|
|
167
|
-
description: "Retire tab-bar and time-format settings and reduce updates to auto or no.",
|
|
168
|
-
migrate(values) {
|
|
169
|
-
const migrated = { ...values };
|
|
170
|
-
// Compatibility: notify and the legacy boolean both meant "look for updates"; auto now does that.
|
|
171
|
-
if (migrated.updateCheck === "notify" || migrated.updateCheck === true)
|
|
172
|
-
migrated.updateCheck = "auto";
|
|
173
|
-
if (migrated.updateCheck === false)
|
|
174
|
-
migrated.updateCheck = "no";
|
|
175
|
-
for (const key of ["tabsPosition", "tabBarPlusMenu", "tabBarRightItems", "tabBarBackgroundStyle", "tabsAutoName", "timeFormat"]) {
|
|
176
|
-
delete migrated[key];
|
|
177
|
-
}
|
|
178
|
-
return migrated;
|
|
179
|
-
},
|
|
180
|
-
}),
|
|
181
|
-
]);
|
|
182
|
-
/** Shape-selected compatibility for the metadata-free product object. */
|
|
183
|
-
export function normalizeOwnedUiSettingsValues(source) {
|
|
184
|
-
const values = { ...source };
|
|
185
|
-
// Compatibility: "high" is valid again, so the old speed meaning is ambiguous without legacy metadata.
|
|
186
|
-
if (values.scrollbarAppearance === "hover")
|
|
187
|
-
values.scrollbarAppearance = "auto";
|
|
188
|
-
if (values.accentColor === "default")
|
|
189
|
-
values.accentColor = "purple";
|
|
190
|
-
if (values.updateCheck === true || values.updateCheck === "notify")
|
|
191
|
-
values.updateCheck = "auto";
|
|
192
|
-
else if (values.updateCheck === false)
|
|
193
|
-
values.updateCheck = "no";
|
|
194
|
-
if (values.quitEffect === "off") {
|
|
195
|
-
if (Object.hasOwn(values, "quitAnimation") && values.quitAnimation !== false) {
|
|
196
|
-
return { values: null, failure: "legacy quitEffect conflicts with quitAnimation" };
|
|
197
|
-
}
|
|
198
|
-
values.quitAnimation = false;
|
|
199
|
-
}
|
|
200
|
-
delete values.quitEffect;
|
|
201
|
-
delete values.quitEffectDurationMs;
|
|
202
|
-
return { values, failure: null };
|
|
203
|
-
}
|
|
204
|
-
export function assertOwnedUiSettingsMigrations(migrations, currentVersion = OWNED_UI_SETTINGS_VERSION) {
|
|
205
|
-
const firstProduced = currentVersion - migrations.length + 1;
|
|
206
|
-
if (migrations.length > 0 && firstProduced < 2) {
|
|
207
|
-
throw new Error("owned UI settings migrations cannot produce a version below 2");
|
|
208
|
-
}
|
|
209
|
-
migrations.forEach((migration, index) => {
|
|
210
|
-
const expected = firstProduced + index;
|
|
211
|
-
if (migration.to !== expected) {
|
|
212
|
-
throw new Error(`owned UI settings migration ${index} produces version ${migration.to}, expected ${expected}`);
|
|
213
|
-
}
|
|
214
|
-
if (migration.description.trim().length === 0) {
|
|
215
|
-
throw new Error(`owned UI settings migration to version ${migration.to} has no description`);
|
|
216
|
-
}
|
|
217
|
-
});
|
|
218
|
-
const last = migrations.at(-1);
|
|
219
|
-
if (last && last.to !== currentVersion) {
|
|
220
|
-
throw new Error(`owned UI settings migrations end at version ${last.to}, expected ${currentVersion}`);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
export function migrationsFrom(migrations, storedVersion) {
|
|
224
|
-
return migrations.filter(migration => migration.to > storedVersion);
|
|
225
|
-
}
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by scripts/pi/sync-progress-palette.ts from A1's named accent projection
|
|
3
|
-
* over pinned Pi 1.5.0 (MIT), commit f9a26365568127461c47a07a37dcb42c140a3ac5. Do not edit directly.
|
|
4
|
-
*/
|
|
5
|
-
export declare const SHARED_PROGRESS_PALETTE: Readonly<{
|
|
6
|
-
blue: {
|
|
7
|
-
dark: {
|
|
8
|
-
truecolor: {
|
|
9
|
-
accent: string;
|
|
10
|
-
border: string;
|
|
11
|
-
};
|
|
12
|
-
"256color": {
|
|
13
|
-
accent: string;
|
|
14
|
-
border: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
light: {
|
|
18
|
-
truecolor: {
|
|
19
|
-
accent: string;
|
|
20
|
-
border: string;
|
|
21
|
-
};
|
|
22
|
-
"256color": {
|
|
23
|
-
accent: string;
|
|
24
|
-
border: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
purple: {
|
|
29
|
-
dark: {
|
|
30
|
-
truecolor: {
|
|
31
|
-
accent: string;
|
|
32
|
-
border: string;
|
|
33
|
-
};
|
|
34
|
-
"256color": {
|
|
35
|
-
accent: string;
|
|
36
|
-
border: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
light: {
|
|
40
|
-
truecolor: {
|
|
41
|
-
accent: string;
|
|
42
|
-
border: string;
|
|
43
|
-
};
|
|
44
|
-
"256color": {
|
|
45
|
-
accent: string;
|
|
46
|
-
border: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
cyan: {
|
|
51
|
-
dark: {
|
|
52
|
-
truecolor: {
|
|
53
|
-
accent: string;
|
|
54
|
-
border: string;
|
|
55
|
-
};
|
|
56
|
-
"256color": {
|
|
57
|
-
accent: string;
|
|
58
|
-
border: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
light: {
|
|
62
|
-
truecolor: {
|
|
63
|
-
accent: string;
|
|
64
|
-
border: string;
|
|
65
|
-
};
|
|
66
|
-
"256color": {
|
|
67
|
-
accent: string;
|
|
68
|
-
border: string;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
green: {
|
|
73
|
-
dark: {
|
|
74
|
-
truecolor: {
|
|
75
|
-
accent: string;
|
|
76
|
-
border: string;
|
|
77
|
-
};
|
|
78
|
-
"256color": {
|
|
79
|
-
accent: string;
|
|
80
|
-
border: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
light: {
|
|
84
|
-
truecolor: {
|
|
85
|
-
accent: string;
|
|
86
|
-
border: string;
|
|
87
|
-
};
|
|
88
|
-
"256color": {
|
|
89
|
-
accent: string;
|
|
90
|
-
border: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
orange: {
|
|
95
|
-
dark: {
|
|
96
|
-
truecolor: {
|
|
97
|
-
accent: string;
|
|
98
|
-
border: string;
|
|
99
|
-
};
|
|
100
|
-
"256color": {
|
|
101
|
-
accent: string;
|
|
102
|
-
border: string;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
light: {
|
|
106
|
-
truecolor: {
|
|
107
|
-
accent: string;
|
|
108
|
-
border: string;
|
|
109
|
-
};
|
|
110
|
-
"256color": {
|
|
111
|
-
accent: string;
|
|
112
|
-
border: string;
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
pink: {
|
|
117
|
-
dark: {
|
|
118
|
-
truecolor: {
|
|
119
|
-
accent: string;
|
|
120
|
-
border: string;
|
|
121
|
-
};
|
|
122
|
-
"256color": {
|
|
123
|
-
accent: string;
|
|
124
|
-
border: string;
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
|
-
light: {
|
|
128
|
-
truecolor: {
|
|
129
|
-
accent: string;
|
|
130
|
-
border: string;
|
|
131
|
-
};
|
|
132
|
-
"256color": {
|
|
133
|
-
accent: string;
|
|
134
|
-
border: string;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
}>;
|
|
139
|
-
export declare const SHARED_PROGRESS_ACCENT_ANSI: string;
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by scripts/pi/sync-progress-palette.ts from A1's named accent projection
|
|
3
|
-
* over pinned Pi 1.5.0 (MIT), commit f9a26365568127461c47a07a37dcb42c140a3ac5. Do not edit directly.
|
|
4
|
-
*/
|
|
5
|
-
export const SHARED_PROGRESS_PALETTE = Object.freeze({
|
|
6
|
-
"blue": {
|
|
7
|
-
"dark": {
|
|
8
|
-
"truecolor": {
|
|
9
|
-
"accent": "\u001b[38;2;130;160;241m",
|
|
10
|
-
"border": "\u001b[38;2;116;102;197m"
|
|
11
|
-
},
|
|
12
|
-
"256color": {
|
|
13
|
-
"accent": "\u001b[38;5;111m",
|
|
14
|
-
"border": "\u001b[38;5;98m"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"light": {
|
|
18
|
-
"truecolor": {
|
|
19
|
-
"accent": "\u001b[38;2;63;96;226m",
|
|
20
|
-
"border": "\u001b[38;2;83;67;154m"
|
|
21
|
-
},
|
|
22
|
-
"256color": {
|
|
23
|
-
"accent": "\u001b[38;5;62m",
|
|
24
|
-
"border": "\u001b[38;5;60m"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"purple": {
|
|
29
|
-
"dark": {
|
|
30
|
-
"truecolor": {
|
|
31
|
-
"accent": "\u001b[38;2;167;152;215m",
|
|
32
|
-
"border": "\u001b[38;2;105;115;167m"
|
|
33
|
-
},
|
|
34
|
-
"256color": {
|
|
35
|
-
"accent": "\u001b[38;5;140m",
|
|
36
|
-
"border": "\u001b[38;5;61m"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"light": {
|
|
40
|
-
"truecolor": {
|
|
41
|
-
"accent": "\u001b[38;2;116;89;180m",
|
|
42
|
-
"border": "\u001b[38;2;68;77;130m"
|
|
43
|
-
},
|
|
44
|
-
"256color": {
|
|
45
|
-
"accent": "\u001b[38;5;97m",
|
|
46
|
-
"border": "\u001b[38;5;60m"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"cyan": {
|
|
51
|
-
"dark": {
|
|
52
|
-
"truecolor": {
|
|
53
|
-
"accent": "\u001b[38;2;93;179;186m",
|
|
54
|
-
"border": "\u001b[38;2;74;128;146m"
|
|
55
|
-
},
|
|
56
|
-
"256color": {
|
|
57
|
-
"accent": "\u001b[38;5;73m",
|
|
58
|
-
"border": "\u001b[38;5;66m"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"light": {
|
|
62
|
-
"truecolor": {
|
|
63
|
-
"accent": "\u001b[38;2;40;122;129m",
|
|
64
|
-
"border": "\u001b[38;2;40;89;106m"
|
|
65
|
-
},
|
|
66
|
-
"256color": {
|
|
67
|
-
"accent": "\u001b[38;5;30m",
|
|
68
|
-
"border": "\u001b[38;5;23m"
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"green": {
|
|
73
|
-
"dark": {
|
|
74
|
-
"truecolor": {
|
|
75
|
-
"accent": "\u001b[38;2;104;183;141m",
|
|
76
|
-
"border": "\u001b[38;2;75;132;120m"
|
|
77
|
-
},
|
|
78
|
-
"256color": {
|
|
79
|
-
"accent": "\u001b[38;5;72m",
|
|
80
|
-
"border": "\u001b[38;5;66m"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"light": {
|
|
84
|
-
"truecolor": {
|
|
85
|
-
"accent": "\u001b[38;2;51;126;88m",
|
|
86
|
-
"border": "\u001b[38;2;41;93;82m"
|
|
87
|
-
},
|
|
88
|
-
"256color": {
|
|
89
|
-
"accent": "\u001b[38;5;65m",
|
|
90
|
-
"border": "\u001b[38;5;23m"
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"orange": {
|
|
95
|
-
"dark": {
|
|
96
|
-
"truecolor": {
|
|
97
|
-
"accent": "\u001b[38;2;231;135;83m",
|
|
98
|
-
"border": "\u001b[38;2;178;89;79m"
|
|
99
|
-
},
|
|
100
|
-
"256color": {
|
|
101
|
-
"accent": "\u001b[38;5;173m",
|
|
102
|
-
"border": "\u001b[38;5;131m"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"light": {
|
|
106
|
-
"truecolor": {
|
|
107
|
-
"accent": "\u001b[38;2;174;80;16m",
|
|
108
|
-
"border": "\u001b[38;2;133;57;49m"
|
|
109
|
-
},
|
|
110
|
-
"256color": {
|
|
111
|
-
"accent": "\u001b[38;5;130m",
|
|
112
|
-
"border": "\u001b[38;5;95m"
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"pink": {
|
|
117
|
-
"dark": {
|
|
118
|
-
"truecolor": {
|
|
119
|
-
"accent": "\u001b[38;2;223;122;199m",
|
|
120
|
-
"border": "\u001b[38;2;150;91;171m"
|
|
121
|
-
},
|
|
122
|
-
"256color": {
|
|
123
|
-
"accent": "\u001b[38;5;176m",
|
|
124
|
-
"border": "\u001b[38;5;97m"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
"light": {
|
|
128
|
-
"truecolor": {
|
|
129
|
-
"accent": "\u001b[38;2;178;56;153m",
|
|
130
|
-
"border": "\u001b[38;2;114;61;131m"
|
|
131
|
-
},
|
|
132
|
-
"256color": {
|
|
133
|
-
"accent": "\u001b[38;5;132m",
|
|
134
|
-
"border": "\u001b[38;5;60m"
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
export const SHARED_PROGRESS_ACCENT_ANSI = SHARED_PROGRESS_PALETTE.blue.dark.truecolor.accent;
|
/package/dist/{integrations/pi/tui-runtime/contracts.js → contracts/owned-ui/shell-components.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|