@stigmer/apis 0.3.1 → 0.3.2
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/ai/stigmer/agentic/plugin/v1/io_pb.d.ts +128 -0
- package/ai/stigmer/agentic/plugin/v1/io_pb.js +26 -1
- package/ai/stigmer/agentic/plugin/v1/query_connect.d.ts +29 -0
- package/ai/stigmer/agentic/plugin/v1/query_connect.js +30 -1
- package/ai/stigmer/agentic/plugin/v1/query_pb.d.ts +28 -1
- package/ai/stigmer/agentic/plugin/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/skill/v1/io_pb.d.ts +128 -0
- package/ai/stigmer/agentic/skill/v1/io_pb.js +26 -1
- package/ai/stigmer/agentic/skill/v1/query_connect.d.ts +30 -0
- package/ai/stigmer/agentic/skill/v1/query_connect.js +31 -1
- package/ai/stigmer/agentic/skill/v1/query_pb.d.ts +29 -1
- package/ai/stigmer/agentic/skill/v1/query_pb.js +1 -1
- package/package.json +1 -1
|
@@ -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("CiVhaS9zdGlnbWVyL2FnZW50aWMvcGx1Z2luL3YxL2lvLnByb3RvEhxhaS5zdGlnbWVyLmFnZW50aWMucGx1Z2luLnYxIiEKCFBsdWdpbklkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEi9wIKEVB1c2hQbHVnaW5SZXF1ZXN0EhMKA29yZxgBIAEoCUIGukgDyAEBEhAKCGFydGlmYWN0GAIgASgMEhsKE2FydGlmYWN0X3VwbG9hZF9yZWYYAyABKAkSUwoKdmlzaWJpbGl0eRgEIAEoDjI1LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvd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IlCgZkaWdlc3QYAiABKAlCFbpIEnIQMg5eWzAtOWEtZl17NjR9JBIYCgRwYXRoGAMgASgJQgq6SAdyBRABGIAgIiQKEVBsdWdpbkZpbGVDb250ZW50Eg8KB2NvbnRlbnQYASABKAxiBnByb3RvMw", [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("
|
|
13
|
+
export const file_ai_stigmer_agentic_plugin_v1_query = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvcGx1Z2luL3YxL3F1ZXJ5LnByb3RvEhxhaS5zdGlnbWVyLmFnZW50aWMucGx1Z2luLnYxMt0IChVQbHVnaW5RdWVyeUNvbnRyb2xsZXISgAEKA2dldBImLmFpLnN0aWdtZXIuYWdlbnRpYy5wbHVnaW4udjEuUGx1Z2luSWQaJC5haS5zdGlnbWVyLmFnZW50aWMucGx1Z2luLnYxLlBs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pbi52MS5QbHVnaW5GaWxlQ29udGVudCI2wrgYMggBEDoiCXBsdWdpbl9pZCohdW5hdXRob3JpemVkIHRvIHJlYWQgcGx1Z2luIGZpbGVzEoUBCgxsaXN0VmVyc2lvbnMSNS5haS5zdGlnbWVyLmFnZW50aWMucGx1Z2luLnYxLkxpc3RQbHVnaW5WZXJzaW9uc0lucHV0GjguYWkuc3RpZ21lci5hZ2VudGljLnBsdWdpbi52MS5MaXN0UGx1Z2luVmVyc2lvbnNSZXNwb25zZSIE0LgYARoEoP8rOmIGcHJvdG8z", [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
|
*
|
|
@@ -483,3 +483,131 @@ export type SkillList = Message<"ai.stigmer.agentic.skill.v1.SkillList"> & {
|
|
|
483
483
|
* Use `create(SkillListSchema)` to create a new message.
|
|
484
484
|
*/
|
|
485
485
|
export declare const SkillListSchema: GenMessage<SkillList>;
|
|
486
|
+
/**
|
|
487
|
+
* ListSkillFilesInput names one version of a skill whose files to list.
|
|
488
|
+
*
|
|
489
|
+
* @generated from message ai.stigmer.agentic.skill.v1.ListSkillFilesInput
|
|
490
|
+
*/
|
|
491
|
+
export type ListSkillFilesInput = Message<"ai.stigmer.agentic.skill.v1.ListSkillFilesInput"> & {
|
|
492
|
+
/**
|
|
493
|
+
* System-generated ID of the skill.
|
|
494
|
+
*
|
|
495
|
+
* @generated from field: string skill_id = 1;
|
|
496
|
+
*/
|
|
497
|
+
skillId: string;
|
|
498
|
+
/**
|
|
499
|
+
* The version to read, by its SHA-256 version hash: the skill's current
|
|
500
|
+
* version or one in its history. Empty reads the current version.
|
|
501
|
+
*
|
|
502
|
+
* @generated from field: string version_hash = 2;
|
|
503
|
+
*/
|
|
504
|
+
versionHash: string;
|
|
505
|
+
};
|
|
506
|
+
/**
|
|
507
|
+
* Describes the message ai.stigmer.agentic.skill.v1.ListSkillFilesInput.
|
|
508
|
+
* Use `create(ListSkillFilesInputSchema)` to create a new message.
|
|
509
|
+
*/
|
|
510
|
+
export declare const ListSkillFilesInputSchema: GenMessage<ListSkillFilesInput>;
|
|
511
|
+
/**
|
|
512
|
+
* SkillFileList is the files of one version of a skill.
|
|
513
|
+
*
|
|
514
|
+
* @generated from message ai.stigmer.agentic.skill.v1.SkillFileList
|
|
515
|
+
*/
|
|
516
|
+
export type SkillFileList = Message<"ai.stigmer.agentic.skill.v1.SkillFileList"> & {
|
|
517
|
+
/**
|
|
518
|
+
* The files, in path order.
|
|
519
|
+
*
|
|
520
|
+
* @generated from field: repeated ai.stigmer.agentic.skill.v1.SkillFile files = 1;
|
|
521
|
+
*/
|
|
522
|
+
files: SkillFile[];
|
|
523
|
+
};
|
|
524
|
+
/**
|
|
525
|
+
* Describes the message ai.stigmer.agentic.skill.v1.SkillFileList.
|
|
526
|
+
* Use `create(SkillFileListSchema)` to create a new message.
|
|
527
|
+
*/
|
|
528
|
+
export declare const SkillFileListSchema: GenMessage<SkillFileList>;
|
|
529
|
+
/**
|
|
530
|
+
* SkillFile is one file of a skill version.
|
|
531
|
+
*
|
|
532
|
+
* @generated from message ai.stigmer.agentic.skill.v1.SkillFile
|
|
533
|
+
*/
|
|
534
|
+
export type SkillFile = Message<"ai.stigmer.agentic.skill.v1.SkillFile"> & {
|
|
535
|
+
/**
|
|
536
|
+
* Path of the file inside the skill, with forward slashes and no leading
|
|
537
|
+
* slash (`SKILL.md`, `scripts/run.sh`).
|
|
538
|
+
*
|
|
539
|
+
* @generated from field: string path = 1;
|
|
540
|
+
*/
|
|
541
|
+
path: string;
|
|
542
|
+
/**
|
|
543
|
+
* Size of the file in bytes.
|
|
544
|
+
*
|
|
545
|
+
* @generated from field: int64 size_bytes = 2;
|
|
546
|
+
*/
|
|
547
|
+
sizeBytes: bigint;
|
|
548
|
+
/**
|
|
549
|
+
* SHA-256 of the file's bytes, lowercase hex.
|
|
550
|
+
*
|
|
551
|
+
* @generated from field: string sha256 = 3;
|
|
552
|
+
*/
|
|
553
|
+
sha256: string;
|
|
554
|
+
/**
|
|
555
|
+
* Whether the file is a script a command may run directly.
|
|
556
|
+
*
|
|
557
|
+
* @generated from field: bool executable = 4;
|
|
558
|
+
*/
|
|
559
|
+
executable: boolean;
|
|
560
|
+
};
|
|
561
|
+
/**
|
|
562
|
+
* Describes the message ai.stigmer.agentic.skill.v1.SkillFile.
|
|
563
|
+
* Use `create(SkillFileSchema)` to create a new message.
|
|
564
|
+
*/
|
|
565
|
+
export declare const SkillFileSchema: GenMessage<SkillFile>;
|
|
566
|
+
/**
|
|
567
|
+
* ReadSkillFileInput names one file of one version of a skill.
|
|
568
|
+
*
|
|
569
|
+
* @generated from message ai.stigmer.agentic.skill.v1.ReadSkillFileInput
|
|
570
|
+
*/
|
|
571
|
+
export type ReadSkillFileInput = Message<"ai.stigmer.agentic.skill.v1.ReadSkillFileInput"> & {
|
|
572
|
+
/**
|
|
573
|
+
* System-generated ID of the skill.
|
|
574
|
+
*
|
|
575
|
+
* @generated from field: string skill_id = 1;
|
|
576
|
+
*/
|
|
577
|
+
skillId: string;
|
|
578
|
+
/**
|
|
579
|
+
* The version to read, as ListSkillFilesInput.version_hash.
|
|
580
|
+
*
|
|
581
|
+
* @generated from field: string version_hash = 2;
|
|
582
|
+
*/
|
|
583
|
+
versionHash: string;
|
|
584
|
+
/**
|
|
585
|
+
* The file's path, exactly as the version's file list names it.
|
|
586
|
+
*
|
|
587
|
+
* @generated from field: string path = 3;
|
|
588
|
+
*/
|
|
589
|
+
path: string;
|
|
590
|
+
};
|
|
591
|
+
/**
|
|
592
|
+
* Describes the message ai.stigmer.agentic.skill.v1.ReadSkillFileInput.
|
|
593
|
+
* Use `create(ReadSkillFileInputSchema)` to create a new message.
|
|
594
|
+
*/
|
|
595
|
+
export declare const ReadSkillFileInputSchema: GenMessage<ReadSkillFileInput>;
|
|
596
|
+
/**
|
|
597
|
+
* SkillFileContent is the bytes of one skill file.
|
|
598
|
+
*
|
|
599
|
+
* @generated from message ai.stigmer.agentic.skill.v1.SkillFileContent
|
|
600
|
+
*/
|
|
601
|
+
export type SkillFileContent = Message<"ai.stigmer.agentic.skill.v1.SkillFileContent"> & {
|
|
602
|
+
/**
|
|
603
|
+
* The file's bytes.
|
|
604
|
+
*
|
|
605
|
+
* @generated from field: bytes content = 1;
|
|
606
|
+
*/
|
|
607
|
+
content: Uint8Array;
|
|
608
|
+
};
|
|
609
|
+
/**
|
|
610
|
+
* Describes the message ai.stigmer.agentic.skill.v1.SkillFileContent.
|
|
611
|
+
* Use `create(SkillFileContentSchema)` to create a new message.
|
|
612
|
+
*/
|
|
613
|
+
export declare const SkillFileContentSchema: GenMessage<SkillFileContent>;
|
|
@@ -10,7 +10,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
10
10
|
/**
|
|
11
11
|
* Describes the file ai/stigmer/agentic/skill/v1/io.proto.
|
|
12
12
|
*/
|
|
13
|
-
export const file_ai_stigmer_agentic_skill_v1_io = /*@__PURE__*/ fileDesc("CiRhaS9zdGlnbWVyL2FnZW50aWMvc2tpbGwvdjEvaW8ucHJvdG8SG2FpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MSIgCgdTa2lsbElkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEi4QYKEFB1c2hTa2lsbFJlcXVlc3QSEwoDb3JnGAEgASgJQga6SAPIAQESEAoIYXJ0aWZhY3QYAiABKAwSKAoDdGFnGAMgASgJQhu6SBhyFjIUXiR8XlthLXpBLVowLTkuXy1dKyQSQgoOZ2l0X3Byb3ZlbmFuY2UYBCABKAsyKi5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuR2l0UHJvdmVuYW5jZRIPCgdtZXNzYWdlGAYgASgJEhsKE2FydGlmYWN0X3VwbG9hZF9yZWYYByABKAkSoQMKBmxhYmVscxgIIAMoCzI5LmFpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MS5QdXNoU2tpbGxSZXF1ZXN0LkxhYmVsc0VudHJ5QtUCukjRAroBiAEKGWxhYmVscy5rZXlfcHJlZml4X21heF9sZW4SLmEgbGFiZWwga2V5J3MgcHJlZml4IGlzIGF0IG1vc3QgMjUzIGNoYXJhY3RlcnMaO3RoaXMuYWxsKGssICFrLmNvbnRhaW5zKCcvJykgfHwgay5tYXRjaGVzKCdeW14vXXsxLDI1M30vJykpmgHBARBAIoQBcoEBGL0CMnxeKFthLXowLTldKFstYS16MC05XXswLDYxfVthLXowLTldKT8oXC5bYS16MC05XShbLWEtejAtOV17MCw2MX1bYS16MC05XSk/KSovKT9bQS1aYS16MC05XShbLUEtWmEtejAtOV8uXXswLDYxfVtBLVphLXowLTldKT8kKjZyNDIyXihbQS1aYS16MC05XShbLUEtWmEtejAtOV8uXXswLDYxfVtBLVphLXowLTldKT8pPyQaLQoLTGFiZWxzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ATq2AbpIsgEarwEKInB1c2hfc2tpbGxfcmVxdWVzdC5hcnRpZmFjdF9zb3VyY2USSWV4YWN0bHkgb25lIG9mIGFydGlmYWN0IChpbmxpbmUgYnl0ZXMpIG9yIGFydGlmYWN0X3VwbG9hZF9yZWYgbXVzdCBiZSBzZXQaPih0aGlzLmFydGlmYWN0LnNpemUoKSA+
|
|
13
|
+
export const file_ai_stigmer_agentic_skill_v1_io = /*@__PURE__*/ fileDesc("CiRhaS9zdGlnbWVyL2FnZW50aWMvc2tpbGwvdjEvaW8ucHJvdG8SG2FpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MSIgCgdTa2lsbElkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEi4QYKEFB1c2hTa2lsbFJlcXVlc3QSEwoDb3JnGAEgASgJQga6SAPIAQESEAoIYXJ0aWZhY3QYAiABKAwSKAoDdGFnGAMgASg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pZBgBIAEoCUIGukgDyAEBEi4KDHZlcnNpb25faGFzaBgCIAEoCUIYukgVchMyEV4kfF5bMC05YS1mXXs2NH0kEhgKBHBhdGgYAyABKAlCCrpIB3IFEAEYgCAiIwoQU2tpbGxGaWxlQ29udGVudBIPCgdjb250ZW50GAEgASgMYgZwcm90bzM", [file_ai_stigmer_agentic_skill_v1_api, file_ai_stigmer_agentic_skill_v1_status, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message ai.stigmer.agentic.skill.v1.SkillId.
|
|
16
16
|
* Use `create(SkillIdSchema)` to create a new message.
|
|
@@ -76,4 +76,29 @@ export const ListSkillsRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer
|
|
|
76
76
|
* Use `create(SkillListSchema)` to create a new message.
|
|
77
77
|
*/
|
|
78
78
|
export const SkillListSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 12);
|
|
79
|
+
/**
|
|
80
|
+
* Describes the message ai.stigmer.agentic.skill.v1.ListSkillFilesInput.
|
|
81
|
+
* Use `create(ListSkillFilesInputSchema)` to create a new message.
|
|
82
|
+
*/
|
|
83
|
+
export const ListSkillFilesInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 13);
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message ai.stigmer.agentic.skill.v1.SkillFileList.
|
|
86
|
+
* Use `create(SkillFileListSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export const SkillFileListSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 14);
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message ai.stigmer.agentic.skill.v1.SkillFile.
|
|
91
|
+
* Use `create(SkillFileSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export const SkillFileSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 15);
|
|
94
|
+
/**
|
|
95
|
+
* Describes the message ai.stigmer.agentic.skill.v1.ReadSkillFileInput.
|
|
96
|
+
* Use `create(ReadSkillFileInputSchema)` to create a new message.
|
|
97
|
+
*/
|
|
98
|
+
export const ReadSkillFileInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 16);
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message ai.stigmer.agentic.skill.v1.SkillFileContent.
|
|
101
|
+
* Use `create(SkillFileContentSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
export const SkillFileContentSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 17);
|
|
79
104
|
//# sourceMappingURL=io_pb.js.map
|
|
@@ -75,6 +75,36 @@ export declare const SkillQueryController: {
|
|
|
75
75
|
readonly O: any;
|
|
76
76
|
readonly kind: any;
|
|
77
77
|
};
|
|
78
|
+
/**
|
|
79
|
+
* List the files of one version of a skill.
|
|
80
|
+
*
|
|
81
|
+
* Returns each file's path, size, SHA-256 and whether it is executable,
|
|
82
|
+
* in path order. A plugin's eval suite, when the skill's archive is a
|
|
83
|
+
* whole plugin, is left out.
|
|
84
|
+
*
|
|
85
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillQueryController.listFiles
|
|
86
|
+
*/
|
|
87
|
+
readonly listFiles: {
|
|
88
|
+
readonly name: "listFiles";
|
|
89
|
+
readonly I: any;
|
|
90
|
+
readonly O: any;
|
|
91
|
+
readonly kind: any;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Read one file of one version of a skill.
|
|
95
|
+
*
|
|
96
|
+
* Returns the file's bytes, up to 8 MB; a larger file is refused with
|
|
97
|
+
* FailedPrecondition. The path is matched exactly against the version's
|
|
98
|
+
* file list.
|
|
99
|
+
*
|
|
100
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillQueryController.readFile
|
|
101
|
+
*/
|
|
102
|
+
readonly readFile: {
|
|
103
|
+
readonly name: "readFile";
|
|
104
|
+
readonly I: any;
|
|
105
|
+
readonly O: any;
|
|
106
|
+
readonly kind: any;
|
|
107
|
+
};
|
|
78
108
|
/**
|
|
79
109
|
* List version history for a skill.
|
|
80
110
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/agentic/skill/v1/query.proto (package ai.stigmer.agentic.skill.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { GetArtifactRequest, GetArtifactResponse, ListSkillsRequest, ListSkillVersionsInput, ListSkillVersionsResponse, SkillArtifactDownloadUrl, SkillId, SkillList } from "./io_pbjs";
|
|
5
|
+
import { GetArtifactRequest, GetArtifactResponse, ListSkillFilesInput, ListSkillsRequest, ListSkillVersionsInput, ListSkillVersionsResponse, ReadSkillFileInput, SkillArtifactDownloadUrl, SkillFileContent, SkillFileList, SkillId, SkillList } from "./io_pbjs";
|
|
6
6
|
import { Skill } from "./api_pbjs";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { ApiResourceReference } from "../../../commons/apiresource/io_pbjs";
|
|
@@ -83,6 +83,36 @@ export const SkillQueryController = {
|
|
|
83
83
|
O: SkillArtifactDownloadUrl,
|
|
84
84
|
kind: MethodKind.Unary,
|
|
85
85
|
},
|
|
86
|
+
/**
|
|
87
|
+
* List the files of one version of a skill.
|
|
88
|
+
*
|
|
89
|
+
* Returns each file's path, size, SHA-256 and whether it is executable,
|
|
90
|
+
* in path order. A plugin's eval suite, when the skill's archive is a
|
|
91
|
+
* whole plugin, is left out.
|
|
92
|
+
*
|
|
93
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillQueryController.listFiles
|
|
94
|
+
*/
|
|
95
|
+
listFiles: {
|
|
96
|
+
name: "listFiles",
|
|
97
|
+
I: ListSkillFilesInput,
|
|
98
|
+
O: SkillFileList,
|
|
99
|
+
kind: MethodKind.Unary,
|
|
100
|
+
},
|
|
101
|
+
/**
|
|
102
|
+
* Read one file of one version of a skill.
|
|
103
|
+
*
|
|
104
|
+
* Returns the file's bytes, up to 8 MB; a larger file is refused with
|
|
105
|
+
* FailedPrecondition. The path is matched exactly against the version's
|
|
106
|
+
* file list.
|
|
107
|
+
*
|
|
108
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillQueryController.readFile
|
|
109
|
+
*/
|
|
110
|
+
readFile: {
|
|
111
|
+
name: "readFile",
|
|
112
|
+
I: ReadSkillFileInput,
|
|
113
|
+
O: SkillFileContent,
|
|
114
|
+
kind: MethodKind.Unary,
|
|
115
|
+
},
|
|
86
116
|
/**
|
|
87
117
|
* List version history for a skill.
|
|
88
118
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { SkillSchema } from "./api_pb.js";
|
|
3
|
-
import type { GetArtifactRequestSchema, GetArtifactResponseSchema, ListSkillsRequestSchema, ListSkillVersionsInputSchema, ListSkillVersionsResponseSchema, SkillArtifactDownloadUrlSchema, SkillIdSchema, SkillListSchema } from "./io_pb.js";
|
|
3
|
+
import type { GetArtifactRequestSchema, GetArtifactResponseSchema, ListSkillFilesInputSchema, ListSkillsRequestSchema, ListSkillVersionsInputSchema, ListSkillVersionsResponseSchema, ReadSkillFileInputSchema, SkillArtifactDownloadUrlSchema, SkillFileContentSchema, SkillFileListSchema, SkillIdSchema, SkillListSchema } 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/skill/v1/query.proto.
|
|
@@ -76,6 +76,34 @@ export declare const SkillQueryController: GenService<{
|
|
|
76
76
|
input: typeof GetArtifactRequestSchema;
|
|
77
77
|
output: typeof SkillArtifactDownloadUrlSchema;
|
|
78
78
|
};
|
|
79
|
+
/**
|
|
80
|
+
* List the files of one version of a skill.
|
|
81
|
+
*
|
|
82
|
+
* Returns each file's path, size, SHA-256 and whether it is executable,
|
|
83
|
+
* in path order. A plugin's eval suite, when the skill's archive is a
|
|
84
|
+
* whole plugin, is left out.
|
|
85
|
+
*
|
|
86
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillQueryController.listFiles
|
|
87
|
+
*/
|
|
88
|
+
listFiles: {
|
|
89
|
+
methodKind: "unary";
|
|
90
|
+
input: typeof ListSkillFilesInputSchema;
|
|
91
|
+
output: typeof SkillFileListSchema;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Read one file of one version of a skill.
|
|
95
|
+
*
|
|
96
|
+
* Returns the file's bytes, up to 8 MB; a larger file is refused with
|
|
97
|
+
* FailedPrecondition. The path is matched exactly against the version's
|
|
98
|
+
* file list.
|
|
99
|
+
*
|
|
100
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillQueryController.readFile
|
|
101
|
+
*/
|
|
102
|
+
readFile: {
|
|
103
|
+
methodKind: "unary";
|
|
104
|
+
input: typeof ReadSkillFileInputSchema;
|
|
105
|
+
output: typeof SkillFileContentSchema;
|
|
106
|
+
};
|
|
79
107
|
/**
|
|
80
108
|
* List version history for a skill.
|
|
81
109
|
*
|
|
@@ -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/skill/v1/query.proto.
|
|
12
12
|
*/
|
|
13
|
-
export const file_ai_stigmer_agentic_skill_v1_query = /*@__PURE__*/ fileDesc("
|
|
13
|
+
export const file_ai_stigmer_agentic_skill_v1_query = /*@__PURE__*/ fileDesc("CidhaS9zdGlnbWVyL2FnZW50aWMvc2tpbGwvdjEvcXVlcnkucHJvdG8SG2FpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MTK7CAoUU2tpbGxRdWVyeUNvbnRyb2xsZXISewoDZ2V0EiQuYWkuc3RpZ21lci5hZ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5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuU2tpbGxGaWxlQ29udGVudCI0wrgYMAgBECsiCHNraWxsX2lkKiB1bmF1dGhvcml6ZWQgdG8gcmVhZCBza2lsbCBmaWxlcxKBAQoMbGlzdFZlcnNpb25zEjMuYWkuc3RpZ21lci5hZ2VudGljLnNraWxsLnYxLkxpc3RTa2lsbFZlcnNpb25zSW5wdXQaNi5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuTGlzdFNraWxsVmVyc2lvbnNSZXNwb25zZSIE0LgYARoEoP8rK2IGcHJvdG8z", [file_ai_stigmer_agentic_skill_v1_api, file_ai_stigmer_agentic_skill_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
|
* SkillQueryController handles read operations for skills.
|
|
16
16
|
*
|