Skip to content

feat: add project-name option to preview create#970

Merged
notgitika merged 2 commits intopreviewfrom
feature/add-project-name-create-preview
Apr 27, 2026
Merged

feat: add project-name option to preview create#970
notgitika merged 2 commits intopreviewfrom
feature/add-project-name-create-preview

Conversation

@tejaskash
Copy link
Copy Markdown
Contributor

Summary

Adds an optional --project-name flag to agentcore create on preview so the project/folder name can be set independently from the resource name supplied by --name.

On preview, default create produces a harness. With this change, --name identifies the harness resource while --project-name controls the generated project name and directory. Existing calls without --project-name keep the prior behavior.

Validation

  • npm run build
  • Created a real preview harness project with: node dist/cli/index.mjs create --project-name CliProjPrevFinal --name CliHarnessResourceFinal123456 --skip-git --skip-install --json --output-dir /tmp/agentcore-cli-create-check-preview-final
  • Verified agentcore.json has project CliProjPrevFinal, harness CliHarnessResourceFinal123456, path app/CliHarnessResourceFinal123456, and the harness config exists.

@github-actions github-actions Bot added agentcore-harness-reviewing AgentCore Harness review in progress and removed agentcore-harness-reviewing AgentCore Harness review in progress labels Apr 25, 2026
@tejaskash tejaskash marked this pull request as ready for review April 27, 2026 15:49
Comment thread src/cli/commands/create/harness-validate.ts
@tejaskash tejaskash changed the title Add project-name option to preview create feat: add project-name option to preview create Apr 27, 2026
Copy link
Copy Markdown
Contributor

@notgitika notgitika left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@notgitika notgitika merged commit a19fc8f into preview Apr 27, 2026
@notgitika notgitika deleted the feature/add-project-name-create-preview branch April 27, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants