Skip to content

Rename agent entity from "agentdef" to "agent"#1

Merged
aggeentik merged 3 commits intomainfrom
issue/agent_entity_rename
Oct 20, 2025
Merged

Rename agent entity from "agentdef" to "agent"#1
aggeentik merged 3 commits intomainfrom
issue/agent_entity_rename

Conversation

@aggeentik
Copy link
Contributor

No description provided.

@aggeentik aggeentik requested a review from krmrn42 October 18, 2025 20:37
@aggeentik aggeentik self-assigned this Oct 18, 2025
Copy link
Member

@krmrn42 krmrn42 left a comment

Choose a reason for hiding this comment

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

I suggest to name the claim "agent_name" as it matches the UI and YAML model.

src/index.js Outdated
if (!agentDefinitionName) {
throw new Error('claims must include an "agent_definition" key');
// Extract agent from claims
const agentName = claims.agent;
Copy link
Member

Choose a reason for hiding this comment

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

we still call this "Agent Name" in the portal UI and YAML, so I suggest keep it "agent_name" in the action parameters.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you, fixed. Pls let me know what else I've missed during refactoring.

@aggeentik aggeentik merged commit 9adfe01 into main Oct 20, 2025
1 check passed
@aggeentik aggeentik deleted the issue/agent_entity_rename branch October 20, 2025 16:42
@aggeentik aggeentik removed their assignment Nov 24, 2025
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.

2 participants