@altnovatrail/contracts 0.18.44 → 0.19.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.
@@ -0,0 +1,837 @@
1
+ // @generated by protoc-gen-es v2.17.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file novatrail/api/v1/debug.proto (package novatrail.api.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ // The debug mode of a local run in the contract between `app` and `api` (R163): which models serve
6
+ // the calls of AI of a task from paper, past the admission list, and what each call returned and
7
+ // cost. `api` serves it only with its debug flag, which a deployment refuses; anywhere else each
8
+ // method answers `unimplemented`, and `app` shows no debug button. Its rules are
9
+ // contracts/README.md, section 15.
10
+
11
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
12
+ import type { Message } from "@bufbuild/protobuf";
13
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
14
+ import type { Cause } from "./cause_pb.js";
15
+ import type { PaperWork } from "./attempt_pb.js";
16
+ import type { Answer } from "../../paper/v1/key_pb.js";
17
+
18
+ /**
19
+ * Describes the file novatrail/api/v1/debug.proto.
20
+ */
21
+ export declare const file_novatrail_api_v1_debug: GenFile;
22
+
23
+ /**
24
+ * The request of the debug mode's state.
25
+ *
26
+ * @generated from message novatrail.api.v1.GetDebugRequest
27
+ */
28
+ export declare type GetDebugRequest = Message<"novatrail.api.v1.GetDebugRequest"> & {
29
+ };
30
+
31
+ /**
32
+ * Describes the message novatrail.api.v1.GetDebugRequest.
33
+ * Use `create(GetDebugRequestSchema)` to create a new message.
34
+ */
35
+ export declare const GetDebugRequestSchema: GenMessage<GetDebugRequest>;
36
+
37
+ /**
38
+ * The debug mode's state.
39
+ *
40
+ * @generated from message novatrail.api.v1.GetDebugResponse
41
+ */
42
+ export declare type GetDebugResponse = Message<"novatrail.api.v1.GetDebugResponse"> & {
43
+ /**
44
+ * The models that can be chosen: those of the adapters of `tutor` with a key on this run, in
45
+ * the order of their prices.
46
+ *
47
+ * @generated from field: repeated novatrail.api.v1.DebugModel models = 1;
48
+ */
49
+ models: DebugModel[];
50
+
51
+ /**
52
+ * The choice now.
53
+ *
54
+ * @generated from field: novatrail.api.v1.DebugChoice choice = 2;
55
+ */
56
+ choice?: DebugChoice | undefined;
57
+
58
+ /**
59
+ * The models of each call of a task from paper by the admission list of `tutor`, for an adult on
60
+ * platform AI, one for each model in the order of their attempts (R164): what serves the call
61
+ * with no first model. A call the list admits no model for is absent.
62
+ *
63
+ * @generated from field: repeated novatrail.api.v1.DebugAdmitted admitted = 3;
64
+ */
65
+ admitted: DebugAdmitted[];
66
+ };
67
+
68
+ /**
69
+ * Describes the message novatrail.api.v1.GetDebugResponse.
70
+ * Use `create(GetDebugResponseSchema)` to create a new message.
71
+ */
72
+ export declare const GetDebugResponseSchema: GenMessage<GetDebugResponse>;
73
+
74
+ /**
75
+ * A model the admission list gives a call.
76
+ *
77
+ * @generated from message novatrail.api.v1.DebugAdmitted
78
+ */
79
+ export declare type DebugAdmitted = Message<"novatrail.api.v1.DebugAdmitted"> & {
80
+ /**
81
+ * The call.
82
+ *
83
+ * @generated from field: novatrail.api.v1.DebugCallKind kind = 1;
84
+ */
85
+ kind: DebugCallKind;
86
+
87
+ /**
88
+ * Its model, with how it is called.
89
+ *
90
+ * @generated from field: novatrail.api.v1.DebugModelChoice model = 2;
91
+ */
92
+ model?: DebugModelChoice | undefined;
93
+ };
94
+
95
+ /**
96
+ * Describes the message novatrail.api.v1.DebugAdmitted.
97
+ * Use `create(DebugAdmittedSchema)` to create a new message.
98
+ */
99
+ export declare const DebugAdmittedSchema: GenMessage<DebugAdmitted>;
100
+
101
+ /**
102
+ * A model that can be chosen.
103
+ *
104
+ * @generated from message novatrail.api.v1.DebugModel
105
+ */
106
+ export declare type DebugModel = Message<"novatrail.api.v1.DebugModel"> & {
107
+ /**
108
+ * The model's ID at its provider, as `claude-haiku-5-5`.
109
+ *
110
+ * @generated from field: string id = 1;
111
+ */
112
+ id: string;
113
+
114
+ /**
115
+ * The model's name, as `Haiku 5.5`.
116
+ *
117
+ * @generated from field: string name = 2;
118
+ */
119
+ name: string;
120
+
121
+ /**
122
+ * The provider, as the admission table names it, as `anthropic`.
123
+ *
124
+ * @generated from field: string provider = 3;
125
+ */
126
+ provider: string;
127
+
128
+ /**
129
+ * The price of a million input tokens, in micro-dollars, by the prices of `tutor`.
130
+ *
131
+ * @generated from field: int64 input_micro_usd = 4;
132
+ */
133
+ inputMicroUsd: bigint;
134
+
135
+ /**
136
+ * The price of a million output tokens, in micro-dollars, by the prices of `tutor`.
137
+ *
138
+ * @generated from field: int64 output_micro_usd = 5;
139
+ */
140
+ outputMicroUsd: bigint;
141
+
142
+ /**
143
+ * The efforts it takes.
144
+ *
145
+ * @generated from field: repeated novatrail.api.v1.DebugEffort efforts = 6;
146
+ */
147
+ efforts: DebugEffort[];
148
+
149
+ /**
150
+ * The efforts at which its thinking may be off: none for a model that always thinks.
151
+ *
152
+ * @generated from field: repeated novatrail.api.v1.DebugEffort thinking_off_efforts = 7;
153
+ */
154
+ thinkingOffEfforts: DebugEffort[];
155
+ };
156
+
157
+ /**
158
+ * Describes the message novatrail.api.v1.DebugModel.
159
+ * Use `create(DebugModelSchema)` to create a new message.
160
+ */
161
+ export declare const DebugModelSchema: GenMessage<DebugModel>;
162
+
163
+ /**
164
+ * Which models serve the calls of a task from paper.
165
+ *
166
+ * @generated from message novatrail.api.v1.DebugChoice
167
+ */
168
+ export declare type DebugChoice = Message<"novatrail.api.v1.DebugChoice"> & {
169
+ /**
170
+ * The model of every call of a task from paper — the tasks found, the statement read, the
171
+ * solution, the work read and the tutor's words —, one attempt each: absent, each call has its
172
+ * models of the admission list of `tutor`, in turn (R164).
173
+ *
174
+ * @generated from field: novatrail.api.v1.DebugModelChoice first = 1;
175
+ */
176
+ first?: DebugModelChoice | undefined;
177
+
178
+ /**
179
+ * A second reader of the work, beside the first model's reading, the two joined as a pair is
180
+ * (R68): absent, one reader.
181
+ *
182
+ * @generated from field: novatrail.api.v1.DebugModelChoice second = 2;
183
+ */
184
+ second?: DebugModelChoice | undefined;
185
+ };
186
+
187
+ /**
188
+ * Describes the message novatrail.api.v1.DebugChoice.
189
+ * Use `create(DebugChoiceSchema)` to create a new message.
190
+ */
191
+ export declare const DebugChoiceSchema: GenMessage<DebugChoice>;
192
+
193
+ /**
194
+ * One model chosen, with how it is called.
195
+ *
196
+ * @generated from message novatrail.api.v1.DebugModelChoice
197
+ */
198
+ export declare type DebugModelChoice = Message<"novatrail.api.v1.DebugModelChoice"> & {
199
+ /**
200
+ * The model's ID at its provider, one of `GetDebugResponse.models`.
201
+ *
202
+ * @generated from field: string model = 1;
203
+ */
204
+ model: string;
205
+
206
+ /**
207
+ * The effort.
208
+ *
209
+ * @generated from field: novatrail.api.v1.DebugEffort effort = 2;
210
+ */
211
+ effort: DebugEffort;
212
+
213
+ /**
214
+ * Whether the model thinks: off only at an effort of its `thinking_off_efforts`.
215
+ *
216
+ * @generated from field: bool thinking = 3;
217
+ */
218
+ thinking: boolean;
219
+ };
220
+
221
+ /**
222
+ * Describes the message novatrail.api.v1.DebugModelChoice.
223
+ * Use `create(DebugModelChoiceSchema)` to create a new message.
224
+ */
225
+ export declare const DebugModelChoiceSchema: GenMessage<DebugModelChoice>;
226
+
227
+ /**
228
+ * The choice to set.
229
+ *
230
+ * @generated from message novatrail.api.v1.SetDebugModelsRequest
231
+ */
232
+ export declare type SetDebugModelsRequest = Message<"novatrail.api.v1.SetDebugModelsRequest"> & {
233
+ /**
234
+ * The choice.
235
+ *
236
+ * @generated from field: novatrail.api.v1.DebugChoice choice = 1;
237
+ */
238
+ choice?: DebugChoice | undefined;
239
+ };
240
+
241
+ /**
242
+ * Describes the message novatrail.api.v1.SetDebugModelsRequest.
243
+ * Use `create(SetDebugModelsRequestSchema)` to create a new message.
244
+ */
245
+ export declare const SetDebugModelsRequestSchema: GenMessage<SetDebugModelsRequest>;
246
+
247
+ /**
248
+ * The choice set.
249
+ *
250
+ * @generated from message novatrail.api.v1.SetDebugModelsResponse
251
+ */
252
+ export declare type SetDebugModelsResponse = Message<"novatrail.api.v1.SetDebugModelsResponse"> & {
253
+ /**
254
+ * The choice, as `api` holds it now.
255
+ *
256
+ * @generated from field: novatrail.api.v1.DebugChoice choice = 1;
257
+ */
258
+ choice?: DebugChoice | undefined;
259
+ };
260
+
261
+ /**
262
+ * Describes the message novatrail.api.v1.SetDebugModelsResponse.
263
+ * Use `create(SetDebugModelsResponseSchema)` to create a new message.
264
+ */
265
+ export declare const SetDebugModelsResponseSchema: GenMessage<SetDebugModelsResponse>;
266
+
267
+ /**
268
+ * The request of the calls since the last take.
269
+ *
270
+ * @generated from message novatrail.api.v1.TakeDebugCallsRequest
271
+ */
272
+ export declare type TakeDebugCallsRequest = Message<"novatrail.api.v1.TakeDebugCallsRequest"> & {
273
+ };
274
+
275
+ /**
276
+ * Describes the message novatrail.api.v1.TakeDebugCallsRequest.
277
+ * Use `create(TakeDebugCallsRequestSchema)` to create a new message.
278
+ */
279
+ export declare const TakeDebugCallsRequestSchema: GenMessage<TakeDebugCallsRequest>;
280
+
281
+ /**
282
+ * The calls since the last take.
283
+ *
284
+ * @generated from message novatrail.api.v1.TakeDebugCallsResponse
285
+ */
286
+ export declare type TakeDebugCallsResponse = Message<"novatrail.api.v1.TakeDebugCallsResponse"> & {
287
+ /**
288
+ * The actions, oldest first.
289
+ *
290
+ * @generated from field: repeated novatrail.api.v1.DebugAction actions = 1;
291
+ */
292
+ actions: DebugAction[];
293
+ };
294
+
295
+ /**
296
+ * Describes the message novatrail.api.v1.TakeDebugCallsResponse.
297
+ * Use `create(TakeDebugCallsResponseSchema)` to create a new message.
298
+ */
299
+ export declare const TakeDebugCallsResponseSchema: GenMessage<TakeDebugCallsResponse>;
300
+
301
+ /**
302
+ * One request of a task from paper and the calls it made.
303
+ *
304
+ * @generated from message novatrail.api.v1.DebugAction
305
+ */
306
+ export declare type DebugAction = Message<"novatrail.api.v1.DebugAction"> & {
307
+ /**
308
+ * Which request.
309
+ *
310
+ * @generated from field: novatrail.api.v1.DebugActionKind kind = 1;
311
+ */
312
+ kind: DebugActionKind;
313
+
314
+ /**
315
+ * The attempt, beside `DEBUG_ACTION_KIND_CHECK` and `DEBUG_ACTION_KIND_WORDS`.
316
+ *
317
+ * @generated from field: string attempt_id = 2;
318
+ */
319
+ attemptId: string;
320
+
321
+ /**
322
+ * When `api` took the request.
323
+ *
324
+ * @generated from field: google.protobuf.Timestamp at = 3;
325
+ */
326
+ at?: Timestamp | undefined;
327
+
328
+ /**
329
+ * Its calls, in the order they ended; the solver's among them.
330
+ *
331
+ * @generated from field: repeated novatrail.api.v1.DebugCall calls = 4;
332
+ */
333
+ calls: DebugCall[];
334
+
335
+ /**
336
+ * Beside two readers: whether a place of the work was read differently by them, and so is
337
+ * unreadable (R68).
338
+ *
339
+ * @generated from field: bool readers_differ = 5;
340
+ */
341
+ readersDiffer: boolean;
342
+ };
343
+
344
+ /**
345
+ * Describes the message novatrail.api.v1.DebugAction.
346
+ * Use `create(DebugActionSchema)` to create a new message.
347
+ */
348
+ export declare const DebugActionSchema: GenMessage<DebugAction>;
349
+
350
+ /**
351
+ * One call of a request: of a model, or of the solver of `module-kit`.
352
+ *
353
+ * @generated from message novatrail.api.v1.DebugCall
354
+ */
355
+ export declare type DebugCall = Message<"novatrail.api.v1.DebugCall"> & {
356
+ /**
357
+ * What the call does.
358
+ *
359
+ * @generated from field: novatrail.api.v1.DebugCallKind kind = 1;
360
+ */
361
+ kind: DebugCallKind;
362
+
363
+ /**
364
+ * Beside the work read: the reader, 1 or 2.
365
+ *
366
+ * @generated from field: int32 reader = 2;
367
+ */
368
+ reader: number;
369
+
370
+ /**
371
+ * The model's ID as the provider gave it back; empty for the solver.
372
+ *
373
+ * @generated from field: string model = 3;
374
+ */
375
+ model: string;
376
+
377
+ /**
378
+ * The effort it was called with.
379
+ *
380
+ * @generated from field: novatrail.api.v1.DebugEffort effort = 4;
381
+ */
382
+ effort: DebugEffort;
383
+
384
+ /**
385
+ * Whether it was called with thinking on.
386
+ *
387
+ * @generated from field: bool thinking = 5;
388
+ */
389
+ thinking: boolean;
390
+
391
+ /**
392
+ * What it returned, as it returned it: the model's JSON, or the solver's key as the JSON of
393
+ * `novatrail.paper.v1.Answer`. Empty when it returned nothing.
394
+ *
395
+ * @generated from field: string answer = 6;
396
+ */
397
+ answer: string;
398
+
399
+ /**
400
+ * The input tokens, without those of the cache.
401
+ *
402
+ * @generated from field: int64 input_tokens = 7;
403
+ */
404
+ inputTokens: bigint;
405
+
406
+ /**
407
+ * The tokens written to the cache.
408
+ *
409
+ * @generated from field: int64 cache_write_tokens = 8;
410
+ */
411
+ cacheWriteTokens: bigint;
412
+
413
+ /**
414
+ * The tokens read from the cache.
415
+ *
416
+ * @generated from field: int64 cache_read_tokens = 9;
417
+ */
418
+ cacheReadTokens: bigint;
419
+
420
+ /**
421
+ * The output tokens, thinking among them.
422
+ *
423
+ * @generated from field: int64 output_tokens = 10;
424
+ */
425
+ outputTokens: bigint;
426
+
427
+ /**
428
+ * The thinking tokens.
429
+ *
430
+ * @generated from field: int64 thinking_tokens = 11;
431
+ */
432
+ thinkingTokens: bigint;
433
+
434
+ /**
435
+ * How long the call took, in milliseconds.
436
+ *
437
+ * @generated from field: int64 duration_ms = 12;
438
+ */
439
+ durationMs: bigint;
440
+
441
+ /**
442
+ * How long until its first token, in milliseconds: 0 when none came.
443
+ *
444
+ * @generated from field: int64 first_token_ms = 13;
445
+ */
446
+ firstTokenMs: bigint;
447
+
448
+ /**
449
+ * How many times the call was repeated.
450
+ *
451
+ * @generated from field: int32 retries = 14;
452
+ */
453
+ retries: number;
454
+
455
+ /**
456
+ * Its cost in micro-dollars, as `api` charges the quota: by the prices of `tutor`, or the worst
457
+ * when the provider's bill is not whole.
458
+ *
459
+ * @generated from field: int64 cost_micro_usd = 15;
460
+ */
461
+ costMicroUsd: bigint;
462
+
463
+ /**
464
+ * Whether the provider's bill of the call is whole.
465
+ *
466
+ * @generated from field: bool billed = 16;
467
+ */
468
+ billed: boolean;
469
+
470
+ /**
471
+ * What the call came to when it gave no answer that was read: as `Outcome` names it.
472
+ *
473
+ * @generated from field: novatrail.api.v1.Cause failure = 17;
474
+ */
475
+ failure: Cause;
476
+
477
+ /**
478
+ * The model's place among the attempts of its call, 1, 2 or 3: a later one is asked only when
479
+ * the one before did not do (R164). 1 for the solver and for a model the debug mode chose.
480
+ *
481
+ * @generated from field: int32 attempt = 18;
482
+ */
483
+ attempt: number;
484
+ };
485
+
486
+ /**
487
+ * Describes the message novatrail.api.v1.DebugCall.
488
+ * Use `create(DebugCallSchema)` to create a new message.
489
+ */
490
+ export declare const DebugCallSchema: GenMessage<DebugCall>;
491
+
492
+ /**
493
+ * A Check of a task from paper as the debug mode exports it, a case of the set of a task from
494
+ * paper of the eval runner of `tutor`: the pictures its calls saw, what they gave, and the truth as
495
+ * the developer says it. `app` writes it as the JSON of this message, a file a case; `tutor-eval`
496
+ * reads a folder of such files as a set, whose truth is the developer's (R163).
497
+ *
498
+ * @generated from message novatrail.api.v1.DebugCase
499
+ */
500
+ export declare type DebugCase = Message<"novatrail.api.v1.DebugCase"> & {
501
+ /**
502
+ * The work as the Check sent it: the task's crop, which the statement's reading and the
503
+ * solution see, and the crop of the work, which the readers see.
504
+ *
505
+ * @generated from field: novatrail.api.v1.PaperWork work = 1;
506
+ */
507
+ work?: PaperWork | undefined;
508
+
509
+ /**
510
+ * Each task the crop holds, from 1 to 20, in the order of the page, as the attempt's items: the
511
+ * work is `correct` when every task with a key is.
512
+ *
513
+ * @generated from field: repeated novatrail.api.v1.DebugTask tasks = 2;
514
+ */
515
+ tasks: DebugTask[];
516
+
517
+ /**
518
+ * What the developer saw, in their words; may be empty.
519
+ *
520
+ * @generated from field: string note = 3;
521
+ */
522
+ note: string;
523
+
524
+ /**
525
+ * The Check as the debug mode took it: its calls, what each returned and cost.
526
+ *
527
+ * @generated from field: novatrail.api.v1.DebugAction action = 4;
528
+ */
529
+ action?: DebugAction | undefined;
530
+ };
531
+
532
+ /**
533
+ * Describes the message novatrail.api.v1.DebugCase.
534
+ * Use `create(DebugCaseSchema)` to create a new message.
535
+ */
536
+ export declare const DebugCaseSchema: GenMessage<DebugCase>;
537
+
538
+ /**
539
+ * One task of a case of the debug mode, as the developer says its truth.
540
+ *
541
+ * @generated from message novatrail.api.v1.DebugTask
542
+ */
543
+ export declare type DebugTask = Message<"novatrail.api.v1.DebugTask"> & {
544
+ /**
545
+ * The task's statement as printed, at most 200 bytes, as the reading of the statement gave it:
546
+ * the reading of the work is given it.
547
+ *
548
+ * @generated from field: string statement = 5;
549
+ */
550
+ statement: string;
551
+
552
+ /**
553
+ * The formula the task's statement holds, as the solver of `module-kit` takes it; empty for a
554
+ * statement that holds none, a word problem, a choice or an open task.
555
+ *
556
+ * @generated from field: string formula = 1;
557
+ */
558
+ formula: string;
559
+
560
+ /**
561
+ * The task's key; none for an open task, which has no one answer.
562
+ *
563
+ * @generated from field: novatrail.paper.v1.Answer key = 2;
564
+ */
565
+ key?: Answer | undefined;
566
+
567
+ /**
568
+ * The value of the answer the work holds for the task, brought to the key, as `x = 4` is `4`;
569
+ * empty where the work holds none.
570
+ *
571
+ * @generated from field: string read = 3;
572
+ */
573
+ read: string;
574
+
575
+ /**
576
+ * The verdict the task's item should get by its key.
577
+ *
578
+ * @generated from field: novatrail.api.v1.DebugOutcome outcome = 4;
579
+ */
580
+ outcome: DebugOutcome;
581
+ };
582
+
583
+ /**
584
+ * Describes the message novatrail.api.v1.DebugTask.
585
+ * Use `create(DebugTaskSchema)` to create a new message.
586
+ */
587
+ export declare const DebugTaskSchema: GenMessage<DebugTask>;
588
+
589
+ /**
590
+ * The effort of a call, as the provider names it.
591
+ *
592
+ * @generated from enum novatrail.api.v1.DebugEffort
593
+ */
594
+ export enum DebugEffort {
595
+ /**
596
+ * Not named: `app` reads it as `medium`.
597
+ *
598
+ * @generated from enum value: DEBUG_EFFORT_UNSPECIFIED = 0;
599
+ */
600
+ UNSPECIFIED = 0,
601
+
602
+ /**
603
+ * `low`.
604
+ *
605
+ * @generated from enum value: DEBUG_EFFORT_LOW = 1;
606
+ */
607
+ LOW = 1,
608
+
609
+ /**
610
+ * `medium`.
611
+ *
612
+ * @generated from enum value: DEBUG_EFFORT_MEDIUM = 2;
613
+ */
614
+ MEDIUM = 2,
615
+
616
+ /**
617
+ * `high`.
618
+ *
619
+ * @generated from enum value: DEBUG_EFFORT_HIGH = 3;
620
+ */
621
+ HIGH = 3,
622
+
623
+ /**
624
+ * `xhigh`.
625
+ *
626
+ * @generated from enum value: DEBUG_EFFORT_XHIGH = 4;
627
+ */
628
+ XHIGH = 4,
629
+
630
+ /**
631
+ * `max`.
632
+ *
633
+ * @generated from enum value: DEBUG_EFFORT_MAX = 5;
634
+ */
635
+ MAX = 5,
636
+ }
637
+
638
+ /**
639
+ * Describes the enum novatrail.api.v1.DebugEffort.
640
+ */
641
+ export declare const DebugEffortSchema: GenEnum<DebugEffort>;
642
+
643
+ /**
644
+ * Which request of a task from paper.
645
+ *
646
+ * @generated from enum novatrail.api.v1.DebugActionKind
647
+ */
648
+ export enum DebugActionKind {
649
+ /**
650
+ * Not named.
651
+ *
652
+ * @generated from enum value: DEBUG_ACTION_KIND_UNSPECIFIED = 0;
653
+ */
654
+ UNSPECIFIED = 0,
655
+
656
+ /**
657
+ * `FindTasks`.
658
+ *
659
+ * @generated from enum value: DEBUG_ACTION_KIND_FIND_TASKS = 1;
660
+ */
661
+ FIND_TASKS = 1,
662
+
663
+ /**
664
+ * `SubmitWork` of an attempt of a task from paper.
665
+ *
666
+ * @generated from enum value: DEBUG_ACTION_KIND_CHECK = 2;
667
+ */
668
+ CHECK = 2,
669
+
670
+ /**
671
+ * A request for the tutor's words on an attempt of a task from paper: `GetOpeningWords`,
672
+ * `GetRungWords` or `ExplainDifferently`.
673
+ *
674
+ * @generated from enum value: DEBUG_ACTION_KIND_WORDS = 3;
675
+ */
676
+ WORDS = 3,
677
+ }
678
+
679
+ /**
680
+ * Describes the enum novatrail.api.v1.DebugActionKind.
681
+ */
682
+ export declare const DebugActionKindSchema: GenEnum<DebugActionKind>;
683
+
684
+ /**
685
+ * What a call does.
686
+ *
687
+ * @generated from enum novatrail.api.v1.DebugCallKind
688
+ */
689
+ export enum DebugCallKind {
690
+ /**
691
+ * Not named.
692
+ *
693
+ * @generated from enum value: DEBUG_CALL_KIND_UNSPECIFIED = 0;
694
+ */
695
+ UNSPECIFIED = 0,
696
+
697
+ /**
698
+ * The tasks found on the photo, `task_finding`.
699
+ *
700
+ * @generated from enum value: DEBUG_CALL_KIND_TASK_FINDING = 1;
701
+ */
702
+ TASK_FINDING = 1,
703
+
704
+ /**
705
+ * The statement read into a formula, `statement_reading`.
706
+ *
707
+ * @generated from enum value: DEBUG_CALL_KIND_STATEMENT_READING = 2;
708
+ */
709
+ STATEMENT_READING = 2,
710
+
711
+ /**
712
+ * The solver of `module-kit`, with no AI.
713
+ *
714
+ * @generated from enum value: DEBUG_CALL_KIND_SOLVER = 3;
715
+ */
716
+ SOLVER = 3,
717
+
718
+ /**
719
+ * The AI's solution, `task_solving`.
720
+ *
721
+ * @generated from enum value: DEBUG_CALL_KIND_TASK_SOLVING = 4;
722
+ */
723
+ TASK_SOLVING = 4,
724
+
725
+ /**
726
+ * The work read, `handwriting_reading`.
727
+ *
728
+ * @generated from enum value: DEBUG_CALL_KIND_WORK_READING = 5;
729
+ */
730
+ WORK_READING = 5,
731
+
732
+ /**
733
+ * The tutor's words — the opening question, a rung's words with the place of the first mistake,
734
+ * or a rung in other words —, `solution_analysis` with the work and `hint` without it.
735
+ *
736
+ * @generated from enum value: DEBUG_CALL_KIND_TUTOR_WORDS = 6;
737
+ */
738
+ TUTOR_WORDS = 6,
739
+ }
740
+
741
+ /**
742
+ * Describes the enum novatrail.api.v1.DebugCallKind.
743
+ */
744
+ export declare const DebugCallKindSchema: GenEnum<DebugCallKind>;
745
+
746
+ /**
747
+ * The verdict a case of the debug mode should get, as the set of a task from paper names it.
748
+ *
749
+ * @generated from enum novatrail.api.v1.DebugOutcome
750
+ */
751
+ export enum DebugOutcome {
752
+ /**
753
+ * Not named: no case.
754
+ *
755
+ * @generated from enum value: DEBUG_OUTCOME_UNSPECIFIED = 0;
756
+ */
757
+ UNSPECIFIED = 0,
758
+
759
+ /**
760
+ * `correct`.
761
+ *
762
+ * @generated from enum value: DEBUG_OUTCOME_CORRECT = 1;
763
+ */
764
+ CORRECT = 1,
765
+
766
+ /**
767
+ * `not_yet`.
768
+ *
769
+ * @generated from enum value: DEBUG_OUTCOME_NOT_YET = 2;
770
+ */
771
+ NOT_YET = 2,
772
+
773
+ /**
774
+ * `unreadable`.
775
+ *
776
+ * @generated from enum value: DEBUG_OUTCOME_UNREADABLE = 3;
777
+ */
778
+ UNREADABLE = 3,
779
+
780
+ /**
781
+ * `unchecked`: an open task, with no key.
782
+ *
783
+ * @generated from enum value: DEBUG_OUTCOME_UNCHECKED = 4;
784
+ */
785
+ UNCHECKED = 4,
786
+ }
787
+
788
+ /**
789
+ * Describes the enum novatrail.api.v1.DebugOutcome.
790
+ */
791
+ export declare const DebugOutcomeSchema: GenEnum<DebugOutcome>;
792
+
793
+ /**
794
+ * The debug mode, from a session of the account on a local run. Every method carries the token of
795
+ * the sign-in service and may get the refusals of every request with a token, which the comment of
796
+ * `AccountService` names; it needs the account of the token alone. The choice and the calls are the
797
+ * account's, in the memory of the process of `api`, and go with it: `api` writes neither to its
798
+ * log nor to its database.
799
+ *
800
+ * @generated from service novatrail.api.v1.DebugService
801
+ */
802
+ export declare const DebugService: GenService<{
803
+ /**
804
+ * The models that can be chosen, with their prices, and the choice now.
805
+ *
806
+ * @generated from rpc novatrail.api.v1.DebugService.GetDebug
807
+ */
808
+ getDebug: {
809
+ methodKind: "unary";
810
+ input: typeof GetDebugRequestSchema;
811
+ output: typeof GetDebugResponseSchema;
812
+ },
813
+ /**
814
+ * Sets the models of the account's calls of a task from paper, from its next call on. A model
815
+ * the list does not name, an effort it does not take, or thinking off where the model or the
816
+ * effort keeps it on, get the code `invalid_argument` with no `Refusal`.
817
+ *
818
+ * @generated from rpc novatrail.api.v1.DebugService.SetDebugModels
819
+ */
820
+ setDebugModels: {
821
+ methodKind: "unary";
822
+ input: typeof SetDebugModelsRequestSchema;
823
+ output: typeof SetDebugModelsResponseSchema;
824
+ },
825
+ /**
826
+ * Gives the account's actions since the last take, each with its calls, oldest first, and
827
+ * forgets them.
828
+ *
829
+ * @generated from rpc novatrail.api.v1.DebugService.TakeDebugCalls
830
+ */
831
+ takeDebugCalls: {
832
+ methodKind: "unary";
833
+ input: typeof TakeDebugCallsRequestSchema;
834
+ output: typeof TakeDebugCallsResponseSchema;
835
+ },
836
+ }>;
837
+