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,428 @@
1
+ # Story List manual
2
+
3
+ This is the detailed manual for the Story List screen (`aic.story`, version 0.4.5). The person and the AI read it together. The person opens it with [설명서] (Manual) in the plugin window of the AIC screen, and the AI reads it with `read_plugin_manual`. Button names are written in [ ] exactly as the screen shows them.
4
+
5
+ ## What this screen is for
6
+
7
+ This screen is for work such as novels, screenplays and serials, where you settle the setting first and then write the scenes one at a time. The screen holds five kinds of things.
8
+
9
+ - **Facts**: settled things that apply to the whole story. Write the background of characters, places, events and the rules of the world.
10
+ - **Scenes**: the units in which the story is written. For each scene, write short **lines** that say what happens in it. The order of the scene list is the order of the novel (the reading order).
11
+ - **Body text**: the prose of a scene. It is a list of paragraphs, and it is text that the person and the AI have settled.
12
+ - **Characters and places**: things that the text points to by name. In operation names they are called nodes. Between two nodes you can put a named **relation**.
13
+ - **Stickers**: memos from the AIC memo box attached to rows of this screen.
14
+
15
+ Looking at the facts, the person and the AI write lines for each scene. From those lines and the facts, the AI makes the body text of a scene as an **output**. Only what the person reads and chooses is **adopted** as the body text. Before it is adopted, an output is only a draft, not something settled. After adopting, the person and the AI edit the body text paragraph by paragraph.
16
+
17
+ If you give facts and scenes a time in the story, facts are listed in the order of events, and you can switch scenes between the reading order and the order of events. When there are many scenes, you can put them into **groups** (parts, chapters) with several levels, like folders.
18
+
19
+ ## How the screen is laid out
20
+
21
+ At first the fact list and the scene list use the whole screen. Panels and tools you do not need all the time are hidden behind buttons.
22
+
23
+ - **Middle panel**: at the top are the [Facts] and [Scenes] tabs, and only one list shows at a time. Each tab shows its number of rows, and a tab that has changes not confirmed yet or conflicts gets a ●. At the right of the tab bar are a person-shaped button and [+ Memo].
24
+ - **Left panel**: characters and places, relations, things removed by the AI, and the change log, in that order. It is closed at first. Open and close it with the person-shaped button on the tab bar. Clicking a name in the text also opens it. While it is closed, if it holds conflicts, changes by the AI or things removed by the AI, the button gets a ●, and when you move the mouse over the button it says what came in. When a new conflict appears on a character, place or relation, this panel opens once by itself.
25
+ - **Notices**: notices that the person needs to act on are always shown above the list.
26
+ - **Right panel**: the place for stickers. It opens only when there are stickers or while you write a new memo.
27
+ - **Head of the scene list**: only [+ Scene] and [⋯] show. [⋯] opens a menu with [List] and [Read through], [Reading order] and [Order of events], [Adopt all from the latest output], [+ Group], and [Expand all groups]. While you view scenes in read through or in the order of events, the name of that view and ✕ appear next to the heading. Clicking ✕ takes you back to the list.
28
+ - **Head of the fact list**: [+ Fact] and the globe-shaped world line button.
29
+ - When you move the mouse over a mark that the AI's unconfirmed change put on a row ("New", "Changed" and so on), the screen explains what it means.
30
+ - If the window is 1000px wide or narrower, everything stacks in one column. The middle panel comes first, and stickers are placed in a row below instead of being dragged. Choose where to attach a sticker with its [Attach] menu.
31
+
32
+ ## Working with facts and scenes
33
+
34
+ | Feature | What the person does | What the AI does |
35
+ | --- | --- | --- |
36
+ | Add a row | Click [+ Fact] or [+ Scene] at the head of the list, write the first line, and press Enter | Send `row.add` with `list` ("fact" or "scene") and `lines` (a list of lines). You can also give `title`, `time` for a fact, and `meta` |
37
+ | Expand a row | Click a collapsed row. Only one row is expanded at a time. The others show only the title and the start of their lines. Collapse it with [Collapse] | Nothing to do. This is only how the screen shows things |
38
+ | Tell the AI about a row | While a row is expanded, or a character or place is selected in the left panel, a field appears at the top center of the screen and the lists move down below it. Write what you want and press Enter or [Send]. It does not appear on a read-only view | Read it with `read_selection`. It shows the selected rows with their lines and the selected characters or places as they are now |
39
+ | Add a line | Click [+] on the expanded row, write the text, and press Enter | Send `line.add` with `parent` (the row id) and `text`. Use `after` to set the position |
40
+ | Edit a line | Click a line to open the editing field. Enter saves and Esc cancels. Clicking outside the field also saves | Send `line.update` with `line` and `text` |
41
+ | Remove a line | Click [×] at the end of the line. It changes to "Remove?", and a second click within 3 seconds removes the line | Send `line.remove` |
42
+ | Scene title | Click [Title] on the expanded scene and write the title. If you save it empty, the title stays as it is | Send `row.update` with `title`. Empty text clears the title. Write the title of a fact with this operation too (the screen has no [Title] button for facts) |
43
+ | Change the order | Drag the handle (⠿) in front of a row and drop it above or below another row, or click [↑] or [↓] | Send `row.move` with `row` and `after` (the id of the row before it, or `null` for the front) |
44
+ | Remove a row | Click [×] on the expanded row twice | Send `row.remove`. The lines of that row are removed with it, and for a scene its body paragraphs too |
45
+
46
+ - A fact with a time is placed in the order of events, so it has no handle and no [↑] or [↓]. If the AI sends `row.move` for it, the operation is not rejected, but its shown position does not change.
47
+ - When a row is removed, marks in other lines and paragraphs that pointed to it become plain text.
48
+ - The fact list has no groups. Only scenes go into groups.
49
+
50
+ ## Characters and places, relations
51
+
52
+ | Feature | What the person does | What the AI does |
53
+ | --- | --- | --- |
54
+ | Add | Open the left panel, click [+ Add], write the name, the kind (any word, such as character or place) and a short note, and click [Save] | Send `node.add` with `name`, `kind` and `note`. Without `kind` the kind is "character" |
55
+ | Edit | Click [Edit] next to the name | Send `node.update` with `node` and the fields to change |
56
+ | Remove | Click [×] twice | Send `node.remove`. The relations of that node are removed with it, and marks in the text become plain text. Memos and stickers stay |
57
+ | Link with a relation | When there are two or more characters and places, [+ Link] appears. Choose one and the other, write a name, and click [Link] | Send `relation.add` with `a`, `b` and `name`. Without a name it is "related" |
58
+ | Edit or remove a relation | [Edit] and [×] on the relation row | `relation.update`, `relation.remove` |
59
+ | Find where a name appears | Click a name button. The lines, paragraphs and stickers that mark that name stand out. Click it again to clear | Nothing to do. This is only how the screen shows things |
60
+
61
+ When you leave the kind or the relation name empty, the screen and the AI both get the same defaults: "character" and "related".
62
+
63
+ ### Name marks in the text
64
+
65
+ The text of lines and paragraphs can hold **marks** that point to characters, places, facts and scenes.
66
+
67
+ - The AI writes `[Tom](n1)`. If the text inside the brackets is the same as the node's name, the marked places change when the name changes. If it is different, as in `[he](n1)`, the text "he" stays.
68
+ - Facts and scenes are not pointed to by writing their number. Point to them by id, as in `[Scene 1](s1)`. The screen always shows the current number.
69
+ - To point to something made in the same request, give it a temporary name `$name` with `as`, and point to it as in `[the upper village]($village)`.
70
+ - Body paragraphs are pointed to, as in `[paragraph](b3)`, only in memos and in conversation. A mark in the text of a line or paragraph can point only to characters, places, facts and scenes. A mark that points to anything else is rejected with "A mark in the text can point only to a node, a fact or a scene: b3".
71
+ - On the screen, typing `[` in an editing field shows a list of the names of characters, places and rows. Choose with the arrow keys and insert with Enter or Tab. If you write only a name, as in `[Tom]`, and there is exactly one node with that name, it becomes a mark when you save.
72
+ - If two or more nodes have the same name, the screen asks "Which one?" when you save. If the name does not exist yet, choose one of [Make a character], [Make a place] and [Keep as plain text]. If you choose to make one, the node is made together with the text.
73
+
74
+ ## The body text of a scene
75
+
76
+ The body text is below the scene row. At first it is collapsed, so only "▸ Body text: N paragraphs" and the start of the first paragraph show. Click it to expand it. Expanding and collapsing is screen state and is not saved. Even if you collapsed it, it is shown expanded when it has a paragraph the AI changed that is not confirmed yet, when an editing field is open inside it, or when you chose this scene in the host's [결과물] (Output) tab. This is because what the person has checked is only what the screen has drawn.
77
+
78
+ | Feature | What the person does | What the AI does |
79
+ | --- | --- | --- |
80
+ | Add a paragraph | Click [+ Paragraph] on the scene row or at the end of the body text, and write | Send `para.add` with `scene`, `text` and `after` (the id of the paragraph before it, `null` for the front, or leave it out for the end) |
81
+ | Edit a paragraph | Click a paragraph to open the editing field. Enter saves and Esc cancels | Send `para.update` with `para` and `text` |
82
+ | Change the paragraph order | Drag the handle (⠿) in front of a paragraph and drop it above or below another paragraph of the same scene | Send `para.move` with `para` and `after`. It works only inside the same scene |
83
+ | Remove a paragraph | Click [×] at the end of the paragraph twice | Send `para.remove` |
84
+ | Adopt from an output | Click [Adopt] on the scene row (see the section below) | Send `body.adopt` (see the section below) |
85
+
86
+ - There is no operation that moves a paragraph to another scene. Remove it and add it to the other scene.
87
+ - The lines and the body text of a scene are both settled. The lines say what happens, and the body text is the prose that tells it. Sentences in the body text are not fact rows, so to make something written in the body text a fact of the world, copy it to a fact row.
88
+
89
+ ## Generating scene text and adopting it as body text
90
+
91
+ When you write the body text for the first time or rewrite a whole scene, the AI makes an output for the person to read. When you change one or two sentences of a scene that already has body text, do not go through an output. Change it with `para.update`.
92
+
93
+ ### 1. The AI makes an output
94
+
95
+ 1. Make one only when the person wants it. Before making it, check that what was settled is all written in the facts and scenes.
96
+ 2. Call `begin_generation`. In `scope`, give one scene id or a list of them. Make several connected scenes at once with a list, so that the links between the scenes are in the material. Without `scope`, it covers all scenes.
97
+ 3. Read the material text in the response. It starts with a note: "Write the body text in the language the person writes in, which is the language of the facts and lines below. Do not switch it to English because these notes are in English." Then facts come in the order of events, and each scene comes with its lines and the lines "Facts this scene covers:" and "Point of view:". A scene with body text also comes with its paragraphs under "Settled body". Leave the settled body as it is unless the person asked for that part to be rewritten. Anything you write that is not in the material is something the AI filled in.
98
+ 4. Put the generation id and the text you wrote into `finish_generation`. Start each scene with one marker line `<<scene id>>`, and write nothing else on the marker line. Leave out the marker line of a scene you do not write.
99
+
100
+ Write the text in the language of the story, which is the language the person writes in. It does not have to be English.
101
+
102
+ ```
103
+ <<s1>>
104
+ It was a morning when the snow was knee-deep.
105
+ Tom put on his boots and set out on the road to the upper village.
106
+ <<s2>>
107
+ Amy stood at the door for a long time.
108
+ ```
109
+
110
+ When the text is adopted, each line break becomes a paragraph boundary. Empty lines are dropped, and spaces at the start and end of a line are removed. The text of an output goes in as plain text without marks, so do not write marks such as `[Tom](n1)` in body text. If a mark is needed, add it with `para.update` after adopting.
111
+
112
+ The output shows in the host's [결과물] (Output) tab, and the AI reads it again with `read_artifact`. If the person asks you to fix an output, do not edit the text of the output. Fix the facts or scenes and make it again. An output made again gets a new id, and making it does not change the body text by itself.
113
+
114
+ ### 2. The person reads the output and chooses
115
+
116
+ - When the person clicks or selects a scene in the host's [결과물] (Output) tab, this screen moves to that scene, makes the scene row stand out, and expands its body text. You can compare the new output and the current body text side by side.
117
+ - When the person selects text in an output and sends it with a message, the AI reads it with `read_selection`. Nodes whose names appear in the selected text, and paragraphs that contain the selected text exactly, are listed as candidates.
118
+
119
+ ### 3. Adopt it as body text
120
+
121
+ | Feature | What the person does | What the AI does |
122
+ | --- | --- | --- |
123
+ | Adopt one scene | Click [Adopt] on the expanded scene row. The outputs that contain this scene are listed, newest first. When you choose one, the text of this scene in that output is shown, and you adopt it with [Replace] or [Append]. [Other output] goes back, and [Cancel] closes | When the person says to go with it, put `body.adopt` in the `steps` of `apply_operation`, and in the `artifact` field of the request give the output id and the scenes to adopt as `keys` |
124
+ | Adopt all from the latest output | Click [Adopt all from the latest output] in the [⋯] menu at the head of the scene list. The screen shows how many scenes of the newest output of this screen will be adopted with Replace, and how many scenes will lose their body text. Then adopt them with [Adopt all] | Leave `keys` out of the `artifact` field to adopt all scenes of the output |
125
+
126
+ - If `mode` is `replace` (the default, [Replace] on the screen), all current paragraphs of the scene are removed and the new paragraphs are put in. If it is `append` ([Append] on the screen), they are added after the last paragraph. [Append] shows only when there is body text.
127
+ - If the output has no text for that scene, the screen says so and shows no adopt button.
128
+ - Scenes that have been removed since, and scenes with empty text, are skipped and listed in the summary (for example "Skipped Scene 2: The station because it was removed"). If there is no scene to adopt at all, the operation is rejected with "No scene to adopt". Adopting never clears body text with empty text. To clear body text, use `para.remove`.
129
+ - If an output in the list says "made from unconfirmed changes", that output was made from changes that are not confirmed yet.
130
+ - The output stays after it is adopted. Which output was handed over is kept in the history.
131
+
132
+ Here is an example of a request in which the AI adopts.
133
+
134
+ ```json
135
+ {
136
+ "request_id": "adopt-s2-1",
137
+ "base_revision": "h12",
138
+ "steps": [{ "op": "body.adopt", "input": { "mode": "replace" } }],
139
+ "artifact": { "id": "art3", "keys": ["s2"] },
140
+ "human_words": "Let's use this draft for scene 2"
141
+ }
142
+ ```
143
+
144
+ ## Read through
145
+
146
+ Switch between [List] and [Read through] in the [⋯] menu at the head of the scene list. Read through hides the lines, metadata and row tools of the scenes and shows only the scene numbers, titles and body text in order. You read it from start to end like a novel. All groups are expanded, and group names show as headings. Here too you can click a paragraph to edit it and add one with [+ Paragraph]. A scene without body text shows "(no body text)". Which view you use is screen state and is not saved.
147
+
148
+ ## Time, calendars and world lines
149
+
150
+ ### Writing a time
151
+
152
+ A time is a time inside the story. It is stored as **absolute time**, a value on a single time scale, and a calendar is a way to read and write that value as text. So when you change a calendar, the stored time stays the same and only the shown text changes.
153
+
154
+ - Write a time in the shape of the calendar, from the largest unit down. The calendar reads Korean forms. For the Earth calendar, write for example `1999년 12월 31일` (31 December 1999), `1999년 12월 31일 23시 5분` (23:05 on 31 December 1999), `기원전 300년` (300 BC) or `3억 년 전` (300 million years ago). For large numbers you can use 만 (ten thousand), 억 (hundred million), 조 and 경. In another world, use the era and units of its calendar, as in `Imperial 65300년 3월`.
155
+ - The markers 년 (year) and 일 (day) and the month names of the calendar are part of how a time is written. Keep them even when the person writes the story in another language.
156
+ - The span reaches down to the smallest unit you wrote. `1999년` is the whole year, and `1999년 12월` is that month. So `1999년` is placed before `1999년 12월`.
157
+ - "쯤" (about) and "?" stay only in the written text and do not affect the time.
158
+ - Text the calendar cannot read is rejected with `time_unreadable`, and the reject reason shows an example for that calendar (for the Earth calendar, "1999년 3월 4일"). Words that are not times, such as "the morning of the second day" or "winter", go in the lines.
159
+
160
+ | Feature | What the person does | What the AI does |
161
+ | --- | --- | --- |
162
+ | Time of a fact | On the metadata line of an expanded fact, click "Time", write the time, and click [Save]. If there are world lines, choose which world line's calendar to write it in. Saving it empty removes the time | Send `row.add` or `row.update` with `time: { text, world }`. Without `world`, the time is written in the calendar of the fact's first world line (by name order), or in the default calendar if there are no world lines. To remove it, send `time: null` |
163
+ | Time of a scene | Click "Time" on the metadata line of the scene | Write it with `meta.time`. Write it only for a scene that covers no facts (see the metadata section below) |
164
+
165
+ ### The default calendar and making calendars
166
+
167
+ - The plugin includes the Earth calendar (id `earth`, the Gregorian calendar). If nothing is set, every time is written in the Earth calendar. The Earth calendar cannot be edited, but it can be copied.
168
+ - Unless the person says otherwise, the AI writes times in the Earth calendar and tells the person it did so.
169
+ - If the person wants a special calendar, the AI makes it with `calendar.set` and tells the person the shape of that calendar. To write only the fields that differ from the Earth calendar, set `data.base` to "earth". To drop the leap years or eras inherited from the base, give `null` for that field.
170
+ - If there is only one world, do not make world lines. Make that calendar the default calendar of the work with `calendar.setDefault`.
171
+ - A calendar can define the months of a year and their days, the units within a day (such as 26 hours or 100 minutes), the length of one second, leap years (one extra day in a month), eras and the epoch. Weekdays, seasons and moon phases are not there yet.
172
+
173
+ ```json
174
+ { "op": "calendar.set", "input": { "data": { "base": "earth", "name": "Imperial calendar", "epoch": { "text": "2026년" }, "eras": [{ "name": "Imperial", "start": { "text": "2026년" }, "direction": 1 }, { "name": "Before the Empire", "direction": -1 }] } } }
175
+ ```
176
+
177
+ ### World lines
178
+
179
+ Make world lines when there are two or more worlds with different calendars or different flows of time. When there are two or more versions of the same story, also give each version a world line, and put facts used in both versions into both world lines. Write which version a scene belongs to in the scene's `meta.worlds`.
180
+
181
+ | Feature | What the person does | What the AI does |
182
+ | --- | --- | --- |
183
+ | Open the world lines and calendars panel | Click the globe-shaped world line button at the head of the fact list. A small panel opens where you make and edit world lines and calendars. Close it with [Close] | Nothing to do. This is only how the screen shows things |
184
+ | Make a world line | Click [+ World line], write the world line name and a short note, and choose a calendar | Send `world.add` with `name`, `calendar` and `note`. Without `calendar` it uses the default calendar |
185
+ | Edit a world line | Change the calendar list next to the world line, or click [Edit] | Send `world.update`. Changing the calendar changes only the shown text |
186
+ | Remove a world line | Click [×] twice | Send `world.remove`. It is taken out of the world lines of facts and scenes, and times written in that world line are shown in the default calendar |
187
+ | Set the default calendar | Choose from the "Default calendar" list in the panel | Send `calendar.setDefault` |
188
+ | Make a calendar | Click [Copy] on a calendar row. A new calendar form opens, based on that calendar. If you change only the epoch, each world can have a calendar with its own epoch | Send `calendar.set` without `calendar` |
189
+ | Edit a calendar | Click [Edit] on a calendar row. Fields open for the name, epoch, months of a year, units within a day, length of one second, leap year rule and eras | Send `calendar.set` with `calendar` |
190
+ | Remove a calendar | Click [×] twice | Send `calendar.remove`. It is rejected if a world line uses the calendar or if it is the default calendar |
191
+ | Filter by world line | Click a world line chip at the head of the fact list. Click [All] to clear the filter | Nothing to do. This is only how the screen shows things |
192
+
193
+ - When you choose a world line chip, only the facts and scenes of that world line remain, and every time is shown in that world line's calendar. Above the scene list, "Showing only the scenes of world line ○○." and [Show all] appear. Scene numbers stay the numbers of the whole list.
194
+ - Each fact card gets colored tags with the names of the world lines it belongs to.
195
+ - In the calendar form, the era fields show only when the eras have the shape "one era counted from the epoch and one era before the epoch", and the leap year fields show only when there is one leap year rule. For any other shape, the screen keeps that part as it is and says so, for example "To change the eras, ask the AI". This keeps the screen from changing a calendar the AI made without the person knowing.
196
+
197
+ ## Metadata
198
+
199
+ Metadata are fixed fields of a row. They show on one line under the title of an expanded row, and clicking a field opens a picker. They do not show in read through.
200
+
201
+ | Field | Row | Meaning | What the person does | What the AI does |
202
+ | --- | --- | --- | --- | --- |
203
+ | `worlds` | fact | The world lines this fact belongs to | Click "World line" and choose. If there are no world lines at all, the field does not show | `meta: { worlds: ["w1"] }` |
204
+ | `facts` | scene | The facts this scene covers | Click "Facts", choose several from the fact list (shown with their times), and click [Save] | `meta: { facts: ["f3", "f2"] }` |
205
+ | `pov` | scene | The point of view character | Click "Point of view" and choose a character. It is saved as soon as you choose | `meta: { pov: "n1" }` |
206
+ | `time` | scene | The scene's own time in the story | Click "Time" and write it | `meta: { time: { text, world } }` |
207
+ | `worlds` | scene | The world lines this scene belongs to | Click "World line" and choose | `meta: { worlds: ["w2"] }` |
208
+
209
+ - The `meta` of `row.update` changes only the fields you give, and removes a field whose value is `null`. Fields you do not give stay as they are.
210
+ - **Put in `facts` only the facts that actually happen in that scene.** If you add background facts that a character only remembers or mentions, the time of the scene stretches back to that background.
211
+ - The time of a scene comes from the facts it covers. If it covers several facts, it runs from the earliest fact to the latest, and the screen shows it as "1999년 12월 31일 ~ until ○○ (from facts)". So do not write `meta.time` for a scene that covers facts.
212
+ - If you do not write the world lines of a scene, it follows the world lines of the facts it covers, and the screen adds "(from facts)". Write them on the scene directly when the facts do not tell the versions apart, as in a scene that covers only shared facts.
213
+ - When a fact, character or world line that metadata pointed to is removed, it is taken out of that field and the row stays.
214
+ - Subtle things such as narrative stance, setting, or the frame of a flashback are not fields. Write them in words in the lines of the scene.
215
+
216
+ ## Reading order and order of events
217
+
218
+ Switch between [Reading order] and [Order of events] in the [⋯] menu at the head of the scene list. This is screen state and is not saved.
219
+
220
+ - **Reading order** is the order of the scene list, the order of the novel. Read through also uses this order.
221
+ - **Order of events** is a view with the facts placed down the left in the order of events, and on the right the cards of the scenes that cover each fact.
222
+ - Scenes that cover the same fact are stacked next to that fact in reading order. Scenes that tell the same event through the eyes of different characters gather here. A card shows, in small text, the reading number, the point of view character and the name of the group it is in.
223
+ - A scene that covers several facts is placed next to the earliest fact, with "~ until ○○" added.
224
+ - Where card numbers get smaller as you go down, there is a flashback. Where they jump ahead, there is a flash forward.
225
+ - A scene with only its own time is placed at the position of that time, and a scene without a time comes at the very bottom, under "No time".
226
+ - Clicking a card expands that scene. Dragging a card next to a fact and dropping it adds that fact to the scene's `facts`. This is the only drag in this view. Change the order of scenes in the reading order view.
227
+ - In the fact list, if the gap between two neighboring facts is more than ten times the usual gap (the median of the differences between times), a band such as "gap of ≈ 40년" is put in. Facts without a time gather under the "No time" line.
228
+
229
+ If the person says "That happened after the war", the AI does not change the order of scenes. It changes the time of the fact.
230
+
231
+ ## Scene groups
232
+
233
+ Scenes can be put into groups with several levels, like folders (chapters inside a part). A scene is in only one group. The reading order is the order you get by reading the groups expanded from the top, and scene numbers follow that order.
234
+
235
+ | Feature | What the person does | What the AI does |
236
+ | --- | --- | --- |
237
+ | Make a group | Click [+ Group] in the [⋯] menu at the head of the scene list and write a name. To make one inside a group, click [+ Group] on the group's head row | Send `group.add` with `title`, `items` (the list of ids of scenes and groups to put in), `parent` and `after` |
238
+ | Put a scene into a group | Drag the scene row and drop it on the middle of the group's head row. It goes to the end inside that group | Send `row.move` with `row`, `group` and `after` |
239
+ | New scene inside a group | Click [+ Scene] on the group's head row. The scene is made at the end of that group | Send `row.add` with `group` |
240
+ | Expand and collapse | Click the group name or ▸. Groups are collapsed at first. The [⋯] menu also has [Expand all groups] and [Collapse all groups] | Nothing to do. This is only how the screen shows things |
241
+ | Move a group | Drag the handle of the group's head row, or click [↑] or [↓] | Send `group.move` with `group`, `parent` and `after` |
242
+ | Rename | Click [Rename] | Send `group.update` with `group` and `title` |
243
+ | Remove a group | Click [×] twice | Send `group.remove`. Only the group is removed. The scenes and groups inside move up one level to where the group was |
244
+
245
+ - Where a drop lands: on the upper half of a scene row it goes before that scene, and on the lower half after it (inside the group that scene is in). On a group's head row, the upper 30% puts it before that group, the lower 30% (when the group is collapsed) after it, and the middle at the end inside it. You cannot drop a group inside itself.
246
+ - If `group.add` has neither `parent` nor `after`, the group is made where the earliest scene of `items` was. If there are no `items` either, it is made at the end of the top level.
247
+ - If `row.add` makes a scene with neither `group` nor `after`, the scene is made right after the last scene in reading order (inside the group that scene is in).
248
+ - `row.move` and `group.move` need either `after` or `group` (`parent` for a group). To move to the front, send `after` as `null`.
249
+ - Even if a group is collapsed, it is shown expanded when it contains something the AI changed, a conflict, a scene chosen from an output, or an editing field.
250
+ - When you filter by world line, groups with no visible scenes are hidden, and the scene count on the head row shows as "2 of 5 scenes".
251
+ - The order of events view lists by time, so it does not use groups. It only writes the group name in small text on each scene card.
252
+
253
+ ```json
254
+ [
255
+ { "op": "group.add", "as": "$part", "input": { "title": "Part 1 Earth", "items": [] } },
256
+ { "op": "group.add", "input": { "title": "Chapter 1 Awakening", "parent": "$part", "items": ["s1", "s2", "s3"] } }
257
+ ]
258
+ ```
259
+
260
+ ## Memos and stickers
261
+
262
+ The memo itself lives in the memo box of the AIC core. The memo box is the same whichever screen you work on. A sticker is only a mark that says "this memo was attached to this row", and it has no text of its own. Edit and remove the text of memos in the memo box on the host screen (the [메모함] (Memo box) tab).
263
+
264
+ | Feature | What the person does | What the AI does |
265
+ | --- | --- | --- |
266
+ | Attach a new memo | Click [+ Memo] on the tab bar and write. A new memo is made in the memo box, and that memo is placed in the work area as a sticker | After asking the person, send `core.memo.add` (with `$name` in `as`) and `sticker.add` (with that `$name` in `memo`) in one request |
267
+ | Attach a memo from the memo box | Click [+ Sticker] on an expanded row and choose from the "Which memo should be attached?" list. If the memo box is empty, the screen says so | Send `sticker.add` with the memo id in `memo` and the row to attach to in `target` |
268
+ | Attach somewhere else | Drag the head of the sticker and drop it on another row, line, paragraph or character. You can also click [Attach] on the sticker and choose from "Where should it go?" | Send `sticker.attach` with `sticker` and `target`. Without `target` it is placed in the work area |
269
+ | Move it | Drag it within the same target, or drop it on an empty place | Send `sticker.move` with `sticker` and `position` (`[x, y]`) |
270
+ | Detach | Click [Detach] on the sticker. The memo stays in the memo box | After asking the person, send `sticker.remove` |
271
+
272
+ - Stickers can be attached to rows (facts, scenes), lines, body paragraphs, and characters and places, or placed in the work area.
273
+ - A sticker attached to a row of a tab that is not shown now appears when you open that tab. A sticker attached to a paragraph of collapsed body text is placed next to the "Body text: N paragraphs" line.
274
+ - A sticker whose target or memo was removed is not drawn on the screen. In the text the AI reads, it shows as "attached to s3, but the target was removed so it is not shown".
275
+ - To turn the text of a memo into a fact or a scene, the AI sends `line.add` and `core.memo.remove` in one request.
276
+
277
+ ## Search, pages and collapsing
278
+
279
+ - When there are six or more facts or scenes, a search field appears above the list. If you separate words with spaces, only rows that contain all of them show, and upper and lower case are not told apart. It searches titles, lines and body text. Esc clears it. Next to it, "N items" or "N found (of M)" appears.
280
+ - When you search scenes, only the matching scenes show, without groups, and each scene shows the names of the groups it is in ("Part 1 / Chapter 1") in small text.
281
+ - Characters and places, and relations, also get a search field when there are six or more.
282
+ - A page shows up to 20 facts or scenes, and up to 12 characters and places or relations. When there are more, [First], [Previous], "Page 1 / 3", [Next] and [Last] appear. When there are groups, pages are split by the visible rows (group head rows and expanded scenes), and if the first scene of a page is inside a group, the names of its groups are written in small text.
283
+ - Only one row is expanded at a time. A row being edited, a scene chosen from an output, and a row with a conflict are not collapsed.
284
+ - Search, pages, expanding and the choice of view are all screen state and are not saved. Operations that change the order are sent in the order of the whole list, regardless of the search.
285
+
286
+ ## The AI's change marks, confirming, and conflicts
287
+
288
+ The rules in this section are common to the AIC core.
289
+
290
+ - What the AI changed is an unconfirmed change until the person does the next operation. The screen puts "New", "Changed" or "Moved" marks on such rows, lines, paragraphs and characters. Changes that are not the most recent are shown faded. When the person does the next operation, everything shown up to then is confirmed.
291
+ - Clicking a "Changed" mark shows the text after "Before:".
292
+ - What the AI removed gathers in "Removed by the AI" in the left panel (open it with the person-shaped button).
293
+ - The "Change log" in the left panel shows only its heading and count at first, and expands when you click it. When expanded, it shows one line for each revision with who did it ("by me", "by the AI"), whether it is not confirmed, and what was done how many times. Clicking a line shows the changes one by one. Read earlier entries with [Show N earlier entries].
294
+ - When the person and the AI change the same place in different ways, a conflict card appears there ("The same place was changed in different ways" or "What this points to was removed"), and a "Conflict" mark is added. The person resolves it with [Take mine], [Take ...'s] (with the other participant's name, such as [Take AI's]), or, for a line or paragraph, [Merge both]. The card says that taking one side cancels the other side's change as a whole.
295
+ - On the AI's side, in `read_concept`, its own changes that are not yet in the common history get a `*`. Changes the person has not confirmed yet appear as text under "다른 참여자의 변경" (Changes by other participants), and the AI treats them as text the person settled and writes on from them. To resolve conflicts, follow the core's guide.
296
+
297
+ ## The text the AI reads
298
+
299
+ `read_concept` returns this screen as text shaped like the one below. Facts are in the order of events, scenes are in reading order, and what is inside a group is indented by two spaces. A "World lines and calendars" section is added only when there are world lines or other calendars.
300
+
301
+ ```
302
+ Characters and places
303
+ - [Tom](n1) character: twelve years old
304
+ - [the upper village](n2) place
305
+ - (r1) [Tom](n1), [the upper village](n2): lives in
306
+
307
+ Facts
308
+ - (f1) [time 1999년 12월] l1: In the winter when he was twelve, [Tom](n1) lived in [the upper village](n2)
309
+
310
+ Scenes
311
+ Group (g1) "Chapter 1 Winter": 1 scene
312
+ 1. (s1) title "The snowy road" [facts f1. point of view Tom(n1). time 1999년 12월 (from facts)] l2: [Tom](n1) walks along the snowy road
313
+ Body: 3 paragraphs. First paragraph: It was a morning when the snow was knee-deep.
314
+
315
+ Stickers
316
+ - (st1) memo memo1, attached to [Scene 1: The snowy road](s1)
317
+ ```
318
+
319
+ - When you read everything, the body text shows only the number of paragraphs and the first sentence of the first paragraph. This keeps the outline of facts and scenes visible even when the novel gets long.
320
+ - When you need the body text, give one **scene id** or a list of them in the `scope` of `read_concept`. The body text of those scenes then appears in full under "Body", with an id for each paragraph, and a scene without body text shows "Body (none)". The characters and places that appear in those scenes, the relations between them, all facts, the stickers attached to those scenes, and the group rows those scenes are in come with it.
321
+ - Use only scene ids in `scope`. If you put in the id of a fact, group or paragraph, the read is rejected with "Cannot find the scene f1". The `scope` of `begin_generation` works the same way.
322
+ - The core puts the text of memos in the memo field of the same response. If there are many memos and only their count shows, read them with `read_memos`.
323
+ - The result summary of `apply_operation` shows new ids (for example "Added fact (f4): ..." or "Created group (g2): ..."). Use those ids in the next operation.
324
+
325
+ ## All operations at a glance
326
+
327
+ There are 32 operations. The detailed description of the input is in `describe_document`.
328
+
329
+ | Operation | Input | What it does |
330
+ | --- | --- | --- |
331
+ | `node.add` | `name`, `kind`, `note` | Makes a character or place |
332
+ | `node.update` | `node`, `name`, `kind`, `note` | Edits it. When the name changes, places marked with the same text change with it |
333
+ | `node.remove` | `node` | Removes it. Its relations are removed too, and marks in the text become plain text |
334
+ | `relation.add` | `a`, `b`, `name` | Links two nodes |
335
+ | `relation.update` | `relation`, `name` | Changes the name |
336
+ | `relation.remove` | `relation` | Removes it |
337
+ | `row.add` | `list`, `after`, `group`, `title`, `lines`, `time`, `meta` | Makes a fact row or a scene row |
338
+ | `row.move` | `row`, `after`, `group` | Changes the order, or moves a scene to another group |
339
+ | `row.update` | `row`, `title`, `time`, `meta` | Changes only the fields given |
340
+ | `row.remove` | `row` | Removes the row and its lines. For a scene, removes its body paragraphs too |
341
+ | `group.add` | `title`, `items`, `parent`, `after` | Makes a scene group |
342
+ | `group.update` | `group`, `title` | Changes the name |
343
+ | `group.move` | `group`, `parent`, `after` | Moves the group with what is inside it |
344
+ | `group.remove` | `group` | Removes only the group and moves what is inside up one level |
345
+ | `line.add` | `parent`, `after`, `text` | Adds a line |
346
+ | `line.update` | `line`, `text` | Edits a line |
347
+ | `line.remove` | `line` | Removes a line |
348
+ | `para.add` | `scene`, `after`, `text` | Adds a body paragraph |
349
+ | `para.update` | `para`, `text` | Edits a paragraph |
350
+ | `para.remove` | `para` | Removes a paragraph |
351
+ | `para.move` | `para`, `after` | Changes the paragraph order inside the same scene |
352
+ | `body.adopt` | `mode` (with `artifact` on the request) | Adopts the scene text of an output as body paragraphs |
353
+ | `sticker.add` | `memo`, `target`, `position` | Attaches a memo as a sticker |
354
+ | `sticker.attach` | `sticker`, `target`, `position` | Attaches it to another target or places it in the work area |
355
+ | `sticker.move` | `sticker`, `position` | Moves it within the same basis |
356
+ | `sticker.remove` | `sticker` | Detaches the sticker. The memo stays |
357
+ | `world.add` | `name`, `calendar`, `note` | Makes a world line |
358
+ | `world.update` | `world`, `name`, `calendar`, `note` | Edits a world line |
359
+ | `world.remove` | `world` | Removes a world line |
360
+ | `calendar.set` | `calendar`, `data` | Makes or edits a calendar |
361
+ | `calendar.remove` | `calendar` | Removes a calendar |
362
+ | `calendar.setDefault` | `calendar` | Sets the default calendar of the work |
363
+
364
+ Here is an example of a request that writes the setting for the first time. A fact made in the same request is pointed to with `$name`.
365
+
366
+ ```json
367
+ [
368
+ { "op": "row.add", "as": "$fact", "input": { "list": "fact", "lines": ["In the winter when he was twelve, [Tom](n1) lived in [the upper village](n2)"], "time": { "text": "1999년 12월" } } },
369
+ { "op": "row.add", "input": { "list": "scene", "title": "The snowy road", "lines": ["[Tom](n1) walks along the snowy road"], "meta": { "facts": ["$fact"], "pov": "n1" } } }
370
+ ]
371
+ ```
372
+
373
+ ## The order of working together
374
+
375
+ 1. The person describes the setting of the story. The AI makes the characters and places as nodes and writes what was settled in fact rows. Do not copy the person's words as they are. Write the meaning you understood. Write it so that it is clear which winter "that winter" is and who "he" is, so the person can look at the screen and check how the AI understood it.
376
+ 2. If time matters in the story, give the facts a time. If no calendar was set, write the times in the Earth calendar and say so.
377
+ 3. For each scene, write what happens in lines, and write the facts it covers and the point of view in the metadata.
378
+ 4. If the person wants, the AI makes the body text of scenes as outputs with `begin_generation` and `finish_generation`. Make connected scenes at once.
379
+ 5. The person reads them in the [결과물] (Output) tab, and adopts the chosen one with [Adopt] or tells the AI "Let's go with this one". If the person does not like it, they fix facts or lines and ask for it to be made again.
380
+ 6. The person polishes the adopted body text directly by clicking paragraphs, and the AI changes one or two sentences with `para.update`. When a line is changed so that it no longer matches the body text, the AI asks the person whether to change the body text too.
381
+ 7. As the scenes grow, put them into groups to see the big picture. Read from the start with [Read through], and check the order of events with [Order of events].
382
+
383
+ If something was settled in conversation but it is not clear whether it is a fact or belongs to a scene, do not put it off as a memo. Write it in the narrower place (the lines of that scene) and then ask. What the person said or corrected is settled, so write it in the facts or scenes.
384
+
385
+ ## What to ask the person first
386
+
387
+ - **Adopting an output as body text.** Do not adopt unless the person says to go with it or to put it in right away.
388
+ - **Changing settled body text the person did not ask to rewrite.** Leave the "Settled body" of the material as it is.
389
+ - **Whether to change the body text too, when a line change makes it no longer match.**
390
+ - **Attaching or detaching stickers.** Even if you have decided the memo and the target, show the person before attaching.
391
+ - **Removing a memo that has stickers.** The core rejects it together with the list of stickers, so tell the person about those stickers, get confirmation, and send it again.
392
+ - **Making groups the person did not ask for.** Show how you would group the scenes first, and ask.
393
+ - **Throwing away the person's change in a conflict.** Ask as the core's guide says, and put the person's answer in `chosen_by_human`.
394
+
395
+ Some things do not need asking. If the person wants a special calendar, make it without asking for permission first, and then tell the person its shape.
396
+
397
+ ## Common problems
398
+
399
+ - **`read_concept` shows only "Body: N paragraphs. First paragraph: ..." for a scene.** A full read shows only the start of the body text. Put scene ids in `scope` and read again.
400
+ - **A read was rejected after putting a group or fact id in `scope`.** `scope` takes only scene ids. To read the scenes in a group, give the ids of those scenes as a list.
401
+ - **`body.adopt` was rejected with `artifact_required`.** Hand over the output in the `artifact: { id, keys }` field of the `apply_operation` request, not in the `input` of the operation.
402
+ - **A request was rejected because of a scene in `keys`.** `keys` must be scenes the output covered, and do not include scenes for which the output has no text. If the output is too large, narrow it down with `keys`.
403
+ - **The adopted body text came out as one big paragraph, or was split too finely.** When adopting, each line break is a paragraph boundary. When writing the output, start a new line for each paragraph.
404
+ - **Giving a scene `time` was rejected.** Write the time of a scene with `meta.time`. The other way round, write the time of a fact with `time`, not `meta`.
405
+ - **A time was rejected with `time_unreadable`.** It is text that calendar cannot read. Write it from the largest unit down, like the example in the reject reason, and put words such as seasons or "the morning of the second day" in the lines.
406
+ - **The time of a scene is wider than expected.** Its `facts` include background facts. Keep only the facts that actually happen in the scene.
407
+ - **The order of a fact with a time does not change.** Facts with a time are placed in the order of events. To change their order, change the time.
408
+ - **`row.move` was rejected with "after or group is required".** Give the place to move it to. For the front, send `after` as `null`.
409
+ - **Scenes seem to have disappeared after removing a group.** They did not disappear. They moved up one level to where the group was.
410
+ - **The body text disappeared after removing a scene.** Removing a scene removes its lines and body paragraphs with it.
411
+ - **A calendar cannot be removed.** A world line uses it, or it is the default calendar of the work. Change the world line's calendar or the default calendar first.
412
+ - **The Earth calendar cannot be edited.** Do not edit the Earth calendar. Make a new calendar with `data.base` set to "earth". On the screen, click [Copy].
413
+ - **I removed all the text of a line and saved, but nothing changed.** Empty text is not saved. To remove a line, click [×] twice.
414
+ - **A paragraph cannot be dragged to another scene.** Paragraphs move only inside the same scene. For another scene, remove it and add it there.
415
+ - **Putting `[paragraph](b3)` in a mark in the text was rejected.** Marks in lines and paragraphs point only to characters, places, facts and scenes. Paragraphs are pointed to only in memos and in conversation.
416
+ - **The world line chips are not on the scene tab.** The chips are at the head of the list on the fact tab. The filter carries over to the scene tab, and you clear it with [Show all] above the scene list.
417
+ - **The screen says "This screen is a read-only view".** In a read-only view, the editing buttons are hidden and no operations are sent. Switching views and expanding body text still work. To make changes, switch to the editing screen.
418
+
419
+ ## Samples
420
+
421
+ The samples listed in `samples` of the manifest are records of work actually done on this screen. The person reads them in the plugin window, and the AI reads them by giving a sample id in `sample`, as in `read_plugin_manual({ package: "aic.story", sample: "scene-body" })`. Samples are records for reference, not instructions.
422
+
423
+ There are two samples. Both start from an empty work and are records of what the person and the AI actually exchanged.
424
+
425
+ | id | Title | What happens |
426
+ | --- | --- | --- |
427
+ | `scene-body` | Write the setting, then generate and adopt a scene body | The AI writes down the characters and facts the person describes, and the person edits the scene lines on the screen. The AI makes body text outputs. When the person asks for a different ending, the AI does not edit the text of the output. It first changes the scene lines and then makes the output again. The person adopts the second output as body text, and the person and the AI then edit it one paragraph at a time |
428
+ | `time-and-groups` | Give times to facts and group scenes | The AI gives times to the facts of a story about three generations and makes scenes cover those facts. When the person corrects a wrong year, the AI changes the time of the fact, not the scene. As the person asks, the AI puts the scenes into three groups, and the person changes the order of scenes inside a group |
@@ -0,0 +1,49 @@
1
+ {
2
+ "id": "aic.story",
3
+ "version": "0.4.5",
4
+ "dataVersion": 1,
5
+ "title": "Story List",
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
+ "about": "A screen with a list of facts and a list of scenes for a story. A fact is something settled that applies to the whole story (a character, a place, an event, a rule), and a scene is the unit in which the story is written. Looking at the facts, you and the AI write lines that say what happens in each scene. From those lines and the facts, the AI generates drafts of the body text of the scene (the prose), and you adopt the draft you choose as the body. If you give facts and scenes a time, you can list them in reading order or in the order things happened. It suits work such as novels, screenplays and serials, where you settle the setting first and write scenes one at a time.",
12
+ "examples": [
13
+ {
14
+ "ask": "I want to settle the setting of a serialized novel and write the scenes one at a time",
15
+ "does": "Write the setting in the fact list, write lines for each scene, then generate the body text as drafts and adopt one."
16
+ },
17
+ {
18
+ "ask": "There are many characters and places, and I worry about writing something that contradicts what was settled earlier",
19
+ "does": "Characters and places are kept as nodes, and their names in the text are marks that point to them. Renaming one changes every marked place, and the fact list is the reference for the whole story."
20
+ },
21
+ {
22
+ "ask": "I want to finish a novel by choosing and polishing drafts the AI writes",
23
+ "does": "The AI generates the body of a scene as drafts several times. Only the one you choose is adopted as the body, and then you edit it paragraph by paragraph. A draft that has not been adopted is not settled."
24
+ },
25
+ {
26
+ "ask": "The story covers a long time or moves between eras, and I mix up the order of events",
27
+ "does": "Give facts and scenes a time, and list them in reading order or in the order things happened."
28
+ }
29
+ ],
30
+ "manual": "docs/manual.md",
31
+ "samples": [
32
+ {
33
+ "id": "scene-body",
34
+ "title": "Write the setting, then generate and adopt a scene body",
35
+ "about": "The AI writes down the characters and facts the person describes, and the person edits the scene lines. The AI generates drafts. Asked for a new ending, the AI changes the lines first and generates again. The person adopts the second draft, and both edit it paragraph by paragraph",
36
+ "file": "samples/scene-body.json"
37
+ },
38
+ {
39
+ "id": "time-and-groups",
40
+ "title": "Give times to facts and group scenes",
41
+ "about": "The AI gives times to the facts of a three-generation story and links scenes to them. When the person corrects a wrong year, the AI fixes the time. The AI puts the scenes into three groups, and the person reorders scenes inside a group",
42
+ "file": "samples/time-and-groups.json"
43
+ }
44
+ ],
45
+ "requires": {
46
+ "os": "any",
47
+ "external": []
48
+ }
49
+ }