sinapse-ai 1.25.1 → 1.25.2
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/.sinapse-ai/install-manifest.yaml +1 -1
- package/CHANGELOG.md +10 -8
- package/README.en.md +38 -30
- package/README.md +33 -25
- package/docs/getting-started.md +13 -5
- package/docs/guides/codex-config.md +35 -51
- package/docs/guides/ide-integration.md +22 -23
- package/docs/guides/project-status-feature.md +35 -55
- package/docs/guides/user-guide.md +21 -10
- package/docs/installation/README.md +4 -4
- package/docs/installation/faq.md +84 -70
- package/docs/installation/linux.md +11 -14
- package/docs/installation/macos.md +10 -4
- package/docs/installation/troubleshooting.md +10 -4
- package/docs/installation/v4-quick-start.md +13 -13
- package/docs/installation/windows.md +11 -15
- package/docs/pt/guides/project-status-feature.md +35 -55
- package/docs/pt/guides/user-guide.md +21 -11
- package/docs/pt/installation/README.md +2 -4
- package/docs/pt/installation/faq.md +54 -89
- package/docs/pt/installation/linux.md +9 -27
- package/docs/pt/installation/macos.md +8 -12
- package/docs/pt/installation/troubleshooting.md +10 -8
- package/docs/pt/installation/v4-quick-start.md +16 -16
- package/docs/pt/installation/windows.md +8 -21
- package/docs/troubleshooting.md +9 -7
- package/package.json +1 -1
- package/scripts/validate-article-vii.js +305 -20
- package/scripts/validate-install-docs.js +87 -3
|
@@ -116,6 +116,76 @@ const FORBIDDEN_PATTERNS = [
|
|
|
116
116
|
reason:
|
|
117
117
|
'Internal script — must be invoked internally by `npx sinapse-ai install`, never shown as a user-facing command.',
|
|
118
118
|
},
|
|
119
|
+
{
|
|
120
|
+
id: 'legacy-codex-skills-flow',
|
|
121
|
+
regex: /(?:(?<![.:\w])codex\b[^\n]{0,80}(?<![A-Za-z0-9._-])\/skills\b|(?<![A-Za-z0-9._-])\/skills\b[^\n]{0,40}(?:flow|activation|ativacao|ativação|activate|ativar|agent))/i,
|
|
122
|
+
reason: 'Codex activation uses `$snps` or `$sinapse-agent <id>`, not `/skills`.',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
id: 'legacy-custom-agent-slash-command',
|
|
126
|
+
regex: /\/my-agent\b/,
|
|
127
|
+
reason: 'Do not document `/my-agent`; use the provider-native SINAPSE activator.',
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
id: 'legacy-dev-slash-activation',
|
|
131
|
+
regex: /(?:^\s*\/dev\s*$|(?:activate|ativar|activation|ativacao|ativação|agent commands?|comandos? de agentes)[^\n]{0,80}\/dev\b)/i,
|
|
132
|
+
reason: 'Use `@developer` in Claude Code or `$sinapse-agent developer` in Codex.',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
id: 'legacy-dev-at-activation',
|
|
136
|
+
regex: /(?:^\s*(?:\|\s*)?`?@dev\b|(?:activate|ativar|activation|ativacao|ativação|agent commands?|comandos? de agentes)[^\n]{0,80}@dev\b)/i,
|
|
137
|
+
reason: 'Use `@developer`; the short `@dev` activation is obsolete.',
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
id: 'legacy-codex-at-activation',
|
|
141
|
+
regex: /codex[^\n]{0,100}(?:activate|ativar|activation|ativacao|ativação|shortcut|atalho|use)[^\n]{0,50}@(?:<[^>]+>|[a-z][\w-]*)/i,
|
|
142
|
+
reason: 'Codex activation uses `$snps` or `$sinapse-agent <id>`, not `@agent`.',
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
id: 'unresolvable-init-project-status',
|
|
146
|
+
regex: /\*init-project-status\b/i,
|
|
147
|
+
reason: '`init-project-status` has no public resolvable task pointer; project status loads automatically.',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
id: 'legacy-sinapse-fullstack-name',
|
|
151
|
+
regex: /\bSINAPSE-FullStack\b/i,
|
|
152
|
+
reason: 'The current public framework name is SINAPSE AI.',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
id: 'legacy-developer-codename',
|
|
156
|
+
regex: /(?:\bDex\s*(?:\(|the\s+)Builder\b|\b(?:developer agent|agente desenvolvedor)\s*\(\s*Dex\s*\)|@developer\s*\(\s*Dex\s*\))/i,
|
|
157
|
+
reason: 'The current developer persona is Pixel the Builder.',
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
id: 'unsupported-provider-full-support',
|
|
161
|
+
regex: /\b(?:Gemini\s+CLI|GitHub\s+Copilot)\b/i,
|
|
162
|
+
reason: 'Current public installation support is limited to Claude Code and Codex.',
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
id: 'unsupported-cursor-provider',
|
|
166
|
+
regex: /\bCursor\b/i,
|
|
167
|
+
reason: 'Current public installation support is limited to Claude Code and Codex.',
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
id: 'legacy-cursor-install-option',
|
|
171
|
+
regex: /--ide\s+cursor\b/i,
|
|
172
|
+
reason: 'The current installer generates Claude Code and Codex adapters; do not document the retired Cursor selector.',
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
id: 'legacy-cursor-rules-path',
|
|
176
|
+
regex: /\.cursor[\\/]rules[\\/]/i,
|
|
177
|
+
reason: 'Current provider adapter paths are `.claude/agents/`, `.codex/agents/`, and `.agents/skills/`.',
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
id: 'claude-commands-as-agent-config',
|
|
181
|
+
regex: /(?:\.claude[\\/]commands[\\/](?:SINAPSE[\\/]|[^\n]{0,60}(?:agent\s+configuration|configura(?:ç|c)ão\s+de\s+agentes|para\s+Claude\s+Code))|Claude\s+Code\s+(?:uses|usa)[^\n]{0,60}\.claude[\\/]commands[\\/])/i,
|
|
182
|
+
reason: 'Claude Code agent adapters live in `.claude/agents/`; `.claude/commands/` is not the agent configuration path.',
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
id: 'legacy-agent-name-slash-activation',
|
|
186
|
+
regex: /\/(?:agent-name|nome-do-agente)\b/i,
|
|
187
|
+
reason: 'Use `@agent-id` in Claude Code or `$sinapse-agent <id>` in Codex.',
|
|
188
|
+
},
|
|
119
189
|
];
|
|
120
190
|
|
|
121
191
|
// ── Paths ────────────────────────────────────────────────────────────────────
|
|
@@ -124,7 +194,7 @@ const FORBIDDEN_PATTERNS = [
|
|
|
124
194
|
* Directories whose `.md` files are public user-facing installation docs.
|
|
125
195
|
* Everything in these trees is scanned.
|
|
126
196
|
*/
|
|
127
|
-
const PUBLIC_DOC_DIRS = ['docs/installation'];
|
|
197
|
+
const PUBLIC_DOC_DIRS = ['docs/installation', 'docs/pt/installation'];
|
|
128
198
|
|
|
129
199
|
/**
|
|
130
200
|
* Additional top-level public doc files (relative to root).
|
|
@@ -133,7 +203,18 @@ const PUBLIC_DOC_DIRS = ['docs/installation'];
|
|
|
133
203
|
* Quick Start commands (including `agents`/`ideate`) and are exactly where
|
|
134
204
|
* the drift was found; bring them under the same guard as README.
|
|
135
205
|
*/
|
|
136
|
-
const PUBLIC_DOC_FILES = [
|
|
206
|
+
const PUBLIC_DOC_FILES = [
|
|
207
|
+
'README.md',
|
|
208
|
+
'README.en.md',
|
|
209
|
+
'docs/getting-started.md',
|
|
210
|
+
'docs/troubleshooting.md',
|
|
211
|
+
'docs/guides/user-guide.md',
|
|
212
|
+
'docs/pt/guides/user-guide.md',
|
|
213
|
+
'docs/guides/codex-config.md',
|
|
214
|
+
'docs/guides/ide-integration.md',
|
|
215
|
+
'docs/guides/project-status-feature.md',
|
|
216
|
+
'docs/pt/guides/project-status-feature.md',
|
|
217
|
+
];
|
|
137
218
|
|
|
138
219
|
/**
|
|
139
220
|
* Path fragments that identify historical / release notes. Any file whose
|
|
@@ -276,7 +357,10 @@ function scanFile(rootDir, relPath) {
|
|
|
276
357
|
if (allowed.has(i)) continue;
|
|
277
358
|
const line = lines[i];
|
|
278
359
|
for (const rule of FORBIDDEN_PATTERNS) {
|
|
279
|
-
const
|
|
360
|
+
const candidate = rule.id === 'legacy-codex-skills-flow'
|
|
361
|
+
? line.replace(/https?:\/\/[^\s)>]+/gi, (url) => ' '.repeat(url.length))
|
|
362
|
+
: line;
|
|
363
|
+
const match = candidate.match(rule.regex);
|
|
280
364
|
if (match) {
|
|
281
365
|
violations.push({
|
|
282
366
|
file: relPath,
|