aicommunicator 0.0.0-stage → 0.2.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 (97) hide show
  1. package/LICENSE +55 -0
  2. package/README.md +93 -2
  3. package/bin/aic.js +20427 -0
  4. package/host-ui/host.js +5151 -0
  5. package/host-ui/index.html +483 -0
  6. package/host-ui/lang-en.js +631 -0
  7. package/package.json +30 -4
  8. package/plugin-guide.md +997 -0
  9. package/plugins/plugin-animation/LICENSE +55 -0
  10. package/plugins/plugin-animation/dist/logic.js +2225 -0
  11. package/plugins/plugin-animation/docs/manual.md +217 -0
  12. package/plugins/plugin-animation/manifest.json +31 -0
  13. package/plugins/plugin-animation/ui/icon.svg +6 -0
  14. package/plugins/plugin-animation/ui/index.html +2266 -0
  15. package/plugins/plugin-html-design/LICENSE +55 -0
  16. package/plugins/plugin-html-design/dist/logic.js +972 -0
  17. package/plugins/plugin-html-design/docs/manual.md +100 -0
  18. package/plugins/plugin-html-design/manifest.json +39 -0
  19. package/plugins/plugin-html-design/samples/exhibition-page.json +570 -0
  20. package/plugins/plugin-html-design/ui/icon.svg +5 -0
  21. package/plugins/plugin-html-design/ui/index.html +1241 -0
  22. package/plugins/plugin-html-slides/LICENSE +55 -0
  23. package/plugins/plugin-html-slides/dist/logic.js +1323 -0
  24. package/plugins/plugin-html-slides/docs/manual.md +121 -0
  25. package/plugins/plugin-html-slides/manifest.json +39 -0
  26. package/plugins/plugin-html-slides/samples/first-week-lecture.json +1129 -0
  27. package/plugins/plugin-html-slides/ui/icon.svg +5 -0
  28. package/plugins/plugin-html-slides/ui/index.html +1349 -0
  29. package/plugins/plugin-mindmap/LICENSE +55 -0
  30. package/plugins/plugin-mindmap/dist/logic.js +966 -0
  31. package/plugins/plugin-mindmap/docs/manual.md +145 -0
  32. package/plugins/plugin-mindmap/manifest.json +39 -0
  33. package/plugins/plugin-mindmap/samples/book-club.json +480 -0
  34. package/plugins/plugin-mindmap/ui/icon.svg +5 -0
  35. package/plugins/plugin-mindmap/ui/index.html +1774 -0
  36. package/plugins/plugin-plan/LICENSE +55 -0
  37. package/plugins/plugin-plan/dist/logic.js +1029 -0
  38. package/plugins/plugin-plan/docs/manual.md +261 -0
  39. package/plugins/plugin-plan/manifest.json +51 -0
  40. package/plugins/plugin-plan/samples/kimchi-day.json +1514 -0
  41. package/plugins/plugin-plan/samples/meeting-outline.json +653 -0
  42. package/plugins/plugin-plan/samples/reading-class.json +1577 -0
  43. package/plugins/plugin-plan/ui/icon.svg +7 -0
  44. package/plugins/plugin-plan/ui/index.html +1523 -0
  45. package/plugins/plugin-png/LICENSE +55 -0
  46. package/plugins/plugin-png/dist/logic.js +1758 -0
  47. package/plugins/plugin-png/docs/manual.md +344 -0
  48. package/plugins/plugin-png/manifest.json +35 -0
  49. package/plugins/plugin-png/ui/icon.svg +5 -0
  50. package/plugins/plugin-png/ui/index.html +2885 -0
  51. package/plugins/plugin-process-log/LICENSE +55 -0
  52. package/plugins/plugin-process-log/dist/logic.js +406 -0
  53. package/plugins/plugin-process-log/docs/manual.md +131 -0
  54. package/plugins/plugin-process-log/manifest.json +43 -0
  55. package/plugins/plugin-process-log/samples/design-decisions.json +241 -0
  56. package/plugins/plugin-process-log/ui/icon.svg +7 -0
  57. package/plugins/plugin-process-log/ui/index.html +721 -0
  58. package/plugins/plugin-story/LICENSE +55 -0
  59. package/plugins/plugin-story/dist/logic.js +2201 -0
  60. package/plugins/plugin-story/docs/manual.md +428 -0
  61. package/plugins/plugin-story/manifest.json +49 -0
  62. package/plugins/plugin-story/samples/scene-body.json +758 -0
  63. package/plugins/plugin-story/samples/time-and-groups.json +989 -0
  64. package/plugins/plugin-story/ui/icon.svg +4 -0
  65. package/plugins/plugin-story/ui/index.html +2783 -0
  66. package/plugins/plugin-svg/LICENSE +55 -0
  67. package/plugins/plugin-svg/dist/logic.js +2150 -0
  68. package/plugins/plugin-svg/docs/manual.md +314 -0
  69. package/plugins/plugin-svg/manifest.json +45 -0
  70. package/plugins/plugin-svg/samples/rocket-icon.json +1305 -0
  71. package/plugins/plugin-svg/samples/yard-cat.json +7796 -0
  72. package/plugins/plugin-svg/ui/icon.svg +4 -0
  73. package/plugins/plugin-svg/ui/index.html +2017 -0
  74. package/plugins/plugin-tree/LICENSE +55 -0
  75. package/plugins/plugin-tree/dist/logic.js +505 -0
  76. package/plugins/plugin-tree/docs/manual.md +140 -0
  77. package/plugins/plugin-tree/manifest.json +45 -0
  78. package/plugins/plugin-tree/samples/book-club.json +473 -0
  79. package/plugins/plugin-tree/samples/sort-memos.json +604 -0
  80. package/plugins/plugin-tree/ui/icon.svg +7 -0
  81. package/plugins/plugin-tree/ui/index.html +1305 -0
  82. package/schema/aic_describe.input.json +11 -0
  83. package/schema/aic_describe.output.json +67 -0
  84. package/schema/aic_observe.input.json +14 -0
  85. package/schema/aic_observe.output.json +47 -0
  86. package/schema/aic_send.input.json +15 -0
  87. package/schema/aic_send.output.json +38 -0
  88. package/schema/aic_update.input.json +19 -0
  89. package/schema/aic_update.output.json +39 -0
  90. package/schema/common.json +127 -0
  91. package/template/plugin/LICENSE +55 -0
  92. package/template/plugin/README.md +27 -0
  93. package/template/plugin/docs/manual.md +31 -0
  94. package/template/plugin/logic.js +337 -0
  95. package/template/plugin/manifest.json +27 -0
  96. package/template/plugin/ui/icon.svg +4 -0
  97. package/template/plugin/ui/index.html +269 -0
@@ -0,0 +1,140 @@
1
+ # Tree manual
2
+
3
+ This is the full manual for the Tree (`aic.tree`) screen. Both people and the AI read it. You open it with [설명서] (Manual) in the plugin window of the AIC screen, and the AI reads it with `read_plugin_manual`.
4
+
5
+ ## What this screen is for
6
+
7
+ This screen splits nodes that have only a name into a tree. You write a topic at the root on top and split it into branches below. A node holds nothing but its name. Thoughts you want to add to a node, such as explanations, reasons, things to do or questions, go on it as stickers.
8
+
9
+ The text of a sticker is a memo in the AIC memo box. A sticker only marks "this memo is on this node" and has no text of its own. This means two things.
10
+
11
+ - When you write new text and add it to a node, that text also becomes a new memo in the memo box.
12
+ - When you pick memos already in the memo box and add them to nodes, you can sort them into branches without copying them. The same memo can go on several nodes.
13
+
14
+ There is no task status, due date or question card. If you need those, Task Tree (`aic.plan`) fits better. Use Tree when you only want to split thoughts into branches.
15
+
16
+ ## How the screen looks
17
+
18
+ - The tree uses most of the screen. Each node row has a collapse toggle, a drag handle (⠿) and the name. Tool buttons and the node number (like `n3`) show when you point at the row.
19
+ - Stickers show as yellow notes under their node row. The memo number of a sticker also shows when you point at it.
20
+ - A row of icons floats at the top right. From the left, they are [Collapse all memos], [Expand all nodes], [Collapse all nodes] and [Changes and notices]. Point at an icon to see its name. When the AI changed something that is not confirmed yet, a question mark icon also shows, and its text explains the marks.
21
+ - The side panel has the list of changes and "Stickers on removed nodes", which gathers stickers whose node was removed. The side panel starts hidden, and [Changes and notices] opens and closes it. When something new needs your attention (stickers on removed nodes, conflicts, notices), the side panel opens by itself. If you close it, the icon keeps showing the count. When the AI makes a new change while the panel is hidden, a dot shows on the icon, and it goes away when you open the panel.
22
+ - When you select nodes, a small box for telling the AI shows at the top of the screen, left of the icon row. It stays at the top while you scroll. It goes away when nothing is selected.
23
+ - In a narrow window, the side panel moves below the tree. The indent and rows of the tree stay the same.
24
+
25
+ ## Working with nodes
26
+
27
+ | What | What you do | What the AI does |
28
+ | --- | --- | --- |
29
+ | Make the root | In an empty work, press [Add root] and write the topic | Sends `node.add` without `parent`. There is only one root |
30
+ | Add a node below | Press [+ Node] on a node row, write the name, then press Enter or [Save] | Gives `parent` and `title` to `node.add`. To add under a node made in the same request, use the `$name` given with `as` as `parent` |
31
+ | Rename | Press the name to open an input. Change it, then press Enter or [Save] | Gives `node` and the new `title` to `node.update`. The id stays the same |
32
+ | Move under another node | Drag ⠿ and drop it on the middle of another node | Gives `node` and the new `parent` to `node.move` |
33
+ | Change the order of siblings | Drag ⠿ and drop it on the top or bottom edge of another node, or press [↑] or [↓] | Gives the same `parent` and `after` (id of the previous sibling, `null` for the front) to `node.move` |
34
+ | Move out one level | Press [←] to move the node right after its parent | Gives the grandparent as `parent` and the parent as `after` to `node.move` |
35
+ | Remove a node | Press [×]. The button changes, and you press it once more to remove | Asks the person first, then sends `node.remove` |
36
+ | Select and tell the AI | Click an empty part of a node row to select it. Ctrl+click (Cmd+click on a Mac) selects more than one. A box shows at the top of the screen right away. Write what you want, then press Enter or [Send]. Click the same row again or press Esc to clear the selection. The box does not show while you write a name or memo, while you drag, or in the read only view | Reads the selected nodes and the words with `read_selection` |
37
+ | Collapse the nodes below | Press the collapse toggle in front of the node. A collapsed node shows how many stickers are on the nodes below | This only changes the screen, so the AI has nothing to do |
38
+
39
+ Removing a node also removes all the nodes under it. The root cannot be removed. Stickers that were on a removed node are not removed. They stay in "Stickers on removed nodes" (see "Stickers and removed nodes" below).
40
+
41
+ ## Working with stickers
42
+
43
+ | What | What you do | What the AI does |
44
+ | --- | --- | --- |
45
+ | Write new text and add it | Press [+ Sticker] on a node row. A window asks which memo to add. Pick [Write a new memo], write the text, then press [Add] or Ctrl+Enter (Cmd+Enter on a Mac) | Sends `core.memo.add` (with a `$name` in `as`) and `sticker.add` (with that `$name` in `memo`) in one request |
46
+ | Add a memo from the memo box | Press [+ Sticker], pick [Pick from the memo box] in the window, then pick a memo from the list. It is added right away and no new memo is made. Memos already on that node are not in the list. Close the window with [Cancel] or Esc | Gives a memo id (like `memo3`) as `memo` in `sticker.add`. Several memos can be sorted in one request |
47
+ | Move to another node | Press [Move] on the sticker and pick the node to move it to | Gives `sticker` and the new `node` to `sticker.attach` |
48
+ | Remove | Press [Remove] on the sticker. The memo stays in the memo box | Asks the person first, then sends `sticker.remove` |
49
+ | Edit the memo text | Press [Edit] on the sticker to open an input inside it. Change the text, then press [Save] or Ctrl+Enter. The memo in the memo box changes too | Gives `memo` and the new `text` to `core.memo.update` |
50
+ | Expand and collapse | A sticker is collapsed to its first three lines. Press it, or press Enter or Space, to expand it. Press it again or press [Collapse] to collapse it. Only one sticker on the whole screen is expanded at a time | This only changes the screen, so the AI has nothing to do |
51
+ | Collapse all memos | Press [Collapse all memos] in the icon row at the top right. Stickers on every node are hidden, and only "N memos" stays next to each node. The same icon's name changes to [Expand all memos] | This only changes the screen |
52
+ | Show or hide one node | Press "N memos" next to a node to flip only that node. Pressing [Collapse all memos] or [Expand all memos] clears what you flipped per node | This only changes the screen |
53
+
54
+ In the memo text input, Enter starts a new line. Save with Ctrl+Enter (Cmd+Enter on a Mac) or the [Save] or [Add] button. The node name input is one line, so Enter saves it.
55
+
56
+ While you edit, that sticker stays expanded, [Collapse] is hidden, and [Collapse all memos] does not hide it. This keeps you from losing what you were writing. If nothing changed, saving sends nothing. If you delete all the text and save, you are told that an empty memo cannot be made.
57
+
58
+ Marks in the memo text (`[text](id)`) and square brackets in the text appear in the input the same way as when you edit in the host memo box. A backslash is put before square brackets and backslashes in the text. If a mark points to something that does not exist, the save is rejected, the text you were writing stays, and the reason is shown.
59
+
60
+ ## How to work together
61
+
62
+ 1. The person says the topic they want to split. The AI writes the root name in the meaning it understood and splits it into branches below. Several nodes can be sent in one request, linked with `as` and `$name`.
63
+ 2. You rename, drag and remove branches you do not need on the screen. The AI does not hold on to the shape it made first, and follows the shape you changed the next time it reads.
64
+ 3. When you have a thought to add, add it as a sticker. You write one with [+ Sticker]. The AI asks the person whether it may add one, then makes the memo and adds it.
65
+ 4. If many memos have piled up in the memo box, tell the AI "sort my memos into branches". The AI reads the memos, shows the person which node each one goes on, then adds them by memo id without making new memos.
66
+ 5. When stickers make the tree long, press [Collapse all memos] to see only the branches, and press "N memos" only on the nodes you want to see.
67
+
68
+ ## Telling the AI about selected nodes
69
+
70
+ Selecting nodes is the quickest way to say "this part". The AI reads the nodes you selected, their path from the root, the nodes under them and the stickers on them. If a selected node was collapsed, the AI knows you spoke without seeing the nodes under it. Even before you press [Send], the AI can read what you selected with `read_selection`.
71
+
72
+ ## Ask the person first
73
+
74
+ - Adding and removing stickers. Stickers are never added or removed automatically. Even when the AI has decided which memo goes on which node, it shows the person before adding.
75
+ - Removing a node, because the nodes under it are removed too.
76
+ - Whether to remove the stickers left on a removed node, or move them to another node.
77
+
78
+ ## Stickers and removed nodes
79
+
80
+ When a node is removed, the stickers that were on it stay and point to the removed node, so that memos are not lost. These stickers gather in "Stickers on removed nodes" in the side panel. If the side panel is hidden, the [Changes and notices] icon shows their count. Use [Move] to put a sticker you still need on another node, and [Remove] to remove one you do not. The AI sees these stickers in the text of `read_concept`, asks the person, and sends `sticker.attach` or `sticker.remove`.
81
+
82
+ If you try to delete a memo that is on a sticker in the memo box, the core tells you it is on a sticker. When a memo is deleted, stickers that pointed to it no longer show on the screen.
83
+
84
+ ## What the AI reads
85
+
86
+ `read_concept` returns the tree as an indented list. The root looks like `Root (n1) name`, other nodes look like `- (n3) name`, and stickers under a node look like `Sticker (st2): memo memo5`. Stickers that point to a removed node are listed apart under "Stickers left on removed nodes". The core puts the memo text in the memo section of the same response. When there are too many memos and only the count is shown, read them with `read_memos`.
87
+
88
+ To read only one branch of a large tree, give a node id as the scope of `read_concept`. It reads that node and everything under it, the names of the nodes above it up to the root, and the stickers on them.
89
+
90
+ The result summary of `apply_operation` and `read_changes` show the ids of new nodes and stickers (for example `Node added (n4, under n1): Installer`). Use that id as it is in the next operation.
91
+
92
+ ## Operations at a glance
93
+
94
+ | Operation | Input | What it does |
95
+ | --- | --- | --- |
96
+ | `node.add` | `parent` (left out for the root), `after`, `title` | Makes a node |
97
+ | `node.update` | `node`, `title` | Changes the name |
98
+ | `node.move` | `node`, `parent`, `after` | Moves under another parent or within the same parent |
99
+ | `node.remove` | `node` | Removes a node and everything under it. Stickers stay |
100
+ | `sticker.add` | `memo` (memo id or a `$name` in the same request), `node` | Adds a sticker |
101
+ | `sticker.attach` | `sticker`, `node` | Moves a sticker to another node |
102
+ | `sticker.remove` | `sticker` | Removes a sticker. The memo stays |
103
+
104
+ Making and editing memos is done with the core operations `core.memo.add` and `core.memo.update`.
105
+
106
+ Here is an example that makes a new memo and adds it.
107
+
108
+ ```json
109
+ [
110
+ { "op": "core.memo.add", "as": "$m", "input": { "text": "We do not know yet if the installer needs a signature" } },
111
+ { "op": "sticker.add", "input": { "memo": "$m", "node": "n2" } }
112
+ ]
113
+ ```
114
+
115
+ Here is an example that sorts several memos from the memo box.
116
+
117
+ ```json
118
+ [
119
+ { "op": "sticker.add", "input": { "memo": "memo3", "node": "n2" } },
120
+ { "op": "sticker.add", "input": { "memo": "memo7", "node": "n4" } }
121
+ ]
122
+ ```
123
+
124
+ ## Common problems
125
+
126
+ - **Tried to make a second root.** There is only one root. Add a new topic as a node under the root, or rename the root.
127
+ - **Tried to write an explanation in a node.** A node has only a name. Add the explanation as a sticker.
128
+ - **Added the same memo to the same node twice.** It is rejected. It can go on other nodes.
129
+ - **Made a new memo with text that is already in the memo box.** The memo box then has the same text twice. For a memo that already exists, give its id as `memo` in `sticker.add`.
130
+ - **Tried to add a memo that does not exist or was deleted.** The core rejects it, and the other operations in the same request are not saved either. Check the memo id again with `read_memos`.
131
+ - **Put something that is not a memo id in `memo`.** Only a memo id like `memo3` or a `$name` given to `core.memo.add` in the same request is accepted.
132
+ - **The node for the sticker did not exist.** The whole request is rejected, so the memo you meant to make with `core.memo.add` in the same request is not made either. A memo is never left behind alone.
133
+ - **Stickers seem to be gone after removing a node.** They are not gone. Open the side panel with [Changes and notices], and they are in "Stickers on removed nodes".
134
+ - **Too many stickers to see the tree.** Press [Collapse all memos].
135
+ - **Pressing Enter in the memo text does not save.** Enter in the memo text starts a new line. Press Ctrl+Enter (Cmd+Enter on a Mac) or [Save].
136
+ - **There are no buttons in the view tab on the right.** The view tab is read only. Make changes on the main screen.
137
+
138
+ ## Samples
139
+
140
+ The samples listed in `samples` in the manifest are records of real work on this screen. You read them with [예제 읽기] (Read sample) in the plugin window, and the AI reads them by giving `sample` to `read_plugin_manual`.
@@ -0,0 +1,45 @@
1
+ {
2
+ "id": "aic.tree",
3
+ "version": "0.1.5",
4
+ "dataVersion": 1,
5
+ "title": "Tree",
6
+ "license": "Apache-2.0",
7
+ "protocol": "0.1",
8
+ "logic": "dist/logic.js",
9
+ "ui": "ui/index.html",
10
+ "icon": "ui/icon.svg",
11
+ "manual": "docs/manual.md",
12
+ "samples": [
13
+ {
14
+ "id": "book-club",
15
+ "title": "Splitting book club prep into branches",
16
+ "about": "The AI splits the topic the person gave into nodes. The person renames, reorders, adds and removes nodes. The person adds thoughts with [+ Sticker], the AI makes a memo and a sticker in one request, and the person edits the memo text inside a sticker.",
17
+ "file": "samples/book-club.json"
18
+ },
19
+ {
20
+ "id": "sort-memos",
21
+ "title": "Sorting memos in the memo box into branches",
22
+ "about": "The AI makes branches for seven memos the person wrote in the memo box and adds them by memo id (no copies, one memo on two nodes). The person removes a node, the AI removes and moves the stickers left behind as the person says, and the person picks one more memo from the memo box list.",
23
+ "file": "samples/sort-memos.json"
24
+ }
25
+ ],
26
+ "about": "A screen that splits nodes, which have only a name, into a tree. You or the AI write the topic at the top and split nodes below it, and create, rename, move and delete nodes. Extra thoughts are attached to a node as stickers. When you write new text for a sticker, a memo with that text is also created in the memo box. You can also attach a memo that is already in the memo box to a node, which sorts memos by branch. Removing a sticker leaves the memo in the memo box. It suits lightly splitting ideas into branches, with no task status and no questions.",
27
+ "requires": {
28
+ "os": "any",
29
+ "external": []
30
+ },
31
+ "examples": [
32
+ {
33
+ "ask": "I want to split a topic into a few branches and see it at a glance",
34
+ "does": "Write the topic at the root and the AI splits nodes below it. You drag nodes to move them or rename them."
35
+ },
36
+ {
37
+ "ask": "I want to sort the memos piled up in the memo box by topic",
38
+ "does": "The AI creates the branches as nodes and attaches each memo to the matching node as a sticker. Memos are not copied and stay in the memo box."
39
+ },
40
+ {
41
+ "ask": "I want to write a thought down so it is clear which branch it belongs to",
42
+ "does": "Attach a sticker to the node. Its text is kept as a memo in the memo box and is shown next to that node in the tree."
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,473 @@
1
+ {
2
+ "format": "aic-sample/1",
3
+ "title": "동네 책 모임 시작하기",
4
+ "plugins": [
5
+ {
6
+ "package": "aic.tree",
7
+ "version": "0.1.0",
8
+ "title": "트리"
9
+ }
10
+ ],
11
+ "instances": [
12
+ {
13
+ "id": "p1",
14
+ "package": "aic.tree",
15
+ "title": "트리"
16
+ }
17
+ ],
18
+ "revisions": [
19
+ {
20
+ "revision": "h1",
21
+ "who": "AI",
22
+ "kind": "init",
23
+ "summary": "작업을 만들었다: 동네 책 모임 시작하기",
24
+ "changes": [
25
+ {
26
+ "record": "p1",
27
+ "type": "instance",
28
+ "owner": null,
29
+ "before": null,
30
+ "after": {
31
+ "package": "aic.tree",
32
+ "version": "0.1.0",
33
+ "digest": "9eea0a18ecfae4e60ea21f6782485a4ab022f013dff3bd20512e1a9661acbb05",
34
+ "dataVersion": 1,
35
+ "active": true
36
+ }
37
+ }
38
+ ]
39
+ },
40
+ {
41
+ "revision": "h2",
42
+ "who": "AI",
43
+ "kind": "op",
44
+ "cause": {
45
+ "humanWords": [
46
+ {
47
+ "text": "동네에서 책 모임을 시작하려고 해. 준비할 것을 갈래로 나눠 줘",
48
+ "source": "relayed_by_ai"
49
+ }
50
+ ]
51
+ },
52
+ "summary": "뿌리 만듦(n1): 동네 책 모임 시작하기. 노드 더함(n2, n1 아래): 첫 책 고르기. 노드 더함(n3, n1 아래): 모일 곳. 노드 더함(n4, n1 아래): 사람 모으기. 노드 더함(n5, n1 아래): 모임 규칙. 노드 더함(n6, n3 아래): 도서관 세미나실. 노드 더함(n7, n3 아래): 동네 카페.",
53
+ "operations": [
54
+ {
55
+ "op": "node.add",
56
+ "as": "$뿌리",
57
+ "input": {
58
+ "title": "동네 책 모임 시작하기"
59
+ }
60
+ },
61
+ {
62
+ "op": "node.add",
63
+ "as": "$책",
64
+ "input": {
65
+ "parent": "$뿌리",
66
+ "title": "첫 책 고르기"
67
+ }
68
+ },
69
+ {
70
+ "op": "node.add",
71
+ "as": "$곳",
72
+ "input": {
73
+ "parent": "$뿌리",
74
+ "title": "모일 곳"
75
+ }
76
+ },
77
+ {
78
+ "op": "node.add",
79
+ "as": "$사람",
80
+ "input": {
81
+ "parent": "$뿌리",
82
+ "title": "사람 모으기"
83
+ }
84
+ },
85
+ {
86
+ "op": "node.add",
87
+ "input": {
88
+ "parent": "$뿌리",
89
+ "title": "모임 규칙"
90
+ }
91
+ },
92
+ {
93
+ "op": "node.add",
94
+ "input": {
95
+ "parent": "$곳",
96
+ "title": "도서관 세미나실"
97
+ }
98
+ },
99
+ {
100
+ "op": "node.add",
101
+ "input": {
102
+ "parent": "$곳",
103
+ "title": "동네 카페"
104
+ }
105
+ }
106
+ ],
107
+ "changes": [
108
+ {
109
+ "record": "n1",
110
+ "type": "node",
111
+ "owner": "p1",
112
+ "before": null,
113
+ "after": {
114
+ "parent": null,
115
+ "order": "V",
116
+ "title": "동네 책 모임 시작하기"
117
+ }
118
+ },
119
+ {
120
+ "record": "n2",
121
+ "type": "node",
122
+ "owner": "p1",
123
+ "before": null,
124
+ "after": {
125
+ "parent": "n1",
126
+ "order": "V",
127
+ "title": "첫 책 고르기"
128
+ }
129
+ },
130
+ {
131
+ "record": "n3",
132
+ "type": "node",
133
+ "owner": "p1",
134
+ "before": null,
135
+ "after": {
136
+ "parent": "n1",
137
+ "order": "W",
138
+ "title": "모일 곳"
139
+ }
140
+ },
141
+ {
142
+ "record": "n4",
143
+ "type": "node",
144
+ "owner": "p1",
145
+ "before": null,
146
+ "after": {
147
+ "parent": "n1",
148
+ "order": "X",
149
+ "title": "사람 모으기"
150
+ }
151
+ },
152
+ {
153
+ "record": "n5",
154
+ "type": "node",
155
+ "owner": "p1",
156
+ "before": null,
157
+ "after": {
158
+ "parent": "n1",
159
+ "order": "Y",
160
+ "title": "모임 규칙"
161
+ }
162
+ },
163
+ {
164
+ "record": "n6",
165
+ "type": "node",
166
+ "owner": "p1",
167
+ "before": null,
168
+ "after": {
169
+ "parent": "n3",
170
+ "order": "V",
171
+ "title": "도서관 세미나실"
172
+ }
173
+ },
174
+ {
175
+ "record": "n7",
176
+ "type": "node",
177
+ "owner": "p1",
178
+ "before": null,
179
+ "after": {
180
+ "parent": "n3",
181
+ "order": "W",
182
+ "title": "동네 카페"
183
+ }
184
+ }
185
+ ]
186
+ },
187
+ {
188
+ "revision": "h4",
189
+ "who": "사람",
190
+ "kind": "op",
191
+ "summary": "노드 n4 이름 \"사람 모으기\" 에서 \"함께할 사람 모으기\" 로.",
192
+ "operations": [
193
+ {
194
+ "op": "node.update",
195
+ "input": {
196
+ "node": "n4",
197
+ "title": "함께할 사람 모으기"
198
+ }
199
+ }
200
+ ],
201
+ "changes": [
202
+ {
203
+ "record": "n4",
204
+ "type": "node",
205
+ "owner": "p1",
206
+ "before": {
207
+ "parent": "n1",
208
+ "order": "X",
209
+ "title": "사람 모으기"
210
+ },
211
+ "after": {
212
+ "parent": "n1",
213
+ "order": "X",
214
+ "title": "함께할 사람 모으기"
215
+ }
216
+ }
217
+ ]
218
+ },
219
+ {
220
+ "revision": "h5",
221
+ "who": "사람",
222
+ "kind": "op",
223
+ "summary": "옮김(n4 함께할 사람 모으기): 같은 부모 안에서, 맨 앞.",
224
+ "operations": [
225
+ {
226
+ "op": "node.move",
227
+ "input": {
228
+ "node": "n4",
229
+ "parent": "n1",
230
+ "after": null
231
+ }
232
+ }
233
+ ],
234
+ "changes": [
235
+ {
236
+ "record": "n4",
237
+ "type": "node",
238
+ "owner": "p1",
239
+ "before": {
240
+ "parent": "n1",
241
+ "order": "X",
242
+ "title": "함께할 사람 모으기"
243
+ },
244
+ "after": {
245
+ "parent": "n1",
246
+ "order": "U",
247
+ "title": "함께할 사람 모으기"
248
+ }
249
+ }
250
+ ]
251
+ },
252
+ {
253
+ "revision": "h6",
254
+ "who": "사람",
255
+ "kind": "op",
256
+ "summary": "노드 더함(n8, n4 아래): 아파트 게시판.",
257
+ "operations": [
258
+ {
259
+ "op": "node.add",
260
+ "input": {
261
+ "parent": "n4",
262
+ "title": "아파트 게시판"
263
+ }
264
+ }
265
+ ],
266
+ "changes": [
267
+ {
268
+ "record": "n8",
269
+ "type": "node",
270
+ "owner": "p1",
271
+ "before": null,
272
+ "after": {
273
+ "parent": "n4",
274
+ "order": "V",
275
+ "title": "아파트 게시판"
276
+ }
277
+ }
278
+ ]
279
+ },
280
+ {
281
+ "revision": "h7",
282
+ "who": "사람",
283
+ "kind": "op",
284
+ "summary": "메모 더함(memo1): \"세미나실은 두 주 전에 예약해야 한다고 들었다. 토요일 오전이 비는지 물...\". 스티커 붙임(st1): (n6) 도서관 세미나실 에 메모 memo1.",
285
+ "operations": [
286
+ {
287
+ "op": "core.memo.add",
288
+ "as": "$메모",
289
+ "input": {
290
+ "text": "세미나실은 두 주 전에 예약해야 한다고 들었다. 토요일 오전이 비는지 물어보기"
291
+ }
292
+ },
293
+ {
294
+ "op": "sticker.add",
295
+ "input": {
296
+ "memo": "$메모",
297
+ "node": "n6"
298
+ }
299
+ }
300
+ ],
301
+ "changes": [
302
+ {
303
+ "record": "memo1",
304
+ "type": "memo",
305
+ "owner": null,
306
+ "before": null,
307
+ "after": {
308
+ "text": [
309
+ "세미나실은 두 주 전에 예약해야 한다고 들었다. 토요일 오전이 비는지 물어보기"
310
+ ]
311
+ }
312
+ },
313
+ {
314
+ "record": "st1",
315
+ "type": "sticker",
316
+ "owner": "p1",
317
+ "before": null,
318
+ "after": {
319
+ "memo": "memo1",
320
+ "node": "n6"
321
+ }
322
+ }
323
+ ]
324
+ },
325
+ {
326
+ "revision": "h9",
327
+ "who": "AI",
328
+ "kind": "op",
329
+ "cause": {
330
+ "humanWords": [
331
+ {
332
+ "text": "첫 책은 짧은 소설이 좋겠다는 것, 그리고 못 읽고 와도 괜찮다는 규칙을 메모로 붙여 줘",
333
+ "source": "relayed_by_ai"
334
+ }
335
+ ]
336
+ },
337
+ "summary": "메모 더함(memo2): \"첫 책은 300쪽 안쪽의 소설이 좋겠다. 한 달에 한 권이면 처음 오는 ...\". 스티커 붙임(st2): (n2) 첫 책 고르기 에 메모 memo2. 메모 더함(memo3): \"못 읽고 와도 오는 것을 막지 않는다\". 스티커 붙임(st3): (n5) 모임 규칙 에 메모 memo3.",
338
+ "operations": [
339
+ {
340
+ "op": "core.memo.add",
341
+ "as": "$첫책",
342
+ "input": {
343
+ "text": "첫 책은 300쪽 안쪽의 소설이 좋겠다. 한 달에 한 권이면 처음 오는 사람도 부담이 적다"
344
+ }
345
+ },
346
+ {
347
+ "op": "sticker.add",
348
+ "input": {
349
+ "memo": "$첫책",
350
+ "node": "n2"
351
+ }
352
+ },
353
+ {
354
+ "op": "core.memo.add",
355
+ "as": "$규칙",
356
+ "input": {
357
+ "text": "못 읽고 와도 오는 것을 막지 않는다"
358
+ }
359
+ },
360
+ {
361
+ "op": "sticker.add",
362
+ "input": {
363
+ "memo": "$규칙",
364
+ "node": "n5"
365
+ }
366
+ }
367
+ ],
368
+ "changes": [
369
+ {
370
+ "record": "memo2",
371
+ "type": "memo",
372
+ "owner": null,
373
+ "before": null,
374
+ "after": {
375
+ "text": [
376
+ "첫 책은 300쪽 안쪽의 소설이 좋겠다. 한 달에 한 권이면 처음 오는 사람도 부담이 적다"
377
+ ]
378
+ }
379
+ },
380
+ {
381
+ "record": "st2",
382
+ "type": "sticker",
383
+ "owner": "p1",
384
+ "before": null,
385
+ "after": {
386
+ "memo": "memo2",
387
+ "node": "n2"
388
+ }
389
+ },
390
+ {
391
+ "record": "memo3",
392
+ "type": "memo",
393
+ "owner": null,
394
+ "before": null,
395
+ "after": {
396
+ "text": [
397
+ "못 읽고 와도 오는 것을 막지 않는다"
398
+ ]
399
+ }
400
+ },
401
+ {
402
+ "record": "st3",
403
+ "type": "sticker",
404
+ "owner": "p1",
405
+ "before": null,
406
+ "after": {
407
+ "memo": "memo3",
408
+ "node": "n5"
409
+ }
410
+ }
411
+ ]
412
+ },
413
+ {
414
+ "revision": "h11",
415
+ "who": "사람",
416
+ "kind": "op",
417
+ "summary": "노드 지움(n7): 동네 카페.",
418
+ "operations": [
419
+ {
420
+ "op": "node.remove",
421
+ "input": {
422
+ "node": "n7"
423
+ }
424
+ }
425
+ ],
426
+ "changes": [
427
+ {
428
+ "record": "n7",
429
+ "type": "node",
430
+ "owner": "p1",
431
+ "before": {
432
+ "parent": "n3",
433
+ "order": "W",
434
+ "title": "동네 카페"
435
+ },
436
+ "after": null
437
+ }
438
+ ]
439
+ },
440
+ {
441
+ "revision": "h12",
442
+ "who": "사람",
443
+ "kind": "op",
444
+ "summary": "memo3: \"못 읽고 와도 오는 것을 막지 않는다\" 에서 \"못 읽고 와도 오는 것을 막지 않는다. 대신 읽은 곳까지만 이야기한다\" 로",
445
+ "operations": [
446
+ {
447
+ "op": "core.memo.update",
448
+ "input": {
449
+ "memo": "memo3",
450
+ "text": "못 읽고 와도 오는 것을 막지 않는다. 대신 읽은 곳까지만 이야기한다"
451
+ }
452
+ }
453
+ ],
454
+ "changes": [
455
+ {
456
+ "record": "memo3",
457
+ "type": "memo",
458
+ "owner": null,
459
+ "before": {
460
+ "text": [
461
+ "못 읽고 와도 오는 것을 막지 않는다"
462
+ ]
463
+ },
464
+ "after": {
465
+ "text": [
466
+ "못 읽고 와도 오는 것을 막지 않는다. 대신 읽은 곳까지만 이야기한다"
467
+ ]
468
+ }
469
+ }
470
+ ]
471
+ }
472
+ ]
473
+ }