aboutsummaryrefslogtreecommitdiff
path: root/.iwe/config.toml
diff options
context:
space:
mode:
Diffstat (limited to '.iwe/config.toml')
-rw-r--r--.iwe/config.toml179
1 files changed, 179 insertions, 0 deletions
diff --git a/.iwe/config.toml b/.iwe/config.toml
new file mode 100644
index 0000000..13adc56
--- /dev/null
+++ b/.iwe/config.toml
@@ -0,0 +1,179 @@
+format = "markdown"
+version = 3
+
+[library]
+date_format = "%Y-%m-%d"
+# overridden: set on the command line
+path = "knowledge"
+
+[markdown]
+date_format = "%b %d, %Y"
+# overridden: set on the command line
+refs_extension = ".md"
+refs_path = "relative"
+# detected: 2 link texts match their target title, 0 diverge
+refs_text = "normalize"
+wiki_link_path = "preserve"
+
+[markdown.formatting]
+
+[djot]
+date_format = "%b %d, %Y"
+refs_extension = ".md"
+refs_path = "relative"
+refs_text = "normalize"
+
+[djot.formatting]
+
+[completion]
+# overridden: set on the command line
+link_format = "markdown"
+
+[search]
+# detected: 25 stopword hits for english, 1 for the next language
+language = "english"
+
+[templates.default]
+document_template = """
+# {{title}}
+
+{{content}}"""
+# detected: 3 of 3 filenames use slug style
+key_template = "{{slug}}"
+
+[commands.default]
+run = "claude -p"
+timeout_seconds = 120
+
+[actions.emoji]
+command = "default"
+input_template = """
+Here's a text that I'm going to ask you to edit. The text is marked with {{context_start}} {{context_end}} tags.
+
+- The part you'll need to update is marked with {{update_start}} {{update_end}} tags.
+- You can't replace entire text, your answer will be inserted in between {{update_start}} {{update_end}} tags.
+- Add a relevant emoji one per list item (prior to list item text), header (prior to header text) or paragraph. Keep the text otherwise unchanged.
+- Don't include the {{update_start}} {{update_end}} tags in your answer.
+
+{{context_start}}
+
+{{context}}
+
+{{context_end}}
+"""
+title = "Emojify"
+type = "transform"
+
+[actions.expand]
+command = "default"
+input_template = """
+Here's a text that I'm going to ask you to edit. The text is marked with {{context_start}}{{context_end}} tag.
+
+The part you'll need to update is marked with {{update_start}}{{update_end}}.
+
+{{context_start}}
+
+{{context}}
+
+{{context_end}}
+
+- You can't replace entire text, your answer will be inserted in place of the {{update_start}}{{update_end}}. Don't include the {{context_start}}{{context_end}} and {{context_start}}{{context_end}} tags in your output.
+- Preserve the links in the text. Do not return list item "-" or header "#" prefix
+
+Expand the text you need to update, generate a couple paragraphs.
+"""
+title = "Expand"
+type = "transform"
+
+[actions.extract]
+key_template = "{{id}}"
+link_type = "markdown"
+title = "Extract"
+type = "extract"
+
+[actions.extract_all]
+key_template = "{{id}}"
+link_type = "markdown"
+title = "Extract all subsections"
+type = "extract_all"
+
+[actions.inline_quote]
+inline_type = "quote"
+keep_target = false
+title = "Inline quote"
+type = "inline"
+
+[actions.inline_section]
+inline_type = "section"
+keep_target = false
+title = "Inline section"
+type = "inline"
+
+[actions.keywords]
+command = "default"
+input_template = """
+Here's a text that I'm going to ask you to edit. The text is marked with {{context_start}}{{context_end}} tag.
+
+The part you'll need to update is marked with {{update_start}}{{update_end}}.
+
+{{context_start}}
+
+{{context}}
+
+{{context_end}}
+
+- You can't replace entire text, your answer will be inserted in place of the {{update_start}}{{update_end}}. Don't include the {{context_start}}{{context_end}} and {{context_start}}{{context_end}} tags in your output.
+
+Mark most important keywords with bold using ** markdown syntax. Keep the text unchanged!
+"""
+title = "Keywords"
+type = "transform"
+
+[actions.link]
+key_template = "{{id}}"
+link_type = "markdown"
+title = "Link"
+type = "link"
+
+[actions.rewrite]
+command = "default"
+input_template = """
+Here's a text that I'm going to ask you to edit. The text is marked with {{context_start}}{{context_end}} tag.
+
+The part you'll need to update is marked with {{update_start}}{{update_end}}.
+
+{{context_start}}
+
+{{context}}
+
+{{context_end}}
+
+- You can't replace entire text, your answer will be inserted in place of the {{update_start}}{{update_end}}. Don't include the {{context_start}}{{context_end}} and {{context_start}}{{context_end}} tags in your output.
+- Preserve the links in the text. Do not return list item "-" or header "#" prefix
+
+Your goal is to rewrite a given text to improve its clarity and readability. Ensure the language remains personable and not overly formal. Focus on simplifying language, organizing sentences logically, and removing ambiguity while maintaining a conversational tone.
+"""
+title = "Rewrite"
+type = "transform"
+
+[actions.sort]
+reverse = false
+title = "Sort A-Z"
+type = "sort"
+
+[actions.sort_desc]
+reverse = true
+title = "Sort Z-A"
+type = "sort"
+
+[actions.today]
+document_template = """
+# {{today}}
+
+{{content}}
+"""
+key_template = "{{today}}"
+title = "Add Date"
+type = "attach"
+
+[schemas]