@stigmer/apis 0.3.1 → 0.4.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 (35) hide show
  1. package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +10 -4
  2. package/ai/stigmer/agentic/agent/v1/status_pb.d.ts +39 -0
  3. package/ai/stigmer/agentic/agent/v1/status_pb.js +6 -1
  4. package/ai/stigmer/agentic/evalrun/v1/status_pb.d.ts +3 -2
  5. package/ai/stigmer/agentic/file/v1/run_files_connect.d.ts +2 -1
  6. package/ai/stigmer/agentic/file/v1/run_files_connect.js +2 -1
  7. package/ai/stigmer/agentic/file/v1/run_files_pb.d.ts +13 -3
  8. package/ai/stigmer/agentic/file/v1/run_files_pb.js +1 -1
  9. package/ai/stigmer/agentic/plugin/v1/io_pb.d.ts +128 -0
  10. package/ai/stigmer/agentic/plugin/v1/io_pb.js +26 -1
  11. package/ai/stigmer/agentic/plugin/v1/query_connect.d.ts +29 -0
  12. package/ai/stigmer/agentic/plugin/v1/query_connect.js +30 -1
  13. package/ai/stigmer/agentic/plugin/v1/query_pb.d.ts +28 -1
  14. package/ai/stigmer/agentic/plugin/v1/query_pb.js +1 -1
  15. package/ai/stigmer/agentic/session/v1/command_connect.d.ts +35 -0
  16. package/ai/stigmer/agentic/session/v1/command_connect.js +36 -1
  17. package/ai/stigmer/agentic/session/v1/command_pb.d.ts +35 -1
  18. package/ai/stigmer/agentic/session/v1/command_pb.js +1 -1
  19. package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +2 -1
  20. package/ai/stigmer/agentic/session/v1/enum_pb.js +2 -1
  21. package/ai/stigmer/agentic/session/v1/event_pb.d.ts +112 -0
  22. package/ai/stigmer/agentic/session/v1/event_pb.js +35 -25
  23. package/ai/stigmer/agentic/session/v1/io_pb.d.ts +41 -0
  24. package/ai/stigmer/agentic/session/v1/io_pb.js +24 -18
  25. package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +58 -1
  26. package/ai/stigmer/agentic/session/v1/spec_pb.js +7 -1
  27. package/ai/stigmer/agentic/session/v1/status_pb.d.ts +8 -0
  28. package/ai/stigmer/agentic/session/v1/status_pb.js +1 -1
  29. package/ai/stigmer/agentic/skill/v1/io_pb.d.ts +128 -0
  30. package/ai/stigmer/agentic/skill/v1/io_pb.js +26 -1
  31. package/ai/stigmer/agentic/skill/v1/query_connect.d.ts +30 -0
  32. package/ai/stigmer/agentic/skill/v1/query_connect.js +31 -1
  33. package/ai/stigmer/agentic/skill/v1/query_pb.d.ts +29 -1
  34. package/ai/stigmer/agentic/skill/v1/query_pb.js +1 -1
  35. package/package.json +1 -1
@@ -191,10 +191,16 @@ export type AgentSpec = Message<"ai.stigmer.agentic.agent.v1.AgentSpec"> & {
191
191
  * subagent that has a computer; its conversations and routines refuse
192
192
  * repositories, folders, an Environment and the Claude harness.
193
193
  *
194
- * Unset reads as having a computer. A new agent left unset gets
195
- * COMPUTER_REQUIRED; the Claude harness always has a computer, and
196
- * COMPUTER_NONE on it is refused. An update that leaves this unset keeps
197
- * the stored value. A conversation keeps the computer it started with.
194
+ * Unset reads as having a computer. A new agent left unset starts
195
+ * without one (COMPUTER_NONE) unless it names something that needs one,
196
+ * and then gets COMPUTER_REQUIRED: the Claude harness, a Bash tool, its
197
+ * own hooks, an Environment, an MCP server of its own on this machine or
198
+ * a private network, a plugin with hooks or a local MCP server, or a
199
+ * subagent that has a computer. A value you set is kept as set; the
200
+ * Claude harness always has a computer, and COMPUTER_NONE on it is
201
+ * refused. An update that leaves this unset keeps the stored value, so
202
+ * adding something that needs a computer to an agent without one is
203
+ * refused. A conversation keeps the computer it started with.
198
204
  *
199
205
  * @generated from field: ai.stigmer.agentic.session.v1.Computer computer = 20;
200
206
  */
@@ -34,9 +34,48 @@ export type AgentStatus = Message<"ai.stigmer.agentic.agent.v1.AgentStatus"> & {
34
34
  * @generated from field: string version_hash = 3;
35
35
  */
36
36
  versionHash: string;
37
+ /**
38
+ * Warnings the last save recorded: what the agent's skills carry that it
39
+ * cannot use as configured, such as scripts an agent without a computer
40
+ * cannot run. A save never fails over one.
41
+ *
42
+ * @generated from field: repeated ai.stigmer.agentic.agent.v1.AgentWarning warnings = 4;
43
+ */
44
+ warnings: AgentWarning[];
37
45
  };
38
46
  /**
39
47
  * Describes the message ai.stigmer.agentic.agent.v1.AgentStatus.
40
48
  * Use `create(AgentStatusSchema)` to create a new message.
41
49
  */
42
50
  export declare const AgentStatusSchema: GenMessage<AgentStatus>;
51
+ /**
52
+ * AgentWarning is one thing an agent's save noticed and did not refuse.
53
+ *
54
+ * @generated from message ai.stigmer.agentic.agent.v1.AgentWarning
55
+ */
56
+ export type AgentWarning = Message<"ai.stigmer.agentic.agent.v1.AgentWarning"> & {
57
+ /**
58
+ * Stable warning kind, e.g. "skill-scripts".
59
+ *
60
+ * @generated from field: string kind = 1;
61
+ */
62
+ kind: string;
63
+ /**
64
+ * The warning as one user-facing sentence.
65
+ *
66
+ * @generated from field: string message = 2;
67
+ */
68
+ message: string;
69
+ /**
70
+ * The skill the warning names, as the agent's prompt names it: the
71
+ * skill's slug, or "<plugin>:<skill>" for a plugin's skill.
72
+ *
73
+ * @generated from field: string skill = 3;
74
+ */
75
+ skill: string;
76
+ };
77
+ /**
78
+ * Describes the message ai.stigmer.agentic.agent.v1.AgentWarning.
79
+ * Use `create(AgentWarningSchema)` to create a new message.
80
+ */
81
+ export declare const AgentWarningSchema: GenMessage<AgentWarning>;
@@ -6,10 +6,15 @@ import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/api
6
6
  /**
7
7
  * Describes the file ai/stigmer/agentic/agent/v1/status.proto.
8
8
  */
9
- export const file_ai_stigmer_agentic_agent_v1_status = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnQvdjEvc3RhdHVzLnByb3RvEhthaS5zdGlnbWVyLmFnZW50aWMuYWdlbnQudjEiZAoLQWdlbnRTdGF0dXMSPwoFYXVkaXQYYyABKAsyMC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VBdWRpdBIUCgx2ZXJzaW9uX2hhc2gYAyABKAliBnByb3RvMw", [file_ai_stigmer_commons_apiresource_status]);
9
+ export const file_ai_stigmer_agentic_agent_v1_status = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnQvdjEvc3RhdHVzLnByb3RvEhthaS5zdGlnbWVyLmFnZW50aWMuYWdlbnQudjEioQEKC0FnZW50U3RhdHVzEj8KBWF1ZGl0GGMgASgLMjAuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlQXVkaXQSFAoMdmVyc2lvbl9oYXNoGAMgASgJEjsKCHdhcm5pbmdzGAQgAygLMikuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50LnYxLkFnZW50V2FybmluZyI8CgxBZ2VudFdhcm5pbmcSDAoEa2luZBgBIAEoCRIPCgdtZXNzYWdlGAIgASgJEg0KBXNraWxsGAMgASgJYgZwcm90bzM", [file_ai_stigmer_commons_apiresource_status]);
10
10
  /**
11
11
  * Describes the message ai.stigmer.agentic.agent.v1.AgentStatus.
12
12
  * Use `create(AgentStatusSchema)` to create a new message.
13
13
  */
14
14
  export const AgentStatusSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_status, 0);
15
+ /**
16
+ * Describes the message ai.stigmer.agentic.agent.v1.AgentWarning.
17
+ * Use `create(AgentWarningSchema)` to create a new message.
18
+ */
19
+ export const AgentWarningSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_status, 1);
15
20
  //# sourceMappingURL=status_pb.js.map
@@ -251,8 +251,9 @@ export type EvalRunCase = Message<"ai.stigmer.agentic.evalrun.v1.EvalRunCase"> &
251
251
  caseTags: string[];
252
252
  /**
253
253
  * Why the case is not run, as in "not run: plugins" for a feature
254
- * Stigmer does not run yet, or "not run: scaffold skipped"; empty when
255
- * the case runs.
254
+ * Stigmer does not run yet, "not run: scaffold skipped", or "not run:
255
+ * needs a computer" for a case with a scaffold on an agent without one;
256
+ * empty when the case runs.
256
257
  *
257
258
  * @generated from field: string not_run_reason = 4;
258
259
  */
@@ -13,7 +13,8 @@ export declare const RunFileController: {
13
13
  /**
14
14
  * The Files a run's conversation holds (SessionSpec.resources), each with
15
15
  * where the agent finds it under .stigmer/uploads/ and a link to its
16
- * bytes, valid for an hour.
16
+ * bytes, valid for an hour, and the newest File the conversation's agent
17
+ * saved at each path of its outputs folder.
17
18
  *
18
19
  * @generated from rpc ai.stigmer.agentic.file.v1.RunFileController.mount
19
20
  */
@@ -19,7 +19,8 @@ export const RunFileController = {
19
19
  /**
20
20
  * The Files a run's conversation holds (SessionSpec.resources), each with
21
21
  * where the agent finds it under .stigmer/uploads/ and a link to its
22
- * bytes, valid for an hour.
22
+ * bytes, valid for an hour, and the newest File the conversation's agent
23
+ * saved at each path of its outputs folder.
23
24
  *
24
25
  * @generated from rpc ai.stigmer.agentic.file.v1.RunFileController.mount
25
26
  */
@@ -35,6 +35,13 @@ export type RunFileMounts = Message<"ai.stigmer.agentic.file.v1.RunFileMounts">
35
35
  * @generated from field: repeated ai.stigmer.agentic.file.v1.FileMount entries = 1;
36
36
  */
37
37
  entries: FileMount[];
38
+ /**
39
+ * The newest File the conversation's agent saved at each path of its
40
+ * outputs folder, each with mount_path relative to .stigmer/outputs/.
41
+ *
42
+ * @generated from field: repeated ai.stigmer.agentic.file.v1.FileMount outputs = 2;
43
+ */
44
+ outputs: FileMount[];
38
45
  };
39
46
  /**
40
47
  * Describes the message ai.stigmer.agentic.file.v1.RunFileMounts.
@@ -42,7 +49,8 @@ export type RunFileMounts = Message<"ai.stigmer.agentic.file.v1.RunFileMounts">
42
49
  */
43
50
  export declare const RunFileMountsSchema: GenMessage<RunFileMounts>;
44
51
  /**
45
- * FileMount is one File to place under .stigmer/uploads/.
52
+ * FileMount is one File to place under .stigmer/uploads/, or one output
53
+ * to show under .stigmer/outputs/.
46
54
  *
47
55
  * @generated from message ai.stigmer.agentic.file.v1.FileMount
48
56
  */
@@ -54,7 +62,8 @@ export type FileMount = Message<"ai.stigmer.agentic.file.v1.FileMount"> & {
54
62
  */
55
63
  fileId: string;
56
64
  /**
57
- * Where the agent finds it, relative to .stigmer/uploads/.
65
+ * Where the agent finds it, relative to .stigmer/uploads/ (an output:
66
+ * relative to .stigmer/outputs/).
58
67
  *
59
68
  * @generated from field: string mount_path = 2;
60
69
  */
@@ -277,7 +286,8 @@ export declare const RunFileController: GenService<{
277
286
  /**
278
287
  * The Files a run's conversation holds (SessionSpec.resources), each with
279
288
  * where the agent finds it under .stigmer/uploads/ and a link to its
280
- * bytes, valid for an hour.
289
+ * bytes, valid for an hour, and the newest File the conversation's agent
290
+ * saved at each path of its outputs folder.
281
291
  *
282
292
  * @generated from rpc ai.stigmer.agentic.file.v1.RunFileController.mount
283
293
  */
@@ -8,7 +8,7 @@ import { file_buf_validate_validate } from "../../../../../buf/validate/validate
8
8
  /**
9
9
  * Describes the file ai/stigmer/agentic/file/v1/run_files.proto.
10
10
  */
11
- export const file_ai_stigmer_agentic_file_v1_run_files = /*@__PURE__*/ fileDesc("CiphaS9zdGlnbWVyL2FnZW50aWMvZmlsZS92MS9ydW5fZmlsZXMucHJvdG8SGmFpLnN0aWdtZXIuYWdlbnRpYy5maWxlLnYxIi0KEk1vdW50UnVuRmlsZXNJbnB1dBIXCgZydW5faWQYASABKAlCB7pIBHICEAEiRwoNUnVuRmlsZU1vdW50cxI2CgdlbnRyaWVzGAEgAygLMiUuYWkuc3RpZ21lci5hZ2VudGljLmZpbGUudjEuRmlsZU1vdW50InYKCUZpbGVNb3VudBIPCgdmaWxlX2lkGAEgASgJEhIKCm1vdW50X3BhdGgYAiABKAkSEAoIZmlsZW5hbWUYAyABKAkSEQoJbWltZV90eXBlGAQgASgJEhIKCnNpemVfYnl0ZXMYBSABKAMSCwoDdXJsGAYgASgJIoIBChhDcmVhdGVPdXRw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TW91bnRzIgjQuBgB2LgYARKAAQoTY3JlYXRlT3V0cHV0VXBsb2FkcxI0LmFpLnN0aWdtZXIuYWdlbnRpYy5maWxlLnYxLkNyZWF0ZU91dHB1dFVwbG9hZHNJbnB1dBopLmFpLnN0aWdtZXIuYWdlbnRpYy5maWxlLnYxLk91dHB1dFVwbG9hZHMiCNC4GAHYuBgBEnwKD3JlZ2lzdGVyT3V0cHV0cxIwLmFpLnN0aWdtZXIuYWdlbnRpYy5maWxlLnYxLlJlZ2lzdGVyT3V0cHV0c0lucHV0Gi0uYWkuc3RpZ21lci5hZ2VudGljLmZpbGUudjEuUmVnaXN0ZXJlZE91dHB1dHMiCNC4GAHYuBgBYgZwcm90bzM", [file_ai_stigmer_agentic_file_v1_api, file_ai_stigmer_commons_rpc_method_options, file_buf_validate_validate]);
11
+ export const file_ai_stigmer_agentic_file_v1_run_files = /*@__PURE__*/ fileDesc("CiphaS9zdGlnbWVyL2FnZW50aWMvZmlsZS92MS9ydW5fZmlsZXMucHJvdG8SGmFpLnN0aWdtZXIuYWdlbnRpYy5maWxlLnYxIi0KEk1vdW50UnVuRmlsZXNJbnB1dBIXCgZydW5faWQYASABKAlCB7pIBHICEAEifwoNUnVuRmlsZU1vdW50cxI2CgdlbnRyaWVzGAEgAygLMiUuYWkuc3RpZ21lci5hZ2VudGljLmZpbGUudjEuRmlsZU1vdW50EjYKB291dHB1dHMYAiADKAsyJS5haS5zdGlnbWVyLmFnZW50aWMuZmlsZS52MS5GaWxlTW91bnQidgoJRmlsZU1vdW50Eg8KB2ZpbGVfaWQYASABKAkSEgoKbW91bnRfcGF0aBgCIAEoCRIQCghmaWxlbmFtZRgDIAEoCRIRCgltaW1lX3R5cGUYBCABKAkSEgoKc2l6ZV9ieXRlcxgFIAEoAxILCgN1cmwYBiABKAkiggEKGENyZWF0ZU91dHB1dFVwbG9hZHNJbnB1dBIXCgZydW5faWQYASABKAlCB7pIBHICEAESTQoHZW50cmllcxgCIAMoCzIvLmFpLnN0a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UudjEuQ3JlYXRlT3V0cHV0VXBsb2Fkc0lucHV0GikuYWkuc3RpZ21lci5hZ2VudGljLmZpbGUudjEuT3V0cHV0VXBsb2FkcyII0LgYAdi4GAESfAoPcmVnaXN0ZXJPdXRwdXRzEjAuYWkuc3RpZ21lci5hZ2VudGljLmZpbGUudjEuUmVnaXN0ZXJPdXRwdXRzSW5wdXQaLS5haS5zdGlnbWVyLmFnZW50aWMuZmlsZS52MS5SZWdpc3RlcmVkT3V0cHV0cyII0LgYAdi4GAFiBnByb3RvMw", [file_ai_stigmer_agentic_file_v1_api, file_ai_stigmer_commons_rpc_method_options, file_buf_validate_validate]);
12
12
  /**
13
13
  * Describes the message ai.stigmer.agentic.file.v1.MountRunFilesInput.
14
14
  * Use `create(MountRunFilesInputSchema)` to create a new message.
@@ -473,3 +473,131 @@ export type PluginList = Message<"ai.stigmer.agentic.plugin.v1.PluginList"> & {
473
473
  * Use `create(PluginListSchema)` to create a new message.
474
474
  */
475
475
  export declare const PluginListSchema: GenMessage<PluginList>;
476
+ /**
477
+ * ListPluginFilesInput names one version of a plugin whose files to list.
478
+ *
479
+ * @generated from message ai.stigmer.agentic.plugin.v1.ListPluginFilesInput
480
+ */
481
+ export type ListPluginFilesInput = Message<"ai.stigmer.agentic.plugin.v1.ListPluginFilesInput"> & {
482
+ /**
483
+ * System-generated ID of the plugin.
484
+ *
485
+ * @generated from field: string plugin_id = 1;
486
+ */
487
+ pluginId: string;
488
+ /**
489
+ * The version to read, by its SHA-256 digest: the plugin's installed
490
+ * version or one in its history.
491
+ *
492
+ * @generated from field: string digest = 2;
493
+ */
494
+ digest: string;
495
+ };
496
+ /**
497
+ * Describes the message ai.stigmer.agentic.plugin.v1.ListPluginFilesInput.
498
+ * Use `create(ListPluginFilesInputSchema)` to create a new message.
499
+ */
500
+ export declare const ListPluginFilesInputSchema: GenMessage<ListPluginFilesInput>;
501
+ /**
502
+ * PluginFileList is the files of one version of a plugin.
503
+ *
504
+ * @generated from message ai.stigmer.agentic.plugin.v1.PluginFileList
505
+ */
506
+ export type PluginFileList = Message<"ai.stigmer.agentic.plugin.v1.PluginFileList"> & {
507
+ /**
508
+ * The files, in path order.
509
+ *
510
+ * @generated from field: repeated ai.stigmer.agentic.plugin.v1.PluginFile files = 1;
511
+ */
512
+ files: PluginFile[];
513
+ };
514
+ /**
515
+ * Describes the message ai.stigmer.agentic.plugin.v1.PluginFileList.
516
+ * Use `create(PluginFileListSchema)` to create a new message.
517
+ */
518
+ export declare const PluginFileListSchema: GenMessage<PluginFileList>;
519
+ /**
520
+ * PluginFile is one file of a plugin version.
521
+ *
522
+ * @generated from message ai.stigmer.agentic.plugin.v1.PluginFile
523
+ */
524
+ export type PluginFile = Message<"ai.stigmer.agentic.plugin.v1.PluginFile"> & {
525
+ /**
526
+ * Path of the file inside the plugin, with forward slashes and no
527
+ * leading slash (`skills/review/SKILL.md`, `hooks/check`).
528
+ *
529
+ * @generated from field: string path = 1;
530
+ */
531
+ path: string;
532
+ /**
533
+ * Size of the file in bytes.
534
+ *
535
+ * @generated from field: int64 size_bytes = 2;
536
+ */
537
+ sizeBytes: bigint;
538
+ /**
539
+ * SHA-256 of the file's bytes, lowercase hex.
540
+ *
541
+ * @generated from field: string sha256 = 3;
542
+ */
543
+ sha256: string;
544
+ /**
545
+ * Whether the file is a script a command may run directly.
546
+ *
547
+ * @generated from field: bool executable = 4;
548
+ */
549
+ executable: boolean;
550
+ };
551
+ /**
552
+ * Describes the message ai.stigmer.agentic.plugin.v1.PluginFile.
553
+ * Use `create(PluginFileSchema)` to create a new message.
554
+ */
555
+ export declare const PluginFileSchema: GenMessage<PluginFile>;
556
+ /**
557
+ * ReadPluginFileInput names one file of one version of a plugin.
558
+ *
559
+ * @generated from message ai.stigmer.agentic.plugin.v1.ReadPluginFileInput
560
+ */
561
+ export type ReadPluginFileInput = Message<"ai.stigmer.agentic.plugin.v1.ReadPluginFileInput"> & {
562
+ /**
563
+ * System-generated ID of the plugin.
564
+ *
565
+ * @generated from field: string plugin_id = 1;
566
+ */
567
+ pluginId: string;
568
+ /**
569
+ * The version to read, as ListPluginFilesInput.digest.
570
+ *
571
+ * @generated from field: string digest = 2;
572
+ */
573
+ digest: string;
574
+ /**
575
+ * The file's path, exactly as the version's file list names it.
576
+ *
577
+ * @generated from field: string path = 3;
578
+ */
579
+ path: string;
580
+ };
581
+ /**
582
+ * Describes the message ai.stigmer.agentic.plugin.v1.ReadPluginFileInput.
583
+ * Use `create(ReadPluginFileInputSchema)` to create a new message.
584
+ */
585
+ export declare const ReadPluginFileInputSchema: GenMessage<ReadPluginFileInput>;
586
+ /**
587
+ * PluginFileContent is the bytes of one plugin file.
588
+ *
589
+ * @generated from message ai.stigmer.agentic.plugin.v1.PluginFileContent
590
+ */
591
+ export type PluginFileContent = Message<"ai.stigmer.agentic.plugin.v1.PluginFileContent"> & {
592
+ /**
593
+ * The file's bytes.
594
+ *
595
+ * @generated from field: bytes content = 1;
596
+ */
597
+ content: Uint8Array;
598
+ };
599
+ /**
600
+ * Describes the message ai.stigmer.agentic.plugin.v1.PluginFileContent.
601
+ * Use `create(PluginFileContentSchema)` to create a new message.
602
+ */
603
+ export declare const PluginFileContentSchema: GenMessage<PluginFileContent>;
@@ -10,7 +10,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
10
10
  /**
11
11
  * Describes the file ai/stigmer/agentic/plugin/v1/io.proto.
12
12
  */
13
- export const file_ai_stigmer_agentic_plugin_v1_io = /*@__PURE__*/ fileDesc("CiVhaS9zdGlnbWVyL2FnZW50aWMvcGx1Z2luL3YxL2lvLnByb3RvEhxhaS5zdGlnbWVyLmFnZW50aWMucGx1Z2luLnYxIiEKCFBsdWdpbklkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEi9wIKEVB1c2hQbHVnaW5SZXF1ZXN0EhMKA29yZxgBIAEoCUIGukgDyAEBEhAKCGFydGlmYWN0GAIgASgMEhsKE2FydGlmYWN0X3VwbG9hZF9yZWYYAyABKAkSUwoKdm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gASgJOgI4ASJcCgpQbHVnaW5MaXN0EjUKB2VudHJpZXMYASADKAsyJC5haS5zdGlnbWVyLmFnZW50aWMucGx1Z2luLnYxLlBsdWdpbhIXCg9uZXh0X3BhZ2VfdG9rZW4YAiABKAliBnByb3RvMw", [file_ai_stigmer_agentic_plugin_v1_api, file_ai_stigmer_commons_apiresource_enum, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate, file_google_protobuf_timestamp]);
13
+ export const file_ai_stigmer_agentic_plugin_v1_io = /*@__PURE__*/ fileDesc("CiVhaS9zdGlnbWVyL2FnZW50aWMvcGx1Z2luL3YxL2lvLnByb3RvEhxhaS5zdGlnbWVyLmFnZW50aWMucGx1Z2luLnYxIiEKCFBsdWdpbklkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEi9wIKEVB1c2hQbHVnaW5SZXF1ZXN0EhMKA29yZxgBIAEoCUIGukgDyAEBEhAKCGFydGlmYWN0GAIgASgMEhsKE2FydGlmYWN0X3VwbG9hZF9yZWYYAyABKAkSUwoKdmlzaWJpbGl0eRgEIAEoDjI1LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZVZpc2liaWxpdHlCCLpIBYIBAhABEg8KB21lc3NhZ2UYBSABKAk6twG6SLMBGrABCiNwdXNoX3BsdWdpbl9yZXF1ZXN0LmFydGlmYWN0X3NvdXJjZRJJZXhhY3RseSBvbmUgb2YgYXJ0aWZhY3QgKGlubGluZSBieXRlcykgb3IgYXJ0aWZhY3RfdXBsb2FkX3JlZiBtdXN0IGJlIHNldBo+KHRoaXMuYXJ0aWZhY3Quc2l6ZSgpID4gMCkgIT0gKHRoaXMuYXJ0aWZhY3RfdXBsb2FkX3JlZiAhPSAnJykiWAokQ3JlYXRlUGx1Z2luQXJ0aWZhY3RVcGxvYWRVcmxSZXF1ZXN0EhMKA29yZxgBIAEoCUIGukgDyAEBEhsKCnNpemVfYnl0ZXMYAiABKANCB7pIBCICIAAiWAoXUGx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ABKAlCBrpIA8gBARIlCgZkaWdlc3QYAiABKAlCFbpIEnIQMg5eWzAtOWEtZl17NjR9JBIYCgRwYXRoGAMgASgJQgq6SAdyBRABGIAgIiQKEVBsdWdpbkZpbGVDb250ZW50Eg8KB2NvbnRlbnQYASABKAxiBnByb3RvMw", [file_ai_stigmer_agentic_plugin_v1_api, file_ai_stigmer_commons_apiresource_enum, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate, file_google_protobuf_timestamp]);
14
14
  /**
15
15
  * Describes the message ai.stigmer.agentic.plugin.v1.PluginId.
16
16
  * Use `create(PluginIdSchema)` to create a new message.
@@ -86,4 +86,29 @@ export const ListPluginsRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigme
86
86
  * Use `create(PluginListSchema)` to create a new message.
87
87
  */
88
88
  export const PluginListSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_plugin_v1_io, 14);
89
+ /**
90
+ * Describes the message ai.stigmer.agentic.plugin.v1.ListPluginFilesInput.
91
+ * Use `create(ListPluginFilesInputSchema)` to create a new message.
92
+ */
93
+ export const ListPluginFilesInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_plugin_v1_io, 15);
94
+ /**
95
+ * Describes the message ai.stigmer.agentic.plugin.v1.PluginFileList.
96
+ * Use `create(PluginFileListSchema)` to create a new message.
97
+ */
98
+ export const PluginFileListSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_plugin_v1_io, 16);
99
+ /**
100
+ * Describes the message ai.stigmer.agentic.plugin.v1.PluginFile.
101
+ * Use `create(PluginFileSchema)` to create a new message.
102
+ */
103
+ export const PluginFileSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_plugin_v1_io, 17);
104
+ /**
105
+ * Describes the message ai.stigmer.agentic.plugin.v1.ReadPluginFileInput.
106
+ * Use `create(ReadPluginFileInputSchema)` to create a new message.
107
+ */
108
+ export const ReadPluginFileInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_plugin_v1_io, 18);
109
+ /**
110
+ * Describes the message ai.stigmer.agentic.plugin.v1.PluginFileContent.
111
+ * Use `create(PluginFileContentSchema)` to create a new message.
112
+ */
113
+ export const PluginFileContentSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_plugin_v1_io, 19);
89
114
  //# sourceMappingURL=io_pb.js.map
@@ -74,6 +74,35 @@ export declare const PluginQueryController: {
74
74
  readonly O: any;
75
75
  readonly kind: any;
76
76
  };
77
+ /**
78
+ * List the files of one version of a plugin.
79
+ *
80
+ * Returns each file's path, size, SHA-256 and whether it is executable,
81
+ * in path order. The plugin's eval suite is left out.
82
+ *
83
+ * @generated from rpc ai.stigmer.agentic.plugin.v1.PluginQueryController.listFiles
84
+ */
85
+ readonly listFiles: {
86
+ readonly name: "listFiles";
87
+ readonly I: any;
88
+ readonly O: any;
89
+ readonly kind: any;
90
+ };
91
+ /**
92
+ * Read one file of one version of a plugin.
93
+ *
94
+ * Returns the file's bytes, up to 8 MB; a larger file is refused with
95
+ * FailedPrecondition. The path is matched exactly against the version's
96
+ * file list.
97
+ *
98
+ * @generated from rpc ai.stigmer.agentic.plugin.v1.PluginQueryController.readFile
99
+ */
100
+ readonly readFile: {
101
+ readonly name: "readFile";
102
+ readonly I: any;
103
+ readonly O: any;
104
+ readonly kind: any;
105
+ };
77
106
  /**
78
107
  * List version history for a plugin.
79
108
  *
@@ -2,7 +2,7 @@
2
2
  // @generated from file ai/stigmer/agentic/plugin/v1/query.proto (package ai.stigmer.agentic.plugin.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { GetArtifactRequest, GetArtifactResponse, ListPluginsRequest, ListPluginVersionsInput, ListPluginVersionsResponse, PluginArtifactDownloadUrl, PluginId, PluginList } from "./io_pbjs";
5
+ import { GetArtifactRequest, GetArtifactResponse, ListPluginFilesInput, ListPluginsRequest, ListPluginVersionsInput, ListPluginVersionsResponse, PluginArtifactDownloadUrl, PluginFileContent, PluginFileList, PluginId, PluginList, ReadPluginFileInput } from "./io_pbjs";
6
6
  import { Plugin } from "./api_pbjs";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
  import { ApiResourceReference } from "../../../commons/apiresource/io_pbjs";
@@ -82,6 +82,35 @@ export const PluginQueryController = {
82
82
  O: PluginArtifactDownloadUrl,
83
83
  kind: MethodKind.Unary,
84
84
  },
85
+ /**
86
+ * List the files of one version of a plugin.
87
+ *
88
+ * Returns each file's path, size, SHA-256 and whether it is executable,
89
+ * in path order. The plugin's eval suite is left out.
90
+ *
91
+ * @generated from rpc ai.stigmer.agentic.plugin.v1.PluginQueryController.listFiles
92
+ */
93
+ listFiles: {
94
+ name: "listFiles",
95
+ I: ListPluginFilesInput,
96
+ O: PluginFileList,
97
+ kind: MethodKind.Unary,
98
+ },
99
+ /**
100
+ * Read one file of one version of a plugin.
101
+ *
102
+ * Returns the file's bytes, up to 8 MB; a larger file is refused with
103
+ * FailedPrecondition. The path is matched exactly against the version's
104
+ * file list.
105
+ *
106
+ * @generated from rpc ai.stigmer.agentic.plugin.v1.PluginQueryController.readFile
107
+ */
108
+ readFile: {
109
+ name: "readFile",
110
+ I: ReadPluginFileInput,
111
+ O: PluginFileContent,
112
+ kind: MethodKind.Unary,
113
+ },
85
114
  /**
86
115
  * List version history for a plugin.
87
116
  *
@@ -1,6 +1,6 @@
1
1
  import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { PluginSchema } from "./api_pb.js";
3
- import type { GetArtifactRequestSchema, GetArtifactResponseSchema, ListPluginsRequestSchema, ListPluginVersionsInputSchema, ListPluginVersionsResponseSchema, PluginArtifactDownloadUrlSchema, PluginIdSchema, PluginListSchema } from "./io_pb.js";
3
+ import type { GetArtifactRequestSchema, GetArtifactResponseSchema, ListPluginFilesInputSchema, ListPluginsRequestSchema, ListPluginVersionsInputSchema, ListPluginVersionsResponseSchema, PluginArtifactDownloadUrlSchema, PluginFileContentSchema, PluginFileListSchema, PluginIdSchema, PluginListSchema, ReadPluginFileInputSchema } from "./io_pb.js";
4
4
  import type { ApiResourceReferenceSchema } from "../../../commons/apiresource/io_pb.js";
5
5
  /**
6
6
  * Describes the file ai/stigmer/agentic/plugin/v1/query.proto.
@@ -75,6 +75,33 @@ export declare const PluginQueryController: GenService<{
75
75
  input: typeof GetArtifactRequestSchema;
76
76
  output: typeof PluginArtifactDownloadUrlSchema;
77
77
  };
78
+ /**
79
+ * List the files of one version of a plugin.
80
+ *
81
+ * Returns each file's path, size, SHA-256 and whether it is executable,
82
+ * in path order. The plugin's eval suite is left out.
83
+ *
84
+ * @generated from rpc ai.stigmer.agentic.plugin.v1.PluginQueryController.listFiles
85
+ */
86
+ listFiles: {
87
+ methodKind: "unary";
88
+ input: typeof ListPluginFilesInputSchema;
89
+ output: typeof PluginFileListSchema;
90
+ };
91
+ /**
92
+ * Read one file of one version of a plugin.
93
+ *
94
+ * Returns the file's bytes, up to 8 MB; a larger file is refused with
95
+ * FailedPrecondition. The path is matched exactly against the version's
96
+ * file list.
97
+ *
98
+ * @generated from rpc ai.stigmer.agentic.plugin.v1.PluginQueryController.readFile
99
+ */
100
+ readFile: {
101
+ methodKind: "unary";
102
+ input: typeof ReadPluginFileInputSchema;
103
+ output: typeof PluginFileContentSchema;
104
+ };
78
105
  /**
79
106
  * List version history for a plugin.
80
107
  *
@@ -10,7 +10,7 @@ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc
10
10
  /**
11
11
  * Describes the file ai/stigmer/agentic/plugin/v1/query.proto.
12
12
  */
13
- export const file_ai_stigmer_agentic_plugin_v1_query = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvcGx1Z2luL3YxL3F1ZXJ5LnByb3RvEhxhaS5zdGlnbWVyLmFnZW50aWMucGx1Z2luLnYxMowGChVQbHVnaW5RdWVyeUNvbnRyb2xsZXISgAEKA2dldBImLmFpLnN0aWdtZXIuYWdlbnRpYy5wbHVnaW4udjEuUGx1Z2luSWQaJC5haS5zdGlnbWVyLmFnZW50aWMucGx1Z2luLnYxLlBsdWdpbiIrwrgYJwgBEDoiBXZhbHVlKhp1bmF1dGhvcml6ZWQgdG8gZ2V0IHBsdWdpbhJyCg5nZXRCeVJlZmVyZW5jZRI0LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZVJlZmVyZW5jZRokLmFpLnN0aWdtZXIuYWdlbnRpYy5wbHVnaW4udjEuUGx1Z2luIgTQuBgBEmgKBGxpc3QSMC5haS5zdGlnbWVyLmFnZW50aWMucGx1Z2luLnYxLkxpc3RQbHVnaW5zUmVxdWVzdBooLmFpLnN0aWdtZXIuYWdlbnRpYy5wbHVnaW4udjEuUGx1Z2luTGlzdCIE0LgYARJ4CgtnZXRBcnRpZmFjdBIwLmFpLnN0aWdtZXIuYWdlbnRpYy5wbHVnaW4udjEuR2V0QXJ0aWZhY3RSZXF1ZXN0GjEuYWkuc3RpZ21lci5hZ2VudGljLnBsdWdpbi52MS5HZXRBcnRpZmFjdFJlc3BvbnNlIgTQuBgBEokBChZnZXRBcnRpZmFjdERvd25sb2FkVXJsEjAuYWkuc3RpZ21lci5hZ2VudGljLnBsdWdpbi52MS5HZXRBcnRpZmFjdFJlcXVlc3QaNy5haS5zdGlnbWVyLmFnZW50aWMucGx1Z2luLnYxLlBsdWdpbkFydGlmYWN0RG93bmxvYWRVcmwiBNC4GAEShQEKDGxpc3RWZXJzaW9ucxI1LmFpLnN0aWdtZXIuYWdlbnRpYy5wbHVnaW4udjEuTGlzdFBsdWdpblZlcnNpb25zSW5wdXQaOC5haS5zdGlnbWVyLmFnZW50aWMucGx1Z2luLnYxLkxpc3RQbHVnaW5WZXJzaW9uc1Jlc3BvbnNlIgTQuBgBGgSg/ys6YgZwcm90bzM", [file_ai_stigmer_agentic_plugin_v1_api, file_ai_stigmer_agentic_plugin_v1_io, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_st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RpYy5wbHVnaW4udjEuTGlzdFBsdWdpbkZpbGVzSW5wdXQaLC5haS5zdGlnbWVyLmFnZW50aWMucGx1Z2luLnYxLlBsdWdpbkZpbGVMaXN0IjbCuBgyCAEQOiIJcGx1Z2luX2lkKiF1bmF1dGhvcml6ZWQgdG8gcmVhZCBwbHVnaW4gZmlsZXMSpgEKCHJlYWRGaWxlEjEuYWkuc3RpZ21lci5hZ2VudGljLnBsdWdpbi52MS5SZWFkUGx1Z2luRmlsZUlucHV0Gi8uYWkuc3RpZ21lci5hZ2VudGljLnBsdWdpbi52MS5QbHVnaW5GaWxlQ29udGVudCI2wrgYMggBEDoiCXBsdWdpbl9pZCohdW5hdXRob3JpemVkIHRvIHJlYWQgcGx1Z2luIGZpbGVzEoUBCgxsaXN0VmVyc2lvbnMSNS5haS5zdGlnbWVyLmFnZW50aWMucGx1Z2luLnYxLkxpc3RQbHVnaW5WZXJzaW9uc0lucHV0GjguYWkuc3RpZ21lci5hZ2VudGljLnBsdWdpbi52MS5MaXN0UGx1Z2luVmVyc2lvbnNSZXNwb25zZSIE0LgYARoEoP8rOmIGcHJvdG8z", [file_ai_stigmer_agentic_plugin_v1_api, file_ai_stigmer_agentic_plugin_v1_io, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
14
14
  /**
15
15
  * PluginQueryController handles read operations for plugins.
16
16
  *
@@ -135,6 +135,41 @@ export declare const SessionCommandController: {
135
135
  readonly O: any;
136
136
  readonly kind: any;
137
137
  };
138
+ /**
139
+ * Answer a call of one of the host app's own tools.
140
+ *
141
+ * A call the agent makes to a tool in the session's custom_tools is an
142
+ * agent.custom_tool_use, and the session goes idle with stop_reason
143
+ * requires_action naming it. The answer is appended as a
144
+ * user.custom_tool_result, which the agent reads as the tool's result;
145
+ * is_error tells it the tool failed. When every waiting call of the turn
146
+ * is answered, the turn resumes; until then the session re-states
147
+ * requires_action with the calls still waiting. The host answers from
148
+ * its own server as the person whose conversation it is, as it would
149
+ * answer an approval.
150
+ *
151
+ * ## Error Conditions
152
+ *
153
+ * - NOT_FOUND: the event is not one of this conversation's custom tool
154
+ * uses
155
+ * - FAILED_PRECONDITION: the call no longer waits (its turn moved on or
156
+ * was stopped), or it was already answered otherwise (an answer is
157
+ * final)
158
+ * - INVALID_ARGUMENT: the content holds a block other than text
159
+ *
160
+ * ## Idempotency
161
+ *
162
+ * The same answer sent again records nothing new and returns the event
163
+ * first recorded.
164
+ *
165
+ * @generated from rpc ai.stigmer.agentic.session.v1.SessionCommandController.answerCustomToolUse
166
+ */
167
+ readonly answerCustomToolUse: {
168
+ readonly name: "answerCustomToolUse";
169
+ readonly I: any;
170
+ readonly O: any;
171
+ readonly kind: any;
172
+ };
138
173
  /**
139
174
  * Allow a tool use, and every call of its class for the rest of the turn.
140
175
  *
@@ -4,7 +4,7 @@
4
4
  // @ts-nocheck
5
5
  import { Session } from "./api_pbjs";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
- import { AppendSessionEventsInput, AppendSessionEventsResponse, ClaimSessionInputInput, ClaimSessionInputResponse, ConfirmToolUseInput, GrantPermissionInput, GrantPermissionResponse, InterruptSessionInput, InterruptSessionResponse, ReviewFileChangesInput, ReviewFileChangesResponse, SessionId, StopBackgroundCommandInput, UpdateSessionInput, UpdateSessionSubjectRequest } from "./io_pbjs";
7
+ import { AnswerCustomToolUseInput, AppendSessionEventsInput, AppendSessionEventsResponse, ClaimSessionInputInput, ClaimSessionInputResponse, ConfirmToolUseInput, GrantPermissionInput, GrantPermissionResponse, InterruptSessionInput, InterruptSessionResponse, ReviewFileChangesInput, ReviewFileChangesResponse, SessionId, StopBackgroundCommandInput, UpdateSessionInput, UpdateSessionSubjectRequest } from "./io_pbjs";
8
8
  import { SessionEvent } from "./event_pbjs";
9
9
  /**
10
10
  * SessionCommandController handles write operations for agent sessions.
@@ -143,6 +143,41 @@ export const SessionCommandController = {
143
143
  O: SessionEvent,
144
144
  kind: MethodKind.Unary,
145
145
  },
146
+ /**
147
+ * Answer a call of one of the host app's own tools.
148
+ *
149
+ * A call the agent makes to a tool in the session's custom_tools is an
150
+ * agent.custom_tool_use, and the session goes idle with stop_reason
151
+ * requires_action naming it. The answer is appended as a
152
+ * user.custom_tool_result, which the agent reads as the tool's result;
153
+ * is_error tells it the tool failed. When every waiting call of the turn
154
+ * is answered, the turn resumes; until then the session re-states
155
+ * requires_action with the calls still waiting. The host answers from
156
+ * its own server as the person whose conversation it is, as it would
157
+ * answer an approval.
158
+ *
159
+ * ## Error Conditions
160
+ *
161
+ * - NOT_FOUND: the event is not one of this conversation's custom tool
162
+ * uses
163
+ * - FAILED_PRECONDITION: the call no longer waits (its turn moved on or
164
+ * was stopped), or it was already answered otherwise (an answer is
165
+ * final)
166
+ * - INVALID_ARGUMENT: the content holds a block other than text
167
+ *
168
+ * ## Idempotency
169
+ *
170
+ * The same answer sent again records nothing new and returns the event
171
+ * first recorded.
172
+ *
173
+ * @generated from rpc ai.stigmer.agentic.session.v1.SessionCommandController.answerCustomToolUse
174
+ */
175
+ answerCustomToolUse: {
176
+ name: "answerCustomToolUse",
177
+ I: AnswerCustomToolUseInput,
178
+ O: SessionEvent,
179
+ kind: MethodKind.Unary,
180
+ },
146
181
  /**
147
182
  * Allow a tool use, and every call of its class for the rest of the turn.
148
183
  *
@@ -1,7 +1,7 @@
1
1
  import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { SessionSchema } from "./api_pb.js";
3
3
  import type { SessionEventSchema } from "./event_pb.js";
4
- import type { AppendSessionEventsInputSchema, AppendSessionEventsResponseSchema, ClaimSessionInputInputSchema, ClaimSessionInputResponseSchema, ConfirmToolUseInputSchema, GrantPermissionInputSchema, GrantPermissionResponseSchema, InterruptSessionInputSchema, InterruptSessionResponseSchema, ReviewFileChangesInputSchema, ReviewFileChangesResponseSchema, SessionIdSchema, StopBackgroundCommandInputSchema, UpdateSessionInputSchema, UpdateSessionSubjectRequestSchema } from "./io_pb.js";
4
+ import type { AnswerCustomToolUseInputSchema, AppendSessionEventsInputSchema, AppendSessionEventsResponseSchema, ClaimSessionInputInputSchema, ClaimSessionInputResponseSchema, ConfirmToolUseInputSchema, GrantPermissionInputSchema, GrantPermissionResponseSchema, InterruptSessionInputSchema, InterruptSessionResponseSchema, ReviewFileChangesInputSchema, ReviewFileChangesResponseSchema, SessionIdSchema, StopBackgroundCommandInputSchema, UpdateSessionInputSchema, UpdateSessionSubjectRequestSchema } from "./io_pb.js";
5
5
  /**
6
6
  * Describes the file ai/stigmer/agentic/session/v1/command.proto.
7
7
  */
@@ -135,6 +135,40 @@ export declare const SessionCommandController: GenService<{
135
135
  input: typeof ConfirmToolUseInputSchema;
136
136
  output: typeof SessionEventSchema;
137
137
  };
138
+ /**
139
+ * Answer a call of one of the host app's own tools.
140
+ *
141
+ * A call the agent makes to a tool in the session's custom_tools is an
142
+ * agent.custom_tool_use, and the session goes idle with stop_reason
143
+ * requires_action naming it. The answer is appended as a
144
+ * user.custom_tool_result, which the agent reads as the tool's result;
145
+ * is_error tells it the tool failed. When every waiting call of the turn
146
+ * is answered, the turn resumes; until then the session re-states
147
+ * requires_action with the calls still waiting. The host answers from
148
+ * its own server as the person whose conversation it is, as it would
149
+ * answer an approval.
150
+ *
151
+ * ## Error Conditions
152
+ *
153
+ * - NOT_FOUND: the event is not one of this conversation's custom tool
154
+ * uses
155
+ * - FAILED_PRECONDITION: the call no longer waits (its turn moved on or
156
+ * was stopped), or it was already answered otherwise (an answer is
157
+ * final)
158
+ * - INVALID_ARGUMENT: the content holds a block other than text
159
+ *
160
+ * ## Idempotency
161
+ *
162
+ * The same answer sent again records nothing new and returns the event
163
+ * first recorded.
164
+ *
165
+ * @generated from rpc ai.stigmer.agentic.session.v1.SessionCommandController.answerCustomToolUse
166
+ */
167
+ answerCustomToolUse: {
168
+ methodKind: "unary";
169
+ input: typeof AnswerCustomToolUseInputSchema;
170
+ output: typeof SessionEventSchema;
171
+ };
138
172
  /**
139
173
  * Allow a tool use, and every call of its class for the rest of the turn.
140
174
  *