@nanocollective/nanocoder 1.21.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -4
- package/assets/nanocoder-vscode.vsix +0 -0
- package/dist/ai-sdk-client/ai-sdk-client.d.ts.map +1 -1
- package/dist/ai-sdk-client/ai-sdk-client.js.map +1 -1
- package/dist/ai-sdk-client/chat/chat-handler.d.ts.map +1 -1
- package/dist/ai-sdk-client/chat/chat-handler.js +1 -0
- package/dist/ai-sdk-client/chat/chat-handler.js.map +1 -1
- package/dist/ai-sdk-client/providers/provider-factory.d.ts +6 -3
- package/dist/ai-sdk-client/providers/provider-factory.d.ts.map +1 -1
- package/dist/ai-sdk-client/providers/provider-factory.js +18 -4
- package/dist/ai-sdk-client/providers/provider-factory.js.map +1 -1
- package/dist/app/App.d.ts.map +1 -1
- package/dist/app/App.js +16 -16
- package/dist/app/App.js.map +1 -1
- package/dist/app/components/modal-selectors.d.ts +3 -10
- package/dist/app/components/modal-selectors.d.ts.map +1 -1
- package/dist/app/components/modal-selectors.js +4 -12
- package/dist/app/components/modal-selectors.js.map +1 -1
- package/dist/app/components/settings-selector.d.ts +6 -0
- package/dist/app/components/settings-selector.d.ts.map +1 -0
- package/dist/app/components/settings-selector.js +289 -0
- package/dist/app/components/settings-selector.js.map +1 -0
- package/dist/app/utils/app-util.d.ts.map +1 -1
- package/dist/app/utils/app-util.js +11 -16
- package/dist/app/utils/app-util.js.map +1 -1
- package/dist/client-factory.js +4 -0
- package/dist/client-factory.js.map +1 -1
- package/dist/commands/clear.d.ts.map +1 -1
- package/dist/commands/clear.js +8 -5
- package/dist/commands/clear.js.map +1 -1
- package/dist/commands/custom-commands.d.ts.map +1 -1
- package/dist/commands/custom-commands.js +1 -1
- package/dist/commands/custom-commands.js.map +1 -1
- package/dist/commands/explorer.d.ts +3 -0
- package/dist/commands/explorer.d.ts.map +1 -0
- package/dist/commands/explorer.js +10 -0
- package/dist/commands/explorer.js.map +1 -0
- package/dist/commands/help.d.ts.map +1 -1
- package/dist/commands/help.js +1 -1
- package/dist/commands/help.js.map +1 -1
- package/dist/commands/index.d.ts +3 -3
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.js +3 -3
- package/dist/commands/index.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +1 -1
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/lsp.d.ts.map +1 -1
- package/dist/commands/lsp.js +1 -1
- package/dist/commands/lsp.js.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +1 -1
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/model-database.d.ts.map +1 -1
- package/dist/commands/model-database.js +3 -3
- package/dist/commands/model-database.js.map +1 -1
- package/dist/commands/settings.d.ts +3 -0
- package/dist/commands/settings.d.ts.map +1 -0
- package/dist/commands/{theme.js → settings.js} +4 -4
- package/dist/commands/settings.js.map +1 -0
- package/dist/commands/tasks.d.ts +3 -0
- package/dist/commands/tasks.d.ts.map +1 -0
- package/dist/commands/tasks.js +117 -0
- package/dist/commands/tasks.js.map +1 -0
- package/dist/commands/usage.d.ts.map +1 -1
- package/dist/commands/usage.js +31 -9
- package/dist/commands/usage.js.map +1 -1
- package/dist/components/assistant-message.d.ts.map +1 -1
- package/dist/components/assistant-message.js +39 -6
- package/dist/components/assistant-message.js.map +1 -1
- package/dist/components/checkpoint-selector.d.ts.map +1 -1
- package/dist/components/checkpoint-selector.js +3 -3
- package/dist/components/checkpoint-selector.js.map +1 -1
- package/dist/components/file-explorer/index.d.ts +3 -0
- package/dist/components/file-explorer/index.d.ts.map +1 -0
- package/dist/components/file-explorer/index.js +318 -0
- package/dist/components/file-explorer/index.js.map +1 -0
- package/dist/components/file-explorer/tree-item.d.ts +3 -0
- package/dist/components/file-explorer/tree-item.d.ts.map +1 -0
- package/dist/components/file-explorer/tree-item.js +42 -0
- package/dist/components/file-explorer/tree-item.js.map +1 -0
- package/dist/components/file-explorer/utils.d.ts +18 -0
- package/dist/components/file-explorer/utils.d.ts.map +1 -0
- package/dist/components/file-explorer/utils.js +51 -0
- package/dist/components/file-explorer/utils.js.map +1 -0
- package/dist/components/file-explorer.d.ts +2 -0
- package/dist/components/file-explorer.d.ts.map +1 -0
- package/dist/components/file-explorer.js +3 -0
- package/dist/components/file-explorer.js.map +1 -0
- package/dist/components/message-box.d.ts +1 -0
- package/dist/components/message-box.d.ts.map +1 -1
- package/dist/components/message-box.js +2 -2
- package/dist/components/message-box.js.map +1 -1
- package/dist/components/model-selector.d.ts.map +1 -1
- package/dist/components/model-selector.js +3 -3
- package/dist/components/model-selector.js.map +1 -1
- package/dist/components/provider-selector.d.ts.map +1 -1
- package/dist/components/provider-selector.js +1 -1
- package/dist/components/provider-selector.js.map +1 -1
- package/dist/components/security-disclaimer.d.ts.map +1 -1
- package/dist/components/security-disclaimer.js +1 -1
- package/dist/components/security-disclaimer.js.map +1 -1
- package/dist/components/status.d.ts.map +1 -1
- package/dist/components/status.js +1 -1
- package/dist/components/status.js.map +1 -1
- package/dist/components/task-list-display.d.ts +8 -0
- package/dist/components/task-list-display.d.ts.map +1 -0
- package/dist/components/task-list-display.js +26 -0
- package/dist/components/task-list-display.js.map +1 -0
- package/dist/components/tool-message.d.ts.map +1 -1
- package/dist/components/tool-message.js +1 -1
- package/dist/components/tool-message.js.map +1 -1
- package/dist/components/ui/styled-title.js +38 -38
- package/dist/components/usage/progress-bar.d.ts.map +1 -1
- package/dist/components/usage/progress-bar.js +6 -3
- package/dist/components/usage/progress-bar.js.map +1 -1
- package/dist/components/usage/usage-display.d.ts.map +1 -1
- package/dist/components/usage/usage-display.js +1 -1
- package/dist/components/usage/usage-display.js.map +1 -1
- package/dist/components/user-input.d.ts.map +1 -1
- package/dist/components/user-input.js +35 -2
- package/dist/components/user-input.js.map +1 -1
- package/dist/components/user-message.d.ts.map +1 -1
- package/dist/components/user-message.js +43 -12
- package/dist/components/user-message.js.map +1 -1
- package/dist/components/welcome-message.d.ts.map +1 -1
- package/dist/components/welcome-message.js +1 -1
- package/dist/components/welcome-message.js.map +1 -1
- package/dist/config/preferences.d.ts +1 -0
- package/dist/config/preferences.d.ts.map +1 -1
- package/dist/config/preferences.js +5 -0
- package/dist/config/preferences.js.map +1 -1
- package/dist/config/themes.d.ts.map +1 -1
- package/dist/config/themes.js +340 -0
- package/dist/config/themes.js.map +1 -1
- package/dist/constants.d.ts +3 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +63 -0
- package/dist/constants.js.map +1 -1
- package/dist/hooks/chat-handler/conversation/conversation-loop.d.ts +1 -0
- package/dist/hooks/chat-handler/conversation/conversation-loop.d.ts.map +1 -1
- package/dist/hooks/chat-handler/conversation/conversation-loop.js +10 -1
- package/dist/hooks/chat-handler/conversation/conversation-loop.js.map +1 -1
- package/dist/hooks/chat-handler/useChatHandler.d.ts.map +1 -1
- package/dist/hooks/chat-handler/useChatHandler.js +5 -0
- package/dist/hooks/chat-handler/useChatHandler.js.map +1 -1
- package/dist/hooks/useAppHandlers.d.ts +2 -3
- package/dist/hooks/useAppHandlers.d.ts.map +1 -1
- package/dist/hooks/useAppHandlers.js +2 -3
- package/dist/hooks/useAppHandlers.js.map +1 -1
- package/dist/hooks/useAppInitialization.d.ts.map +1 -1
- package/dist/hooks/useAppInitialization.js +7 -4
- package/dist/hooks/useAppInitialization.js.map +1 -1
- package/dist/hooks/useAppState.d.ts +4 -6
- package/dist/hooks/useAppState.d.ts.map +1 -1
- package/dist/hooks/useAppState.js +6 -9
- package/dist/hooks/useAppState.js.map +1 -1
- package/dist/hooks/useModeHandlers.d.ts +8 -14
- package/dist/hooks/useModeHandlers.d.ts.map +1 -1
- package/dist/hooks/useModeHandlers.js +22 -60
- package/dist/hooks/useModeHandlers.js.map +1 -1
- package/dist/hooks/useUIState.d.ts +2 -0
- package/dist/hooks/useUIState.d.ts.map +1 -1
- package/dist/hooks/useUIState.js +11 -1
- package/dist/hooks/useUIState.js.map +1 -1
- package/dist/models/models-dev-client.d.ts.map +1 -1
- package/dist/models/models-dev-client.js +57 -37
- package/dist/models/models-dev-client.js.map +1 -1
- package/dist/tools/git/git-add.d.ts +8 -0
- package/dist/tools/git/git-add.d.ts.map +1 -0
- package/dist/tools/git/git-add.js +141 -0
- package/dist/tools/git/git-add.js.map +1 -0
- package/dist/tools/git/git-branch.d.ts +8 -0
- package/dist/tools/git/git-branch.d.ts.map +1 -0
- package/dist/tools/git/git-branch.js +251 -0
- package/dist/tools/git/git-branch.js.map +1 -0
- package/dist/tools/git/git-commit.d.ts +8 -0
- package/dist/tools/git/git-commit.d.ts.map +1 -0
- package/dist/tools/git/git-commit.js +176 -0
- package/dist/tools/git/git-commit.js.map +1 -0
- package/dist/tools/git/git-diff.d.ts +8 -0
- package/dist/tools/git/git-diff.d.ts.map +1 -0
- package/dist/tools/git/git-diff.js +136 -0
- package/dist/tools/git/git-diff.js.map +1 -0
- package/dist/tools/git/git-log.d.ts +8 -0
- package/dist/tools/git/git-log.d.ts.map +1 -0
- package/dist/tools/git/git-log.js +146 -0
- package/dist/tools/git/git-log.js.map +1 -0
- package/dist/tools/git/git-pr.d.ts +8 -0
- package/dist/tools/git/git-pr.d.ts.map +1 -0
- package/dist/tools/git/git-pr.js +252 -0
- package/dist/tools/git/git-pr.js.map +1 -0
- package/dist/tools/git/git-pull.d.ts +8 -0
- package/dist/tools/git/git-pull.d.ts.map +1 -0
- package/dist/tools/git/git-pull.js +151 -0
- package/dist/tools/git/git-pull.js.map +1 -0
- package/dist/tools/git/git-push.d.ts +8 -0
- package/dist/tools/git/git-push.d.ts.map +1 -0
- package/dist/tools/git/git-push.js +157 -0
- package/dist/tools/git/git-push.js.map +1 -0
- package/dist/tools/git/git-reset.d.ts +8 -0
- package/dist/tools/git/git-reset.d.ts.map +1 -0
- package/dist/tools/git/git-reset.js +183 -0
- package/dist/tools/git/git-reset.js.map +1 -0
- package/dist/tools/git/git-stash.d.ts +8 -0
- package/dist/tools/git/git-stash.d.ts.map +1 -0
- package/dist/tools/git/git-stash.js +260 -0
- package/dist/tools/git/git-stash.js.map +1 -0
- package/dist/tools/git/git-status.d.ts +8 -0
- package/dist/tools/git/git-status.d.ts.map +1 -0
- package/dist/tools/git/git-status.js +233 -0
- package/dist/tools/git/git-status.js.map +1 -0
- package/dist/tools/git/index.d.ts +9 -12
- package/dist/tools/git/index.d.ts.map +1 -1
- package/dist/tools/git/index.js +43 -11
- package/dist/tools/git/index.js.map +1 -1
- package/dist/tools/git/utils.d.ts +136 -23
- package/dist/tools/git/utils.d.ts.map +1 -1
- package/dist/tools/git/utils.js +405 -360
- package/dist/tools/git/utils.js.map +1 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +15 -9
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/string-replace.d.ts.map +1 -1
- package/dist/tools/string-replace.js +68 -16
- package/dist/tools/string-replace.js.map +1 -1
- package/dist/tools/tasks/create-task.d.ts +3 -0
- package/dist/tools/tasks/create-task.d.ts.map +1 -0
- package/dist/tools/tasks/create-task.js +101 -0
- package/dist/tools/tasks/create-task.js.map +1 -0
- package/dist/tools/tasks/delete-task.d.ts +3 -0
- package/dist/tools/tasks/delete-task.d.ts.map +1 -0
- package/dist/tools/tasks/delete-task.js +101 -0
- package/dist/tools/tasks/delete-task.js.map +1 -0
- package/dist/tools/tasks/index.d.ts +7 -0
- package/dist/tools/tasks/index.d.ts.map +1 -0
- package/dist/tools/tasks/index.js +6 -0
- package/dist/tools/tasks/index.js.map +1 -0
- package/dist/tools/tasks/list-tasks.d.ts +3 -0
- package/dist/tools/tasks/list-tasks.d.ts.map +1 -0
- package/dist/tools/tasks/list-tasks.js +67 -0
- package/dist/tools/tasks/list-tasks.js.map +1 -0
- package/dist/tools/tasks/storage.d.ts +7 -0
- package/dist/tools/tasks/storage.d.ts.map +1 -0
- package/dist/tools/tasks/storage.js +31 -0
- package/dist/tools/tasks/storage.js.map +1 -0
- package/dist/tools/tasks/types.d.ts +11 -0
- package/dist/tools/tasks/types.d.ts.map +1 -0
- package/dist/tools/tasks/types.js +2 -0
- package/dist/tools/tasks/types.js.map +1 -0
- package/dist/tools/tasks/update-task.d.ts +3 -0
- package/dist/tools/tasks/update-task.d.ts.map +1 -0
- package/dist/tools/tasks/update-task.js +142 -0
- package/dist/tools/tasks/update-task.js.map +1 -0
- package/dist/tools/write-file.d.ts.map +1 -1
- package/dist/tools/write-file.js +46 -2
- package/dist/tools/write-file.js.map +1 -1
- package/dist/types/app.d.ts +2 -3
- package/dist/types/app.d.ts.map +1 -1
- package/dist/types/config.d.ts +6 -0
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/file-explorer.d.ts +14 -0
- package/dist/types/file-explorer.d.ts.map +1 -0
- package/dist/types/file-explorer.js +2 -0
- package/dist/types/file-explorer.js.map +1 -0
- package/dist/types/ui.d.ts +1 -2
- package/dist/types/ui.d.ts.map +1 -1
- package/dist/utils/completion-note.d.ts +3 -0
- package/dist/utils/completion-note.d.ts.map +1 -0
- package/dist/utils/completion-note.js +39 -0
- package/dist/utils/completion-note.js.map +1 -0
- package/dist/utils/file-tree.d.ts +37 -0
- package/dist/utils/file-tree.d.ts.map +1 -0
- package/dist/utils/file-tree.js +122 -0
- package/dist/utils/file-tree.js.map +1 -0
- package/dist/utils/indentation-normalizer.d.ts +10 -0
- package/dist/utils/indentation-normalizer.d.ts.map +1 -1
- package/dist/utils/indentation-normalizer.js +48 -0
- package/dist/utils/indentation-normalizer.js.map +1 -1
- package/dist/vscode/protocol.d.ts +5 -1
- package/dist/vscode/protocol.d.ts.map +1 -1
- package/dist/vscode/vscode-server.d.ts +4 -0
- package/dist/vscode/vscode-server.d.ts.map +1 -1
- package/dist/vscode/vscode-server.js +10 -0
- package/dist/vscode/vscode-server.js.map +1 -1
- package/dist/wizards/mcp-wizard.d.ts.map +1 -1
- package/dist/wizards/mcp-wizard.js +1 -1
- package/dist/wizards/mcp-wizard.js.map +1 -1
- package/dist/wizards/provider-wizard.d.ts.map +1 -1
- package/dist/wizards/provider-wizard.js +1 -1
- package/dist/wizards/provider-wizard.js.map +1 -1
- package/dist/wizards/templates/provider-templates.d.ts.map +1 -1
- package/dist/wizards/templates/provider-templates.js +73 -8
- package/dist/wizards/templates/provider-templates.js.map +1 -1
- package/dist/wizards/validation.d.ts +3 -1
- package/dist/wizards/validation.d.ts.map +1 -1
- package/dist/wizards/validation.js +6 -0
- package/dist/wizards/validation.js.map +1 -1
- package/package.json +10 -7
- package/source/app/prompts/main-prompt.md +75 -68
- package/dist/commands/nanocoder-shape.d.ts +0 -3
- package/dist/commands/nanocoder-shape.d.ts.map +0 -1
- package/dist/commands/nanocoder-shape.js +0 -46
- package/dist/commands/nanocoder-shape.js.map +0 -1
- package/dist/commands/theme.d.ts +0 -3
- package/dist/commands/theme.d.ts.map +0 -1
- package/dist/commands/theme.js.map +0 -1
- package/dist/commands/title-shape.d.ts +0 -3
- package/dist/commands/title-shape.d.ts.map +0 -1
- package/dist/commands/title-shape.js +0 -54
- package/dist/commands/title-shape.js.map +0 -1
- package/dist/components/nanocoder-shape-selector.d.ts +0 -8
- package/dist/components/nanocoder-shape-selector.d.ts.map +0 -1
- package/dist/components/nanocoder-shape-selector.js +0 -61
- package/dist/components/nanocoder-shape-selector.js.map +0 -1
- package/dist/components/theme-selector.d.ts +0 -8
- package/dist/components/theme-selector.d.ts.map +0 -1
- package/dist/components/theme-selector.js +0 -51
- package/dist/components/theme-selector.js.map +0 -1
- package/dist/components/title-shape-selector.d.ts +0 -8
- package/dist/components/title-shape-selector.d.ts.map +0 -1
- package/dist/components/title-shape-selector.js +0 -108
- package/dist/components/title-shape-selector.js.map +0 -1
- package/dist/tools/git/git-branch-suggest.d.ts +0 -9
- package/dist/tools/git/git-branch-suggest.d.ts.map +0 -1
- package/dist/tools/git/git-branch-suggest.js +0 -326
- package/dist/tools/git/git-branch-suggest.js.map +0 -1
- package/dist/tools/git/git-create-pr.d.ts +0 -9
- package/dist/tools/git/git-create-pr.d.ts.map +0 -1
- package/dist/tools/git/git-create-pr.js +0 -404
- package/dist/tools/git/git-create-pr.js.map +0 -1
- package/dist/tools/git/git-smart-commit.d.ts +0 -9
- package/dist/tools/git/git-smart-commit.d.ts.map +0 -1
- package/dist/tools/git/git-smart-commit.js +0 -308
- package/dist/tools/git/git-smart-commit.js.map +0 -1
- package/dist/tools/git/git-status-enhanced.d.ts +0 -9
- package/dist/tools/git/git-status-enhanced.d.ts.map +0 -1
- package/dist/tools/git/git-status-enhanced.js +0 -305
- package/dist/tools/git/git-status-enhanced.js.map +0 -1
- package/dist/tools/git/types.d.ts +0 -103
- package/dist/tools/git/types.d.ts.map +0 -1
- package/dist/tools/git/types.js +0 -7
- package/dist/tools/git/types.js.map +0 -1
- package/dist/utils/gradient-utils.d.ts +0 -25
- package/dist/utils/gradient-utils.d.ts.map +0 -1
- package/dist/utils/gradient-utils.js +0 -45
- package/dist/utils/gradient-utils.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nanocoder-shape.js","sourceRoot":"","sources":["../../source/commands/nanocoder-shape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,sBAAsB,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAC,oBAAoB,EAAC,MAAM,sBAAsB,CAAC;AAI1D,MAAM,WAAW,GAAqB;IACrC,OAAO;IACP,OAAO;IACP,MAAM;IACN,MAAM;IACN,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,aAAa;IACb,IAAI;IACJ,UAAU;IACV,QAAQ;IACR,MAAM;CACN,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAY;IAC7C,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,0DAA0D;IACvE,OAAO,EAAE,KAAK,E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me.d.ts","sourceRoot":"","sources":["../../source/commands/theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,YAAY,EAAE,OAQ1B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../source/commands/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,CAAC,MAAM,YAAY,GAAY;IACpC,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,sCAAsC;IACnD,OAAO,EAAE,CAAC,KAAe,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE;QAClD,+CAA+C;QAC/C,qDAAqD;QACrD,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC7D,CAAC;CACD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"title-shape.d.ts","sourceRoot":"","sources":["../../source/commands/title-shape.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,iBAAiB,EAAE,OAsE/B,CAAC"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Text } from 'ink';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import TitleShapeSelector from '../components/title-shape-selector.js';
|
|
4
|
-
import { colors } from '../config/index.js';
|
|
5
|
-
import { updateTitleShape } from '../config/preferences.js';
|
|
6
|
-
export const titleShapeCommand = {
|
|
7
|
-
name: 'title-shape',
|
|
8
|
-
description: 'Select a title shape for Nanocoder UI components',
|
|
9
|
-
handler: async (args, _messages, _metadata) => {
|
|
10
|
-
if (args.length === 0) {
|
|
11
|
-
// Show interactive selector when no arguments provided
|
|
12
|
-
return Promise.resolve(React.createElement(TitleShapeSelector, {
|
|
13
|
-
onComplete: shape => {
|
|
14
|
-
return React.createElement(Text, { color: colors.success }, `Title shape set to: ${shape}`);
|
|
15
|
-
},
|
|
16
|
-
onCancel: () => {
|
|
17
|
-
return React.createElement(Text, { color: colors.info }, 'Title shape selection cancelled. Current shape retained.');
|
|
18
|
-
},
|
|
19
|
-
}));
|
|
20
|
-
}
|
|
21
|
-
// If a shape is provided as argument, set it directly
|
|
22
|
-
const shape = args[0];
|
|
23
|
-
const validShapes = [
|
|
24
|
-
'rounded',
|
|
25
|
-
'square',
|
|
26
|
-
'double',
|
|
27
|
-
'pill',
|
|
28
|
-
'arrow-left',
|
|
29
|
-
'arrow-right',
|
|
30
|
-
'arrow-double',
|
|
31
|
-
'angled-box',
|
|
32
|
-
'powerline-angled',
|
|
33
|
-
'powerline-angled-thin',
|
|
34
|
-
'powerline-block',
|
|
35
|
-
'powerline-block-alt',
|
|
36
|
-
'powerline-curved',
|
|
37
|
-
'powerline-curved-thin',
|
|
38
|
-
'powerline-flame',
|
|
39
|
-
'powerline-flame-thin',
|
|
40
|
-
'powerline-graph',
|
|
41
|
-
'powerline-ribbon',
|
|
42
|
-
'powerline-segment',
|
|
43
|
-
'powerline-segment-thin',
|
|
44
|
-
];
|
|
45
|
-
if (validShapes.includes(shape)) {
|
|
46
|
-
updateTitleShape(shape);
|
|
47
|
-
return Promise.resolve(React.createElement(Text, { color: colors.success }, `Title shape set to: ${shape}`));
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
return Promise.resolve(React.createElement(Text, { color: colors.error }, `Invalid shape: ${shape}. Available shapes: ${validShapes.join(', ')}`));
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
};
|
|
54
|
-
//# sourceMappingURL=title-shape.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"title-shape.js","sourceRoot":"","sources":["../../source/commands/title-shape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AACzB,O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AI,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;YACjC,gBAAgB,CAAC,KAAK,CAAC,CAAC;YACxB,OAAO,OAAO,CAAC,OAAO,CACrB,KAAK,CAAC,aAAa,CAClB,IAAI,EACJ,EAAC,KAAK,EAAE,MAAM,CAAC,OAAO,EAAC,EACvB,uBAAuB,KAAK,EAAE,CAC9B,CACD,CAAC;QACH,CAAC;aAAM,CAAC;YACP,OAAO,OAAO,CAAC,OAAO,CACrB,KAAK,CAAC,aAAa,CAClB,IAAI,EACJ,EAAC,KAAK,EAAE,MAAM,CAAC,KAAK,EAAC,EACrB,kBAAkB,KAAK,uBAAuB,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CACtE,CACD,CAAC;QACH,CAAC;IACF,CAAC;CACD,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { NanocoderShape } from '../types/ui.js';
|
|
2
|
-
interface NanocoderShapeSelectorProps {
|
|
3
|
-
onComplete: (shape: NanocoderShape) => void;
|
|
4
|
-
onCancel: () => void;
|
|
5
|
-
}
|
|
6
|
-
export default function NanocoderShapeSelector({ onComplete, onCancel, }: NanocoderShapeSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=nanocoder-shape-selector.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nanocoder-shape-selector.d.ts","sourceRoot":"","sources":["../../source/components/nanocoder-shape-selector.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAO/C,UAAU,2BAA2B;IACpC,UAAU,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC5C,QAAQ,EAAE,MAAM,IAAI,CAAC;CACrB;AAID,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAC9C,UAAU,EACV,QAAQ,GACR,EAAE,2BAA2B,2CAiI7B"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Box, Text, useFocus, useInput } from 'ink';
|
|
3
|
-
import BigText from 'ink-big-text';
|
|
4
|
-
import Gradient from 'ink-gradient';
|
|
5
|
-
import SelectInput from 'ink-select-input';
|
|
6
|
-
import { useMemo, useState } from 'react';
|
|
7
|
-
import { TitledBoxWithPreferences } from '../components/ui/titled-box.js';
|
|
8
|
-
import { getNanocoderShape } from '../config/preferences.js';
|
|
9
|
-
import { useResponsiveTerminal } from '../hooks/useTerminalWidth.js';
|
|
10
|
-
import { useTheme } from '../hooks/useTheme.js';
|
|
11
|
-
const DEFAULT_SHAPE = 'tiny';
|
|
12
|
-
export default function NanocoderShapeSelector({ onComplete, onCancel, }) {
|
|
13
|
-
const { boxWidth, isNarrow } = useResponsiveTerminal();
|
|
14
|
-
const { colors } = useTheme();
|
|
15
|
-
// Get current shape from preferences or use default
|
|
16
|
-
const savedShape = getNanocoderShape();
|
|
17
|
-
const initialShape = savedShape ?? DEFAULT_SHAPE;
|
|
18
|
-
// Store original shape for restore on cancel
|
|
19
|
-
const [originalShape] = useState(initialShape);
|
|
20
|
-
// Current preview shape
|
|
21
|
-
const [previewShape, setPreviewShape] = useState(initialShape);
|
|
22
|
-
// Auto-focus to ensure keyboard navigation works
|
|
23
|
-
useFocus({ autoFocus: true, id: 'nanocoder-shape-selector' });
|
|
24
|
-
// Handle escape key to cancel
|
|
25
|
-
useInput((_, key) => {
|
|
26
|
-
if (key.escape) {
|
|
27
|
-
onCancel();
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
// Create nanocoder shape options with descriptions
|
|
31
|
-
const shapeOptions = [
|
|
32
|
-
{ label: 'Tiny (default) - Compact, minimal style', value: 'tiny' },
|
|
33
|
-
{ label: 'Block - Bold, blocky letters', value: 'block' },
|
|
34
|
-
{ label: 'Simple - Clean, straightforward', value: 'simple' },
|
|
35
|
-
{ label: 'Simple Block - Simple with block style', value: 'simpleBlock' },
|
|
36
|
-
{ label: 'Slick - Sleek, modern look', value: 'slick' },
|
|
37
|
-
{ label: 'Grid - Grid-based pattern', value: 'grid' },
|
|
38
|
-
{ label: 'Pallet - Artistic palette style', value: 'pallet' },
|
|
39
|
-
{ label: 'Shade - Shaded 3D effect', value: 'shade' },
|
|
40
|
-
{ label: '3D - Full 3D perspective', value: '3d' },
|
|
41
|
-
{ label: 'Simple 3D - Simplified 3D look', value: 'simple3d' },
|
|
42
|
-
{ label: 'Chrome - Metallic chrome finish', value: 'chrome' },
|
|
43
|
-
{ label: 'Huge - Extra large display', value: 'huge' },
|
|
44
|
-
];
|
|
45
|
-
// Find index of current shape for initial selection
|
|
46
|
-
const initialIndex = useMemo(() => {
|
|
47
|
-
const index = shapeOptions.findIndex(option => option.value === originalShape);
|
|
48
|
-
return index >= 0 ? index : 0;
|
|
49
|
-
}, [originalShape]);
|
|
50
|
-
const handleSelect = (item) => {
|
|
51
|
-
onComplete(item.value);
|
|
52
|
-
};
|
|
53
|
-
// Handle shape preview during navigation
|
|
54
|
-
const handleHighlight = (item) => {
|
|
55
|
-
setPreviewShape(item.value);
|
|
56
|
-
};
|
|
57
|
-
// Show "NC" on narrow terminals, "Nanocoder" on wider ones
|
|
58
|
-
const displayText = isNarrow ? 'NC' : 'Nanocoder';
|
|
59
|
-
return (_jsxs(_Fragment, { children: [_jsx(Box, { marginBottom: 1, children: _jsx(Gradient, { colors: [colors.primary, colors.tool], children: _jsx(BigText, { text: displayText, font: previewShape }) }) }), _jsxs(TitledBoxWithPreferences, { title: "Choose your Nanocoder branding style!", reversePowerline: true, width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, flexDirection: "column", marginBottom: 1, children: [_jsx(Box, { paddingBottom: 1, children: _jsx(Text, { color: colors.text, children: "Select a font style for the Nanocoder welcome banner:" }) }), _jsxs(Box, { paddingBottom: 1, flexDirection: "column", children: [_jsx(Text, { color: colors.secondary, children: "1. Use arrow keys to navigate through the font options." }), _jsx(Text, { color: colors.secondary, children: "2. Watch the preview above change as you navigate." }), _jsx(Text, { color: colors.secondary, children: "3. Press Enter to select your preferred style." }), _jsx(Text, { color: colors.secondary, children: "4. Press Esc to cancel and keep your current style." })] })] }), _jsx(Box, { borderStyle: "round", width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, marginBottom: 1, children: _jsxs(Box, { flexDirection: "column", children: [_jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: colors.secondary, children: "Select a branding style" }) }), _jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: colors.secondary, children: "\u2191/\u2193 Navigate \u2022 Enter Select \u2022 Esc Cancel" }) }), _jsx(SelectInput, { items: shapeOptions, initialIndex: initialIndex, onSelect: handleSelect, onHighlight: handleHighlight })] }) })] }));
|
|
60
|
-
}
|
|
61
|
-
//# sourceMappingURL=nanocoder-shape-selector.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nanocoder-shape-selector.js","sourceRoot":"","sources":["../../source/components/nanocoder-shape-selector.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAC,MAAM,KAAK,CAAC;AAClD,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,QAAQ,MAAM,cAAc,CAAC;AACpC,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACxC,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAC,iBAAiB,EAAC,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAC,qBAAqB,EAAC,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAa1C,MAAM,aAAa,GAAmB,MAAM,CAAC;AAE7C,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3B,IACG,GACD,IACJ,CACH,CAAC;AACH,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ThemePreset } from '../types/ui.js';
|
|
2
|
-
interface ThemeSelectorProps {
|
|
3
|
-
onThemeSelect: (theme: ThemePreset) => void;
|
|
4
|
-
onCancel: () => void;
|
|
5
|
-
}
|
|
6
|
-
export default function ThemeSelector({ onThemeSelect, onCancel, }: ThemeSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=theme-selector.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme-selector.d.ts","sourceRoot":"","sources":["../../source/components/theme-selector.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,YAAY,CAAC;AAG5C,UAAU,kBAAkB;IAC3B,aAAa,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAC5C,QAAQ,EAAE,MAAM,IAAI,CAAC;CACrB;AAOD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACrC,aAAa,EACb,QAAQ,GACR,EAAE,kBAAkB,2CAiHpB"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Box, Text, useInput } from 'ink';
|
|
3
|
-
import BigText from 'ink-big-text';
|
|
4
|
-
import Gradient from 'ink-gradient';
|
|
5
|
-
import SelectInput from 'ink-select-input';
|
|
6
|
-
import { useMemo, useState } from 'react';
|
|
7
|
-
import { TitledBoxWithPreferences } from '../components/ui/titled-box.js';
|
|
8
|
-
import { themes } from '../config/themes.js';
|
|
9
|
-
import { useTerminalWidth } from '../hooks/useTerminalWidth.js';
|
|
10
|
-
import { useTheme } from '../hooks/useTheme.js';
|
|
11
|
-
import { hasCustomGradients } from '../utils/gradient-utils.js';
|
|
12
|
-
export default function ThemeSelector({ onThemeSelect, onCancel, }) {
|
|
13
|
-
const boxWidth = useTerminalWidth();
|
|
14
|
-
const { colors, currentTheme, setCurrentTheme } = useTheme();
|
|
15
|
-
const [originalTheme] = useState(currentTheme); // Store original theme for restore on cancel
|
|
16
|
-
// Handle escape key to cancel
|
|
17
|
-
useInput((_, key) => {
|
|
18
|
-
if (key.escape) {
|
|
19
|
-
// Restore original theme on cancel
|
|
20
|
-
setCurrentTheme(originalTheme);
|
|
21
|
-
onCancel();
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
// Create theme options from available themes
|
|
25
|
-
const themeOptions = Object.values(themes).map(theme => ({
|
|
26
|
-
label: theme.displayName +
|
|
27
|
-
' [' +
|
|
28
|
-
theme.themeType.charAt(0).toUpperCase() +
|
|
29
|
-
theme.themeType.slice(1) +
|
|
30
|
-
']' +
|
|
31
|
-
(theme.name === originalTheme ? ' (current)' : ''),
|
|
32
|
-
value: theme.name,
|
|
33
|
-
}));
|
|
34
|
-
// Find index of current theme for initial selection
|
|
35
|
-
const initialIndex = useMemo(() => {
|
|
36
|
-
const index = themeOptions.findIndex(option => option.value === originalTheme);
|
|
37
|
-
return index >= 0 ? index : 0;
|
|
38
|
-
}, [originalTheme, themeOptions]);
|
|
39
|
-
const [_currentIndex, _setCurrentIndex] = useState(initialIndex);
|
|
40
|
-
const handleSelect = (item) => {
|
|
41
|
-
onThemeSelect(item.value);
|
|
42
|
-
};
|
|
43
|
-
// Handle theme preview during navigation
|
|
44
|
-
const handleHighlight = (item) => {
|
|
45
|
-
setCurrentTheme(item.value);
|
|
46
|
-
};
|
|
47
|
-
return (_jsxs(_Fragment, { children: [_jsx(Gradient, { colors: hasCustomGradients(colors)
|
|
48
|
-
? colors.gradientColors
|
|
49
|
-
: [colors.primary, colors.tool], children: _jsx(BigText, { text: "Themes", font: "tiny" }) }), _jsxs(TitledBoxWithPreferences, { title: "\u273B Try out different themes! \u273B", reversePowerline: true, width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, flexDirection: "column", marginBottom: 1, children: [_jsx(Box, { paddingBottom: 1, children: _jsx(Text, { color: colors.text, children: "Tips for getting started:" }) }), _jsxs(Box, { paddingBottom: 1, flexDirection: "column", children: [_jsx(Text, { color: colors.secondary, children: "1. Use arrow keys to navigate and Enter to select." }), _jsx(Text, { color: colors.secondary, children: "2. Press Esc to cancel and revert to your original theme." }), _jsx(Text, { color: colors.secondary, children: "3. The CLI will remember your choice next time." })] }), _jsx(Text, { color: colors.text, children: "/help for help" })] }), _jsx(Box, { borderStyle: "round", width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, marginBottom: 1, children: _jsxs(Box, { flexDirection: "column", children: [_jsx(Box, { marginBottom: 1, children: _jsxs(Text, { color: colors.secondary, children: ["Select a theme (current: ", themes[currentTheme].displayName, ")"] }) }), _jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: colors.secondary, children: "\u2191/\u2193 Navigate \u2022 Enter Select \u2022 Esc Cancel" }) }), _jsx(SelectInput, { items: themeOptions, onSelect: handleSelect, onHighlight: handleHighlight })] }) })] }));
|
|
50
|
-
}
|
|
51
|
-
//# sourceMappingURL=theme-selector.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme-selector.js","sourceRoot":"","sources":["../../source/components/theme-selector.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAC,MAAM,KAAK,CAAC;AACxC,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,QAAQ,MAAM,cAAc,CAAC;AACpC,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACxC,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAC,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,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M,CAAC,SAAS,mEAEtB,EACP,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,SAAS,0EAEtB,EACP,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,SAAS,gEAEtB,IACF,EACN,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,+BAAuB,IACrB,EAC3B,KAAC,GAAG,IACH,WAAW,EAAC,OAAO,EACnB,KAAK,EAAE,QAAQ,EACf,WAAW,EAAE,MAAM,CAAC,OAAO,EAC3B,QAAQ,EAAE,CAAC,EACX,QAAQ,EAAE,CAAC,EACX,YAAY,EAAE,CAAC,YAEf,MAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,aAC1B,KAAC,GAAG,IAAC,YAAY,EAAE,CAAC,YACnB,MAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,SAAS,0CACF,MAAM,CAAC,YAAY,CAAC,CAAC,WAAW,SACpD,GACF,EAEN,KAAC,GAAG,IAAC,YAAY,EAAE,CAAC,YACnB,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,SAAS,6EAEtB,GACF,EAEN,KAAC,WAAW,IACX,KAAK,EAAE,YAAY,EACnB,QAAQ,EAAE,YAAY,EACtB,WAAW,EAAE,eAAe,GAC3B,IACG,GACD,IACJ,CACH,CAAC;AACH,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { TitleShape } from '../components/ui/styled-title.js';
|
|
2
|
-
interface TitleShapeSelectorProps {
|
|
3
|
-
onComplete: (shape: TitleShape) => void;
|
|
4
|
-
onCancel: () => void;
|
|
5
|
-
}
|
|
6
|
-
export default function TitleShapeSelector({ onComplete, onCancel, }: TitleShapeSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=title-shape-selector.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"title-shape-selector.d.ts","sourceRoot":"","sources":["../../source/components/title-shape-selector.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAC;AAW7D,UAAU,uBAAuB;IAChC,UAAU,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EAC1C,UAAU,EACV,QAAQ,GACR,EAAE,uBAAuB,2CA+KzB"}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Box, Text, useFocus, useInput } from 'ink';
|
|
3
|
-
import BigText from 'ink-big-text';
|
|
4
|
-
import Gradient from 'ink-gradient';
|
|
5
|
-
import SelectInput from 'ink-select-input';
|
|
6
|
-
import { useMemo, useState } from 'react';
|
|
7
|
-
import { TitledBoxWithPreferences } from '../components/ui/titled-box.js';
|
|
8
|
-
import { useTerminalWidth } from '../hooks/useTerminalWidth.js';
|
|
9
|
-
import { useTheme } from '../hooks/useTheme.js';
|
|
10
|
-
import { useTitleShape } from '../hooks/useTitleShape.js';
|
|
11
|
-
export default function TitleShapeSelector({ onComplete, onCancel, }) {
|
|
12
|
-
const boxWidth = useTerminalWidth();
|
|
13
|
-
const { colors } = useTheme();
|
|
14
|
-
const { currentTitleShape, setCurrentTitleShape } = useTitleShape();
|
|
15
|
-
// Store original shape for restore on cancel
|
|
16
|
-
const [originalShape] = useState(currentTitleShape);
|
|
17
|
-
// Auto-focus to ensure keyboard navigation works
|
|
18
|
-
useFocus({ autoFocus: true, id: 'title-shape-selector' });
|
|
19
|
-
// Handle escape key to cancel
|
|
20
|
-
useInput((_, key) => {
|
|
21
|
-
if (key.escape) {
|
|
22
|
-
// Restore original shape on cancel
|
|
23
|
-
setCurrentTitleShape(originalShape);
|
|
24
|
-
onCancel();
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
// Create title shape options
|
|
28
|
-
const shapeOptions = [
|
|
29
|
-
{ label: 'Pill :- Demo Title', value: 'pill' },
|
|
30
|
-
{ label: 'Rounded :- ╭ Demo Title ╮', value: 'rounded' },
|
|
31
|
-
{ label: 'Square :- ┌ Demo Title ┐', value: 'square' },
|
|
32
|
-
{ label: 'Double :- ╔ Demo Title ╗', value: 'double' },
|
|
33
|
-
{ label: 'Arrow Left :- ← Demo Title →', value: 'arrow-left' },
|
|
34
|
-
{ label: 'Arrow Right :- → Demo Title ←', value: 'arrow-right' },
|
|
35
|
-
{ label: 'Arrow Double :- « Demo Title »', value: 'arrow-double' },
|
|
36
|
-
{ label: 'Angled Box :- ╱ Demo Title ╲', value: 'angled-box' },
|
|
37
|
-
{
|
|
38
|
-
label: 'Powerline Angled :- Demo Title (Requires Nerd Fonts)',
|
|
39
|
-
value: 'powerline-angled',
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
label: 'Powerline Angled Thin :- Demo Title (Requires Nerd Fonts)',
|
|
43
|
-
value: 'powerline-angled-thin',
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
label: 'Powerline Block :- Demo Title (Requires Nerd Fonts)',
|
|
47
|
-
value: 'powerline-block',
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
label: 'Powerline Block Alt :- Demo Title (Requires Nerd Fonts)',
|
|
51
|
-
value: 'powerline-block-alt',
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
label: 'Powerline Curved :- Demo Title (Requires Nerd Fonts)',
|
|
55
|
-
value: 'powerline-curved',
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
label: 'Powerline Curved Thin :- Demo Title (Requires Nerd Fonts)',
|
|
59
|
-
value: 'powerline-curved-thin',
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
label: 'Powerline Flame :- Demo Title (Requires Nerd Fonts)',
|
|
63
|
-
value: 'powerline-flame',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
label: 'Powerline Flame Thin :- Demo Title (Requires Nerd Fonts)',
|
|
67
|
-
value: 'powerline-flame-thin',
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
label: 'Powerline Graph :- Demo Title (Requires Nerd Fonts)',
|
|
71
|
-
value: 'powerline-graph',
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
label: 'Powerline Ribbon :- Demo Title (Requires Nerd Fonts)',
|
|
75
|
-
value: 'powerline-ribbon',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
label: 'Powerline Segment :- Demo Title (Requires Nerd Fonts)',
|
|
79
|
-
value: 'powerline-segment',
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
label: 'Powerline Segment Thin :- Demo Title (Requires Nerd Fonts)',
|
|
83
|
-
value: 'powerline-segment-thin',
|
|
84
|
-
},
|
|
85
|
-
];
|
|
86
|
-
// Find index of current shape for initial selection
|
|
87
|
-
const initialIndex = useMemo(() => {
|
|
88
|
-
const index = shapeOptions.findIndex(option => option.value === originalShape);
|
|
89
|
-
return index >= 0 ? index : 0;
|
|
90
|
-
}, [originalShape]);
|
|
91
|
-
const [_currentIndex, _setCurrentIndex] = useState(initialIndex);
|
|
92
|
-
const handleSelect = (item) => {
|
|
93
|
-
setCurrentTitleShape(item.value);
|
|
94
|
-
onComplete(item.value);
|
|
95
|
-
};
|
|
96
|
-
// Handle shape preview during navigation
|
|
97
|
-
const handleHighlight = (item) => {
|
|
98
|
-
// Update the shape temporarily for preview
|
|
99
|
-
setCurrentTitleShape(item.value);
|
|
100
|
-
};
|
|
101
|
-
// Get the display name for current shape
|
|
102
|
-
const _getCurrentShapeName = () => {
|
|
103
|
-
const currentOption = shapeOptions.find(option => option.value === currentTitleShape);
|
|
104
|
-
return currentOption ? currentOption.label : 'Unknown';
|
|
105
|
-
};
|
|
106
|
-
return (_jsxs(_Fragment, { children: [_jsx(Gradient, { colors: [colors.primary, colors.tool], children: _jsx(BigText, { text: "Title Shapes", font: "tiny" }) }), _jsxs(TitledBoxWithPreferences, { title: "\u273B Choose your preferred title shape! \u273B", reversePowerline: true, width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, flexDirection: "column", marginBottom: 1, children: [_jsx(Box, { paddingBottom: 1, children: _jsx(Text, { color: colors.text, children: "Tips for getting started:" }) }), _jsxs(Box, { paddingBottom: 1, flexDirection: "column", children: [_jsx(Text, { color: colors.secondary, children: "1. Use arrow keys to navigate through the shape options." }), _jsx(Text, { color: colors.secondary, children: "2. Each option shows a preview of how the title will look." }), _jsx(Text, { color: colors.secondary, children: "3. Press Enter to select your preferred shape." }), _jsx(Text, { color: colors.secondary, children: "4. Press Esc to cancel and keep your current shape." }), _jsx(Text, { color: colors.secondary, children: "5. The CLI will remember your choice for all title boxes." })] }), _jsx(Text, { color: colors.text, children: "/help for help" })] }), _jsx(Box, { borderStyle: "round", width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, marginBottom: 1, children: _jsxs(Box, { flexDirection: "column", children: [_jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: colors.secondary, children: "Select a title shape" }) }), _jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: colors.secondary, children: "\u2191/\u2193 Navigate \u2022 Enter Select \u2022 Esc Cancel" }) }), _jsx(SelectInput, { items: shapeOptions, onSelect: handleSelect, onHighlight: handleHighlight })] }) })] }));
|
|
107
|
-
}
|
|
108
|
-
//# sourceMappingURL=title-shape-selector.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"title-shape-selector.js","sourceRoot":"","sources":["../../source/components/title-shape-selector.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAC,MAAM,KAAK,CAAC;AAClD,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,QAAQ,MAAM,cAAc,CAAC;AACpC,OAAO,WAAW,MAAM,kBAA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
|
5
|
-
* strategy recommendations based on project context.
|
|
6
|
-
*/
|
|
7
|
-
import type { NanocoderToolExport } from '../../types/core.js';
|
|
8
|
-
export declare const gitBranchSuggestTool: NanocoderToolExport;
|
|
9
|
-
//# sourceMappingURL=git-branch-suggest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"git-branch-suggest.d.ts","sourceRoot":"","sources":["../../../source/tools/git/git-branch-suggest.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AA8atD,eAAO,MAAM,oBAAoB,EAAE,mBAKlC,CAAC"}
|