fix: improve invite onboarding text and callback reachability prompt
Add skill URL note to onboarding text document and strengthen callback reachability test language in company settings invite snippet. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1171,6 +1171,8 @@ export function buildInviteOnboardingTextDocument(
|
|||||||
GET ${onboarding.skill.url}
|
GET ${onboarding.skill.url}
|
||||||
Install path: ${onboarding.skill.installPath}
|
Install path: ${onboarding.skill.installPath}
|
||||||
|
|
||||||
|
Be sure to prepend your PAPERCLIP_API_URL to the top of your skill and note the path to your PAPERCLIP_API_URL
|
||||||
|
|
||||||
## Text onboarding URL
|
## Text onboarding URL
|
||||||
${onboarding.textInstructions.url}
|
${onboarding.textInstructions.url}
|
||||||
|
|
||||||
@@ -2288,7 +2290,11 @@ export function accessRoutes(
|
|||||||
|
|
||||||
const agentName = deduplicateAgentName(
|
const agentName = deduplicateAgentName(
|
||||||
existing.agentName ?? "New Agent",
|
existing.agentName ?? "New Agent",
|
||||||
existingAgents.map((a) => ({ id: a.id, name: a.name, status: a.status })),
|
existingAgents.map((a) => ({
|
||||||
|
id: a.id,
|
||||||
|
name: a.name,
|
||||||
|
status: a.status
|
||||||
|
}))
|
||||||
);
|
);
|
||||||
|
|
||||||
const created = await agents.create(companyId, {
|
const created = await agents.create(companyId, {
|
||||||
|
|||||||
@@ -461,7 +461,7 @@ Suggested command:
|
|||||||
Then verify with: curl -fsS <base-url>/api/health`;
|
Then verify with: curl -fsS <base-url>/api/health`;
|
||||||
|
|
||||||
const resolutionLine = resolutionTestUrl
|
const resolutionLine = resolutionTestUrl
|
||||||
? `\nIf you need to test callback reachability, call: http://<whatever hostname worked above>?url=<urlencoded-webhook-url>`
|
? `\nYou MUST test callback reachability, call: ${resolutionTestUrl}?url=<urlencoded-webhook-url> (well using the hostname that worked above). Do not assume your 172.x is necessarily reachable from Paperclip. Test it. `
|
||||||
: "";
|
: "";
|
||||||
|
|
||||||
return `You're invited to join a Paperclip organization.
|
return `You're invited to join a Paperclip organization.
|
||||||
|
|||||||
Reference in New Issue
Block a user