@machina.ai/cell-cli-core 1.0.21-rc2 → 1.0.21-rc4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@machina.ai/cell-cli-core",
3
- "version": "1.0.21-rc2",
3
+ "version": "1.0.21-rc4",
4
4
  "description": "Cell CLI Core",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,13 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- /**
7
- * Removes a leading and trailing Markdown JSON code block from the provided
8
- * text, if present.
9
- *
10
- * @param text The text potentially wrapped in ```json fences.
11
- * @returns The unwrapped JSON string.
12
- */
13
- export declare function stripJsonCodeBlock(text: string): string;
@@ -1,21 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- /**
7
- * Removes a leading and trailing Markdown JSON code block from the provided
8
- * text, if present.
9
- *
10
- * @param text The text potentially wrapped in ```json fences.
11
- * @returns The unwrapped JSON string.
12
- */
13
- export function stripJsonCodeBlock(text) {
14
- const trimmed = text.trim();
15
- const match = trimmed.match(/^```(?:json)?\n([\s\S]*?)\n```$/i);
16
- if (match) {
17
- return match[1].trim();
18
- }
19
- return trimmed;
20
- }
21
- //# sourceMappingURL=stripJsonCodeBlock.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stripJsonCodeBlock.js","sourceRoot":"","sources":["../../../src/utils/stripJsonCodeBlock.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;GAMG;AACH,MAAM,UAAU,kBAAkB,CAAC,IAAY;IAC7C,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;IAC5B,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAAC;IAChE,IAAI,KAAK,EAAE,CAAC;QACV,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IACzB,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}