docs: align agent discovery and project help with configured access

This commit is contained in:
HumbleTurtle
2026-09-10 04:21:04 -03:00
parent cec2f88375
commit c179581d58
+12 -10
View File
@@ -5790,14 +5790,16 @@ Subcommands:
help Show this help. help Show this help.
First-time flow: First-time flow:
1. From a fresh project directory, run `nap project init`. 1. Run `nap auth login` to configure your shared account session
The CLI will create a new project for you and write the in your OS user data folder. For delegated access, configure
worker bearer to ./.napseer/auth.json. It also writes the `nap auth api-key --env VARIABLE_NAME` instead.
non-secret ./.napseer/project.json locator for Git. 2. From your project directory, run `nap init`. It uses the
2. To attach a directory to a project you already own, run committed ./.napseer/project.json locator when present, or
`nap project attach` and sign in via the browser. A cloned creates a project owned by your configured account.
3. To attach a directory to a project you already own, run
`nap project attach`. A cloned
repository with a locator will never auto-create a duplicate. repository with a locator will never auto-create a duplicate.
3. To check what is attached, run `nap project status`. 4. To check what is attached, run `nap project status`.
""" """
@@ -14924,7 +14926,7 @@ def raw_tools():
}, },
{ {
"name": "nap_update_self", "name": "nap_update_self",
"description": "Update this local MCP wrapper file from Napseer's hosted script directory. Requires confirm='update'. Does not modify ./.napseer/auth.json.", "description": "Update the local runtime from Napseer's hosted script directory. Requires confirm='update'. Preserves credentials and project locators.",
"inputSchema": { "inputSchema": {
"type": "object", "type": "object",
"required": ["confirm"], "required": ["confirm"],
@@ -15505,7 +15507,7 @@ def raw_tools():
}, },
{ {
"name": "nap_project_create", "name": "nap_project_create",
"description": "Create a Napseer project and store it as the current project in ./.napseer/auth.json.", "description": "Create a Napseer project owned by the configured account and select it locally. Credentials remain in the configured credential store; repository state records project selection.",
"inputSchema": { "inputSchema": {
"type": "object", "type": "object",
"required": ["slug", "name"], "required": ["slug", "name"],
@@ -16044,7 +16046,7 @@ def raw_tools():
}, },
{ {
"name": "nap_claim_account", "name": "nap_claim_account",
"description": "Start the login/claim flow for the current anonymous account and update ./.napseer/auth.json when the loopback callback completes.", "description": "Claim an existing legacy anonymous project through the browser and update its selected credential store when the loopback callback completes.",
"inputSchema": { "inputSchema": {
"type": "object", "type": "object",
"properties": { "properties": {