You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4a96140
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(prompts): move the shared prompt helpers into core/prompt and git/git.prompt
The prompt helpers no longer live in projects/project.create.prompt.ts
and projects/project.update.prompt.ts. The generic ones - askText,
askOptionalText, askOption, answered, checkLength, noteTruncation and
the UxLike / PromptDeps / Choice types - are in src/core/prompt.ts, and
the GitHub ones - askBranch, findRepository, repositorySearchTerm - are
in src/git/git.prompt.ts, with repositoryLabel in git.presenter.ts.
Imports across the commands, core, deployments, environments, functions,
git, organizations, projects and transport modules point at the new
homes, and the tests move with them.
This lands on top of 366257f (fix(prompts): never answer a prompt with
something that is not on its list), whose changes to the old prompt
file are carried into the new one: the fixed-option picker is askOption
and asks a plain 'list', so it takes no typed text, while the
organization and project pickers stay on 'search-list' with its refusal
of unlisted answers.
The .talismanrc checksums are refreshed for the files this touches, and
src/environments/environment.inputs.test.ts gets the same filename-only
exemption as the other environments files: Talisman reads "env" in its
name as a possible .env file.
The pre-push scan reads whole changed files, so the files whose imports
this rewrites also get per-file checksum entries: it flags their key,
pass and token identifiers and the fixture uid, none of which is a
secret.
#claude_code#
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments