raptor-aios 0.13.1 → 0.13.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/CHANGELOG.md +13 -1
- package/dist/_core/dist/jira/mapper.js +5 -1
- package/dist/_core/package.json +1 -1
- package/package.json +1 -1
- package/scripts/prepare-npm.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,19 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
-
## [0.13.
|
|
8
|
+
## [0.13.2] - 2026-06-19
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **Specs semeadas do Jira não vêm mais com `\*\*lixo\*\*` de escape.** Servidores
|
|
13
|
+
MCP que retornam Markdown como string (notavelmente `mcp-atlassian`, via
|
|
14
|
+
markdownify) **escapam** a pontuação inline (`\*`, `\_`, `` \` ``, `\~`) ao
|
|
15
|
+
converter o wiki/ADF do Jira para Markdown, para mantê-la literal. O
|
|
16
|
+
`flattenAdf` repassava essa string sem desescapar, então o negrito do card
|
|
17
|
+
(`**Como**`) chegava na spec como `\*\*Como\*\*` visível — ruído em toda a spec
|
|
18
|
+
(127 linhas afetadas num card real). Agora `flattenAdf` desescapa a pontuação
|
|
19
|
+
markdown inline na sua branch de string (`unescapeInlineMarkdown`); o ADF
|
|
20
|
+
estruturado é texto cru e permanece intocado.
|
|
9
21
|
|
|
10
22
|
### Fixed
|
|
11
23
|
|
|
@@ -269,11 +269,15 @@ export function mapIssueToSpecContext(issue, opts = {}) {
|
|
|
269
269
|
jiraCustomSections: sections,
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
+
const MD_INLINE_ESCAPE = /\\([*_`~])/g;
|
|
273
|
+
export function unescapeInlineMarkdown(s) {
|
|
274
|
+
return s.replace(MD_INLINE_ESCAPE, "$1");
|
|
275
|
+
}
|
|
272
276
|
export function flattenAdf(node) {
|
|
273
277
|
if (node == null)
|
|
274
278
|
return "";
|
|
275
279
|
if (typeof node === "string")
|
|
276
|
-
return node.trim();
|
|
280
|
+
return unescapeInlineMarkdown(node.trim());
|
|
277
281
|
if (Array.isArray(node))
|
|
278
282
|
return node.map(flattenAdf).join("");
|
|
279
283
|
if (!isRecord(node))
|
package/dist/_core/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "raptor-aios",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"description": "Raptor — Spec-Driven Development (SDD) CLI for modern mobile apps. Constitutional gates, audit trail, real verification (a11y/perf/stores/OS matrix), and AI-agent slash commands.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/scripts/prepare-npm.mjs
CHANGED