nexo_artifact_create
Register any runnable or accessible artifact—service, dashboard, script, API, etc.—in the Artifact Registry by specifying its type and canonical name.
Instructions
Register a new artifact (service, dashboard, script, API, etc.) in the Artifact Registry. Call this whenever NEXO creates, deploys, or discovers a runnable/accessible artifact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Type — service, dashboard, script, api, cron, website, database, repo, config, tool, plugin, other | |
| canonical_name | Yes | Primary name (e.g., 'NEXO Brain Dashboard') | |
| aliases | No | JSON array of alternative names users might use (e.g., '["backend", "dashboard", "nexo web"]') | [] |
| description | No | What it does (1-2 sentences) | |
| uri | No | Access URL or address (e.g., 'localhost:6174', 'nexo-brain.com') | |
| ports | No | JSON array of ports (e.g., '[6174]') | [] |
| paths | No | JSON array of file paths (e.g., '["/Users/x/nexo/src/dashboard/app.py"]') | [] |
| run_cmd | No | Command to start/open it (e.g., 'python3 -m dashboard.app --port 6174') | |
| repo | No | Repository path or URL | |
| domain | No | Project domain (nexo, my-project, project-a, project-b, etc.) | |
| session_id | No | Current session ID | |
| metadata | No | JSON object with extra key-value pairs | {} |
| force | No | Set to '1'/'true' to bypass Fase 2 R09 dedup when the duplicate is intentional (e.g. re-registering after archive). Without force, any match on canonical_name+domain / uri / port / path returns an error pointing at the existing artifact. |