@winning-sales/nexo 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +88 -4
- package/assets/docs/pages.json +1 -1
- package/assets/skills/nexo-automations/SKILL.md +12 -0
- package/dist/commands/artifacts.js +118 -0
- package/dist/commands/brain.js +217 -0
- package/dist/commands/document-negotiation.js +60 -0
- package/dist/commands/document-templates.js +76 -0
- package/dist/commands/documents.js +215 -0
- package/dist/commands/logout.js +14 -3
- package/dist/commands/skills.js +130 -10
- package/dist/commands/templates.js +279 -0
- package/dist/commands/whoami.js +5 -6
- package/dist/documents/answers-file.js +91 -0
- package/dist/documents/journey-api.js +110 -0
- package/dist/documents/journey.types.js +1 -0
- package/dist/documents/summary.js +102 -0
- package/dist/documents/transfer.js +42 -0
- package/dist/http/problem.js +32 -2
- package/dist/input/confirm.js +21 -0
- package/dist/program-artifacts.js +37 -0
- package/dist/program-brain.js +111 -0
- package/dist/program-documents.js +150 -0
- package/dist/program-templates.js +97 -0
- package/dist/program.js +25 -9
- package/dist/skills/bundled-freshness.js +39 -0
- package/dist/skills/remote-skills.js +45 -0
- package/dist/skills/sync-skills.js +50 -0
- package/dist/skills/targets.js +1 -4
- package/dist/skills/user-skills.js +145 -0
- package/dist/tools/tool-manifest.js +211 -0
- package/package.json +2 -2
- package/reference.json +1318 -5
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { existsSync, mkdirSync, readdirSync, rmSync, writeFileSync } from 'node:fs';
|
|
2
|
+
import { join } from 'node:path';
|
|
3
|
+
import { parseSkill } from './skill-files.js';
|
|
4
|
+
const SKILL_NAME = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
|
|
5
|
+
const MINIMUM_SKILLS = 1;
|
|
6
|
+
function isEntry(value) {
|
|
7
|
+
if (typeof value !== 'object' || value === null || !('name' in value) || !('file' in value)) {
|
|
8
|
+
return false;
|
|
9
|
+
}
|
|
10
|
+
return typeof value.name === 'string' && SKILL_NAME.test(value.name) && value.file === `${value.name}.md`;
|
|
11
|
+
}
|
|
12
|
+
function skillsListOf(parsed) {
|
|
13
|
+
return typeof parsed === 'object' && parsed !== null && 'skills' in parsed ? parsed.skills : undefined;
|
|
14
|
+
}
|
|
15
|
+
export function skillEntriesOf(json) {
|
|
16
|
+
const skills = skillsListOf(JSON.parse(json));
|
|
17
|
+
if (!Array.isArray(skills) || skills.length < MINIMUM_SKILLS || !skills.every(isEntry)) {
|
|
18
|
+
throw new Error('the skills index is not { skills: [{ name, file }] } with a file named after each skill; the format probably changed');
|
|
19
|
+
}
|
|
20
|
+
return skills;
|
|
21
|
+
}
|
|
22
|
+
async function checkedSkill(base, entry, download) {
|
|
23
|
+
const content = await download(`${base}/${entry.file}`);
|
|
24
|
+
const skill = parseSkill(content);
|
|
25
|
+
if (skill.name !== entry.name || skill.description === '' || skill.body === '') {
|
|
26
|
+
throw new Error(`${entry.file} is not the SKILL.md of ${entry.name}`);
|
|
27
|
+
}
|
|
28
|
+
return content;
|
|
29
|
+
}
|
|
30
|
+
export async function syncSkills(directory, base, download) {
|
|
31
|
+
const entries = skillEntriesOf(await download(`${base}/index.json`));
|
|
32
|
+
const contents = await Promise.all(entries.map((entry) => checkedSkill(base, entry, download)));
|
|
33
|
+
const wanted = new Set(entries.map((entry) => entry.name));
|
|
34
|
+
const present = existsSync(directory)
|
|
35
|
+
? readdirSync(directory, { withFileTypes: true })
|
|
36
|
+
.filter((entry) => entry.isDirectory())
|
|
37
|
+
.map((entry) => entry.name)
|
|
38
|
+
: [];
|
|
39
|
+
const removed = present.filter((name) => !wanted.has(name));
|
|
40
|
+
for (const name of removed) {
|
|
41
|
+
rmSync(join(directory, name), { recursive: true });
|
|
42
|
+
}
|
|
43
|
+
const written = entries.map((entry, position) => {
|
|
44
|
+
const target = join(directory, entry.name, 'SKILL.md');
|
|
45
|
+
mkdirSync(join(directory, entry.name), { recursive: true });
|
|
46
|
+
writeFileSync(target, contents[position] ?? '');
|
|
47
|
+
return entry.name;
|
|
48
|
+
});
|
|
49
|
+
return { written, removed };
|
|
50
|
+
}
|
package/dist/skills/targets.js
CHANGED
|
@@ -7,9 +7,6 @@ function writeFile(path, content) {
|
|
|
7
7
|
writeFileSync(path, content);
|
|
8
8
|
return path;
|
|
9
9
|
}
|
|
10
|
-
function cursorRule(skill) {
|
|
11
|
-
return `---\ndescription: ${skill.description}\nglobs:\nalwaysApply: false\n---\n\n${skill.body}\n`;
|
|
12
|
-
}
|
|
13
10
|
function agentsBlock(skills) {
|
|
14
11
|
const lines = skills.map((skill) => `- \`.nexo/skills/${skill.name}.md\`: ${skill.description}`);
|
|
15
12
|
return [
|
|
@@ -44,7 +41,7 @@ export function installSkills(directory, target, skills) {
|
|
|
44
41
|
return skills.map((skill) => writeFile(join(directory, '.claude', 'skills', skill.name, 'SKILL.md'), skill.content));
|
|
45
42
|
}
|
|
46
43
|
if (target === 'cursor') {
|
|
47
|
-
return skills.map((skill) => writeFile(join(directory, '.cursor', '
|
|
44
|
+
return skills.map((skill) => writeFile(join(directory, '.cursor', 'skills', skill.name, 'SKILL.md'), skill.content));
|
|
48
45
|
}
|
|
49
46
|
return installAgents(directory, skills);
|
|
50
47
|
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
|
|
2
|
+
import { homedir } from 'node:os';
|
|
3
|
+
import { dirname, join } from 'node:path';
|
|
4
|
+
import { LEVEL_LABELS } from './remote-skills.js';
|
|
5
|
+
export const USER_TOOLS = ['claude', 'cursor', 'codex'];
|
|
6
|
+
const USER_DIRECTORIES = {
|
|
7
|
+
claude: ['.claude', 'skills'],
|
|
8
|
+
cursor: ['.cursor', 'skills'],
|
|
9
|
+
codex: ['.codex', 'skills']
|
|
10
|
+
};
|
|
11
|
+
const CURSOR_READS = ['claude', 'codex'];
|
|
12
|
+
const MARKER = '.nexo-profile';
|
|
13
|
+
const TOOL_OF_TARGET = { claude: 'claude', cursor: 'cursor', agents: 'codex' };
|
|
14
|
+
export function homeOf(env) {
|
|
15
|
+
return env.HOME ?? homedir();
|
|
16
|
+
}
|
|
17
|
+
export function userSkillsDirectory(home, tool) {
|
|
18
|
+
return join(home, ...USER_DIRECTORIES[tool]);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The tools that receive the skills of the client. Cursor also reads the folders of Claude Code and of Codex, so whoever uses Cursor with
|
|
22
|
+
* one of them gets each skill in a single folder (the one of Claude Code, when it is there), or Cursor would load it twice.
|
|
23
|
+
*/
|
|
24
|
+
export function userToolsFor(home, targets) {
|
|
25
|
+
const chosen = new Set(targets.map((target) => TOOL_OF_TARGET[target]));
|
|
26
|
+
if (!chosen.has('cursor')) {
|
|
27
|
+
return USER_TOOLS.filter((tool) => chosen.has(tool));
|
|
28
|
+
}
|
|
29
|
+
const reader = CURSOR_READS.find((tool) => chosen.has(tool) || existsSync(dirname(userSkillsDirectory(home, tool))));
|
|
30
|
+
return [reader ?? 'cursor'];
|
|
31
|
+
}
|
|
32
|
+
function slugOf(text) {
|
|
33
|
+
return text
|
|
34
|
+
.toLowerCase()
|
|
35
|
+
.replace(/[^a-z0-9]+/g, '-')
|
|
36
|
+
.replace(/^-+|-+$/g, '');
|
|
37
|
+
}
|
|
38
|
+
export function folderNameOf(profile, skill) {
|
|
39
|
+
const test = skill.status === 'tentative' ? 'em-teste-' : '';
|
|
40
|
+
return `nexo-${slugOf(profile)}-${test}${slugOf(skill.name)}`;
|
|
41
|
+
}
|
|
42
|
+
function oneLine(text) {
|
|
43
|
+
return text.replace(/\s+/g, ' ').trim();
|
|
44
|
+
}
|
|
45
|
+
export function userSkillFileOf(profile, skill, now) {
|
|
46
|
+
const test = skill.status === 'tentative' ? '[em teste, só nesta máquina] ' : '';
|
|
47
|
+
return [
|
|
48
|
+
'---',
|
|
49
|
+
`name: ${folderNameOf(profile, skill)}`,
|
|
50
|
+
`description: ${JSON.stringify(`${test}${oneLine(skill.description)}`)}`,
|
|
51
|
+
'metadata:',
|
|
52
|
+
` nexo-profile: ${JSON.stringify(profile)}`,
|
|
53
|
+
` nexo-level: ${skill.level}`,
|
|
54
|
+
` nexo-level-label: ${LEVEL_LABELS[skill.level]}`,
|
|
55
|
+
` nexo-version: ${JSON.stringify(skill.version)}`,
|
|
56
|
+
` nexo-installed-at: ${now.toISOString()}`,
|
|
57
|
+
'---',
|
|
58
|
+
'',
|
|
59
|
+
skill.body.trim(),
|
|
60
|
+
''
|
|
61
|
+
].join('\n');
|
|
62
|
+
}
|
|
63
|
+
function foldersOf(directory, profile) {
|
|
64
|
+
if (!existsSync(directory)) {
|
|
65
|
+
return [];
|
|
66
|
+
}
|
|
67
|
+
return readdirSync(directory, { withFileTypes: true })
|
|
68
|
+
.filter((entry) => entry.isDirectory() && entry.name.startsWith('nexo-'))
|
|
69
|
+
.map((entry) => join(directory, entry.name))
|
|
70
|
+
.filter((folder) => {
|
|
71
|
+
const marker = join(folder, MARKER);
|
|
72
|
+
return existsSync(marker) && readFileSync(marker, 'utf8').trim() === profile;
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/** Removes what this profile left in the three folders of the user; the product skills of the project and other profiles stay. */
|
|
76
|
+
export function removeUserSkills(home, profile) {
|
|
77
|
+
const removed = USER_TOOLS.flatMap((tool) => foldersOf(userSkillsDirectory(home, tool), profile));
|
|
78
|
+
for (const folder of removed) {
|
|
79
|
+
rmSync(folder, { recursive: true, force: true });
|
|
80
|
+
}
|
|
81
|
+
return removed;
|
|
82
|
+
}
|
|
83
|
+
const VERSION_LINE = /^ {2}nexo-version: (.*)$/m;
|
|
84
|
+
const LEVEL_LINE = /^ {2}nexo-level: (.*)$/m;
|
|
85
|
+
const INSTALLED_AT_LINE = /^( {2}nexo-installed-at: ).*$/m;
|
|
86
|
+
function isCurrent(folder, profile, entry) {
|
|
87
|
+
const marker = join(folder, MARKER);
|
|
88
|
+
const file = join(folder, 'SKILL.md');
|
|
89
|
+
if (!existsSync(marker) || !existsSync(file) || readFileSync(marker, 'utf8').trim() !== profile) {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
const content = readFileSync(file, 'utf8');
|
|
93
|
+
const version = VERSION_LINE.exec(content)?.[1];
|
|
94
|
+
const level = LEVEL_LINE.exec(content)?.[1];
|
|
95
|
+
return version === JSON.stringify(entry.version) && level === entry.level;
|
|
96
|
+
}
|
|
97
|
+
function folderOf(home, tool, profile, entry) {
|
|
98
|
+
return join(userSkillsDirectory(home, tool), folderNameOf(profile, entry));
|
|
99
|
+
}
|
|
100
|
+
function writeSkill(folder, profile, fresh, now) {
|
|
101
|
+
mkdirSync(folder, { recursive: true });
|
|
102
|
+
writeFileSync(join(folder, MARKER), `${profile}\n`);
|
|
103
|
+
const file = join(folder, 'SKILL.md');
|
|
104
|
+
writeFileSync(file, userSkillFileOf(profile, fresh, now));
|
|
105
|
+
return file;
|
|
106
|
+
}
|
|
107
|
+
function refreshDate(folder, now) {
|
|
108
|
+
const file = join(folder, 'SKILL.md');
|
|
109
|
+
writeFileSync(file, readFileSync(file, 'utf8').replace(INSTALLED_AT_LINE, `$1${now.toISOString()}`));
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Brings the folders of the user to what the API lists for the profile, comparing versions instead of wiping and rewriting: a skill whose
|
|
113
|
+
* version did not change is neither downloaded nor rewritten (only its date is refreshed, which is what the "older than a day" rule reads),
|
|
114
|
+
* a new or changed one is written, and what left the reach is removed. Every body is downloaded before anything is touched, so a network
|
|
115
|
+
* failure in the middle leaves the folders as they were.
|
|
116
|
+
*/
|
|
117
|
+
export async function syncUserSkills(home, tools, profile, entries, load, now = new Date()) {
|
|
118
|
+
const slots = tools.flatMap((tool) => entries.map((entry) => {
|
|
119
|
+
const folder = folderOf(home, tool, profile, entry);
|
|
120
|
+
return { folder, entry, current: isCurrent(folder, profile, entry) };
|
|
121
|
+
}));
|
|
122
|
+
const stale = new Set(slots.filter((slot) => !slot.current).map((slot) => slot.entry));
|
|
123
|
+
const loaded = await Promise.all([...stale].map(load));
|
|
124
|
+
const bodies = new Map(loaded.map((skill) => [skill.name, skill]));
|
|
125
|
+
const wanted = new Set(slots.map((slot) => slot.folder));
|
|
126
|
+
const removed = USER_TOOLS.flatMap((tool) => foldersOf(userSkillsDirectory(home, tool), profile)).filter((folder) => !wanted.has(folder));
|
|
127
|
+
for (const folder of removed) {
|
|
128
|
+
rmSync(folder, { recursive: true, force: true });
|
|
129
|
+
}
|
|
130
|
+
const written = slots.flatMap((slot) => {
|
|
131
|
+
const fresh = bodies.get(slot.entry.name);
|
|
132
|
+
if (slot.current || fresh === undefined) {
|
|
133
|
+
refreshDate(slot.folder, now);
|
|
134
|
+
return [];
|
|
135
|
+
}
|
|
136
|
+
return [writeSkill(slot.folder, profile, fresh, now)];
|
|
137
|
+
});
|
|
138
|
+
const upToDate = entries
|
|
139
|
+
.filter((entry) => !stale.has(entry))
|
|
140
|
+
.map((entry) => entry.name);
|
|
141
|
+
return { written, upToDate, removed };
|
|
142
|
+
}
|
|
143
|
+
export function installedUserTools(home, profile, skill) {
|
|
144
|
+
return USER_TOOLS.filter((tool) => existsSync(join(userSkillsDirectory(home, tool), folderNameOf(profile, skill), 'SKILL.md')));
|
|
145
|
+
}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Manifesto `comando → toolKey` da CLI (nexu-api#3747, PR 6 do card 1a).
|
|
3
|
+
*
|
|
4
|
+
* Cada comando invocável declara a chave da ferramenta que ele usa no produto, ou `none` com o motivo.
|
|
5
|
+
* A lista é escrita à mão, com teste de fechamento (test/tool-manifest.spec.ts): comando novo sem
|
|
6
|
+
* entrada aqui quebra o teste. Não é gerada, por decisão do dono (19/11/2026).
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Espelho do vocabulário `TOOL_KEYS` do nexu-api (src/core/tools/keys/*.types.ts, branch milestone/cerebro-skills).
|
|
10
|
+
* Chave nova no nexu-api pede uma linha aqui; o teste acusa chave do manifesto que não esteja nesta lista.
|
|
11
|
+
*/
|
|
12
|
+
export const TOOL_KEYS = [
|
|
13
|
+
'access_apply',
|
|
14
|
+
'access_change_get',
|
|
15
|
+
'access_changes_list',
|
|
16
|
+
'access_explain_record',
|
|
17
|
+
'access_member_add',
|
|
18
|
+
'access_member_deactivate',
|
|
19
|
+
'access_member_person_set',
|
|
20
|
+
'access_member_reactivate',
|
|
21
|
+
'access_members',
|
|
22
|
+
'access_member_seat_set',
|
|
23
|
+
'access_owner_kind_set',
|
|
24
|
+
'access_owners',
|
|
25
|
+
'access_preview',
|
|
26
|
+
'access_profile_archive',
|
|
27
|
+
'access_profile_create',
|
|
28
|
+
'access_profile_get',
|
|
29
|
+
'access_profiles',
|
|
30
|
+
'access_profile_suggest',
|
|
31
|
+
'access_undo',
|
|
32
|
+
'account_get',
|
|
33
|
+
'agent_document_version_html',
|
|
34
|
+
'analyses',
|
|
35
|
+
'analysis_change',
|
|
36
|
+
'app_guide',
|
|
37
|
+
'automation_apply',
|
|
38
|
+
'automation_change',
|
|
39
|
+
'automations',
|
|
40
|
+
'billing',
|
|
41
|
+
'catalog_change',
|
|
42
|
+
'catalog_products',
|
|
43
|
+
'change_apply',
|
|
44
|
+
'change_undo',
|
|
45
|
+
'chat_assume',
|
|
46
|
+
'configuration_apply',
|
|
47
|
+
'configuration_change',
|
|
48
|
+
'connect_agents',
|
|
49
|
+
'connector_access',
|
|
50
|
+
'connector_change_apply',
|
|
51
|
+
'connector_change_preview',
|
|
52
|
+
'connector_get',
|
|
53
|
+
'connector_quarantine',
|
|
54
|
+
'connector_rehearse',
|
|
55
|
+
'connector_run_get',
|
|
56
|
+
'connector_runs',
|
|
57
|
+
'connectors_list',
|
|
58
|
+
'connector_version_write',
|
|
59
|
+
'connect_sdk',
|
|
60
|
+
'connect_systems',
|
|
61
|
+
'contact_change',
|
|
62
|
+
'contact_get',
|
|
63
|
+
'contact_report_generate',
|
|
64
|
+
'context_note_create',
|
|
65
|
+
'conversation_read',
|
|
66
|
+
'conversations_find',
|
|
67
|
+
'crm_label_change',
|
|
68
|
+
'crm_lead_routing',
|
|
69
|
+
'crm_lead_routing_absence_preview',
|
|
70
|
+
'crm_lead_routing_absence_set',
|
|
71
|
+
'crm_lead_routing_rules_preview',
|
|
72
|
+
'crm_lead_routing_rules_save',
|
|
73
|
+
'crm_lead_source_create',
|
|
74
|
+
'crm_lead_sources',
|
|
75
|
+
'crm_lead_source_set',
|
|
76
|
+
'crm_pipeline_change',
|
|
77
|
+
'crm_property_change',
|
|
78
|
+
'dashboard_apply',
|
|
79
|
+
'dashboard_change',
|
|
80
|
+
'dashboards',
|
|
81
|
+
'dashboards_alert_change',
|
|
82
|
+
'dashboards_alert_create',
|
|
83
|
+
'dashboards_alert_firings',
|
|
84
|
+
'dashboards_alert_remove',
|
|
85
|
+
'dashboards_alerts',
|
|
86
|
+
'dashboards_public_link_create',
|
|
87
|
+
'dashboards_public_link_revoke',
|
|
88
|
+
'dashboards_public_links',
|
|
89
|
+
'dashboards_public_link_update',
|
|
90
|
+
'deal_brief',
|
|
91
|
+
'deal_field_set',
|
|
92
|
+
'deal_next_step_set',
|
|
93
|
+
'deals_find',
|
|
94
|
+
'document_context',
|
|
95
|
+
'document_outputs',
|
|
96
|
+
'documents',
|
|
97
|
+
'document_write',
|
|
98
|
+
'field_review',
|
|
99
|
+
'file_create',
|
|
100
|
+
'files',
|
|
101
|
+
'how_it_works',
|
|
102
|
+
'integration_health',
|
|
103
|
+
'knowledge_change',
|
|
104
|
+
'knowledge_search',
|
|
105
|
+
'lead_change',
|
|
106
|
+
'meeting_change',
|
|
107
|
+
'meeting_prep',
|
|
108
|
+
'meeting_scorecard_change',
|
|
109
|
+
'meeting_summary',
|
|
110
|
+
'meeting_summary_change',
|
|
111
|
+
'meeting_types',
|
|
112
|
+
'meeting_types_change',
|
|
113
|
+
'meeting_upload',
|
|
114
|
+
'my_day',
|
|
115
|
+
'nexo_context',
|
|
116
|
+
'people_find',
|
|
117
|
+
'person_contact_create',
|
|
118
|
+
'person_deal_create',
|
|
119
|
+
'pipeline',
|
|
120
|
+
'record_change',
|
|
121
|
+
'records',
|
|
122
|
+
'reports',
|
|
123
|
+
'scorecard',
|
|
124
|
+
'settings',
|
|
125
|
+
'settings_apply',
|
|
126
|
+
'settings_preview',
|
|
127
|
+
'team'
|
|
128
|
+
];
|
|
129
|
+
export const COMMAND_TOOLS = {
|
|
130
|
+
'nexo login': { none: 'Autenticação da própria CLI' },
|
|
131
|
+
'nexo logout': { none: 'Autenticação da própria CLI' },
|
|
132
|
+
'nexo whoami': { none: 'Identidade da sessão da CLI' },
|
|
133
|
+
'nexo api': { none: 'Chama qualquer rota /v1; não é uma ferramenta' },
|
|
134
|
+
'nexo docs list': { none: 'Documentação embutida na CLI' },
|
|
135
|
+
'nexo docs search': { none: 'Documentação embutida na CLI' },
|
|
136
|
+
'nexo docs show': { none: 'Documentação embutida na CLI' },
|
|
137
|
+
'nexo brain areas': { none: 'Skills do Cérebro pela ideia, em /v1/brain; ainda sem chave de ferramenta no produto' },
|
|
138
|
+
'nexo brain moments': { none: 'Skills do Cérebro pela ideia, em /v1/brain; ainda sem chave de ferramenta no produto' },
|
|
139
|
+
'nexo brain list': { none: 'Skills do Cérebro pela ideia, em /v1/brain; ainda sem chave de ferramenta no produto' },
|
|
140
|
+
'nexo brain create': { none: 'Skills do Cérebro pela ideia, em /v1/brain; ainda sem chave de ferramenta no produto' },
|
|
141
|
+
'nexo brain edit': { none: 'Skills do Cérebro pela ideia, em /v1/brain; ainda sem chave de ferramenta no produto' },
|
|
142
|
+
'nexo brain remove': { none: 'Skills do Cérebro pela ideia, em /v1/brain; ainda sem chave de ferramenta no produto' },
|
|
143
|
+
'nexo brain templates': { none: 'Skills do Cérebro pela ideia, em /v1/brain; ainda sem chave de ferramenta no produto' },
|
|
144
|
+
'nexo brain from-template': { none: 'Skills do Cérebro pela ideia, em /v1/brain; ainda sem chave de ferramenta no produto' },
|
|
145
|
+
'nexo brain blind-test': { none: 'Skills do Cérebro pela ideia, em /v1/brain; ainda sem chave de ferramenta no produto' },
|
|
146
|
+
'nexo brain choose': { none: 'Skills do Cérebro pela ideia, em /v1/brain; ainda sem chave de ferramenta no produto' },
|
|
147
|
+
'nexo skills install': {
|
|
148
|
+
none: 'Entrega as skills (produto no projeto, empresa/área/time na pasta do usuário); não é ferramenta de produto'
|
|
149
|
+
},
|
|
150
|
+
'nexo skills list': { none: 'Lista as skills com o nível de cada uma; lê GET /v1/skills, não é ferramenta de produto' },
|
|
151
|
+
'nexo skills show': { none: 'Mostra uma skill (GET /v1/skills/{nome}); não é ferramenta de produto' },
|
|
152
|
+
'nexo mcp setup': { none: 'Configura o MCP no cliente de IA' },
|
|
153
|
+
'nexo connect systems': { key: 'connect_systems' },
|
|
154
|
+
'nexo connect list': { key: 'connectors_list' },
|
|
155
|
+
'nexo connect init': { none: 'Só local: cria a pasta do conector' },
|
|
156
|
+
'nexo connect pull': { key: 'connector_get' },
|
|
157
|
+
'nexo connect push': { key: 'connector_version_write' },
|
|
158
|
+
'nexo connect status': { key: 'connector_get' },
|
|
159
|
+
'nexo connect rehearse': { key: 'connector_rehearse' },
|
|
160
|
+
'nexo connect runs': { key: 'connector_runs' },
|
|
161
|
+
'nexo connect run': { key: 'connector_run_get' },
|
|
162
|
+
'nexo connect publish': { key: ['connector_change_preview', 'connector_change_apply'] },
|
|
163
|
+
'nexo connect enable': { key: ['connector_change_preview', 'connector_change_apply'] },
|
|
164
|
+
'nexo connect pause': { key: ['connector_change_preview', 'connector_change_apply'] },
|
|
165
|
+
'nexo connect secrets set': { none: 'O segredo é digitado por uma pessoa e nunca passa por IA/MCP' },
|
|
166
|
+
'nexo automations catalog': { key: 'automations' },
|
|
167
|
+
'nexo automations list': { key: 'automations' },
|
|
168
|
+
'nexo automations get': { key: 'automations' },
|
|
169
|
+
'nexo automations entities': { key: 'automations' },
|
|
170
|
+
'nexo automations versions': { key: 'automations' },
|
|
171
|
+
'nexo automations events': { key: 'automations' },
|
|
172
|
+
'nexo automations init': { none: 'Só local: cria a pasta' },
|
|
173
|
+
'nexo automations pull': { key: 'automations' },
|
|
174
|
+
'nexo automations push': { key: ['automation_change', 'automation_apply'] },
|
|
175
|
+
'nexo automations publish': { key: ['automation_change', 'automation_apply'] },
|
|
176
|
+
'nexo automations restore': { key: ['automation_change', 'automation_apply'] },
|
|
177
|
+
'nexo automations pause': { key: ['automation_change', 'automation_apply'] },
|
|
178
|
+
'nexo automations resume': { key: ['automation_change', 'automation_apply'] },
|
|
179
|
+
'nexo automations runs': { key: 'automations' },
|
|
180
|
+
'nexo automations run': { key: 'automations' },
|
|
181
|
+
'nexo dashboards list': { key: 'dashboards' },
|
|
182
|
+
'nexo dashboards catalog': { key: 'dashboards' },
|
|
183
|
+
'nexo dashboards run': { key: 'dashboards' },
|
|
184
|
+
'nexo dashboards init': { none: 'Só local: cria a pasta' },
|
|
185
|
+
'nexo dashboards pull': { key: 'dashboards' },
|
|
186
|
+
'nexo dashboards push': { key: 'dashboard_change' },
|
|
187
|
+
'nexo dashboards save': { key: 'dashboard_apply' },
|
|
188
|
+
'nexo billing invoices': { key: 'billing' },
|
|
189
|
+
'nexo templates list': { none: 'Modelos de e-mail e WhatsApp em /v1/message-templates; ainda sem chave de ferramenta no produto' },
|
|
190
|
+
'nexo templates get': { none: 'Modelos de e-mail e WhatsApp em /v1/message-templates; ainda sem chave de ferramenta no produto' },
|
|
191
|
+
'nexo templates preview': { none: 'Modelos de e-mail e WhatsApp em /v1/message-templates; ainda sem chave de ferramenta no produto' },
|
|
192
|
+
'nexo templates structure': { none: 'Modelos de e-mail e WhatsApp em /v1/message-templates; ainda sem chave de ferramenta no produto' },
|
|
193
|
+
'nexo templates create': { none: 'Modelos de e-mail e WhatsApp em /v1/message-templates; ainda sem chave de ferramenta no produto' },
|
|
194
|
+
'nexo templates change': { none: 'Modelos de e-mail e WhatsApp em /v1/message-templates; ainda sem chave de ferramenta no produto' },
|
|
195
|
+
'nexo templates publish': { none: 'Modelos de e-mail e WhatsApp em /v1/message-templates; ainda sem chave de ferramenta no produto' },
|
|
196
|
+
'nexo documents templates add': { key: 'files' },
|
|
197
|
+
'nexo documents templates download': { key: 'files' },
|
|
198
|
+
'nexo documents templates': { key: 'document_context' },
|
|
199
|
+
'nexo documents list': { key: 'documents' },
|
|
200
|
+
'nexo documents get': { key: 'documents' },
|
|
201
|
+
'nexo documents questionnaire': { key: 'document_context' },
|
|
202
|
+
'nexo documents create': { key: 'document_write' },
|
|
203
|
+
'nexo documents revise': { key: 'document_write' },
|
|
204
|
+
'nexo documents accept': { key: 'document_write' },
|
|
205
|
+
'nexo documents pdf': { key: 'document_outputs' },
|
|
206
|
+
'nexo documents docx': { key: 'document_outputs' },
|
|
207
|
+
'nexo documents negotiate': { key: 'document_outputs' },
|
|
208
|
+
'nexo deals analysis': { key: 'analysis_change' },
|
|
209
|
+
'nexo artifacts list': { none: 'Sem ferramenta no MCP Nexo (artefatos só no copiloto, atrás de COPILOT_ARTIFACTS_ENABLED)' },
|
|
210
|
+
'nexo artifacts get': { none: 'Sem ferramenta no MCP Nexo (artefatos só no copiloto, atrás de COPILOT_ARTIFACTS_ENABLED)' }
|
|
211
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@winning-sales/nexo",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "CLI do Nexo: a API, o Connect, os dashboards
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "CLI do Nexo: a API, o Connect, os dashboards, os fluxos, os documentos e as análises no terminal, com a documentação e as skills do produto para a sua IA",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|