@dinoxx/dinox-cli 3.0.0 → 3.1.0

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 (30) hide show
  1. package/dist/chunks/{chunk-BZQYECIH.js → chunk-52XLDO77.js} +1 -1
  2. package/dist/chunks/{chunk-N5YDNM3P.js → chunk-5SORBZTD.js} +1 -1
  3. package/dist/chunks/{chunk-N2VYTZWU.js → chunk-DKY574LO.js} +3 -3
  4. package/dist/chunks/{chunk-ARBWJ3ZA.js → chunk-G6Y3MOUL.js} +1075 -109
  5. package/dist/chunks/{chunk-2DREJFKB.js → chunk-JNRA4TTH.js} +1 -1
  6. package/dist/chunks/{chunk-3VZNZWDG.js → chunk-LAWV5XGL.js} +5 -0
  7. package/dist/chunks/{chunk-MLOITAK6.js → chunk-LXC3IW4L.js} +2 -2
  8. package/dist/chunks/{chunk-NVKSI4BD.js → chunk-MMO7CINX.js} +50 -590
  9. package/dist/chunks/{chunk-HG3RZFDX.js → chunk-OZXS77HJ.js} +7 -7
  10. package/dist/chunks/{chunk-KJBN7TD7.js → chunk-PCB2JD6H.js} +6 -6
  11. package/dist/chunks/{chunk-6D3QLMRM.js → chunk-TOGYWN3D.js} +1 -1
  12. package/dist/chunks/{chunk-WABL3OUP.js → chunk-WCY3EKJQ.js} +4 -4
  13. package/dist/chunks/{chunk-SM2QOO45.js → chunk-YFGDTC2F.js} +9 -2
  14. package/dist/chunks/{chunk-QPVGA46P.js → chunk-YX4SIEVS.js} +3 -3
  15. package/dist/chunks/{cookies-ORQ3RLAH.js → cookies-UUQZXH4R.js} +4 -4
  16. package/dist/chunks/{ensure-MPOQ244L.js → ensure-2OPNFDRW.js} +7 -7
  17. package/dist/chunks/{execute-KMNZ5EFR.js → execute-C5W5ZJDC.js} +5 -5
  18. package/dist/chunks/{install-35YBLHXE.js → install-VBMWNPO6.js} +1 -1
  19. package/dist/chunks/{mcp-H667ML2O.js → mcp-WK7KIU44.js} +8 -6
  20. package/dist/chunks/{mcpServer-G2WEAD2O.js → mcpServer-M4HJFSNU.js} +13 -13
  21. package/dist/chunks/{run-7D6ATULD.js → run-WNHMZLSJ.js} +11 -11
  22. package/dist/chunks/{runCli-QEWWUIZN.js → runCli-GKTCIDBF.js} +12 -12
  23. package/dist/chunks/{setup-DSTOF3BZ.js → setup-UYCLFOZH.js} +6 -6
  24. package/dist/dinox.js +7 -7
  25. package/dist/dsh-plugin/lib/client.js +977 -267
  26. package/dist/dsh-plugin/lib/index.js +10 -6
  27. package/dist/dsh-plugin/package.json +1 -1
  28. package/dist/dsh-plugin/runtime.json +1 -1
  29. package/dist/editor-ui/mcp-app.html +420 -318
  30. package/package.json +5 -2
@@ -2,7 +2,7 @@ import { createRequire as __dinoxCreateRequire } from 'node:module';
2
2
  const require = __dinoxCreateRequire(import.meta.url);
3
3
  import {
4
4
  DinoxError
5
- } from "./chunk-3VZNZWDG.js";
5
+ } from "./chunk-LAWV5XGL.js";
6
6
 
7
7
  // ../../packages/note-schema/src/tasks/taskStatus.ts
8
8
  var TASK_STATUS_VALUES = [
@@ -41,10 +41,15 @@ var ERROR_CODES = {
41
41
  EDITOR_ANCHOR_AMBIGUOUS: { exitCode: 2, description: "The suggestion anchor occurs more than once in the open note." },
42
42
  EDITOR_ANCHOR_MISSING: { exitCode: 2, description: "The suggestion anchor does not occur in the open note." },
43
43
  EDITOR_INVALID_DOCUMENT: { exitCode: 2, description: "The editor document cannot be saved without losing content." },
44
+ EDITOR_LINK_PREVIEW_BLOCKED: { exitCode: 2, description: "The link preview URL is not a public http(s) address (loopback, private and link-local hosts are refused)." },
45
+ EDITOR_LINK_PREVIEW_FAILED: { exitCode: 1, description: "Fetching the page for a link preview failed or timed out." },
44
46
  EDITOR_NOTE_NOT_OPEN: { exitCode: 5, description: "The editor session has no open note." },
45
47
  EDITOR_STALE_SEQUENCE: { exitCode: 5, description: "The editor request targets a note the session has since replaced." },
46
48
  EDITOR_UNKNOWN_BLOCK: { exitCode: 2, description: "The suggestion targets a block that is no longer in the open note." },
47
49
  EDITOR_UNSAVED_CHANGES: { exitCode: 5, description: "The editor session has unsaved changes." },
50
+ EDITOR_UPLOAD_FAILED: { exitCode: 1, description: "Uploading the editor panel's file to Dinox storage failed." },
51
+ EDITOR_UPLOAD_INVALID: { exitCode: 2, description: "The editor upload has no data, invalid base64, or a missing name / media type." },
52
+ EDITOR_UPLOAD_TOO_LARGE: { exitCode: 2, description: "The editor upload exceeds its size limit (25 MB for images, 500 MB otherwise)." },
48
53
  INTERNAL_ERROR: { exitCode: 1, description: "Unexpected internal error; not a DinoxError." },
49
54
  INVALID_ARGUMENT: { exitCode: 2, description: "An argument or option value is invalid." },
50
55
  INVALID_PROPERTY_DEF_CONFIG: { exitCode: 1, description: "A property definition config could not be serialized." },
@@ -2,10 +2,10 @@ import { createRequire as __dinoxCreateRequire } from 'node:module';
2
2
  const require = __dinoxCreateRequire(import.meta.url);
3
3
  import {
4
4
  resolveUserPath
5
- } from "./chunk-6D3QLMRM.js";
5
+ } from "./chunk-TOGYWN3D.js";
6
6
  import {
7
7
  DinoxError
8
- } from "./chunk-3VZNZWDG.js";
8
+ } from "./chunk-LAWV5XGL.js";
9
9
 
10
10
  // src/utils/argValue.ts
11
11
  import fs from "node:fs/promises";