Skip to content

Commit 49e180a

Browse files
Sergio SisternesCopilot
andcommitted
fix: address Copilot review feedback (#603)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3dc3dde commit 49e180a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010

1111
### Fixed
1212

13-
- `apm init` now creates `start.prompt.md` so `apm run start` works out of the box; Next Steps panel no longer references `apm compile` (#603)
13+
- `apm init` now creates `start.prompt.md` so `apm run start` works out of the box; Next Steps panel no longer references `apm compile` (#649)
1414
- Propagate headers and environment variables through OpenCode MCP adapter with defensive copies to prevent mutation (#622)
1515
### Changed
1616

src/apm_cli/commands/init.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def init(ctx, project_name, yes, plugin, verbose):
125125
start_prompt_path.write_text(START_PROMPT_TEMPLATE, encoding="utf-8")
126126
start_prompt_created = True
127127
else:
128-
logger.progress("start.prompt.md already exists, skipping")
128+
logger.progress(f"{START_PROMPT_FILENAME} already exists, skipping")
129129

130130
# Create plugin.json for plugin mode
131131
if plugin:
@@ -150,7 +150,7 @@ def init(ctx, project_name, yes, plugin, verbose):
150150
logger.progress("Created:")
151151
click.echo(" * apm.yml - Project configuration")
152152
if start_prompt_created:
153-
click.echo(" * start.prompt.md - Starter prompt")
153+
click.echo(f" * {START_PROMPT_FILENAME} - Starter prompt")
154154
if plugin:
155155
click.echo(" * plugin.json - Plugin metadata")
156156

@@ -166,7 +166,7 @@ def init(ctx, project_name, yes, plugin, verbose):
166166
next_steps = [
167167
"Install a runtime: apm runtime setup copilot",
168168
"Add APM dependencies: apm install <owner>/<repo>",
169-
"Edit your prompt: start.prompt.md",
169+
"Edit your prompt: start.prompt.md (or .apm/prompts/start.prompt.md)",
170170
"Run your first workflow: apm run start",
171171
]
172172

0 commit comments

Comments
 (0)