@mx-space/cli 0.15.0 → 0.15.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/README.md +1 -1
- package/dist/{Lexical.dev-Cck4n26y.mjs → Lexical.dev-Df5TNMgP.mjs} +129 -96
- package/dist/{Lexical.node-D6wf2D5M.mjs → Lexical.node-B064E4Hy.mjs} +1 -1
- package/dist/{Lexical.prod-DCwS1oTq.mjs → Lexical.prod-DRFSwoE7.mjs} +6 -4
- package/dist/{LexicalClipboard.dev-CMkPHV7O.mjs → LexicalClipboard.dev-ClOWeg5v.mjs} +18 -14
- package/dist/{LexicalClipboard.node-m4nZ7IYw.mjs → LexicalClipboard.node-BJBLWpEi.mjs} +1 -1
- package/dist/{LexicalClipboard.prod-B_rN1vE1.mjs → LexicalClipboard.prod-Ytt65eQo.mjs} +10 -10
- package/dist/{LexicalCodeCore.dev-DyJw3i8V.mjs → LexicalCodeCore.dev-CzEPINOT.mjs} +43 -25
- package/dist/{LexicalCodeCore.prod-DPXLHQLF.mjs → LexicalCodeCore.prod-DOVk7lL_.mjs} +6 -6
- package/dist/{LexicalDragon.dev-ZkNfMwrE.mjs → LexicalDragon.dev-DxePN9fP.mjs} +2 -2
- package/dist/{LexicalDragon.node-Ds9oLUFh.mjs → LexicalDragon.node-DBwaqStp.mjs} +1 -1
- package/dist/{LexicalDragon.prod-B58ic2av.mjs → LexicalDragon.prod-Bji84-Hq.mjs} +2 -2
- package/dist/{LexicalExtension.dev-DvwHs1Xv.mjs → LexicalExtension.dev-DtSRyjbf.mjs} +25 -13
- package/dist/{LexicalExtension.node-5OymZQfy.mjs → LexicalExtension.node-3nsS5NjU.mjs} +1 -1
- package/dist/{LexicalExtension.prod-Ce0T5smQ.mjs → LexicalExtension.prod-Ddk0ja_6.mjs} +16 -13
- package/dist/{LexicalHeadless.dev-DA0WldSR.mjs → LexicalHeadless.dev-DdWJsPoH.mjs} +1 -1
- package/dist/{LexicalHeadless.prod-1kQgKB6c.mjs → LexicalHeadless.prod-CH74ZDMt.mjs} +1 -1
- package/dist/{LexicalHtml.dev-BDB7CUrx.mjs → LexicalHtml.dev-DN7QIb_7.mjs} +20 -14
- package/dist/{LexicalHtml.node-DpVNt7It.mjs → LexicalHtml.node-DAwuaPeI.mjs} +1 -1
- package/dist/{LexicalHtml.prod-HkxM5scw.mjs → LexicalHtml.prod-X4eTHEfI.mjs} +4 -4
- package/dist/{LexicalLink.dev-C5zNJlrm.mjs → LexicalLink.dev-owitIl6I.mjs} +28 -21
- package/dist/{LexicalLink.prod-Bkt9hQAt.mjs → LexicalLink.prod-BZ7ZZkVD.mjs} +6 -5
- package/dist/{LexicalList.dev-B7VgME-m.mjs → LexicalList.dev-CUbi09Yo.mjs} +4 -4
- package/dist/{LexicalList.prod-B8c7TDjH.mjs → LexicalList.prod-pUsUZa0r.mjs} +4 -4
- package/dist/{LexicalMarkdown.dev-B5z9kLbV.mjs → LexicalMarkdown.dev-S2yWckH9.mjs} +40 -29
- package/dist/{LexicalMarkdown.prod-wKzw7FFH.mjs → LexicalMarkdown.prod-TRkMWfmC.mjs} +10 -7
- package/dist/{LexicalRichText.dev-CUd6Li5F.mjs → LexicalRichText.dev-Y3ybFF2S.mjs} +15 -11
- package/dist/{LexicalRichText.node-BKfaQ-CH.mjs → LexicalRichText.node-wNAi2Z4i.mjs} +4 -4
- package/dist/{LexicalRichText.prod-SBewjJHx.mjs → LexicalRichText.prod-HLxqZ6hQ.mjs} +17 -11
- package/dist/{LexicalSelection.dev-D27JOCqj.mjs → LexicalSelection.dev-CyhKOKbs.mjs} +28 -24
- package/dist/{LexicalSelection.node-DBEwPjBu.mjs → LexicalSelection.node-BCuHMbzl.mjs} +1 -1
- package/dist/{LexicalSelection.prod-OaYhXHOL.mjs → LexicalSelection.prod-RebDJliC.mjs} +2 -2
- package/dist/{LexicalTable.dev-6IFFOAE0.mjs → LexicalTable.dev-DN3ezVey.mjs} +33 -28
- package/dist/{LexicalTable.prod-2CaLZ7fH.mjs → LexicalTable.prod-B0MioVyq.mjs} +10 -9
- package/dist/{LexicalUtils.dev-DJA7J_7v.mjs → LexicalUtils.dev-Bw6LFRlt.mjs} +8 -5
- package/dist/{LexicalUtils.node-Df9oPTlA.mjs → LexicalUtils.node-BPKMFN80.mjs} +1 -1
- package/dist/{LexicalUtils.prod-Bb7V4Ewg.mjs → LexicalUtils.prod-CJYQVQJO.mjs} +7 -6
- package/dist/bin/mxs.mjs +1 -1
- package/dist/{esm-DLzrv7gD.mjs → esm-7vSMGlFz.mjs} +428 -505
- package/dist/esm-ZrfYH2y2.mjs +2 -0
- package/dist/index.mjs +1 -1
- package/dist/{mxs-BIRW5Axj.mjs → mxs-DKv-4ZTg.mjs} +1091 -806
- package/dist/{rolldown-runtime-JspESFgx.mjs → rolldown-runtime-B4iAMlE-.mjs} +1 -1
- package/dist/vendor/litexml/cli.mjs +113 -42
- package/dist/vendor/litexml/litexml-html-preview-client.css +575 -997
- package/dist/vendor/litexml/litexml-html-preview-client.js +8177 -7143
- package/dist/vendor/litexml/style.css +9 -5
- package/package.json +28 -25
- package/skills/safety.md +1 -1
- package/LICENSE +0 -33
- package/dist/esm-CDcJmHkG.mjs +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-space/cli",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.2",
|
|
4
4
|
"description": "Command line interface for mx-space (mx-core) — auth, content, configuration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mx-space",
|
|
@@ -47,43 +47,46 @@
|
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
|
+
"scripts": {
|
|
51
|
+
"package": "rm -rf dist && tsdown",
|
|
52
|
+
"build": "npm run package",
|
|
53
|
+
"prepackage": "rm -rf dist",
|
|
54
|
+
"clean": "rm -rf dist",
|
|
55
|
+
"dev": "tsx src/bin/mxs.ts",
|
|
56
|
+
"prepare": "node scripts/setup-local-bin.cjs",
|
|
57
|
+
"setup:local-bin": "node scripts/setup-local-bin.cjs",
|
|
58
|
+
"test": "vitest run",
|
|
59
|
+
"test:watch": "vitest",
|
|
60
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"@haklex/rich-litexml": "0.39.1"
|
|
64
|
+
},
|
|
50
65
|
"devDependencies": {
|
|
51
66
|
"@clack/prompts": "^1.7.0",
|
|
52
67
|
"@effect/cli": "0.77.0",
|
|
53
68
|
"@effect/platform": "0.97.1",
|
|
54
69
|
"@effect/platform-node": "0.108.1",
|
|
55
70
|
"@effect/vitest": "0.30.0",
|
|
56
|
-
"@haklex/rich-compose": "0.
|
|
57
|
-
"@haklex/rich-headless": "0.
|
|
58
|
-
"@haklex/rich-litexml": "0.
|
|
59
|
-
"@haklex/rich-litexml-cli": "0.34.0",
|
|
71
|
+
"@haklex/rich-compose": "0.39.1",
|
|
72
|
+
"@haklex/rich-headless": "0.39.1",
|
|
73
|
+
"@haklex/rich-litexml-cli": "0.39.1",
|
|
60
74
|
"@lexical/headless": "^0.49.0",
|
|
61
|
-
"@
|
|
75
|
+
"@mx-space/api-client": "workspace:*",
|
|
76
|
+
"@mx-space/editor": "workspace:*",
|
|
77
|
+
"@types/node": "26.5.0",
|
|
62
78
|
"@types/semver": "7.8.0",
|
|
63
|
-
"better-auth": "^1.6.
|
|
79
|
+
"better-auth": "^1.6.27",
|
|
64
80
|
"effect": "3.22.1",
|
|
65
|
-
"fast-xml-parser": "5.
|
|
81
|
+
"fast-xml-parser": "5.11.1",
|
|
66
82
|
"get-east-asian-width": "^1.6.0",
|
|
67
83
|
"lexical": "^0.49.0",
|
|
68
84
|
"minisearch": "^7.2.0",
|
|
69
|
-
"open": "^11.0.
|
|
85
|
+
"open": "^11.0.2",
|
|
70
86
|
"semver": "7.8.5",
|
|
71
87
|
"tsdown": "0.22.14",
|
|
72
|
-
"tsx": "^4.23.
|
|
88
|
+
"tsx": "^4.23.13",
|
|
73
89
|
"typescript": "6.0.3",
|
|
74
|
-
"vitest": "4.1.
|
|
75
|
-
"@mx-space/editor": "0.3.0",
|
|
76
|
-
"@mx-space/api-client": "5.6.2"
|
|
77
|
-
},
|
|
78
|
-
"scripts": {
|
|
79
|
-
"package": "rm -rf dist && tsdown",
|
|
80
|
-
"build": "npm run package",
|
|
81
|
-
"prepackage": "rm -rf dist",
|
|
82
|
-
"clean": "rm -rf dist",
|
|
83
|
-
"dev": "tsx src/bin/mxs.ts",
|
|
84
|
-
"setup:local-bin": "node scripts/setup-local-bin.cjs",
|
|
85
|
-
"test": "vitest run",
|
|
86
|
-
"test:watch": "vitest",
|
|
87
|
-
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
90
|
+
"vitest": "4.1.11"
|
|
88
91
|
}
|
|
89
|
-
}
|
|
92
|
+
}
|
package/skills/safety.md
CHANGED
|
@@ -49,7 +49,7 @@ Use this reference for every mutation, deletion, publication change, or failed c
|
|
|
49
49
|
| `validation.xml` | Invalid LiteXML envelope. | Check root tag, `<meta>`, `<content>`, nested tags, and line detail. |
|
|
50
50
|
| `resource.not_found` | Wrong slug/id, deleted resource, or wrong target. | Re-run list/get on the confirmed target. |
|
|
51
51
|
| `profile.write_requires_explicit` | Active profile is flagged production; mutation refused without `--profile`. | Pass `--profile <name>` explicitly, or `mxs profile mark <name> --no-production`. |
|
|
52
|
-
| `skill.chapter_not_found` | Requested chapter slug is not in the registry. | `mxs skill` to list; for `litexml-*` upgrade `@haklex/rich-litexml` to ≥0.
|
|
52
|
+
| `skill.chapter_not_found` | Requested chapter slug is not in the registry. | `mxs skill` to list; for `litexml-*` upgrade `@haklex/rich-litexml` to ≥0.36.1. |
|
|
53
53
|
| `EDITOR is not set` | Interactive edit requested without editor. | Set `EDITOR` or use flags/file instead. |
|
|
54
54
|
| Large noisy JSON output | Raw document payload is too verbose. | Use `--output llm` for read-back and `--json` for mutations. |
|
|
55
55
|
| Link or embed URLs become empty during dry-run | LiteXML round-trip lost node attributes or the agent is using an older CLI build. | Stop before writing; update/fix the CLI and repeat dry-run before mutation. |
|
package/LICENSE
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
** Mix Space Open Source License**
|
|
2
|
-
|
|
3
|
-
This project is dual-licensed under different terms for different parts of the project. It is important for users and contributors to understand the licensing terms applicable to each part of the project.
|
|
4
|
-
|
|
5
|
-
### For the `apps/` Directory
|
|
6
|
-
|
|
7
|
-
**License:** GNU Affero General Public License v3.0 (AGPLv3) with Additional Terms (ADDITIONAL_TERMS).
|
|
8
|
-
|
|
9
|
-
**Scope:** This license applies exclusively to all files within the `apps/` directory of this project.
|
|
10
|
-
|
|
11
|
-
**Summary:**
|
|
12
|
-
- The AGPLv3 is a free, copyleft license suitable for software that will be distributed over a network. It allows users to use, modify, and distribute the software and any modifications under the same terms.
|
|
13
|
-
- The "Additional Terms" (ADDITIONAL_TERMS) are specific conditions that are added to the AGPLv3 license. These terms must be reviewed in the accompanying LICENSE file or documentation to understand any additional restrictions or permissions that apply to the software.
|
|
14
|
-
|
|
15
|
-
### For Other Parts of the Project
|
|
16
|
-
|
|
17
|
-
**License:** MIT License.
|
|
18
|
-
|
|
19
|
-
**Scope:** This license applies to all parts of the project that are not included within the `apps/` directory.
|
|
20
|
-
|
|
21
|
-
**Summary:**
|
|
22
|
-
- The MIT License is a permissive open-source license that allows users considerable freedom. It permits use, copying, modification, merging, publishing, distribution, sublicensing, and/or selling copies of the software.
|
|
23
|
-
- It also protects the authors by including a limitation of liability and a disclaimer of warranty.
|
|
24
|
-
|
|
25
|
-
**General Conditions:**
|
|
26
|
-
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the above license notices and this permission notice appear in all copies of the software.
|
|
27
|
-
- The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement.
|
|
28
|
-
|
|
29
|
-
**Contribution:**
|
|
30
|
-
- Contributions to this project are accepted under the terms of the same license as the part of the project to which the contribution is made.
|
|
31
|
-
|
|
32
|
-
**Notice:**
|
|
33
|
-
- This summary is not the license itself and is not a substitute for reading the licenses in their entirety. All users and contributors are encouraged to read the full text of the licenses for a comprehensive understanding.
|
package/dist/esm-CDcJmHkG.mjs
DELETED