@knid/agentx 0.1.7 → 0.1.8

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -352,6 +352,16 @@ marked.use(
352
352
  tab: 2
353
353
  })
354
354
  );
355
+ marked.use({
356
+ renderer: {
357
+ text(token) {
358
+ if (typeof token === "object" && "tokens" in token && token.tokens) {
359
+ return this.parser.parseInline(token.tokens);
360
+ }
361
+ return typeof token === "object" ? token.text : token;
362
+ }
363
+ }
364
+ });
355
365
  function renderMarkdown(text3) {
356
366
  return marked.parse(text3);
357
367
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knid/agentx",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "The package manager for AI agents powered by Claude Code",
5
5
  "type": "module",
6
6
  "bin": {