Skip to content

Adds spo agent add command. Closes #6763#6853

Merged
MartinM85 merged 1 commit intopnp:mainfrom
mkm17:isues/6763_spo_agent_add
Mar 11, 2026
Merged

Adds spo agent add command. Closes #6763#6853
MartinM85 merged 1 commit intopnp:mainfrom
mkm17:isues/6763_spo_agent_add

Conversation

@mkm17
Copy link
Contributor

@mkm17 mkm17 commented Aug 19, 2025

Closes #6763.

In the issue, there was a discussion on how to check the type of a particular source URL. I found a method that uses search and Path. Based on this, we can differentiate whether the URL points to a folder or a subsite, for example. Let me know what you think about this approach.

Additionally, I made the description parameter mandatory. During testing, I noticed that the agent shows an error when it is not set.

@mkm17 mkm17 force-pushed the isues/6763_spo_agent_add branch from cce494d to eaa205c Compare August 19, 2025 20:25
@milanholemans
Copy link
Contributor

Thanks @mkm17, we'll try to review it ASAP!

@martinlingstuyl martinlingstuyl self-assigned this Nov 3, 2025
@MartinM85
Copy link
Contributor

Hi @mkm17, could you please rebase the branch with the latest master? In meantime, we have update Zod to the new version. The doc should also contain the permissions section.

Thank you and we apologize for not starting the review sooner.

@milanholemans milanholemans marked this pull request as draft March 6, 2026 22:29
@mkm17 mkm17 force-pushed the isues/6763_spo_agent_add branch from eaa205c to b8ca379 Compare March 7, 2026 21:44
@mkm17
Copy link
Contributor Author

mkm17 commented Mar 7, 2026

@MartinM85 Hi, I have updated the branch, so it is ready for review!

@mkm17 mkm17 marked this pull request as ready for review March 7, 2026 22:01
Copy link
Contributor

@MartinM85 MartinM85 left a comment

Choose a reason for hiding this comment

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

Great work @mkm17 🚀

Just a few minor suggestions from my side.

@MartinM85 MartinM85 marked this pull request as draft March 8, 2026 20:32
@mkm17 mkm17 force-pushed the isues/6763_spo_agent_add branch from b8ca379 to 87a0873 Compare March 9, 2026 22:12
@mkm17 mkm17 marked this pull request as ready for review March 9, 2026 22:17
Copy link
Contributor

@MartinM85 MartinM85 left a comment

Choose a reason for hiding this comment

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

Approved. I will merge it later.

@MartinM85 MartinM85 merged commit ead756d into pnp:main Mar 11, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New command: spo agent add

4 participants