@superdoc-dev/sdk 1.0.0-alpha.4 → 1.0.0-alpha.41
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.
- package/README.md +124 -0
- package/dist/generated/client.cjs +479 -0
- package/dist/generated/client.d.ts +11940 -1167
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +433 -25
- package/dist/generated/contract.cjs +123158 -0
- package/dist/generated/contract.d.ts +30 -13672
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +116698 -11334
- package/dist/helpers/format.d.ts +79 -0
- package/dist/helpers/format.d.ts.map +1 -0
- package/dist/helpers/format.js +121 -0
- package/dist/index.cjs +45 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/runtime/embedded-cli.cjs +100 -0
- package/dist/runtime/errors.cjs +22 -0
- package/dist/runtime/host.cjs +352 -0
- package/dist/runtime/host.d.ts +2 -1
- package/dist/runtime/host.d.ts.map +1 -1
- package/dist/runtime/host.js +3 -1
- package/dist/runtime/process.cjs +32 -0
- package/dist/runtime/process.d.ts +1 -1
- package/dist/runtime/process.d.ts.map +1 -1
- package/dist/runtime/transport-common.cjs +79 -0
- package/dist/runtime/transport-common.d.ts +6 -1
- package/dist/runtime/transport-common.d.ts.map +1 -1
- package/dist/runtime/transport-common.js +13 -4
- package/dist/skills.cjs +148 -0
- package/dist/tools.cjs +312 -0
- package/dist/tools.d.ts +42 -65
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +75 -134
- package/package.json +15 -14
- package/skills/editing-docx.md +31 -0
- package/tools/catalog.json +59826 -15216
- package/tools/tool-name-map.json +300 -71
- package/tools/tools-policy.json +79 -82
- package/tools/tools.anthropic.json +25742 -2983
- package/tools/tools.generic.json +58182 -15148
- package/tools/tools.openai.json +26715 -3266
- package/tools/tools.vercel.json +26715 -3266
package/tools/tool-name-map.json
CHANGED
|
@@ -1,96 +1,325 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"get_document": "doc.get",
|
|
3
3
|
"get_node": "doc.getNode",
|
|
4
4
|
"get_node_by_id": "doc.getNodeById",
|
|
5
|
+
"get_document_text": "doc.getText",
|
|
6
|
+
"get_document_markdown": "doc.getMarkdown",
|
|
7
|
+
"get_document_html": "doc.getHtml",
|
|
8
|
+
"markdown_to_fragment": "doc.markdownToFragment",
|
|
5
9
|
"get_document_info": "doc.info",
|
|
10
|
+
"clear_content": "doc.clearContent",
|
|
6
11
|
"insert_content": "doc.insert",
|
|
7
12
|
"replace_content": "doc.replace",
|
|
8
13
|
"delete_content": "doc.delete",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"format_strikethrough": "doc.format.strikethrough",
|
|
14
|
+
"delete_block": "doc.blocks.delete",
|
|
15
|
+
"format_apply": "doc.format.apply",
|
|
16
|
+
"styles_apply": "doc.styles.apply",
|
|
13
17
|
"create_paragraph": "doc.create.paragraph",
|
|
18
|
+
"create_heading": "doc.create.heading",
|
|
19
|
+
"create_section_break": "doc.create.sectionBreak",
|
|
20
|
+
"list_sections": "doc.sections.list",
|
|
21
|
+
"get_section": "doc.sections.get",
|
|
22
|
+
"set_section_break_type": "doc.sections.setBreakType",
|
|
23
|
+
"set_section_page_margins": "doc.sections.setPageMargins",
|
|
24
|
+
"set_section_header_footer_margins": "doc.sections.setHeaderFooterMargins",
|
|
25
|
+
"set_section_page_setup": "doc.sections.setPageSetup",
|
|
26
|
+
"set_section_columns": "doc.sections.setColumns",
|
|
27
|
+
"set_section_line_numbering": "doc.sections.setLineNumbering",
|
|
28
|
+
"set_section_page_numbering": "doc.sections.setPageNumbering",
|
|
29
|
+
"set_section_title_page": "doc.sections.setTitlePage",
|
|
30
|
+
"set_section_odd_even_headers_footers": "doc.sections.setOddEvenHeadersFooters",
|
|
31
|
+
"set_section_vertical_align": "doc.sections.setVerticalAlign",
|
|
32
|
+
"set_section_direction": "doc.sections.setSectionDirection",
|
|
33
|
+
"set_section_header_footer_reference": "doc.sections.setHeaderFooterRef",
|
|
34
|
+
"clear_section_header_footer_reference": "doc.sections.clearHeaderFooterRef",
|
|
35
|
+
"set_section_link_to_previous": "doc.sections.setLinkToPrevious",
|
|
36
|
+
"set_section_page_borders": "doc.sections.setPageBorders",
|
|
37
|
+
"clear_section_page_borders": "doc.sections.clearPageBorders",
|
|
38
|
+
"set_paragraph_style": "doc.styles.paragraph.setStyle",
|
|
39
|
+
"clear_paragraph_style": "doc.styles.paragraph.clearStyle",
|
|
40
|
+
"reset_paragraph_direct_formatting": "doc.format.paragraph.resetDirectFormatting",
|
|
41
|
+
"set_paragraph_alignment": "doc.format.paragraph.setAlignment",
|
|
42
|
+
"clear_paragraph_alignment": "doc.format.paragraph.clearAlignment",
|
|
43
|
+
"set_paragraph_indentation": "doc.format.paragraph.setIndentation",
|
|
44
|
+
"clear_paragraph_indentation": "doc.format.paragraph.clearIndentation",
|
|
45
|
+
"set_paragraph_spacing": "doc.format.paragraph.setSpacing",
|
|
46
|
+
"clear_paragraph_spacing": "doc.format.paragraph.clearSpacing",
|
|
47
|
+
"set_paragraph_keep_options": "doc.format.paragraph.setKeepOptions",
|
|
48
|
+
"set_paragraph_outline_level": "doc.format.paragraph.setOutlineLevel",
|
|
49
|
+
"set_paragraph_flow_options": "doc.format.paragraph.setFlowOptions",
|
|
50
|
+
"set_paragraph_tab_stop": "doc.format.paragraph.setTabStop",
|
|
51
|
+
"clear_paragraph_tab_stop": "doc.format.paragraph.clearTabStop",
|
|
52
|
+
"clear_all_paragraph_tab_stops": "doc.format.paragraph.clearAllTabStops",
|
|
53
|
+
"set_paragraph_border": "doc.format.paragraph.setBorder",
|
|
54
|
+
"clear_paragraph_border": "doc.format.paragraph.clearBorder",
|
|
55
|
+
"set_paragraph_shading": "doc.format.paragraph.setShading",
|
|
56
|
+
"clear_paragraph_shading": "doc.format.paragraph.clearShading",
|
|
14
57
|
"list_lists": "doc.lists.list",
|
|
15
58
|
"get_list": "doc.lists.get",
|
|
16
59
|
"insert_list": "doc.lists.insert",
|
|
17
|
-
"
|
|
60
|
+
"create_list": "doc.lists.create",
|
|
61
|
+
"attach_to_list": "doc.lists.attach",
|
|
62
|
+
"detach_from_list": "doc.lists.detach",
|
|
18
63
|
"indent_list": "doc.lists.indent",
|
|
19
64
|
"outdent_list": "doc.lists.outdent",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
65
|
+
"join_lists": "doc.lists.join",
|
|
66
|
+
"can_join_lists": "doc.lists.canJoin",
|
|
67
|
+
"separate_list": "doc.lists.separate",
|
|
68
|
+
"set_list_level": "doc.lists.setLevel",
|
|
69
|
+
"set_list_value": "doc.lists.setValue",
|
|
70
|
+
"continue_previous_list": "doc.lists.continuePrevious",
|
|
71
|
+
"can_continue_previous_list": "doc.lists.canContinuePrevious",
|
|
72
|
+
"set_list_level_restart": "doc.lists.setLevelRestart",
|
|
73
|
+
"convert_list_to_text": "doc.lists.convertToText",
|
|
74
|
+
"apply_list_template": "doc.lists.applyTemplate",
|
|
75
|
+
"apply_list_preset": "doc.lists.applyPreset",
|
|
76
|
+
"set_list_type": "doc.lists.setType",
|
|
77
|
+
"capture_list_template": "doc.lists.captureTemplate",
|
|
78
|
+
"set_list_level_numbering": "doc.lists.setLevelNumbering",
|
|
79
|
+
"set_list_level_bullet": "doc.lists.setLevelBullet",
|
|
80
|
+
"set_list_level_picture_bullet": "doc.lists.setLevelPictureBullet",
|
|
81
|
+
"set_list_level_alignment": "doc.lists.setLevelAlignment",
|
|
82
|
+
"set_list_level_indents": "doc.lists.setLevelIndents",
|
|
83
|
+
"set_list_level_trailing_character": "doc.lists.setLevelTrailingCharacter",
|
|
84
|
+
"set_list_level_marker_font": "doc.lists.setLevelMarkerFont",
|
|
85
|
+
"clear_list_level_overrides": "doc.lists.clearLevelOverrides",
|
|
86
|
+
"create_comment": "doc.comments.create",
|
|
87
|
+
"patch_comment": "doc.comments.patch",
|
|
88
|
+
"delete_comment": "doc.comments.delete",
|
|
31
89
|
"get_comment": "doc.comments.get",
|
|
32
90
|
"list_comments": "doc.comments.list",
|
|
33
91
|
"list_tracked_changes": "doc.trackChanges.list",
|
|
34
92
|
"get_tracked_change": "doc.trackChanges.get",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
93
|
+
"decide_tracked_change": "doc.trackChanges.decide",
|
|
94
|
+
"query_match": "doc.query.match",
|
|
95
|
+
"preview_mutations": "doc.mutations.preview",
|
|
96
|
+
"apply_mutations": "doc.mutations.apply",
|
|
97
|
+
"get_capabilities": "doc.capabilities.get",
|
|
98
|
+
"create_table": "doc.create.table",
|
|
99
|
+
"convert_text_to_table": "doc.tables.convertFromText",
|
|
100
|
+
"delete_table": "doc.tables.delete",
|
|
101
|
+
"clear_table_contents": "doc.tables.clearContents",
|
|
102
|
+
"move_table": "doc.tables.move",
|
|
103
|
+
"split_table": "doc.tables.split",
|
|
104
|
+
"convert_table_to_text": "doc.tables.convertToText",
|
|
105
|
+
"set_table_layout": "doc.tables.setLayout",
|
|
106
|
+
"insert_table_row": "doc.tables.insertRow",
|
|
107
|
+
"delete_table_row": "doc.tables.deleteRow",
|
|
108
|
+
"set_table_row_height": "doc.tables.setRowHeight",
|
|
109
|
+
"distribute_table_rows": "doc.tables.distributeRows",
|
|
110
|
+
"set_table_row_options": "doc.tables.setRowOptions",
|
|
111
|
+
"insert_table_column": "doc.tables.insertColumn",
|
|
112
|
+
"delete_table_column": "doc.tables.deleteColumn",
|
|
113
|
+
"set_table_column_width": "doc.tables.setColumnWidth",
|
|
114
|
+
"distribute_table_columns": "doc.tables.distributeColumns",
|
|
115
|
+
"insert_table_cell": "doc.tables.insertCell",
|
|
116
|
+
"delete_table_cell": "doc.tables.deleteCell",
|
|
117
|
+
"merge_table_cells": "doc.tables.mergeCells",
|
|
118
|
+
"unmerge_table_cells": "doc.tables.unmergeCells",
|
|
119
|
+
"split_table_cell": "doc.tables.splitCell",
|
|
120
|
+
"set_table_cell_properties": "doc.tables.setCellProperties",
|
|
121
|
+
"sort_table": "doc.tables.sort",
|
|
122
|
+
"set_table_alt_text": "doc.tables.setAltText",
|
|
123
|
+
"set_table_style": "doc.tables.setStyle",
|
|
124
|
+
"clear_table_style": "doc.tables.clearStyle",
|
|
125
|
+
"set_table_style_option": "doc.tables.setStyleOption",
|
|
126
|
+
"set_table_border": "doc.tables.setBorder",
|
|
127
|
+
"clear_table_border": "doc.tables.clearBorder",
|
|
128
|
+
"apply_table_border_preset": "doc.tables.applyBorderPreset",
|
|
129
|
+
"set_table_shading": "doc.tables.setShading",
|
|
130
|
+
"clear_table_shading": "doc.tables.clearShading",
|
|
131
|
+
"set_table_padding": "doc.tables.setTablePadding",
|
|
132
|
+
"set_table_cell_padding": "doc.tables.setCellPadding",
|
|
133
|
+
"set_table_cell_spacing": "doc.tables.setCellSpacing",
|
|
134
|
+
"clear_table_cell_spacing": "doc.tables.clearCellSpacing",
|
|
135
|
+
"get_table": "doc.tables.get",
|
|
136
|
+
"get_table_cells": "doc.tables.getCells",
|
|
137
|
+
"get_table_properties": "doc.tables.getProperties",
|
|
138
|
+
"get_table_styles": "doc.tables.getStyles",
|
|
139
|
+
"set_table_default_style": "doc.tables.setDefaultStyle",
|
|
140
|
+
"clear_table_default_style": "doc.tables.clearDefaultStyle",
|
|
141
|
+
"create_table_of_contents": "doc.create.tableOfContents",
|
|
142
|
+
"list_table_of_contents": "doc.toc.list",
|
|
143
|
+
"get_table_of_contents": "doc.toc.get",
|
|
144
|
+
"configure_table_of_contents": "doc.toc.configure",
|
|
145
|
+
"update_table_of_contents": "doc.toc.update",
|
|
146
|
+
"remove_table_of_contents": "doc.toc.remove",
|
|
147
|
+
"mark_table_of_contents_entry": "doc.toc.markEntry",
|
|
148
|
+
"unmark_table_of_contents_entry": "doc.toc.unmarkEntry",
|
|
149
|
+
"list_table_of_contents_entries": "doc.toc.listEntries",
|
|
150
|
+
"get_table_of_contents_entry": "doc.toc.getEntry",
|
|
151
|
+
"edit_table_of_contents_entry": "doc.toc.editEntry",
|
|
152
|
+
"get_history": "doc.history.get",
|
|
153
|
+
"undo": "doc.history.undo",
|
|
154
|
+
"redo": "doc.history.redo",
|
|
155
|
+
"create_image": "doc.create.image",
|
|
156
|
+
"list_images": "doc.images.list",
|
|
157
|
+
"get_image": "doc.images.get",
|
|
158
|
+
"delete_image": "doc.images.delete",
|
|
159
|
+
"move_image": "doc.images.move",
|
|
160
|
+
"convert_image_to_inline": "doc.images.convertToInline",
|
|
161
|
+
"convert_image_to_floating": "doc.images.convertToFloating",
|
|
162
|
+
"set_image_size": "doc.images.setSize",
|
|
163
|
+
"set_image_wrap_type": "doc.images.setWrapType",
|
|
164
|
+
"set_image_wrap_side": "doc.images.setWrapSide",
|
|
165
|
+
"set_image_wrap_distances": "doc.images.setWrapDistances",
|
|
166
|
+
"set_image_position": "doc.images.setPosition",
|
|
167
|
+
"set_image_anchor_options": "doc.images.setAnchorOptions",
|
|
168
|
+
"set_image_z_order": "doc.images.setZOrder",
|
|
169
|
+
"scale_image": "doc.images.scale",
|
|
170
|
+
"set_image_lock_aspect_ratio": "doc.images.setLockAspectRatio",
|
|
171
|
+
"rotate_image": "doc.images.rotate",
|
|
172
|
+
"flip_image": "doc.images.flip",
|
|
173
|
+
"crop_image": "doc.images.crop",
|
|
174
|
+
"reset_image_crop": "doc.images.resetCrop",
|
|
175
|
+
"replace_image_source": "doc.images.replaceSource",
|
|
176
|
+
"set_image_alt_text": "doc.images.setAltText",
|
|
177
|
+
"set_image_decorative": "doc.images.setDecorative",
|
|
178
|
+
"set_image_name": "doc.images.setName",
|
|
179
|
+
"set_image_hyperlink": "doc.images.setHyperlink",
|
|
180
|
+
"insert_image_caption": "doc.images.insertCaption",
|
|
181
|
+
"update_image_caption": "doc.images.updateCaption",
|
|
182
|
+
"remove_image_caption": "doc.images.removeCaption",
|
|
183
|
+
"list_hyperlinks": "doc.hyperlinks.list",
|
|
184
|
+
"get_hyperlink": "doc.hyperlinks.get",
|
|
185
|
+
"wrap_hyperlink": "doc.hyperlinks.wrap",
|
|
186
|
+
"insert_hyperlink": "doc.hyperlinks.insert",
|
|
187
|
+
"patch_hyperlink": "doc.hyperlinks.patch",
|
|
188
|
+
"remove_hyperlink": "doc.hyperlinks.remove",
|
|
189
|
+
"list_header_footer_slots": "doc.headerFooters.list",
|
|
190
|
+
"get_header_footer_slot": "doc.headerFooters.get",
|
|
191
|
+
"resolve_header_footer": "doc.headerFooters.resolve",
|
|
192
|
+
"set_header_footer_ref": "doc.headerFooters.refs.set",
|
|
193
|
+
"clear_header_footer_ref": "doc.headerFooters.refs.clear",
|
|
194
|
+
"set_header_footer_linked_to_previous": "doc.headerFooters.refs.setLinkedToPrevious",
|
|
195
|
+
"list_header_footer_parts": "doc.headerFooters.parts.list",
|
|
196
|
+
"create_header_footer_part": "doc.headerFooters.parts.create",
|
|
197
|
+
"delete_header_footer_part": "doc.headerFooters.parts.delete",
|
|
198
|
+
"create_content_control": "doc.create.contentControl",
|
|
199
|
+
"content_controls_list": "doc.contentControls.list",
|
|
200
|
+
"content_controls_get": "doc.contentControls.get",
|
|
201
|
+
"content_controls_list_in_range": "doc.contentControls.listInRange",
|
|
202
|
+
"content_controls_select_by_tag": "doc.contentControls.selectByTag",
|
|
203
|
+
"content_controls_select_by_title": "doc.contentControls.selectByTitle",
|
|
204
|
+
"content_controls_list_children": "doc.contentControls.listChildren",
|
|
205
|
+
"content_controls_get_parent": "doc.contentControls.getParent",
|
|
206
|
+
"content_controls_wrap": "doc.contentControls.wrap",
|
|
207
|
+
"content_controls_unwrap": "doc.contentControls.unwrap",
|
|
208
|
+
"content_controls_delete": "doc.contentControls.delete",
|
|
209
|
+
"content_controls_copy": "doc.contentControls.copy",
|
|
210
|
+
"content_controls_move": "doc.contentControls.move",
|
|
211
|
+
"content_controls_patch": "doc.contentControls.patch",
|
|
212
|
+
"content_controls_set_lock_mode": "doc.contentControls.setLockMode",
|
|
213
|
+
"content_controls_set_type": "doc.contentControls.setType",
|
|
214
|
+
"content_controls_get_content": "doc.contentControls.getContent",
|
|
215
|
+
"content_controls_replace_content": "doc.contentControls.replaceContent",
|
|
216
|
+
"content_controls_clear_content": "doc.contentControls.clearContent",
|
|
217
|
+
"content_controls_append_content": "doc.contentControls.appendContent",
|
|
218
|
+
"content_controls_prepend_content": "doc.contentControls.prependContent",
|
|
219
|
+
"content_controls_insert_before": "doc.contentControls.insertBefore",
|
|
220
|
+
"content_controls_insert_after": "doc.contentControls.insertAfter",
|
|
221
|
+
"content_controls_get_binding": "doc.contentControls.getBinding",
|
|
222
|
+
"content_controls_set_binding": "doc.contentControls.setBinding",
|
|
223
|
+
"content_controls_clear_binding": "doc.contentControls.clearBinding",
|
|
224
|
+
"content_controls_get_raw_properties": "doc.contentControls.getRawProperties",
|
|
225
|
+
"content_controls_patch_raw_properties": "doc.contentControls.patchRawProperties",
|
|
226
|
+
"content_controls_validate_word_compatibility": "doc.contentControls.validateWordCompatibility",
|
|
227
|
+
"content_controls_normalize_word_compatibility": "doc.contentControls.normalizeWordCompatibility",
|
|
228
|
+
"content_controls_normalize_tag_payload": "doc.contentControls.normalizeTagPayload",
|
|
229
|
+
"content_controls_text_set_multiline": "doc.contentControls.text.setMultiline",
|
|
230
|
+
"content_controls_text_set_value": "doc.contentControls.text.setValue",
|
|
231
|
+
"content_controls_text_clear_value": "doc.contentControls.text.clearValue",
|
|
232
|
+
"content_controls_date_set_value": "doc.contentControls.date.setValue",
|
|
233
|
+
"content_controls_date_clear_value": "doc.contentControls.date.clearValue",
|
|
234
|
+
"content_controls_date_set_display_format": "doc.contentControls.date.setDisplayFormat",
|
|
235
|
+
"content_controls_date_set_display_locale": "doc.contentControls.date.setDisplayLocale",
|
|
236
|
+
"content_controls_date_set_storage_format": "doc.contentControls.date.setStorageFormat",
|
|
237
|
+
"content_controls_date_set_calendar": "doc.contentControls.date.setCalendar",
|
|
238
|
+
"content_controls_checkbox_get_state": "doc.contentControls.checkbox.getState",
|
|
239
|
+
"content_controls_checkbox_set_state": "doc.contentControls.checkbox.setState",
|
|
240
|
+
"content_controls_checkbox_toggle": "doc.contentControls.checkbox.toggle",
|
|
241
|
+
"content_controls_checkbox_set_symbol_pair": "doc.contentControls.checkbox.setSymbolPair",
|
|
242
|
+
"content_controls_choice_list_get_items": "doc.contentControls.choiceList.getItems",
|
|
243
|
+
"content_controls_choice_list_set_items": "doc.contentControls.choiceList.setItems",
|
|
244
|
+
"content_controls_choice_list_set_selected": "doc.contentControls.choiceList.setSelected",
|
|
245
|
+
"content_controls_repeating_section_list_items": "doc.contentControls.repeatingSection.listItems",
|
|
246
|
+
"content_controls_repeating_section_insert_item_before": "doc.contentControls.repeatingSection.insertItemBefore",
|
|
247
|
+
"content_controls_repeating_section_insert_item_after": "doc.contentControls.repeatingSection.insertItemAfter",
|
|
248
|
+
"content_controls_repeating_section_clone_item": "doc.contentControls.repeatingSection.cloneItem",
|
|
249
|
+
"content_controls_repeating_section_delete_item": "doc.contentControls.repeatingSection.deleteItem",
|
|
250
|
+
"content_controls_repeating_section_set_allow_insert_delete": "doc.contentControls.repeatingSection.setAllowInsertDelete",
|
|
251
|
+
"content_controls_group_wrap": "doc.contentControls.group.wrap",
|
|
252
|
+
"content_controls_group_ungroup": "doc.contentControls.group.ungroup",
|
|
253
|
+
"list_bookmarks": "doc.bookmarks.list",
|
|
254
|
+
"get_bookmark": "doc.bookmarks.get",
|
|
255
|
+
"insert_bookmark": "doc.bookmarks.insert",
|
|
256
|
+
"rename_bookmark": "doc.bookmarks.rename",
|
|
257
|
+
"remove_bookmark": "doc.bookmarks.remove",
|
|
258
|
+
"list_footnotes": "doc.footnotes.list",
|
|
259
|
+
"get_footnote": "doc.footnotes.get",
|
|
260
|
+
"insert_footnote": "doc.footnotes.insert",
|
|
261
|
+
"update_footnote": "doc.footnotes.update",
|
|
262
|
+
"remove_footnote": "doc.footnotes.remove",
|
|
263
|
+
"configure_footnote_numbering": "doc.footnotes.configure",
|
|
264
|
+
"list_cross_references": "doc.crossRefs.list",
|
|
265
|
+
"get_cross_reference": "doc.crossRefs.get",
|
|
266
|
+
"insert_cross_reference": "doc.crossRefs.insert",
|
|
267
|
+
"rebuild_cross_reference": "doc.crossRefs.rebuild",
|
|
268
|
+
"remove_cross_reference": "doc.crossRefs.remove",
|
|
269
|
+
"list_indexes": "doc.index.list",
|
|
270
|
+
"get_index": "doc.index.get",
|
|
271
|
+
"insert_index": "doc.index.insert",
|
|
272
|
+
"configure_index": "doc.index.configure",
|
|
273
|
+
"rebuild_index": "doc.index.rebuild",
|
|
274
|
+
"remove_index": "doc.index.remove",
|
|
275
|
+
"list_index_entries": "doc.index.entries.list",
|
|
276
|
+
"get_index_entry": "doc.index.entries.get",
|
|
277
|
+
"insert_index_entry": "doc.index.entries.insert",
|
|
278
|
+
"update_index_entry": "doc.index.entries.update",
|
|
279
|
+
"remove_index_entry": "doc.index.entries.remove",
|
|
280
|
+
"list_captions": "doc.captions.list",
|
|
281
|
+
"get_caption": "doc.captions.get",
|
|
282
|
+
"insert_caption": "doc.captions.insert",
|
|
283
|
+
"update_caption": "doc.captions.update",
|
|
284
|
+
"remove_caption": "doc.captions.remove",
|
|
285
|
+
"configure_caption_numbering": "doc.captions.configure",
|
|
286
|
+
"list_fields": "doc.fields.list",
|
|
287
|
+
"get_field": "doc.fields.get",
|
|
288
|
+
"insert_field": "doc.fields.insert",
|
|
289
|
+
"rebuild_field": "doc.fields.rebuild",
|
|
290
|
+
"remove_field": "doc.fields.remove",
|
|
291
|
+
"list_citations": "doc.citations.list",
|
|
292
|
+
"get_citation": "doc.citations.get",
|
|
293
|
+
"insert_citation": "doc.citations.insert",
|
|
294
|
+
"update_citation": "doc.citations.update",
|
|
295
|
+
"remove_citation": "doc.citations.remove",
|
|
296
|
+
"list_citation_sources": "doc.citations.sources.list",
|
|
297
|
+
"get_citation_source": "doc.citations.sources.get",
|
|
298
|
+
"insert_citation_source": "doc.citations.sources.insert",
|
|
299
|
+
"update_citation_source": "doc.citations.sources.update",
|
|
300
|
+
"remove_citation_source": "doc.citations.sources.remove",
|
|
301
|
+
"get_bibliography": "doc.citations.bibliography.get",
|
|
302
|
+
"insert_bibliography": "doc.citations.bibliography.insert",
|
|
303
|
+
"rebuild_bibliography": "doc.citations.bibliography.rebuild",
|
|
304
|
+
"configure_bibliography": "doc.citations.bibliography.configure",
|
|
305
|
+
"remove_bibliography": "doc.citations.bibliography.remove",
|
|
306
|
+
"list_authorities": "doc.authorities.list",
|
|
307
|
+
"get_authority": "doc.authorities.get",
|
|
308
|
+
"insert_authority": "doc.authorities.insert",
|
|
309
|
+
"configure_authority": "doc.authorities.configure",
|
|
310
|
+
"rebuild_authority": "doc.authorities.rebuild",
|
|
311
|
+
"remove_authority": "doc.authorities.remove",
|
|
312
|
+
"list_authority_entries": "doc.authorities.entries.list",
|
|
313
|
+
"get_authority_entry": "doc.authorities.entries.get",
|
|
314
|
+
"insert_authority_entry": "doc.authorities.entries.insert",
|
|
315
|
+
"update_authority_entry": "doc.authorities.entries.update",
|
|
316
|
+
"remove_authority_entry": "doc.authorities.entries.remove",
|
|
39
317
|
"open_document": "doc.open",
|
|
40
318
|
"save_document": "doc.save",
|
|
41
319
|
"close_document": "doc.close",
|
|
42
320
|
"get_status": "doc.status",
|
|
43
|
-
"describe_commands": "doc.describe",
|
|
44
|
-
"describe_command": "doc.describeCommand",
|
|
45
321
|
"list_sessions": "doc.session.list",
|
|
46
322
|
"save_session": "doc.session.save",
|
|
47
323
|
"close_session": "doc.session.close",
|
|
48
|
-
"set_default_session": "doc.session.setDefault"
|
|
49
|
-
"doc_find": "doc.find",
|
|
50
|
-
"doc_getNode": "doc.getNode",
|
|
51
|
-
"doc_getNodeById": "doc.getNodeById",
|
|
52
|
-
"doc_info": "doc.info",
|
|
53
|
-
"doc_insert": "doc.insert",
|
|
54
|
-
"doc_replace": "doc.replace",
|
|
55
|
-
"doc_delete": "doc.delete",
|
|
56
|
-
"doc_format_bold": "doc.format.bold",
|
|
57
|
-
"doc_format_italic": "doc.format.italic",
|
|
58
|
-
"doc_format_underline": "doc.format.underline",
|
|
59
|
-
"doc_format_strikethrough": "doc.format.strikethrough",
|
|
60
|
-
"doc_create_paragraph": "doc.create.paragraph",
|
|
61
|
-
"doc_lists_list": "doc.lists.list",
|
|
62
|
-
"doc_lists_get": "doc.lists.get",
|
|
63
|
-
"doc_lists_insert": "doc.lists.insert",
|
|
64
|
-
"doc_lists_setType": "doc.lists.setType",
|
|
65
|
-
"doc_lists_indent": "doc.lists.indent",
|
|
66
|
-
"doc_lists_outdent": "doc.lists.outdent",
|
|
67
|
-
"doc_lists_restart": "doc.lists.restart",
|
|
68
|
-
"doc_lists_exit": "doc.lists.exit",
|
|
69
|
-
"doc_comments_add": "doc.comments.add",
|
|
70
|
-
"doc_comments_edit": "doc.comments.edit",
|
|
71
|
-
"doc_comments_reply": "doc.comments.reply",
|
|
72
|
-
"doc_comments_move": "doc.comments.move",
|
|
73
|
-
"doc_comments_resolve": "doc.comments.resolve",
|
|
74
|
-
"doc_comments_remove": "doc.comments.remove",
|
|
75
|
-
"doc_comments_setInternal": "doc.comments.setInternal",
|
|
76
|
-
"doc_comments_setActive": "doc.comments.setActive",
|
|
77
|
-
"doc_comments_goTo": "doc.comments.goTo",
|
|
78
|
-
"doc_comments_get": "doc.comments.get",
|
|
79
|
-
"doc_comments_list": "doc.comments.list",
|
|
80
|
-
"doc_trackChanges_list": "doc.trackChanges.list",
|
|
81
|
-
"doc_trackChanges_get": "doc.trackChanges.get",
|
|
82
|
-
"doc_trackChanges_accept": "doc.trackChanges.accept",
|
|
83
|
-
"doc_trackChanges_reject": "doc.trackChanges.reject",
|
|
84
|
-
"doc_trackChanges_acceptAll": "doc.trackChanges.acceptAll",
|
|
85
|
-
"doc_trackChanges_rejectAll": "doc.trackChanges.rejectAll",
|
|
86
|
-
"doc_open": "doc.open",
|
|
87
|
-
"doc_save": "doc.save",
|
|
88
|
-
"doc_close": "doc.close",
|
|
89
|
-
"doc_status": "doc.status",
|
|
90
|
-
"doc_describe": "doc.describe",
|
|
91
|
-
"doc_describeCommand": "doc.describeCommand",
|
|
92
|
-
"doc_session_list": "doc.session.list",
|
|
93
|
-
"doc_session_save": "doc.session.save",
|
|
94
|
-
"doc_session_close": "doc.session.close",
|
|
95
|
-
"doc_session_setDefault": "doc.session.setDefault"
|
|
324
|
+
"set_default_session": "doc.session.setDefault"
|
|
96
325
|
}
|
package/tools/tools-policy.json
CHANGED
|
@@ -1,89 +1,41 @@
|
|
|
1
1
|
{
|
|
2
|
-
"policyVersion": "
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"trackChanges",
|
|
29
|
-
"session",
|
|
30
|
-
"create",
|
|
31
|
-
"comments",
|
|
32
|
-
"format"
|
|
33
|
-
],
|
|
34
|
-
"priority": [
|
|
35
|
-
"query"
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
"mutate": {
|
|
39
|
-
"include": [
|
|
40
|
-
"query",
|
|
41
|
-
"mutation",
|
|
42
|
-
"format",
|
|
43
|
-
"comments",
|
|
44
|
-
"create"
|
|
45
|
-
],
|
|
46
|
-
"exclude": [
|
|
47
|
-
"session"
|
|
48
|
-
],
|
|
49
|
-
"priority": [
|
|
50
|
-
"query",
|
|
51
|
-
"mutation",
|
|
52
|
-
"create",
|
|
53
|
-
"format",
|
|
54
|
-
"comments"
|
|
55
|
-
]
|
|
56
|
-
},
|
|
57
|
-
"review": {
|
|
58
|
-
"include": [
|
|
59
|
-
"query",
|
|
60
|
-
"trackChanges",
|
|
61
|
-
"comments"
|
|
62
|
-
],
|
|
63
|
-
"exclude": [
|
|
64
|
-
"mutation",
|
|
65
|
-
"create",
|
|
66
|
-
"session",
|
|
67
|
-
"format"
|
|
68
|
-
],
|
|
69
|
-
"priority": [
|
|
70
|
-
"trackChanges",
|
|
71
|
-
"comments",
|
|
72
|
-
"query"
|
|
73
|
-
]
|
|
74
|
-
}
|
|
2
|
+
"policyVersion": "v3",
|
|
3
|
+
"groups": [
|
|
4
|
+
"core",
|
|
5
|
+
"format",
|
|
6
|
+
"create",
|
|
7
|
+
"tables",
|
|
8
|
+
"sections",
|
|
9
|
+
"lists",
|
|
10
|
+
"comments",
|
|
11
|
+
"trackChanges",
|
|
12
|
+
"toc",
|
|
13
|
+
"history",
|
|
14
|
+
"session"
|
|
15
|
+
],
|
|
16
|
+
"groupDescriptions": {
|
|
17
|
+
"core": "Core operations: read nodes, get text, insert/replace/delete content, mutations",
|
|
18
|
+
"format": "Text formatting, paragraph styles, alignment, spacing, borders, shading",
|
|
19
|
+
"create": "Create structural elements: headings, paragraphs, tables, sections, TOC",
|
|
20
|
+
"tables": "Table creation, manipulation, formatting, borders, and cell operations",
|
|
21
|
+
"sections": "Page layout, margins, columns, headers/footers, page numbering",
|
|
22
|
+
"lists": "Bullet and numbered lists, indentation, list types",
|
|
23
|
+
"comments": "Comment threads — create, edit, delete, list",
|
|
24
|
+
"trackChanges": "Track changes — list, inspect, accept/reject",
|
|
25
|
+
"toc": "Table of contents — create, configure, update, manage entries",
|
|
26
|
+
"history": "Undo, redo, history inspection",
|
|
27
|
+
"session": "Session management — open, close, save, list sessions"
|
|
75
28
|
},
|
|
76
29
|
"defaults": {
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
30
|
+
"mode": "essential",
|
|
31
|
+
"maxTools": 20,
|
|
32
|
+
"alwaysInclude": [
|
|
33
|
+
"core"
|
|
34
|
+
],
|
|
82
35
|
"foundationalOperationIds": [
|
|
83
36
|
"doc.info",
|
|
84
|
-
"doc.
|
|
85
|
-
]
|
|
86
|
-
"chooserDecisionVersion": "v1"
|
|
37
|
+
"doc.query.match"
|
|
38
|
+
]
|
|
87
39
|
},
|
|
88
40
|
"capabilityFeatures": {
|
|
89
41
|
"comments": [
|
|
@@ -94,7 +46,52 @@
|
|
|
94
46
|
],
|
|
95
47
|
"lists": [
|
|
96
48
|
"hasLists"
|
|
49
|
+
],
|
|
50
|
+
"tables": [
|
|
51
|
+
"hasTables"
|
|
52
|
+
],
|
|
53
|
+
"toc": [
|
|
54
|
+
"hasToc"
|
|
97
55
|
]
|
|
98
56
|
},
|
|
99
|
-
"
|
|
57
|
+
"essentialTools": [
|
|
58
|
+
"get_node_by_id",
|
|
59
|
+
"get_document_text",
|
|
60
|
+
"query_match",
|
|
61
|
+
"apply_mutations",
|
|
62
|
+
"undo"
|
|
63
|
+
],
|
|
64
|
+
"discoverTool": {
|
|
65
|
+
"name": "discover_tools",
|
|
66
|
+
"description": "Load additional tool groups when you need capabilities beyond the essential set. Call this BEFORE attempting to use tools from a specific group.\n\nAvailable groups:\n - core: Core operations: read nodes, get text, insert/replace/delete content, mutations\n - format: Text formatting, paragraph styles, alignment, spacing, borders, shading\n - create: Create structural elements: headings, paragraphs, tables, sections, TOC\n - tables: Table creation, manipulation, formatting, borders, and cell operations\n - sections: Page layout, margins, columns, headers/footers, page numbering\n - lists: Bullet and numbered lists, indentation, list types\n - comments: Comment threads — create, edit, delete, list\n - trackChanges: Track changes — list, inspect, accept/reject\n - toc: Table of contents — create, configure, update, manage entries\n - history: Undo, redo, history inspection\n - session: Session management — open, close, save, list sessions",
|
|
67
|
+
"schema": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {
|
|
70
|
+
"groups": {
|
|
71
|
+
"type": "array",
|
|
72
|
+
"items": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"enum": [
|
|
75
|
+
"core",
|
|
76
|
+
"format",
|
|
77
|
+
"create",
|
|
78
|
+
"tables",
|
|
79
|
+
"sections",
|
|
80
|
+
"lists",
|
|
81
|
+
"comments",
|
|
82
|
+
"trackChanges",
|
|
83
|
+
"toc",
|
|
84
|
+
"history",
|
|
85
|
+
"session"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"description": "Which tool groups to load. You can request multiple at once."
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"required": [
|
|
92
|
+
"groups"
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"contractHash": "d3bd1ddb42f60468"
|
|
100
97
|
}
|