@revenexx/editor 0.1.2 → 0.1.3

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 (24) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  3. package/dist/modules/agent/runtime/app/tools/add_content_search_paragraphs/index.d.ts +1 -1
  4. package/dist/modules/agent/runtime/app/tools/add_fragment/index.d.ts +1 -1
  5. package/dist/modules/agent/runtime/app/tools/add_media_paragraph/index.d.ts +1 -1
  6. package/dist/modules/agent/runtime/app/tools/add_paragraphs/index.d.ts +1 -1
  7. package/dist/modules/agent/runtime/app/tools/add_reusable_paragraph/index.d.ts +1 -1
  8. package/dist/modules/agent/runtime/app/tools/add_template/index.d.ts +1 -1
  9. package/dist/modules/agent/runtime/app/tools/delete_paragraphs/index.d.ts +1 -1
  10. package/dist/modules/agent/runtime/app/tools/detach_reusable_paragraph/index.d.ts +1 -1
  11. package/dist/modules/agent/runtime/app/tools/duplicate_paragraphs/index.d.ts +1 -1
  12. package/dist/modules/agent/runtime/app/tools/go_to_history_index/index.d.ts +1 -1
  13. package/dist/modules/agent/runtime/app/tools/move_paragraphs/index.d.ts +1 -1
  14. package/dist/modules/agent/runtime/app/tools/rearrange_paragraphs/index.d.ts +1 -1
  15. package/dist/modules/agent/runtime/app/tools/replace_content_search_item/index.d.ts +1 -1
  16. package/dist/modules/agent/runtime/app/tools/replace_media_field/index.d.ts +1 -1
  17. package/dist/modules/agent/runtime/app/tools/set_paragraph_options/index.d.ts +1 -1
  18. package/dist/modules/agent/runtime/app/tools/swap_paragraphs/index.d.ts +1 -1
  19. package/dist/modules/agent/runtime/app/types/index.d.ts +3 -3
  20. package/dist/modules/agent/runtime/shared/types.d.ts +3 -3
  21. package/dist/runtime/editor/features/changelog/changelog.json +8 -0
  22. package/dist/runtime/editor/features/history/List/index.vue +23 -8
  23. package/dist/runtime/editor/types/state.d.ts +6 -0
  24. package/package.json +1 -1
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@revenexx/editor",
3
3
  "configKey": "blokkli",
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "compatibility": {
6
6
  "nuxt": ">=3.15.0"
7
7
  },
package/dist/module.mjs CHANGED
@@ -19,7 +19,7 @@ import 'typescript';
19
19
  import 'oxc-walker';
20
20
 
21
21
  const name = "@revenexx/editor";
22
- const version = "0.1.2";
22
+ const version = "0.1.3";
23
23
 
24
24
  function validateOption(optionKey, option, icons) {
25
25
  const errors = [];
@@ -14,8 +14,8 @@ export declare const paramsSchema: z.ZodObject<{
14
14
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
15
15
  type: z.ZodEnum<{
16
16
  rewrite: "rewrite";
17
- delete: "delete";
18
17
  add: "add";
18
+ delete: "delete";
19
19
  move: "move";
20
20
  options: "options";
21
21
  }>;
@@ -11,8 +11,8 @@ export declare const paramsSchema: z.ZodObject<{
11
11
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
12
12
  type: z.ZodEnum<{
13
13
  rewrite: "rewrite";
14
- delete: "delete";
15
14
  add: "add";
15
+ delete: "delete";
16
16
  move: "move";
17
17
  options: "options";
18
18
  }>;
@@ -13,8 +13,8 @@ export declare const paramsSchema: z.ZodObject<{
13
13
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
14
14
  type: z.ZodEnum<{
15
15
  rewrite: "rewrite";
16
- delete: "delete";
17
16
  add: "add";
17
+ delete: "delete";
18
18
  move: "move";
19
19
  options: "options";
20
20
  }>;
@@ -21,8 +21,8 @@ export declare const paramsSchema: z.ZodObject<{
21
21
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
22
22
  type: z.ZodEnum<{
23
23
  rewrite: "rewrite";
24
- delete: "delete";
25
24
  add: "add";
25
+ delete: "delete";
26
26
  move: "move";
27
27
  options: "options";
28
28
  }>;
@@ -11,8 +11,8 @@ export declare const paramsSchema: z.ZodObject<{
11
11
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
12
12
  type: z.ZodEnum<{
13
13
  rewrite: "rewrite";
14
- delete: "delete";
15
14
  add: "add";
15
+ delete: "delete";
16
16
  move: "move";
17
17
  options: "options";
18
18
  }>;
@@ -11,8 +11,8 @@ export declare const paramsSchema: z.ZodObject<{
11
11
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
12
12
  type: z.ZodEnum<{
13
13
  rewrite: "rewrite";
14
- delete: "delete";
15
14
  add: "add";
15
+ delete: "delete";
16
16
  move: "move";
17
17
  options: "options";
18
18
  }>;
@@ -5,8 +5,8 @@ export declare const paramsSchema: z.ZodObject<{
5
5
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
6
6
  type: z.ZodEnum<{
7
7
  rewrite: "rewrite";
8
- delete: "delete";
9
8
  add: "add";
9
+ delete: "delete";
10
10
  move: "move";
11
11
  options: "options";
12
12
  }>;
@@ -5,8 +5,8 @@ export declare const paramsSchema: z.ZodObject<{
5
5
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
6
6
  type: z.ZodEnum<{
7
7
  rewrite: "rewrite";
8
- delete: "delete";
9
8
  add: "add";
9
+ delete: "delete";
10
10
  move: "move";
11
11
  options: "options";
12
12
  }>;
@@ -11,8 +11,8 @@ export declare const paramsSchema: z.ZodObject<{
11
11
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
12
12
  type: z.ZodEnum<{
13
13
  rewrite: "rewrite";
14
- delete: "delete";
15
14
  add: "add";
15
+ delete: "delete";
16
16
  move: "move";
17
17
  options: "options";
18
18
  }>;
@@ -5,8 +5,8 @@ export declare const paramsSchema: z.ZodObject<{
5
5
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
6
6
  type: z.ZodEnum<{
7
7
  rewrite: "rewrite";
8
- delete: "delete";
9
8
  add: "add";
9
+ delete: "delete";
10
10
  move: "move";
11
11
  options: "options";
12
12
  }>;
@@ -11,8 +11,8 @@ export declare const paramsSchema: z.ZodObject<{
11
11
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
12
12
  type: z.ZodEnum<{
13
13
  rewrite: "rewrite";
14
- delete: "delete";
15
14
  add: "add";
15
+ delete: "delete";
16
16
  move: "move";
17
17
  options: "options";
18
18
  }>;
@@ -10,8 +10,8 @@ export declare const paramsSchema: z.ZodObject<{
10
10
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
11
11
  type: z.ZodEnum<{
12
12
  rewrite: "rewrite";
13
- delete: "delete";
14
13
  add: "add";
14
+ delete: "delete";
15
15
  move: "move";
16
16
  options: "options";
17
17
  }>;
@@ -9,8 +9,8 @@ export declare const paramsSchema: z.ZodObject<{
9
9
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
10
10
  type: z.ZodEnum<{
11
11
  rewrite: "rewrite";
12
- delete: "delete";
13
12
  add: "add";
13
+ delete: "delete";
14
14
  move: "move";
15
15
  options: "options";
16
16
  }>;
@@ -8,8 +8,8 @@ export declare const paramsSchema: z.ZodObject<{
8
8
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
9
9
  type: z.ZodEnum<{
10
10
  rewrite: "rewrite";
11
- delete: "delete";
12
11
  add: "add";
12
+ delete: "delete";
13
13
  move: "move";
14
14
  options: "options";
15
15
  }>;
@@ -8,8 +8,8 @@ export declare const paramsSchema: z.ZodObject<{
8
8
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
9
9
  type: z.ZodEnum<{
10
10
  rewrite: "rewrite";
11
- delete: "delete";
12
11
  add: "add";
12
+ delete: "delete";
13
13
  move: "move";
14
14
  options: "options";
15
15
  }>;
@@ -6,8 +6,8 @@ export declare const paramsSchema: z.ZodObject<{
6
6
  export declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
7
7
  type: z.ZodEnum<{
8
8
  rewrite: "rewrite";
9
- delete: "delete";
10
9
  add: "add";
10
+ delete: "delete";
11
11
  move: "move";
12
12
  options: "options";
13
13
  }>;
@@ -409,11 +409,11 @@ declare const toolConversationItemSchema: z.ZodObject<{
409
409
  * the components that render it.
410
410
  */
411
411
  export declare const serverToolNameSchema: z.ZodEnum<{
412
+ plan_completed: "plan_completed";
412
413
  load_skills: "load_skills";
413
414
  load_tools: "load_tools";
414
415
  create_plan: "create_plan";
415
416
  complete_plan_step: "complete_plan_step";
416
- plan_completed: "plan_completed";
417
417
  }>;
418
418
  export type ServerToolName = z.infer<typeof serverToolNameSchema>;
419
419
  /**
@@ -424,11 +424,11 @@ declare const serverToolConversationItemSchema: z.ZodObject<{
424
424
  timestamp: z.ZodNumber;
425
425
  type: z.ZodLiteral<"server_tool">;
426
426
  tool: z.ZodEnum<{
427
+ plan_completed: "plan_completed";
427
428
  load_skills: "load_skills";
428
429
  load_tools: "load_tools";
429
430
  create_plan: "create_plan";
430
431
  complete_plan_step: "complete_plan_step";
431
- plan_completed: "plan_completed";
432
432
  }>;
433
433
  label: z.ZodString;
434
434
  }, z.core.$strip>;
@@ -503,11 +503,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
503
503
  timestamp: z.ZodNumber;
504
504
  type: z.ZodLiteral<"server_tool">;
505
505
  tool: z.ZodEnum<{
506
+ plan_completed: "plan_completed";
506
507
  load_skills: "load_skills";
507
508
  load_tools: "load_tools";
508
509
  create_plan: "create_plan";
509
510
  complete_plan_step: "complete_plan_step";
510
- plan_completed: "plan_completed";
511
511
  }>;
512
512
  label: z.ZodString;
513
513
  }, z.core.$strip>, z.ZodObject<{
@@ -207,7 +207,6 @@ export type PageContext = {
207
207
  * Both Anthropic and OpenAI SDKs map to these via HTTP status codes.
208
208
  */
209
209
  export declare const agentErrorTypeSchema: z.ZodEnum<{
210
- unknown: "unknown";
211
210
  authentication: "authentication";
212
211
  rate_limit: "rate_limit";
213
212
  overloaded: "overloaded";
@@ -215,6 +214,7 @@ export declare const agentErrorTypeSchema: z.ZodEnum<{
215
214
  bad_request: "bad_request";
216
215
  connection: "connection";
217
216
  unauthorized: "unauthorized";
217
+ unknown: "unknown";
218
218
  }>;
219
219
  export type AgentErrorType = z.infer<typeof agentErrorTypeSchema>;
220
220
  /**
@@ -355,8 +355,8 @@ export declare const clientMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
355
355
  name: z.ZodString;
356
356
  label: z.ZodString;
357
357
  type: z.ZodEnum<{
358
- link: "link";
359
358
  reference: "reference";
359
+ link: "link";
360
360
  }>;
361
361
  allowed: z.ZodArray<z.ZodObject<{
362
362
  type: z.ZodString;
@@ -395,8 +395,8 @@ export declare const clientMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
395
395
  name: z.ZodString;
396
396
  label: z.ZodString;
397
397
  type: z.ZodEnum<{
398
- link: "link";
399
398
  reference: "reference";
399
+ link: "link";
400
400
  }>;
401
401
  allowed: z.ZodArray<z.ZodObject<{
402
402
  type: z.ZodString;
@@ -1,4 +1,12 @@
1
1
  [
2
+ {
3
+ "version": "0.1.3",
4
+ "date": "2026-06-13",
5
+ "body": {
6
+ "en": "<h3>Improvements / Verbesserungen</h3>\n<ul>\n<li>The change history now shows who made each change, next to the time.</li>\n</ul>\n",
7
+ "de": "<h3>Improvements / Verbesserungen</h3>\n<ul>\n<li>Der Änderungsverlauf zeigt jetzt neben der Uhrzeit auch, wer die Änderung\nvorgenommen hat.</li>\n</ul>\n"
8
+ }
9
+ },
2
10
  {
3
11
  "version": "2.0.0-alpha.63",
4
12
  "date": "2026-06-11",
@@ -20,13 +20,16 @@
20
20
  <div>
21
21
  <strong>{{ item.mutation.plugin?.label }}</strong>
22
22
  </div>
23
- <RelativeTime
24
- v-if="item.timestamp"
25
- v-slot="{ formatted }"
26
- :timestamp="item.timestamp"
27
- >
28
- <em>{{ formatted }}</em>
29
- </RelativeTime>
23
+ <div class="bk-history-item-meta">
24
+ <em v-if="item.user">{{ item.user.name }}</em>
25
+ <RelativeTime
26
+ v-if="item.timestamp"
27
+ v-slot="{ formatted }"
28
+ :timestamp="item.timestamp"
29
+ >
30
+ <em>{{ formatted }}</em>
31
+ </RelativeTime>
32
+ </div>
30
33
  </div>
31
34
  </button>
32
35
  <div v-if="canSetStatus" class="bk-history-item-actions">
@@ -104,7 +107,8 @@ const mapped = computed(
104
107
  index,
105
108
  mutation,
106
109
  timestamp: mutation.timestamp ? Number.parseInt(mutation.timestamp) : 0,
107
- enabled: mutation.enabled !== false
110
+ enabled: mutation.enabled !== false,
111
+ user: mutation.user
108
112
  };
109
113
  }).sort((a, b) => {
110
114
  return b.timestamp - a.timestamp;
@@ -313,6 +317,17 @@ async function setMutationItemStatus(index, status) {
313
317
  color: rgb(var(--bk-theme-mono-500) / 1);
314
318
  font-style: normal;
315
319
  }
320
+ :is(.bk.bk-history ul) .bk-history-item-meta {
321
+ display: flex;
322
+ flex-wrap: wrap;
323
+ align-items: center;
324
+ column-gap: 5px;
325
+ }
326
+ :is(:is(.bk.bk-history ul) .bk-history-item-meta) em + em:before {
327
+ content: '·';
328
+ margin-right: 5px;
329
+ color: rgb(var(--bk-theme-mono-400) / 1);
330
+ }
316
331
  .bk.bk-history .bk-history-item-actions {
317
332
  position: absolute;
318
333
  top: calc(1 / 2 * 100%);
@@ -37,6 +37,12 @@ export interface MutationItem {
37
37
  affectedItemUuid?: string;
38
38
  };
39
39
  enabled?: boolean;
40
+ /** The user who made the mutation, when the adapter reports per-mutation
41
+ * authorship (e.g. a multi-user server-side history). */
42
+ user?: {
43
+ id: string;
44
+ name: string;
45
+ } | null;
40
46
  }
41
47
  export interface Validation {
42
48
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revenexx/editor",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "revenexx hard fork of blökkli — interactive page building experience for Nuxt. Independently versioned; the upstream base of each release is documented in FORK.md.",
5
5
  "keywords": [
6
6
  "cms",