@introspection-ai/recipes 0.52.0 → 0.53.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 (76) hide show
  1. package/dist/cli/schema-args.d.ts +74 -0
  2. package/dist/cli/schema-args.d.ts.map +1 -0
  3. package/dist/cli/schema-args.js +546 -0
  4. package/dist/cli/schema-args.js.map +1 -0
  5. package/dist/documents/arguments.d.ts +218 -0
  6. package/dist/documents/arguments.d.ts.map +1 -0
  7. package/dist/documents/arguments.generated.d.ts +12 -0
  8. package/dist/documents/arguments.generated.d.ts.map +1 -0
  9. package/dist/documents/arguments.generated.js +341 -0
  10. package/dist/documents/arguments.generated.js.map +1 -0
  11. package/dist/documents/arguments.js +8 -0
  12. package/dist/documents/arguments.js.map +1 -0
  13. package/dist/documents/tools.d.ts.map +1 -1
  14. package/dist/documents/tools.js +11 -164
  15. package/dist/documents/tools.js.map +1 -1
  16. package/dist/introspection-open.d.ts +2 -1
  17. package/dist/introspection-open.d.ts.map +1 -1
  18. package/dist/introspection-open.js +14 -6
  19. package/dist/introspection-open.js.map +1 -1
  20. package/dist/issues/arguments.d.ts +87 -0
  21. package/dist/issues/arguments.d.ts.map +1 -0
  22. package/dist/issues/arguments.generated.d.ts +11 -0
  23. package/dist/issues/arguments.generated.d.ts.map +1 -0
  24. package/dist/issues/arguments.generated.js +116 -0
  25. package/dist/issues/arguments.generated.js.map +1 -0
  26. package/dist/issues/arguments.js +10 -0
  27. package/dist/issues/arguments.js.map +1 -0
  28. package/dist/issues/tool.d.ts +9 -23
  29. package/dist/issues/tool.d.ts.map +1 -1
  30. package/dist/issues/tool.js +37 -35
  31. package/dist/issues/tool.js.map +1 -1
  32. package/dist/mcp/cli/core.d.ts.map +1 -1
  33. package/dist/mcp/cli/core.js +75 -92
  34. package/dist/mcp/cli/core.js.map +1 -1
  35. package/dist/mcp/cli/help.d.ts.map +1 -1
  36. package/dist/mcp/cli/help.js +3 -2
  37. package/dist/mcp/cli/help.js.map +1 -1
  38. package/dist/mcp/cli/policy.d.ts +1 -0
  39. package/dist/mcp/cli/policy.d.ts.map +1 -1
  40. package/dist/mcp/cli/policy.js +9 -7
  41. package/dist/mcp/cli/policy.js.map +1 -1
  42. package/dist/mcp-chunks/{chunk-CGJ2XOSF.js → chunk-T5BPTC3T.js} +893 -484
  43. package/dist/mcp-daemon.js +1 -1
  44. package/dist/mcp-run-worker.js +1 -1
  45. package/dist/open.d.ts +6 -0
  46. package/dist/open.d.ts.map +1 -1
  47. package/dist/open.js +9 -1
  48. package/dist/open.js.map +1 -1
  49. package/dist/recipe/manifest.generated.d.ts +1 -1
  50. package/dist/recipe/manifest.generated.js +1 -1
  51. package/dist/search/arguments.d.ts +35 -0
  52. package/dist/search/arguments.d.ts.map +1 -0
  53. package/dist/search/arguments.generated.d.ts +4 -0
  54. package/dist/search/arguments.generated.d.ts.map +1 -0
  55. package/dist/search/arguments.generated.js +37 -0
  56. package/dist/search/arguments.generated.js.map +1 -0
  57. package/dist/search/arguments.js +11 -0
  58. package/dist/search/arguments.js.map +1 -0
  59. package/dist/search/tool.d.ts +1 -1
  60. package/dist/search/tool.d.ts.map +1 -1
  61. package/dist/search/tool.js +16 -33
  62. package/dist/search/tool.js.map +1 -1
  63. package/dist/session.js +1 -1
  64. package/dist/session.js.map +1 -1
  65. package/dist/tools/cli.d.ts +2 -0
  66. package/dist/tools/cli.d.ts.map +1 -1
  67. package/dist/tools/cli.js +110 -38
  68. package/dist/tools/cli.js.map +1 -1
  69. package/dist/tools/shell.d.ts +7 -2
  70. package/dist/tools/shell.d.ts.map +1 -1
  71. package/dist/tools/shell.js +33 -11
  72. package/dist/tools/shell.js.map +1 -1
  73. package/docs/interactions.md +6 -6
  74. package/docs/issues/README.md +18 -16
  75. package/docs/providers.md +38 -29
  76. package/package.json +10 -11
@@ -0,0 +1,218 @@
1
+ /**
2
+ * The arguments each `documents` command takes, as the model sees them.
3
+ * `scripts/generate-tool-schemas.mjs` turns each `Documents<Command>Arguments`
4
+ * type into the JSON Schema in `arguments.generated.ts`: a field's doc comment
5
+ * is its description and its tags are its limits.
6
+ */
7
+ /**
8
+ * The document to read from
9
+ * @minLength 1
10
+ */
11
+ type Source = string;
12
+ /**
13
+ * Where to save the result, under outputs/. Omit to keep editing a result this tool already saved at path.
14
+ * @minLength 1
15
+ */
16
+ type Output = string;
17
+ /**
18
+ * Name every change and comment is signed with
19
+ * @minLength 1
20
+ */
21
+ type Author = string;
22
+ /**
23
+ * Text copied from the read output of the paragraph. Whitespace, curly quotes, dashes and soft hyphens are forgiven; words are not.
24
+ * @minLength 1
25
+ */
26
+ type Quote = string;
27
+ /**
28
+ * Paragraph id from read, such as p-031, that holds the quote
29
+ * @minLength 1
30
+ */
31
+ type QuoteParagraph = string;
32
+ /**
33
+ * Nearby text that picks one match
34
+ * @minLength 1
35
+ */
36
+ type Near = string;
37
+ /**
38
+ * 1-based match number when the quote repeats
39
+ * @asType integer
40
+ * @minimum 1
41
+ */
42
+ type Occurrence = number;
43
+ /**
44
+ * A comment thread's number from read
45
+ * @asType integer
46
+ * @minimum 0
47
+ */
48
+ type Thread = number;
49
+ /** @minLength 1 */
50
+ type Text = string;
51
+ /**
52
+ * The document, a path in the workspace
53
+ * @minLength 1
54
+ */
55
+ type Path = string;
56
+ interface Edit {
57
+ op: "replace" | "delete" | "insert_after";
58
+ quote: Quote;
59
+ paragraph?: QuoteParagraph;
60
+ near?: Near;
61
+ occurrence?: Occurrence;
62
+ /** Replacement text (replace) or inserted text (insert_after) */
63
+ new?: string;
64
+ /**
65
+ * Margin comment giving the reason
66
+ * @minLength 1
67
+ */
68
+ rationale: string;
69
+ }
70
+ interface Revision {
71
+ /**
72
+ * Paragraph id from read, such as p-031
73
+ * @minLength 1
74
+ */
75
+ paragraph: string;
76
+ /** The paragraph's full revised text (empty to strike it all; unchanged to comment on it) */
77
+ text: string;
78
+ /** Margin comment giving the reason (required) */
79
+ rationale?: string;
80
+ }
81
+ interface Decision {
82
+ action: "accept" | "reject";
83
+ /**
84
+ * Change numbers from read, like 12-19 or 30,34
85
+ * @minLength 1
86
+ */
87
+ changes: string;
88
+ }
89
+ interface Reply {
90
+ action: "reply";
91
+ /**
92
+ * @asType integer
93
+ * @minimum 0
94
+ */
95
+ thread: number;
96
+ text: Text;
97
+ }
98
+ interface Counter {
99
+ action: "counter";
100
+ quote: Quote;
101
+ paragraph?: QuoteParagraph;
102
+ near?: Near;
103
+ occurrence?: Occurrence;
104
+ new: string;
105
+ rationale: Text;
106
+ /**
107
+ * Thread to put the rationale on
108
+ * @asType integer
109
+ * @minimum 0
110
+ */
111
+ thread?: number;
112
+ }
113
+ export interface DocumentsReadArguments {
114
+ path: Path;
115
+ /**
116
+ * Where to continue, as given by the previous part: a paragraph, or the tracked-change and comment listings after the last one
117
+ * @asType integer
118
+ * @minimum 0
119
+ */
120
+ offset?: number;
121
+ /**
122
+ * Characters per part (default 30000)
123
+ * @asType integer
124
+ * @minimum 2000
125
+ * @maximum 80000
126
+ */
127
+ budget?: number;
128
+ /**
129
+ * Pages to read, like 2-4,9 (paged formats)
130
+ * @maxLength 100
131
+ */
132
+ pages?: string;
133
+ /** PDF: also return tables as rows of cells. Ask for it on contracts with fee schedules, SLA grids or price tables, where plain text loses which figure belongs to which row. Needs the PDF adapter's tables extra; without it you get the text and a note. */
134
+ tables?: boolean;
135
+ }
136
+ export interface DocumentsReviseArguments {
137
+ path: Source;
138
+ output?: Output;
139
+ author: Author;
140
+ /**
141
+ * Each paragraph's revised text
142
+ * @minItems 1
143
+ * @maxItems 60
144
+ */
145
+ revisions: Revision[];
146
+ }
147
+ export interface DocumentsProposeEditsArguments {
148
+ path: Source;
149
+ output?: Output;
150
+ author: Author;
151
+ /**
152
+ * The tracked edits to make
153
+ * @minItems 1
154
+ * @maxItems 60
155
+ */
156
+ edits: Edit[];
157
+ }
158
+ export interface DocumentsCommentArguments {
159
+ path: Source;
160
+ output?: Output;
161
+ author: Author;
162
+ /**
163
+ * The comment
164
+ * @minLength 1
165
+ */
166
+ text: string;
167
+ quote?: Quote;
168
+ paragraph?: QuoteParagraph;
169
+ near?: Near;
170
+ occurrence?: Occurrence;
171
+ thread?: Thread;
172
+ }
173
+ export interface DocumentsRespondArguments {
174
+ path: Source;
175
+ output?: Output;
176
+ author: Author;
177
+ /**
178
+ * What to do with each change or thread
179
+ * @minItems 1
180
+ * @maxItems 60
181
+ */
182
+ responses: (Decision | Reply | Counter)[];
183
+ }
184
+ export interface DocumentsRemoveSectionArguments {
185
+ path: Source;
186
+ output?: Output;
187
+ author: Author;
188
+ /**
189
+ * First paragraph id
190
+ * @minLength 1
191
+ */
192
+ from: string;
193
+ /**
194
+ * Last paragraph id
195
+ * @minLength 1
196
+ */
197
+ through: string;
198
+ /**
199
+ * Leading text of the first paragraph to keep, such as its heading
200
+ * @minLength 1
201
+ */
202
+ keep?: string;
203
+ /**
204
+ * The comment giving the reason
205
+ * @minLength 1
206
+ */
207
+ rationale: string;
208
+ }
209
+ export interface DocumentsRenderArguments {
210
+ path: Path;
211
+ /**
212
+ * Pages to render, like 2-4,9 (default: from page 1); for HTML, chart numbers (default: the full page and every chart)
213
+ * @maxLength 100
214
+ */
215
+ pages?: string;
216
+ }
217
+ export {};
218
+ //# sourceMappingURL=arguments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arguments.d.ts","sourceRoot":"","sources":["../../src/documents/arguments.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AACH,KAAK,MAAM,GAAG,MAAM,CAAC;AAErB;;;GAGG;AACH,KAAK,MAAM,GAAG,MAAM,CAAC;AAErB;;;GAGG;AACH,KAAK,MAAM,GAAG,MAAM,CAAC;AAErB;;;GAGG;AACH,KAAK,KAAK,GAAG,MAAM,CAAC;AAEpB;;;GAGG;AACH,KAAK,cAAc,GAAG,MAAM,CAAC;AAE7B;;;GAGG;AACH,KAAK,IAAI,GAAG,MAAM,CAAC;AAEnB;;;;GAIG;AACH,KAAK,UAAU,G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EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,IAAI,CAAC;IACX;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,12 @@
1
+ import type { ArgumentsSchema } from "../command-parameters.js";
2
+ import type { DocumentsReadArguments, DocumentsReviseArguments, DocumentsProposeEditsArguments, DocumentsCommentArguments, DocumentsRespondArguments, DocumentsRemoveSectionArguments, DocumentsRenderArguments } from "./arguments.js";
3
+ export declare const DOCUMENTS_ARGUMENTS: {
4
+ read: ArgumentsSchema<DocumentsReadArguments>;
5
+ revise: ArgumentsSchema<DocumentsReviseArguments>;
6
+ propose_edits: ArgumentsSchema<DocumentsProposeEditsArguments>;
7
+ comment: ArgumentsSchema<DocumentsCommentArguments>;
8
+ respond: ArgumentsSchema<DocumentsRespondArguments>;
9
+ remove_section: ArgumentsSchema<DocumentsRemoveSectionArguments>;
10
+ render: ArgumentsSchema<DocumentsRenderArguments>;
11
+ };
12
+ //# sourceMappingURL=arguments.generated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arguments.generated.d.ts","sourceRoot":"","sources":["../../src/documents/arguments.generated.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACxB,8BAA8B,EAC9B,yBAAyB,EACzB,yBAAyB,EACzB,+BAA+B,EAC/B,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;AAExB,eAAO,MAAM,mBAAmB;IAC9B,IAAI,EAiCC,eAAe,CAAC,sBAAsB,CAAC;IAC5C,MAAM,EAiDD,eAAe,CAAC,wBAAwB,CAAC;IAC9C,aAAa,EAoER,eAAe,CAAC,8BAA8B,CAAC;IACpD,OAAO,EAkDF,eAAe,CAAC,yBAAyB,CAAC;IAC/C,OAAO,EA4FF,eAAe,CAAC,yBAAyB,CAAC;IAC/C,cAAc,EAuCT,eAAe,CAAC,+BAA+B,CAAC;IACrD,MAAM,EAiBD,eAAe,CAAC,wBAAwB,CAAC;CAC/C,CAAC"}
@@ -0,0 +1,341 @@
1
+ export const DOCUMENTS_ARGUMENTS = {
2
+ read: {
3
+ type: "object",
4
+ properties: {
5
+ path: {
6
+ type: "string",
7
+ description: "The document, a path in the workspace",
8
+ minLength: 1,
9
+ },
10
+ offset: {
11
+ type: "integer",
12
+ description: "Where to continue, as given by the previous part: a paragraph, or the tracked-change and comment listings after the last one",
13
+ minimum: 0,
14
+ },
15
+ budget: {
16
+ type: "integer",
17
+ description: "Characters per part (default 30000)",
18
+ minimum: 2000,
19
+ maximum: 80000,
20
+ },
21
+ pages: {
22
+ type: "string",
23
+ description: "Pages to read, like 2-4,9 (paged formats)",
24
+ maxLength: 100,
25
+ },
26
+ tables: {
27
+ type: "boolean",
28
+ description: "PDF: also return tables as rows of cells. Ask for it on contracts with fee schedules, SLA grids or price tables, where plain text loses which figure belongs to which row. Needs the PDF adapter's tables extra; without it you get the text and a note.",
29
+ },
30
+ },
31
+ required: ["path"],
32
+ additionalProperties: false,
33
+ },
34
+ revise: {
35
+ type: "object",
36
+ properties: {
37
+ path: {
38
+ type: "string",
39
+ description: "The document to read from",
40
+ minLength: 1,
41
+ },
42
+ output: {
43
+ type: "string",
44
+ description: "Where to save the result, under outputs/. Omit to keep editing a result this tool already saved at path.",
45
+ minLength: 1,
46
+ },
47
+ author: {
48
+ type: "string",
49
+ description: "Name every change and comment is signed with",
50
+ minLength: 1,
51
+ },
52
+ revisions: {
53
+ type: "array",
54
+ items: {
55
+ type: "object",
56
+ properties: {
57
+ paragraph: {
58
+ type: "string",
59
+ description: "Paragraph id from read, such as p-031",
60
+ minLength: 1,
61
+ },
62
+ text: {
63
+ type: "string",
64
+ description: "The paragraph's full revised text (empty to strike it all; unchanged to comment on it)",
65
+ },
66
+ rationale: {
67
+ type: "string",
68
+ description: "Margin comment giving the reason (required)",
69
+ },
70
+ },
71
+ required: ["paragraph", "text"],
72
+ additionalProperties: false,
73
+ },
74
+ description: "Each paragraph's revised text",
75
+ minItems: 1,
76
+ maxItems: 60,
77
+ },
78
+ },
79
+ required: ["path", "author", "revisions"],
80
+ additionalProperties: false,
81
+ },
82
+ propose_edits: {
83
+ type: "object",
84
+ properties: {
85
+ path: {
86
+ type: "string",
87
+ description: "The document to read from",
88
+ minLength: 1,
89
+ },
90
+ output: {
91
+ type: "string",
92
+ description: "Where to save the result, under outputs/. Omit to keep editing a result this tool already saved at path.",
93
+ minLength: 1,
94
+ },
95
+ author: {
96
+ type: "string",
97
+ description: "Name every change and comment is signed with",
98
+ minLength: 1,
99
+ },
100
+ edits: {
101
+ type: "array",
102
+ items: {
103
+ type: "object",
104
+ properties: {
105
+ op: { type: "string", enum: ["replace", "delete", "insert_after"] },
106
+ quote: {
107
+ type: "string",
108
+ description: "Text copied from the read output of the paragraph. Whitespace, curly quotes, dashes and soft hyphens are forgiven; words are not.",
109
+ minLength: 1,
110
+ },
111
+ paragraph: {
112
+ type: "string",
113
+ description: "Paragraph id from read, such as p-031, that holds the quote",
114
+ minLength: 1,
115
+ },
116
+ near: {
117
+ type: "string",
118
+ description: "Nearby text that picks one match",
119
+ minLength: 1,
120
+ },
121
+ occurrence: {
122
+ type: "integer",
123
+ description: "1-based match number when the quote repeats",
124
+ minimum: 1,
125
+ },
126
+ new: {
127
+ type: "string",
128
+ description: "Replacement text (replace) or inserted text (insert_after)",
129
+ },
130
+ rationale: {
131
+ type: "string",
132
+ description: "Margin comment giving the reason",
133
+ minLength: 1,
134
+ },
135
+ },
136
+ required: ["op", "quote", "rationale"],
137
+ additionalProperties: false,
138
+ },
139
+ description: "The tracked edits to make",
140
+ minItems: 1,
141
+ maxItems: 60,
142
+ },
143
+ },
144
+ required: ["path", "author", "edits"],
145
+ additionalProperties: false,
146
+ },
147
+ comment: {
148
+ type: "object",
149
+ properties: {
150
+ path: {
151
+ type: "string",
152
+ description: "The document to read from",
153
+ minLength: 1,
154
+ },
155
+ output: {
156
+ type: "string",
157
+ description: "Where to save the result, under outputs/. Omit to keep editing a result this tool already saved at path.",
158
+ minLength: 1,
159
+ },
160
+ author: {
161
+ type: "string",
162
+ description: "Name every change and comment is signed with",
163
+ minLength: 1,
164
+ },
165
+ text: { type: "string", description: "The comment", minLength: 1 },
166
+ quote: {
167
+ type: "string",
168
+ description: "Text copied from the read output of the paragraph. Whitespace, curly quotes, dashes and soft hyphens are forgiven; words are not.",
169
+ minLength: 1,
170
+ },
171
+ paragraph: {
172
+ type: "string",
173
+ description: "Paragraph id from read, such as p-031, that holds the quote",
174
+ minLength: 1,
175
+ },
176
+ near: {
177
+ type: "string",
178
+ description: "Nearby text that picks one match",
179
+ minLength: 1,
180
+ },
181
+ occurrence: {
182
+ type: "integer",
183
+ description: "1-based match number when the quote repeats",
184
+ minimum: 1,
185
+ },
186
+ thread: {
187
+ type: "integer",
188
+ description: "A comment thread's number from read",
189
+ minimum: 0,
190
+ },
191
+ },
192
+ required: ["path", "author", "text"],
193
+ additionalProperties: false,
194
+ },
195
+ respond: {
196
+ type: "object",
197
+ properties: {
198
+ path: {
199
+ type: "string",
200
+ description: "The document to read from",
201
+ minLength: 1,
202
+ },
203
+ output: {
204
+ type: "string",
205
+ description: "Where to save the result, under outputs/. Omit to keep editing a result this tool already saved at path.",
206
+ minLength: 1,
207
+ },
208
+ author: {
209
+ type: "string",
210
+ description: "Name every change and comment is signed with",
211
+ minLength: 1,
212
+ },
213
+ responses: {
214
+ type: "array",
215
+ items: {
216
+ anyOf: [
217
+ {
218
+ type: "object",
219
+ properties: {
220
+ action: { type: "string", enum: ["accept", "reject"] },
221
+ changes: {
222
+ type: "string",
223
+ description: "Change numbers from read, like 12-19 or 30,34",
224
+ minLength: 1,
225
+ },
226
+ },
227
+ required: ["action", "changes"],
228
+ additionalProperties: false,
229
+ },
230
+ {
231
+ type: "object",
232
+ properties: {
233
+ action: { type: "string", const: "reply" },
234
+ thread: { type: "integer", minimum: 0 },
235
+ text: { type: "string", minLength: 1 },
236
+ },
237
+ required: ["action", "thread", "text"],
238
+ additionalProperties: false,
239
+ },
240
+ {
241
+ type: "object",
242
+ properties: {
243
+ action: { type: "string", const: "counter" },
244
+ quote: {
245
+ type: "string",
246
+ description: "Text copied from the read output of the paragraph. Whitespace, curly quotes, dashes and soft hyphens are forgiven; words are not.",
247
+ minLength: 1,
248
+ },
249
+ paragraph: {
250
+ type: "string",
251
+ description: "Paragraph id from read, such as p-031, that holds the quote",
252
+ minLength: 1,
253
+ },
254
+ near: {
255
+ type: "string",
256
+ description: "Nearby text that picks one match",
257
+ minLength: 1,
258
+ },
259
+ occurrence: {
260
+ type: "integer",
261
+ description: "1-based match number when the quote repeats",
262
+ minimum: 1,
263
+ },
264
+ new: { type: "string" },
265
+ rationale: { type: "string", minLength: 1 },
266
+ thread: {
267
+ type: "integer",
268
+ description: "Thread to put the rationale on",
269
+ minimum: 0,
270
+ },
271
+ },
272
+ required: ["action", "quote", "new", "rationale"],
273
+ additionalProperties: false,
274
+ },
275
+ ],
276
+ },
277
+ description: "What to do with each change or thread",
278
+ minItems: 1,
279
+ maxItems: 60,
280
+ },
281
+ },
282
+ required: ["path", "author", "responses"],
283
+ additionalProperties: false,
284
+ },
285
+ remove_section: {
286
+ type: "object",
287
+ properties: {
288
+ path: {
289
+ type: "string",
290
+ description: "The document to read from",
291
+ minLength: 1,
292
+ },
293
+ output: {
294
+ type: "string",
295
+ description: "Where to save the result, under outputs/. Omit to keep editing a result this tool already saved at path.",
296
+ minLength: 1,
297
+ },
298
+ author: {
299
+ type: "string",
300
+ description: "Name every change and comment is signed with",
301
+ minLength: 1,
302
+ },
303
+ from: { type: "string", description: "First paragraph id", minLength: 1 },
304
+ through: {
305
+ type: "string",
306
+ description: "Last paragraph id",
307
+ minLength: 1,
308
+ },
309
+ keep: {
310
+ type: "string",
311
+ description: "Leading text of the first paragraph to keep, such as its heading",
312
+ minLength: 1,
313
+ },
314
+ rationale: {
315
+ type: "string",
316
+ description: "The comment giving the reason",
317
+ minLength: 1,
318
+ },
319
+ },
320
+ required: ["path", "author", "from", "through", "rationale"],
321
+ additionalProperties: false,
322
+ },
323
+ render: {
324
+ type: "object",
325
+ properties: {
326
+ path: {
327
+ type: "string",
328
+ description: "The document, a path in the workspace",
329
+ minLength: 1,
330
+ },
331
+ pages: {
332
+ type: "string",
333
+ description: "Pages to render, like 2-4,9 (default: from page 1); for HTML, chart numbers (default: the full page and every chart)",
334
+ maxLength: 100,
335
+ },
336
+ },
337
+ required: ["path"],
338
+ additionalProperties: false,
339
+ },
340
+ };
341
+ //# sourceMappingURL=arguments.generated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arguments.generated.js","sourceRoot":"","sources":["../../src/documents/arguments.generated.ts"],"names":[],"mappings":"AAYA,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,IAAI,EAAE;QACJ,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uCAAuC;gBACpD,SAAS,EAAE,CAAC;aACb;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,8HAA8H;gBAChI,OAAO,EAAE,CAAC;aACX;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,qCAAqC;gBAClD,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,KAAK;aACf;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,2CAA2C;gBACxD,SAAS,EAAE,GAAG;aACf;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,SAAS;gBACf,WAAW,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ACb;YACD,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,oBAAoB,EAAE,SAAS,EAAE,CAAC,EAAE;YACzE,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,mBAAmB;gBAChC,SAAS,EAAE,CAAC;aACb;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,kEAAkE;gBACpE,SAAS,EAAE,CAAC;aACb;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+BAA+B;gBAC5C,SAAS,EAAE,CAAC;aACb;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,CAAC;QAC5D,oBAAoB,EAAE,KAAK;KACwB;IACrD,MAAM,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uCAAuC;gBACpD,SAAS,EAAE,CAAC;aACb;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,sHAAsH;gBACxH,SAAS,EAAE,GAAG;aACf;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,CAAC;QAClB,oBAAoB,EAAE,KAAK;KACiB;CAC/C,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The arguments each `documents` command takes, as the model sees them.
3
+ * `scripts/generate-tool-schemas.mjs` turns each `Documents<Command>Arguments`
4
+ * type into the JSON Schema in `arguments.generated.ts`: a field's doc comment
5
+ * is its description and its tags are its limits.
6
+ */
7
+ export {};
8
+ //# sourceMappingURL=arguments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arguments.js","sourceRoot":"","sources":["../../src/documents/arguments.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.ts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