From ec73f870ca3e2b03b834dbe9540555f27ff4e4ac Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 5 Sep 2026 14:38:18 +0000 Subject: [PATCH] Version Packages --- .tegami/commands-themes-api-hygiene.md | 19 --- .tegami/cross-cutting-hygiene.md | 24 ---- .tegami/deprecate-launch-provider-aliases.md | 8 -- .tegami/deprecate-table-command.md | 8 -- .tegami/export-view-shell-contracts.md | 11 -- .tegami/fuzzy-ranking-theme-picker.md | 15 --- .tegami/public-contract-0.8.md | 22 ---- .tegami/publish-lock.yaml | 118 ++++++++++++++----- .tegami/shared-overlay-primitives.md | 11 -- apps/cli/CHANGELOG.md | 44 +++++++ apps/cli/package.json | 2 +- bun.lock | 38 +++--- packages/ask/CHANGELOG.md | 40 +++++++ packages/ask/package.json | 2 +- packages/choose/CHANGELOG.md | 40 +++++++ packages/choose/package.json | 2 +- packages/clipboard/CHANGELOG.md | 40 +++++++ packages/clipboard/package.json | 2 +- packages/commands/CHANGELOG.md | 52 ++++++++ packages/commands/package.json | 2 +- packages/config/CHANGELOG.md | 52 ++++++++ packages/config/package.json | 2 +- packages/diff/CHANGELOG.md | 40 +++++++ packages/diff/package.json | 2 +- packages/fuzzy/CHANGELOG.md | 49 ++++++++ packages/fuzzy/package.json | 2 +- packages/layout/CHANGELOG.md | 46 ++++++++ packages/layout/package.json | 2 +- packages/marks/CHANGELOG.md | 40 +++++++ packages/marks/package.json | 2 +- packages/overlays/CHANGELOG.md | 46 ++++++++ packages/overlays/package.json | 2 +- packages/panels/CHANGELOG.md | 40 +++++++ packages/panels/package.json | 2 +- packages/renderers/CHANGELOG.md | 44 +++++++ packages/renderers/package.json | 2 +- packages/router/CHANGELOG.md | 44 +++++++ packages/router/package.json | 2 +- packages/search/CHANGELOG.md | 52 ++++++++ packages/search/package.json | 2 +- packages/shell/CHANGELOG.md | 57 +++++++++ packages/shell/package.json | 2 +- packages/themes/CHANGELOG.md | 61 ++++++++++ packages/themes/package.json | 2 +- packages/toasts/CHANGELOG.md | 40 +++++++ packages/toasts/package.json | 2 +- packages/view/CHANGELOG.md | 44 +++++++ packages/view/package.json | 2 +- 48 files changed, 997 insertions(+), 186 deletions(-) delete mode 100644 .tegami/commands-themes-api-hygiene.md delete mode 100644 .tegami/cross-cutting-hygiene.md delete mode 100644 .tegami/deprecate-launch-provider-aliases.md delete mode 100644 .tegami/deprecate-table-command.md delete mode 100644 .tegami/export-view-shell-contracts.md delete mode 100644 .tegami/fuzzy-ranking-theme-picker.md delete mode 100644 .tegami/public-contract-0.8.md delete mode 100644 .tegami/shared-overlay-primitives.md diff --git a/.tegami/commands-themes-api-hygiene.md b/.tegami/commands-themes-api-hygiene.md deleted file mode 100644 index 3cf3187..0000000 --- a/.tegami/commands-themes-api-hygiene.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -packages: - "@tooee/commands": minor - "@tooee/config": minor - "@tooee/search": minor - "@tooee/themes": patch ---- - -## Clarify command, color mode, and readonly APIs - -Command consumers can use `useSurfaceInvoke`, `useLatest`, `useLazyRef`, and -`formatStepKey` from `@tooee/commands`. `useCommandContext` remains available as -a deprecated compatibility alias. Command registry maps and search match arrays -are now readonly. - -Color mode consumers can use `ColorMode` from `@tooee/config`. The old `Mode` -name remains available as a deprecated alias. Theme defaults now resolve from -the bundled Tokyo Night document and the complete fallback map owns the resolved -theme key list. diff --git a/.tegami/cross-cutting-hygiene.md b/.tegami/cross-cutting-hygiene.md deleted file mode 100644 index 8f91665..0000000 --- a/.tegami/cross-cutting-hygiene.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -packages: - "group:tooee": minor ---- - -## Clarify package ownership and compatibility APIs - -The low-level command store APIs now come from `@tooee/commands/store`. This entry owns -`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, -`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, -`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. -These names are no longer exported from the main `@tooee/commands` entry. - -`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility -re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. - -The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, -`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` -are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and -`getRouteChain` are no longer exported from `@tooee/router`. - -`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller -methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` -and overlay state hooks. diff --git a/.tegami/deprecate-launch-provider-aliases.md b/.tegami/deprecate-launch-provider-aliases.md deleted file mode 100644 index 243c1b8..0000000 --- a/.tegami/deprecate-launch-provider-aliases.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -packages: - "@tooee/shell": patch ---- - -## Schedule removal of top-level launch provider options - -The top-level `leader`, `config`, `initialMode`, and `sequenceTimeoutMs` options on `launchCli` are deprecated. Move these values into `provider` before the aliases are removed in 0.9.0. diff --git a/.tegami/deprecate-table-command.md b/.tegami/deprecate-table-command.md deleted file mode 100644 index 9963ca7..0000000 --- a/.tegami/deprecate-table-command.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -packages: - "@tooee/cli": patch ---- - -## Schedule removal of the table command alias - -The deprecated `tooee table` command now reports that it will be removed in 0.9.0. Use `tooee view --renderer table` instead. diff --git a/.tegami/export-view-shell-contracts.md b/.tegami/export-view-shell-contracts.md deleted file mode 100644 index 66bf316..0000000 --- a/.tegami/export-view-shell-contracts.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -packages: - "@tooee/renderers": patch - "@tooee/router": patch - "@tooee/shell": patch - "@tooee/view": patch ---- - -## Add named hook and table formatting contracts - -Export named result and option types for router, shell, and view hooks. Export `formatTableCell` as the shared table value formatter. Date cells now use the same ISO text for display, whole-document copy, row copy, and search. diff --git a/.tegami/fuzzy-ranking-theme-picker.md b/.tegami/fuzzy-ranking-theme-picker.md deleted file mode 100644 index 189bbf8..0000000 --- a/.tegami/fuzzy-ranking-theme-picker.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -packages: - "@tooee/fuzzy": minor - "@tooee/shell": minor - "@tooee/themes": minor ---- - -## Share fuzzy ranking and move the theme picker to shell - -`@tooee/fuzzy` now exports `rankBy`, which returns score-sorted matches with -source indices and matched character positions. - -Theme picker integration now belongs to `@tooee/shell`. Import -`useThemePicker` and its public types from shell. `@tooee/themes` now contains -theme loading and context APIs without command or fuzzy dependencies. diff --git a/.tegami/public-contract-0.8.md b/.tegami/public-contract-0.8.md deleted file mode 100644 index d159887..0000000 --- a/.tegami/public-contract-0.8.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -packages: - "group:tooee": minor ---- - -## Align public application contracts - -The Ask, Choose, View, shell, and command-context APIs now use consistent -public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). - -### Migration - -- Ask launch now returns `string | null`. The CLI host now owns stdout writes - and process exit. Choose launch keeps its `ChooseResult | null` result, and - View launch resolves with `void` when its session ends. -- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` - as top-level props. Its `options` prop remains as a deprecated alias for one - release. Use `actions` instead of the deprecated `commands` alias. -- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and - `toast` are optional. Check that a field is present before use. -- Deprecated top-level `launchCli` provider aliases and the `tooee table` - command remain available until 0.9.0. diff --git a/.tegami/publish-lock.yaml b/.tegami/publish-lock.yaml index c354b1a..815392e 100644 --- a/.tegami/publish-lock.yaml +++ b/.tegami/publish-lock.yaml @@ -1,83 +1,140 @@ core:changelogs: - - content: "---\npackages:\n group:tooee:\n type: patch\n---\n\n## Add explicit clipboard shortcuts\n\nView documents and Ask editors now use `yy` to copy the current semantic row or\nline, `yg` to copy the whole document, and `yv` to copy the active selection.\n" - filename: clipboard-shortcuts.md + - content: "---\npackages:\n group:tooee:\n type: minor\n---\n\n## Clarify package ownership and compatibility APIs\n\nThe low-level command store APIs now come from `@tooee/commands/store`. This entry owns\n`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`,\n`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`,\n`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`.\nThese names are no longer exported from the main `@tooee/commands` entry.\n\n`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility\nre-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`.\n\nThe overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`,\n`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent`\nare no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and\n`getRouteChain` are no longer exported from `@tooee/router`.\n\n`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller\nmethods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open`\nand overlay state hooks.\n" + filename: cross-cutting-hygiene.md + v: 0.0.0 + - content: "---\npackages:\n \"@tooee/cli\":\n type: patch\n---\n\n## Schedule removal of the table command alias\n\nThe deprecated `tooee table` command now reports that it will be removed in 0.9.0. Use `tooee view --renderer table` instead.\n" + filename: deprecate-table-command.md + v: 0.0.0 + - content: "---\npackages:\n group:tooee:\n type: minor\n---\n\n## Align public application contracts\n\nThe Ask, Choose, View, shell, and command-context APIs now use consistent\npublic contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md).\n\n### Migration\n\n- Ask launch now returns `string | null`. The CLI host now owns stdout writes\n and process exit. Choose launch keeps its `ChooseResult | null` result, and\n View launch resolves with `void` when its session ends.\n- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage`\n as top-level props. Its `options` prop remains as a deprecated alias for one\n release. Use `actions` instead of the deprecated `commands` alias.\n- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and\n `toast` are optional. Check that a field is present before use.\n- Deprecated top-level `launchCli` provider aliases and the `tooee table`\n command remain available until 0.9.0.\n" + filename: public-contract-0.8.md + v: 0.0.0 + - content: "---\npackages:\n \"@tooee/commands\":\n type: minor\n \"@tooee/config\":\n type: minor\n \"@tooee/search\":\n type: minor\n \"@tooee/themes\":\n type: patch\n---\n\n## Clarify command, color mode, and readonly APIs\n\nCommand consumers can use `useSurfaceInvoke`, `useLatest`, `useLazyRef`, and\n`formatStepKey` from `@tooee/commands`. `useCommandContext` remains available as\na deprecated compatibility alias. Command registry maps and search match arrays\nare now readonly.\n\nColor mode consumers can use `ColorMode` from `@tooee/config`. The old `Mode`\nname remains available as a deprecated alias. Theme defaults now resolve from\nthe bundled Tokyo Night document and the complete fallback map owns the resolved\ntheme key list.\n" + filename: commands-themes-api-hygiene.md + v: 0.0.0 + - content: "---\npackages:\n \"@tooee/fuzzy\":\n type: minor\n \"@tooee/shell\":\n type: minor\n \"@tooee/themes\":\n type: minor\n---\n\n## Share fuzzy ranking and move the theme picker to shell\n\n`@tooee/fuzzy` now exports `rankBy`, which returns score-sorted matches with\nsource indices and matched character positions.\n\nTheme picker integration now belongs to `@tooee/shell`. Import\n`useThemePicker` and its public types from shell. `@tooee/themes` now contains\ntheme loading and context APIs without command or fuzzy dependencies.\n" + filename: fuzzy-ranking-theme-picker.md + v: 0.0.0 + - content: "---\npackages:\n \"@tooee/layout\":\n type: minor\n \"@tooee/overlays\":\n type: minor\n---\n\n## Share overlay panels and promise dialog lifecycles\n\n`@tooee/layout` now exports `OverlayPanel`, shared panel inset types, and one `AppLayout.scroll` configuration object. The old `AppLayout` scroll props remain as deprecated aliases.\n\n`@tooee/overlays` now exports `useOverlayDialog` for promise-based modal overlays. The unprovided `OverlayContext` and `OverlayContextValue` exports have been removed. Use the controller and state contexts or the overlay hooks instead.\n" + filename: shared-overlay-primitives.md + v: 0.0.0 + - content: "---\npackages:\n \"@tooee/renderers\":\n type: patch\n \"@tooee/router\":\n type: patch\n \"@tooee/shell\":\n type: patch\n \"@tooee/view\":\n type: patch\n---\n\n## Add named hook and table formatting contracts\n\nExport named result and option types for router, shell, and view hooks. Export `formatTableCell` as the shared table value formatter. Date cells now use the same ISO text for display, whole-document copy, row copy, and search.\n" + filename: export-view-shell-contracts.md + v: 0.0.0 + - content: "---\npackages:\n \"@tooee/shell\":\n type: patch\n---\n\n## Schedule removal of top-level launch provider options\n\nThe top-level `leader`, `config`, `initialMode`, and `sequenceTimeoutMs` options on `launchCli` are deprecated. Move these values into `provider` before the aliases are removed in 0.9.0.\n" + filename: deprecate-launch-provider-aliases.md v: 0.0.0 core:packages: - changelogIds: - - clipboard-shortcuts.md + - cross-cutting-hygiene.md + - deprecate-table-command.md + - public-contract-0.8.md id: npm:@tooee/cli updated: true - changelogIds: - - clipboard-shortcuts.md + - cross-cutting-hygiene.md + - public-contract-0.8.md id: npm:@tooee/ask updated: true - changelogIds: - - clipboard-shortcuts.md + - cross-cutting-hygiene.md + - public-contract-0.8.md id: npm:@tooee/choose updated: true - changelogIds: - - clipboard-shortcuts.md + - cross-cutting-hygiene.md + - public-contract-0.8.md id: npm:@tooee/clipboard updated: true - changelogIds: - - clipboard-shortcuts.md + - commands-themes-api-hygiene.md + - cross-cutting-hygiene.md + - public-contract-0.8.md id: npm:@tooee/commands updated: true - changelogIds: - - clipboard-shortcuts.md + - commands-themes-api-hygiene.md + - cross-cutting-hygiene.md + - public-contract-0.8.md id: npm:@tooee/config updated: true - changelogIds: - - clipboard-shortcuts.md + - cross-cutting-hygiene.md + - public-contract-0.8.md id: npm:@tooee/diff updated: true - changelogIds: - - clipboard-shortcuts.md + - cross-cutting-hygiene.md + - fuzzy-ranking-theme-picker.md + - public-contract-0.8.md id: npm:@tooee/fuzzy updated: true - changelogIds: - - clipboard-shortcuts.md + - cross-cutting-hygiene.md + - public-contract-0.8.md + - shared-overlay-primitives.md id: npm:@tooee/layout updated: true - changelogIds: - - clipboard-shortcuts.md + - cross-cutting-hygiene.md + - public-contract-0.8.md id: npm:@tooee/marks updated: true - changelogIds: - - clipboard-shortcuts.md - id: npm:@tooee/overlays - updated: true - - changelogIds: - - clipboard-shortcuts.md + - cross-cutting-hygiene.md + - public-contract-0.8.md id: npm:@tooee/panels updated: true - changelogIds: - - clipboard-shortcuts.md - id: npm:@tooee/renderers + - cross-cutting-hygiene.md + - public-contract-0.8.md + - shared-overlay-primitives.md + id: npm:@tooee/overlays updated: true - changelogIds: - - clipboard-shortcuts.md + - cross-cutting-hygiene.md + - export-view-shell-contracts.md + - public-contract-0.8.md id: npm:@tooee/router updated: true - changelogIds: - - clipboard-shortcuts.md + - cross-cutting-hygiene.md + - export-view-shell-contracts.md + - public-contract-0.8.md + id: npm:@tooee/renderers + updated: true + - changelogIds: + - commands-themes-api-hygiene.md + - cross-cutting-hygiene.md + - public-contract-0.8.md id: npm:@tooee/search updated: true + - id: npm:@tooee/test-support + updated: false - changelogIds: - - clipboard-shortcuts.md + - cross-cutting-hygiene.md + - deprecate-launch-provider-aliases.md + - export-view-shell-contracts.md + - fuzzy-ranking-theme-picker.md + - public-contract-0.8.md id: npm:@tooee/shell updated: true - changelogIds: - - clipboard-shortcuts.md + - commands-themes-api-hygiene.md + - cross-cutting-hygiene.md + - fuzzy-ranking-theme-picker.md + - public-contract-0.8.md id: npm:@tooee/themes updated: true - changelogIds: - - clipboard-shortcuts.md - id: npm:@tooee/view + - cross-cutting-hygiene.md + - public-contract-0.8.md + id: npm:@tooee/toasts updated: true - changelogIds: - - clipboard-shortcuts.md - id: npm:@tooee/toasts + - cross-cutting-hygiene.md + - export-view-shell-contracts.md + - public-contract-0.8.md + id: npm:@tooee/view updated: true npm:packages: - id: npm:@tooee/cli @@ -90,13 +147,14 @@ npm:packages: - id: npm:@tooee/fuzzy - id: npm:@tooee/layout - id: npm:@tooee/marks - - id: npm:@tooee/overlays - id: npm:@tooee/panels - - id: npm:@tooee/renderers + - id: npm:@tooee/overlays - id: npm:@tooee/router + - id: npm:@tooee/renderers - id: npm:@tooee/search + - id: npm:@tooee/test-support - id: npm:@tooee/shell - id: npm:@tooee/themes - - id: npm:@tooee/view - id: npm:@tooee/toasts + - id: npm:@tooee/view - id: npm:@tooee/examples diff --git a/.tegami/shared-overlay-primitives.md b/.tegami/shared-overlay-primitives.md deleted file mode 100644 index 1370dc8..0000000 --- a/.tegami/shared-overlay-primitives.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -packages: - "@tooee/layout": minor - "@tooee/overlays": minor ---- - -## Share overlay panels and promise dialog lifecycles - -`@tooee/layout` now exports `OverlayPanel`, shared panel inset types, and one `AppLayout.scroll` configuration object. The old `AppLayout` scroll props remain as deprecated aliases. - -`@tooee/overlays` now exports `useOverlayDialog` for promise-based modal overlays. The unprovided `OverlayContext` and `OverlayContextValue` exports have been removed. Use the controller and state contexts or the overlay hooks instead. diff --git a/apps/cli/CHANGELOG.md b/apps/cli/CHANGELOG.md index 439790b..a0e4ad0 100644 --- a/apps/cli/CHANGELOG.md +++ b/apps/cli/CHANGELOG.md @@ -1,3 +1,47 @@ +## @tooee/cli@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Schedule removal of the table command alias + +The deprecated `tooee table` command now reports that it will be removed in 0.9.0. Use `tooee view --renderer table` instead. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/cli@0.7.3 ### Add explicit clipboard shortcuts diff --git a/apps/cli/package.json b/apps/cli/package.json index 756fbaa..a4c5777 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/cli", - "version": "0.7.3", + "version": "0.8.0", "description": "Terminal micro-apps for viewing, input, and selection", "keywords": [ "cli", diff --git a/bun.lock b/bun.lock index 63d8ca5..08e8627 100644 --- a/bun.lock +++ b/bun.lock @@ -29,7 +29,7 @@ }, "apps/cli": { "name": "@tooee/cli", - "version": "0.7.3", + "version": "0.8.0", "bin": { "tooee": "./dist/main.js", }, @@ -74,7 +74,7 @@ }, "packages/ask": { "name": "@tooee/ask", - "version": "0.7.3", + "version": "0.8.0", "dependencies": { "@tooee/clipboard": "workspace:*", "@tooee/commands": "workspace:*", @@ -100,7 +100,7 @@ }, "packages/choose": { "name": "@tooee/choose", - "version": "0.7.3", + "version": "0.8.0", "dependencies": { "@tooee/commands": "workspace:*", "@tooee/fuzzy": "workspace:*", @@ -127,7 +127,7 @@ }, "packages/clipboard": { "name": "@tooee/clipboard", - "version": "0.7.3", + "version": "0.8.0", "devDependencies": { "@types/bun": "^1.3.10", "typescript": "^5.9.3", @@ -135,7 +135,7 @@ }, "packages/commands": { "name": "@tooee/commands", - "version": "0.7.3", + "version": "0.8.0", "dependencies": { "@xstate/store": "^4", "@xstate/store-react": "^2", @@ -156,7 +156,7 @@ }, "packages/config": { "name": "@tooee/config", - "version": "0.7.3", + "version": "0.8.0", "devDependencies": { "@opentui/react": "^0.5.1", "@types/bun": "^1.3.10", @@ -169,7 +169,7 @@ }, "packages/diff": { "name": "@tooee/diff", - "version": "0.7.3", + "version": "0.8.0", "dependencies": { "@tooee/renderers": "workspace:*", "@tooee/themes": "workspace:*", @@ -214,7 +214,7 @@ }, "packages/fuzzy": { "name": "@tooee/fuzzy", - "version": "0.7.3", + "version": "0.8.0", "devDependencies": { "@tooee/test-support": "workspace:*", "typescript": "^5.9.3", @@ -222,7 +222,7 @@ }, "packages/layout": { "name": "@tooee/layout", - "version": "0.7.3", + "version": "0.8.0", "dependencies": { "@tooee/commands": "workspace:*", "@tooee/overlays": "workspace:*", @@ -246,7 +246,7 @@ }, "packages/marks": { "name": "@tooee/marks", - "version": "0.7.3", + "version": "0.8.0", "devDependencies": { "@types/bun": "^1.3.10", "typescript": "^5.9.3", @@ -254,7 +254,7 @@ }, "packages/overlays": { "name": "@tooee/overlays", - "version": "0.7.3", + "version": "0.8.0", "dependencies": { "@tooee/commands": "workspace:*", "@xstate/store": "^4", @@ -270,7 +270,7 @@ }, "packages/panels": { "name": "@tooee/panels", - "version": "0.7.3", + "version": "0.8.0", "dependencies": { "@tooee/commands": "workspace:*", "@tooee/themes": "workspace:*", @@ -292,7 +292,7 @@ }, "packages/renderers": { "name": "@tooee/renderers", - "version": "0.7.3", + "version": "0.8.0", "dependencies": { "@tooee/commands": "workspace:*", "@tooee/fuzzy": "workspace:*", @@ -318,7 +318,7 @@ }, "packages/router": { "name": "@tooee/router", - "version": "0.7.3", + "version": "0.8.0", "devDependencies": { "@opentui/core": "^0.5.1", "@opentui/react": "^0.5.1", @@ -337,7 +337,7 @@ }, "packages/search": { "name": "@tooee/search", - "version": "0.7.3", + "version": "0.8.0", "dependencies": { "@tooee/commands": "workspace:*", "@tooee/themes": "workspace:*", @@ -359,7 +359,7 @@ }, "packages/shell": { "name": "@tooee/shell", - "version": "0.7.3", + "version": "0.8.0", "dependencies": { "@tooee/clipboard": "workspace:*", "@tooee/commands": "workspace:*", @@ -401,7 +401,7 @@ }, "packages/themes": { "name": "@tooee/themes", - "version": "0.7.3", + "version": "0.8.0", "dependencies": { "@tooee/config": "workspace:*", }, @@ -420,7 +420,7 @@ }, "packages/toasts": { "name": "@tooee/toasts", - "version": "0.7.3", + "version": "0.8.0", "dependencies": { "@tooee/themes": "workspace:*", }, @@ -440,7 +440,7 @@ }, "packages/view": { "name": "@tooee/view", - "version": "0.7.3", + "version": "0.8.0", "dependencies": { "@tooee/commands": "workspace:*", "@tooee/config": "workspace:*", diff --git a/packages/ask/CHANGELOG.md b/packages/ask/CHANGELOG.md index 923647b..bfcb877 100644 --- a/packages/ask/CHANGELOG.md +++ b/packages/ask/CHANGELOG.md @@ -1,3 +1,43 @@ +## @tooee/ask@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/ask@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/ask/package.json b/packages/ask/package.json index 37b6317..4772afd 100644 --- a/packages/ask/package.json +++ b/packages/ask/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/ask", - "version": "0.7.3", + "version": "0.8.0", "description": "Terminal text input gathering", "keywords": [ "cli", diff --git a/packages/choose/CHANGELOG.md b/packages/choose/CHANGELOG.md index 1053d5a..ff92f66 100644 --- a/packages/choose/CHANGELOG.md +++ b/packages/choose/CHANGELOG.md @@ -1,3 +1,43 @@ +## @tooee/choose@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/choose@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/choose/package.json b/packages/choose/package.json index a5d3256..02fb54e 100644 --- a/packages/choose/package.json +++ b/packages/choose/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/choose", - "version": "0.7.3", + "version": "0.8.0", "description": "Terminal selection with fuzzy filtering", "keywords": [ "cli", diff --git a/packages/clipboard/CHANGELOG.md b/packages/clipboard/CHANGELOG.md index b31ca4b..93ff1bf 100644 --- a/packages/clipboard/CHANGELOG.md +++ b/packages/clipboard/CHANGELOG.md @@ -1,3 +1,43 @@ +## @tooee/clipboard@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/clipboard@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/clipboard/package.json b/packages/clipboard/package.json index a98cafc..175694a 100644 --- a/packages/clipboard/package.json +++ b/packages/clipboard/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/clipboard", - "version": "0.7.3", + "version": "0.8.0", "description": "Cross-platform clipboard operations for Tooee", "keywords": [ "cli", diff --git a/packages/commands/CHANGELOG.md b/packages/commands/CHANGELOG.md index 53d1a07..6913aa8 100644 --- a/packages/commands/CHANGELOG.md +++ b/packages/commands/CHANGELOG.md @@ -1,3 +1,55 @@ +## @tooee/commands@0.8.0 + +### Clarify command, color mode, and readonly APIs + +Command consumers can use `useSurfaceInvoke`, `useLatest`, `useLazyRef`, and +`formatStepKey` from `@tooee/commands`. `useCommandContext` remains available as +a deprecated compatibility alias. Command registry maps and search match arrays +are now readonly. + +Color mode consumers can use `ColorMode` from `@tooee/config`. The old `Mode` +name remains available as a deprecated alias. Theme defaults now resolve from +the bundled Tokyo Night document and the complete fallback map owns the resolved +theme key list. + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/commands@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/commands/package.json b/packages/commands/package.json index 6ecbf0d..59b47dc 100644 --- a/packages/commands/package.json +++ b/packages/commands/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/commands", - "version": "0.7.3", + "version": "0.8.0", "description": "Vim-inspired modal command system for Tooee", "keywords": [ "cli", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 7414027..582246c 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,3 +1,55 @@ +## @tooee/config@0.8.0 + +### Clarify command, color mode, and readonly APIs + +Command consumers can use `useSurfaceInvoke`, `useLatest`, `useLazyRef`, and +`formatStepKey` from `@tooee/commands`. `useCommandContext` remains available as +a deprecated compatibility alias. Command registry maps and search match arrays +are now readonly. + +Color mode consumers can use `ColorMode` from `@tooee/config`. The old `Mode` +name remains available as a deprecated alias. Theme defaults now resolve from +the bundled Tokyo Night document and the complete fallback map owns the resolved +theme key list. + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/config@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/config/package.json b/packages/config/package.json index fe5d340..888b818 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/config", - "version": "0.7.3", + "version": "0.8.0", "description": "Layered configuration system for Tooee apps", "keywords": [ "cli", diff --git a/packages/diff/CHANGELOG.md b/packages/diff/CHANGELOG.md index 971ee2a..dc24a90 100644 --- a/packages/diff/CHANGELOG.md +++ b/packages/diff/CHANGELOG.md @@ -1,3 +1,43 @@ +## @tooee/diff@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/diff@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/diff/package.json b/packages/diff/package.json index 9ac8666..05a1c1e 100644 --- a/packages/diff/package.json +++ b/packages/diff/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/diff", - "version": "0.7.3", + "version": "0.8.0", "description": "Hunk-backed unified/split diff rendering for Tooee", "keywords": [ "cli", diff --git a/packages/fuzzy/CHANGELOG.md b/packages/fuzzy/CHANGELOG.md index 49a1a37..8ad7443 100644 --- a/packages/fuzzy/CHANGELOG.md +++ b/packages/fuzzy/CHANGELOG.md @@ -1,3 +1,52 @@ +## @tooee/fuzzy@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Share fuzzy ranking and move the theme picker to shell + +`@tooee/fuzzy` now exports `rankBy`, which returns score-sorted matches with +source indices and matched character positions. + +Theme picker integration now belongs to `@tooee/shell`. Import +`useThemePicker` and its public types from shell. `@tooee/themes` now contains +theme loading and context APIs without command or fuzzy dependencies. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/fuzzy@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/fuzzy/package.json b/packages/fuzzy/package.json index a869b78..deafebf 100644 --- a/packages/fuzzy/package.json +++ b/packages/fuzzy/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/fuzzy", - "version": "0.7.3", + "version": "0.8.0", "description": "Fuzzy string matching for Tooee", "keywords": [ "filter", diff --git a/packages/layout/CHANGELOG.md b/packages/layout/CHANGELOG.md index 4424405..0f36c00 100644 --- a/packages/layout/CHANGELOG.md +++ b/packages/layout/CHANGELOG.md @@ -1,3 +1,49 @@ +## @tooee/layout@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + +### Share overlay panels and promise dialog lifecycles + +`@tooee/layout` now exports `OverlayPanel`, shared panel inset types, and one `AppLayout.scroll` configuration object. The old `AppLayout` scroll props remain as deprecated aliases. + +`@tooee/overlays` now exports `useOverlayDialog` for promise-based modal overlays. The unprovided `OverlayContext` and `OverlayContextValue` exports have been removed. Use the controller and state contexts or the overlay hooks instead. + ## @tooee/layout@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/layout/package.json b/packages/layout/package.json index 7ec6054..9b8da84 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/layout", - "version": "0.7.3", + "version": "0.8.0", "description": "Standard app chrome (title bar, status bar) for Tooee", "keywords": [ "cli", diff --git a/packages/marks/CHANGELOG.md b/packages/marks/CHANGELOG.md index 2d425c3..77cdaeb 100644 --- a/packages/marks/CHANGELOG.md +++ b/packages/marks/CHANGELOG.md @@ -1,3 +1,43 @@ +## @tooee/marks@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/marks@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/marks/package.json b/packages/marks/package.json index 3d98f03..e14e18f 100644 --- a/packages/marks/package.json +++ b/packages/marks/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/marks", - "version": "0.7.3", + "version": "0.8.0", "description": "Unified decoration/annotation system for Tooee renderers", "keywords": [ "cli", diff --git a/packages/overlays/CHANGELOG.md b/packages/overlays/CHANGELOG.md index c72645d..d7f4739 100644 --- a/packages/overlays/CHANGELOG.md +++ b/packages/overlays/CHANGELOG.md @@ -1,3 +1,49 @@ +## @tooee/overlays@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + +### Share overlay panels and promise dialog lifecycles + +`@tooee/layout` now exports `OverlayPanel`, shared panel inset types, and one `AppLayout.scroll` configuration object. The old `AppLayout` scroll props remain as deprecated aliases. + +`@tooee/overlays` now exports `useOverlayDialog` for promise-based modal overlays. The unprovided `OverlayContext` and `OverlayContextValue` exports have been removed. Use the controller and state contexts or the overlay hooks instead. + ## @tooee/overlays@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/overlays/package.json b/packages/overlays/package.json index fed194a..e7e6908 100644 --- a/packages/overlays/package.json +++ b/packages/overlays/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/overlays", - "version": "0.7.3", + "version": "0.8.0", "description": "Overlay stack management for Tooee", "keywords": [ "cli", diff --git a/packages/panels/CHANGELOG.md b/packages/panels/CHANGELOG.md index 6b3bfc5..904107e 100644 --- a/packages/panels/CHANGELOG.md +++ b/packages/panels/CHANGELOG.md @@ -1,3 +1,43 @@ +## @tooee/panels@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/panels@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/panels/package.json b/packages/panels/package.json index b0ec3d1..7759c8f 100644 --- a/packages/panels/package.json +++ b/packages/panels/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/panels", - "version": "0.7.3", + "version": "0.8.0", "description": "First-class panels (peer command surfaces with activation and chrome) for Tooee", "keywords": [ "cli", diff --git a/packages/renderers/CHANGELOG.md b/packages/renderers/CHANGELOG.md index 2df9a64..5bd37cb 100644 --- a/packages/renderers/CHANGELOG.md +++ b/packages/renderers/CHANGELOG.md @@ -1,3 +1,47 @@ +## @tooee/renderers@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Add named hook and table formatting contracts + +Export named result and option types for router, shell, and view hooks. Export `formatTableCell` as the shared table value formatter. Date cells now use the same ISO text for display, whole-document copy, row copy, and search. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/renderers@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/renderers/package.json b/packages/renderers/package.json index b196adc..7391027 100644 --- a/packages/renderers/package.json +++ b/packages/renderers/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/renderers", - "version": "0.7.3", + "version": "0.8.0", "description": "Content renderers (markdown, code, text, table) for Tooee", "keywords": [ "cli", diff --git a/packages/router/CHANGELOG.md b/packages/router/CHANGELOG.md index e07ae6c..68a596a 100644 --- a/packages/router/CHANGELOG.md +++ b/packages/router/CHANGELOG.md @@ -1,3 +1,47 @@ +## @tooee/router@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Add named hook and table formatting contracts + +Export named result and option types for router, shell, and view hooks. Export `formatTableCell` as the shared table value formatter. Date cells now use the same ISO text for display, whole-document copy, row copy, and search. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/router@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/router/package.json b/packages/router/package.json index d3e07e6..965eeef 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/router", - "version": "0.7.3", + "version": "0.8.0", "description": "Stack-based router for Tooee terminal apps", "keywords": [ "cli", diff --git a/packages/search/CHANGELOG.md b/packages/search/CHANGELOG.md index 681067a..2243f15 100644 --- a/packages/search/CHANGELOG.md +++ b/packages/search/CHANGELOG.md @@ -1,3 +1,55 @@ +## @tooee/search@0.8.0 + +### Clarify command, color mode, and readonly APIs + +Command consumers can use `useSurfaceInvoke`, `useLatest`, `useLazyRef`, and +`formatStepKey` from `@tooee/commands`. `useCommandContext` remains available as +a deprecated compatibility alias. Command registry maps and search match arrays +are now readonly. + +Color mode consumers can use `ColorMode` from `@tooee/config`. The old `Mode` +name remains available as a deprecated alias. Theme defaults now resolve from +the bundled Tokyo Night document and the complete fallback map owns the resolved +theme key list. + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/search@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/search/package.json b/packages/search/package.json index 7615a8e..fd44abe 100644 --- a/packages/search/package.json +++ b/packages/search/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/search", - "version": "0.7.3", + "version": "0.8.0", "description": "Search hook, utilities, and SearchBar component for Tooee", "keywords": [ "cli", diff --git a/packages/shell/CHANGELOG.md b/packages/shell/CHANGELOG.md index 4cf26c3..f8f28cb 100644 --- a/packages/shell/CHANGELOG.md +++ b/packages/shell/CHANGELOG.md @@ -1,3 +1,60 @@ +## @tooee/shell@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Schedule removal of top-level launch provider options + +The top-level `leader`, `config`, `initialMode`, and `sequenceTimeoutMs` options on `launchCli` are deprecated. Move these values into `provider` before the aliases are removed in 0.9.0. + +### Add named hook and table formatting contracts + +Export named result and option types for router, shell, and view hooks. Export `formatTableCell` as the shared table value formatter. Date cells now use the same ISO text for display, whole-document copy, row copy, and search. + +### Share fuzzy ranking and move the theme picker to shell + +`@tooee/fuzzy` now exports `rankBy`, which returns score-sorted matches with +source indices and matched character positions. + +Theme picker integration now belongs to `@tooee/shell`. Import +`useThemePicker` and its public types from shell. `@tooee/themes` now contains +theme loading and context APIs without command or fuzzy dependencies. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/shell@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/shell/package.json b/packages/shell/package.json index 079e2c5..16cd03f 100644 --- a/packages/shell/package.json +++ b/packages/shell/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/shell", - "version": "0.7.3", + "version": "0.8.0", "description": "Composition layer wiring Tooee apps together", "keywords": [ "cli", diff --git a/packages/themes/CHANGELOG.md b/packages/themes/CHANGELOG.md index 8647dab..6f4e2b2 100644 --- a/packages/themes/CHANGELOG.md +++ b/packages/themes/CHANGELOG.md @@ -1,3 +1,64 @@ +## @tooee/themes@0.8.0 + +### Clarify command, color mode, and readonly APIs + +Command consumers can use `useSurfaceInvoke`, `useLatest`, `useLazyRef`, and +`formatStepKey` from `@tooee/commands`. `useCommandContext` remains available as +a deprecated compatibility alias. Command registry maps and search match arrays +are now readonly. + +Color mode consumers can use `ColorMode` from `@tooee/config`. The old `Mode` +name remains available as a deprecated alias. Theme defaults now resolve from +the bundled Tokyo Night document and the complete fallback map owns the resolved +theme key list. + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Share fuzzy ranking and move the theme picker to shell + +`@tooee/fuzzy` now exports `rankBy`, which returns score-sorted matches with +source indices and matched character positions. + +Theme picker integration now belongs to `@tooee/shell`. Import +`useThemePicker` and its public types from shell. `@tooee/themes` now contains +theme loading and context APIs without command or fuzzy dependencies. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/themes@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/themes/package.json b/packages/themes/package.json index f79319b..5c99809 100644 --- a/packages/themes/package.json +++ b/packages/themes/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/themes", - "version": "0.7.3", + "version": "0.8.0", "description": "Theme management with 34 bundled themes for Tooee", "keywords": [ "cli", diff --git a/packages/toasts/CHANGELOG.md b/packages/toasts/CHANGELOG.md index dfe0689..6b86a07 100644 --- a/packages/toasts/CHANGELOG.md +++ b/packages/toasts/CHANGELOG.md @@ -1,3 +1,43 @@ +## @tooee/toasts@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/toasts@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/toasts/package.json b/packages/toasts/package.json index 2605150..5f56a92 100644 --- a/packages/toasts/package.json +++ b/packages/toasts/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/toasts", - "version": "0.7.3", + "version": "0.8.0", "description": "Toast notification system for Tooee", "keywords": [ "cli", diff --git a/packages/view/CHANGELOG.md b/packages/view/CHANGELOG.md index a70bdbd..fff4603 100644 --- a/packages/view/CHANGELOG.md +++ b/packages/view/CHANGELOG.md @@ -1,3 +1,47 @@ +## @tooee/view@0.8.0 + +### Clarify package ownership and compatibility APIs + +The low-level command store APIs now come from `@tooee/commands/store`. This entry owns +`CommandStoreInstance`, `ContextGetter`, `CreateCommandStoreOptions`, `KeyDispatchResult`, +`selectSurfaceCommandMap`, `selectGroups`, `ModeProvider`, `ModeProviderProps`, +`SequenceTracker`, its related sequence types, `createBaseStore`, and `createCommandStore`. +These names are no longer exported from the main `@tooee/commands` entry. + +`CloseButton` moved from `@tooee/themes` to `@tooee/layout`. The `rankBy` compatibility +re-export was removed from `@tooee/renderers`; import it from `@tooee/fuzzy`. + +The overlay store event payload types `OverlayClosedEmit`, `OverlayClosedEvent`, +`OverlayClosedTopEvent`, `OverlayOpenedEvent`, `OverlayStoreEvents`, and `OverlayUpdatedEvent` +are no longer exported from `@tooee/overlays`. `AnyRoute`, `ScreenFocusProvider`, and +`getRouteChain` are no longer exported from `@tooee/router`. + +`useCommandContext` is deprecated in favor of `useSurfaceInvoke`. The overlay controller +methods `show`, `hide`, and `isOpen` are deprecated in favor of the handle returned by `open` +and overlay state hooks. + +### Add named hook and table formatting contracts + +Export named result and option types for router, shell, and view hooks. Export `formatTableCell` as the shared table value formatter. Date cells now use the same ISO text for display, whole-document copy, row copy, and search. + +### Align public application contracts + +The Ask, Choose, View, shell, and command-context APIs now use consistent +public contracts. See [the 0.8 migration guide](../docs/migration-0.7-to-0.8.md). + +### Migration + +- Ask launch now returns `string | null`. The CLI host now owns stdout writes + and process exit. Choose launch keeps its `ChooseResult | null` result, and + View launch resolves with `void` when its session ends. +- `Choose` accepts `title`, `prompt`, `placeholder`, `multi`, and `emptyMessage` + as top-level props. Its `options` prop remains as a deprecated alias for one + release. Use `actions` instead of the deprecated `commands` alias. +- `CommandContext` augmentations such as `ask`, `choose`, `view`, `overlay`, and + `toast` are optional. Check that a field is present before use. +- Deprecated top-level `launchCli` provider aliases and the `tooee table` + command remain available until 0.9.0. + ## @tooee/view@0.7.3 ### Add explicit clipboard shortcuts diff --git a/packages/view/package.json b/packages/view/package.json index b75a915..0366c44 100644 --- a/packages/view/package.json +++ b/packages/view/package.json @@ -1,6 +1,6 @@ { "name": "@tooee/view", - "version": "0.7.3", + "version": "0.8.0", "description": "Terminal content viewer for markdown, code, text, images, and tables", "keywords": [ "cli",