@trytilde/contracts 0.0.0-stage → 3.0.1

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 (70) hide show
  1. package/README.md +10 -2
  2. package/gen/tilde/agent_event_ingress/v1/sidecars_pb.d.ts +1367 -0
  3. package/gen/tilde/agent_event_ingress/v1/sidecars_pb.js +307 -0
  4. package/gen/tilde/agent_host/v1/agent_pb.d.ts +139 -0
  5. package/gen/tilde/agent_host/v1/agent_pb.js +29 -0
  6. package/gen/tilde/management/v1/access_pb.d.ts +308 -0
  7. package/gen/tilde/management/v1/access_pb.js +89 -0
  8. package/gen/tilde/management/v1/agents_pb.d.ts +423 -0
  9. package/gen/tilde/management/v1/agents_pb.js +131 -0
  10. package/gen/tilde/management/v1/connections_pb.d.ts +581 -0
  11. package/gen/tilde/management/v1/connections_pb.js +175 -0
  12. package/gen/tilde/management/v1/deployments_pb.d.ts +912 -0
  13. package/gen/tilde/management/v1/deployments_pb.js +231 -0
  14. package/gen/tilde/management/v1/identities_pb.d.ts +507 -0
  15. package/gen/tilde/management/v1/identities_pb.js +146 -0
  16. package/gen/tilde/management/v1/inference_pb.d.ts +454 -0
  17. package/gen/tilde/management/v1/inference_pb.js +137 -0
  18. package/gen/tilde/management/v1/logs_pb.d.ts +336 -0
  19. package/gen/tilde/management/v1/logs_pb.js +74 -0
  20. package/gen/tilde/management/v1/prompts_pb.d.ts +113 -0
  21. package/gen/tilde/management/v1/prompts_pb.js +49 -0
  22. package/gen/tilde/management/v1/skills_pb.d.ts +1094 -0
  23. package/gen/tilde/management/v1/skills_pb.js +348 -0
  24. package/gen/tilde/management/v1/tilde_chat_pb.d.ts +102 -0
  25. package/gen/tilde/management/v1/tilde_chat_pb.js +50 -0
  26. package/gen/tilde/management/v1/tools_pb.d.ts +1090 -0
  27. package/gen/tilde/management/v1/tools_pb.js +322 -0
  28. package/gen/tilde/management/v1/tracing_pb.d.ts +656 -0
  29. package/gen/tilde/management/v1/tracing_pb.js +132 -0
  30. package/gen/tilde/provider/tilde/v1/chat_pb.d.ts +1515 -0
  31. package/gen/tilde/provider/tilde/v1/chat_pb.js +453 -0
  32. package/gen/tilde/provider/v1/connections_pb.d.ts +163 -0
  33. package/gen/tilde/provider/v1/connections_pb.js +47 -0
  34. package/gen/tilde/run/v1/run_pb.d.ts +263 -0
  35. package/gen/tilde/run/v1/run_pb.js +96 -0
  36. package/gen/tilde/runtime/v1/agents_pb.d.ts +270 -0
  37. package/gen/tilde/runtime/v1/agents_pb.js +89 -0
  38. package/gen/tilde/runtime/v1/cache_pb.d.ts +33 -0
  39. package/gen/tilde/runtime/v1/cache_pb.js +19 -0
  40. package/gen/tilde/runtime/v1/chat_pb.d.ts +898 -0
  41. package/gen/tilde/runtime/v1/chat_pb.js +300 -0
  42. package/gen/tilde/runtime/v1/controls_pb.d.ts +148 -0
  43. package/gen/tilde/runtime/v1/controls_pb.js +61 -0
  44. package/gen/tilde/runtime/v1/prompts_pb.d.ts +64 -0
  45. package/gen/tilde/runtime/v1/prompts_pb.js +36 -0
  46. package/gen/tilde/runtime/v1/skills_pb.d.ts +481 -0
  47. package/gen/tilde/runtime/v1/skills_pb.js +146 -0
  48. package/gen/tilde/setup/v1/connections_pb.d.ts +676 -0
  49. package/gen/tilde/setup/v1/connections_pb.js +185 -0
  50. package/gen/tilde/setup/v1/identity_verification_pb.d.ts +111 -0
  51. package/gen/tilde/setup/v1/identity_verification_pb.js +49 -0
  52. package/gen/tilde/tool_host/v1/tool_host_pb.d.ts +364 -0
  53. package/gen/tilde/tool_host/v1/tool_host_pb.js +107 -0
  54. package/gen/tilde/types/v1/access_pb.d.ts +307 -0
  55. package/gen/tilde/types/v1/access_pb.js +65 -0
  56. package/gen/tilde/types/v1/agent_pb.d.ts +401 -0
  57. package/gen/tilde/types/v1/agent_pb.js +98 -0
  58. package/gen/tilde/types/v1/chat_pb.d.ts +827 -0
  59. package/gen/tilde/types/v1/chat_pb.js +161 -0
  60. package/gen/tilde/types/v1/connections_pb.d.ts +724 -0
  61. package/gen/tilde/types/v1/connections_pb.js +193 -0
  62. package/gen/tilde/types/v1/deployment_pb.d.ts +342 -0
  63. package/gen/tilde/types/v1/deployment_pb.js +98 -0
  64. package/gen/tilde/types/v1/prompt_pb.d.ts +250 -0
  65. package/gen/tilde/types/v1/prompt_pb.js +58 -0
  66. package/gen/tilde/types/v1/runtime_event_pb.d.ts +640 -0
  67. package/gen/tilde/types/v1/runtime_event_pb.js +96 -0
  68. package/gen/tilde/types/v1/skill_pb.d.ts +403 -0
  69. package/gen/tilde/types/v1/skill_pb.js +71 -0
  70. package/package.json +20 -3
@@ -0,0 +1,96 @@
1
+ // @generated by protoc-gen-es v2.14.1 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file tilde/types/v1/runtime_event.proto (package tilde.types.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_tilde_types_v1_chat } from "./chat_pb.js";
7
+ import { file_tilde_types_v1_access } from "./access_pb.js";
8
+
9
+ /**
10
+ * Describes the file tilde/types/v1/runtime_event.proto.
11
+ */
12
+ export const file_tilde_types_v1_runtime_event = /*@__PURE__*/
13
+ fileDesc("CiJ0aWxkZS90eXBlcy92MS9ydW50aW1lX2V2ZW50LnByb3RvEg50aWxkZS50eXBlcy52MSK1AgoPSW52b2NhdGlvblN0YXRlEiIKGmhpc3RvcnlfdGhyb3VnaF9tZXNzYWdlX2lkGA4gASgJEhMKC3RyYWNlcGFyZW50GAwgASgJEhIKCnRyYWNlc3RhdGUYDSABKAkSEAoIZW5kZWRfYXQYCyABKAMSCgoCaWQYASABKAkSEQoJdGhyZWFkX2lkGAIgASgJEg4KBnJ1bl9pZBgDIAEoCRIQCghhZ2VudF9pZBgEIAEoCRIWCg5wYXJ0aWNpcGFudF9pZBgFIAEoCRIZChFvd25lcl9pbnN0YW5jZV9pZBgGIAEoCRISCgpn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ZXJBdHRhY2htZW50EgoKAmlkGAEgASgJEhAKCGZpbGVuYW1lGAIgASgJEhIKCm1lZGlhX3R5cGUYAyABKAkSDAoEc2l6ZRgEIAEoAxIVCgN1cmwYBSABKAlCA4ABAUgAiAEBEh8KEnByb3ZpZGVyX3JlZmVyZW5jZRgGIAEoCUgBiAEBQgYKBF91cmxCFQoTX3Byb3ZpZGVyX3JlZmVyZW5jZSrfAQoRUHJvdmlkZXJFdmVudEtpbmQSIwofUFJPVklERVJfRVZFTlRfS0lORF9VTlNQRUNJRklFRBAAEh8KG1BST1ZJREVSX0VWRU5UX0tJTkRfTUVTU0FHRRABEh8KG1BST1ZJREVSX0VWRU5UX0tJTkRfVVBEQVRFRBACEh8KG1BST1ZJREVSX0VWRU5UX0tJTkRfREVMRVRFRBADEh4KGlBST1ZJREVSX0VWRU5UX0tJTkRfVFlQSU5HEAQSIgoeUFJPVklERVJfRVZFTlRfS0lORF9NRU1CRVJTSElQEAViBnByb3RvMw", [file_tilde_types_v1_chat, file_tilde_types_v1_access]);
14
+
15
+ /**
16
+ * Describes the message tilde.types.v1.InvocationState.
17
+ * Use `create(InvocationStateSchema)` to create a new message.
18
+ */
19
+ export const InvocationStateSchema = /*@__PURE__*/
20
+ messageDesc(file_tilde_types_v1_runtime_event, 0);
21
+
22
+ /**
23
+ * Describes the message tilde.types.v1.RuntimeEvent.
24
+ * Use `create(RuntimeEventSchema)` to create a new message.
25
+ */
26
+ export const RuntimeEventSchema = /*@__PURE__*/
27
+ messageDesc(file_tilde_types_v1_runtime_event, 1);
28
+
29
+ /**
30
+ * Describes the message tilde.types.v1.AgentCommand.
31
+ * Use `create(AgentCommandSchema)` to create a new message.
32
+ */
33
+ export const AgentCommandSchema = /*@__PURE__*/
34
+ messageDesc(file_tilde_types_v1_runtime_event, 2);
35
+
36
+ /**
37
+ * Describes the message tilde.types.v1.InvokeCommand.
38
+ * Use `create(InvokeCommandSchema)` to create a new message.
39
+ */
40
+ export const InvokeCommandSchema = /*@__PURE__*/
41
+ messageDesc(file_tilde_types_v1_runtime_event, 3);
42
+
43
+ /**
44
+ * Describes the message tilde.types.v1.SteerCommand.
45
+ * Use `create(SteerCommandSchema)` to create a new message.
46
+ */
47
+ export const SteerCommandSchema = /*@__PURE__*/
48
+ messageDesc(file_tilde_types_v1_runtime_event, 4);
49
+
50
+ /**
51
+ * Describes the message tilde.types.v1.ConvertedMessageState.
52
+ * Use `create(ConvertedMessageStateSchema)` to create a new message.
53
+ */
54
+ export const ConvertedMessageStateSchema = /*@__PURE__*/
55
+ messageDesc(file_tilde_types_v1_runtime_event, 5);
56
+
57
+ /**
58
+ * Describes the message tilde.types.v1.ChannelDecision.
59
+ * Use `create(ChannelDecisionSchema)` to create a new message.
60
+ */
61
+ export const ChannelDecisionSchema = /*@__PURE__*/
62
+ messageDesc(file_tilde_types_v1_runtime_event, 6);
63
+
64
+ /**
65
+ * Describes the message tilde.types.v1.AttachmentSource.
66
+ * Use `create(AttachmentSourceSchema)` to create a new message.
67
+ */
68
+ export const AttachmentSourceSchema = /*@__PURE__*/
69
+ messageDesc(file_tilde_types_v1_runtime_event, 7);
70
+
71
+ /**
72
+ * Describes the message tilde.types.v1.ProviderEvent.
73
+ * Use `create(ProviderEventSchema)` to create a new message.
74
+ */
75
+ export const ProviderEventSchema = /*@__PURE__*/
76
+ messageDesc(file_tilde_types_v1_runtime_event, 8);
77
+
78
+ /**
79
+ * Describes the message tilde.types.v1.ProviderAttachment.
80
+ * Use `create(ProviderAttachmentSchema)` to create a new message.
81
+ */
82
+ export const ProviderAttachmentSchema = /*@__PURE__*/
83
+ messageDesc(file_tilde_types_v1_runtime_event, 9);
84
+
85
+ /**
86
+ * Describes the enum tilde.types.v1.ProviderEventKind.
87
+ */
88
+ export const ProviderEventKindSchema = /*@__PURE__*/
89
+ enumDesc(file_tilde_types_v1_runtime_event, 0);
90
+
91
+ /**
92
+ * @generated from enum tilde.types.v1.ProviderEventKind
93
+ */
94
+ export const ProviderEventKind = /*@__PURE__*/
95
+ tsEnum(ProviderEventKindSchema);
96
+
@@ -0,0 +1,403 @@
1
+ // @generated by protoc-gen-es v2.14.1 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file tilde/types/v1/skill.proto (package tilde.types.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
8
+
9
+ /**
10
+ * Describes the file tilde/types/v1/skill.proto.
11
+ */
12
+ export declare const file_tilde_types_v1_skill: GenFile;
13
+
14
+ /**
15
+ * A group of skills. Agents are assigned a whole
16
+ * source, which includes every skill a later sync adds, or single skills from it.
17
+ *
18
+ * @generated from message tilde.types.v1.SkillSource
19
+ */
20
+ export declare type SkillSource = Message<"tilde.types.v1.SkillSource"> & {
21
+ /**
22
+ * @generated from field: string id = 1;
23
+ */
24
+ id: string;
25
+
26
+ /**
27
+ * @generated from field: string slug = 2;
28
+ */
29
+ slug: string;
30
+
31
+ /**
32
+ * @generated from field: string name = 3;
33
+ */
34
+ name: string;
35
+
36
+ /**
37
+ * @generated from field: tilde.types.v1.SkillSourceKind kind = 4;
38
+ */
39
+ kind: SkillSourceKind;
40
+
41
+ /**
42
+ * @generated from field: string catalog_group = 5;
43
+ */
44
+ catalogGroup: string;
45
+
46
+ /**
47
+ * @generated from field: string repository_url = 6;
48
+ */
49
+ repositoryUrl: string;
50
+
51
+ /**
52
+ * @generated from field: string git_ref = 7;
53
+ */
54
+ gitRef: string;
55
+
56
+ /**
57
+ * @generated from field: string git_path = 8;
58
+ */
59
+ gitPath: string;
60
+
61
+ /**
62
+ * Git only: the commit the current skills came from, and the last sync attempt's outcome.
63
+ *
64
+ * @generated from field: string commit_sha = 9;
65
+ */
66
+ commitSha: string;
67
+
68
+ /**
69
+ * @generated from field: string sync_error = 11;
70
+ */
71
+ syncError: string;
72
+
73
+ /**
74
+ * @generated from field: uint32 skill_count = 12;
75
+ */
76
+ skillCount: number;
77
+
78
+ /**
79
+ * @generated from field: google.protobuf.Timestamp created_at = 14;
80
+ */
81
+ createdAt?: Timestamp | undefined;
82
+
83
+ /**
84
+ * Agents given the whole group, directly or through a ready
85
+ * connection's skills capability. Set by ListSkillSources.
86
+ *
87
+ * @generated from field: repeated string agent_ids = 16;
88
+ */
89
+ agentIds: string[];
90
+ };
91
+
92
+ /**
93
+ * Describes the message tilde.types.v1.SkillSource.
94
+ * Use `create(SkillSourceSchema)` to create a new message.
95
+ */
96
+ export declare const SkillSourceSchema: GenMessage<SkillSource>;
97
+
98
+ /**
99
+ * Text files carry `content`. Other files (and uploads) carry `data`; reads return a
100
+ * short-lived `download_url` for them instead. On writes, `keep` reuses the current version's
101
+ * file at `path` (content and executable bit) so unchanged assets need not be re-sent.
102
+ *
103
+ * @generated from message tilde.types.v1.SkillFile
104
+ */
105
+ export declare type SkillFile = Message<"tilde.types.v1.SkillFile"> & {
106
+ /**
107
+ * @generated from field: string path = 1;
108
+ */
109
+ path: string;
110
+
111
+ /**
112
+ * @generated from field: string content = 2;
113
+ */
114
+ content: string;
115
+
116
+ /**
117
+ * @generated from field: bytes data = 3;
118
+ */
119
+ data: Uint8Array;
120
+
121
+ /**
122
+ * @generated from field: string media_type = 4;
123
+ */
124
+ mediaType: string;
125
+
126
+ /**
127
+ * @generated from field: int64 size_bytes = 5;
128
+ */
129
+ sizeBytes: bigint;
130
+
131
+ /**
132
+ * @generated from field: string sha256 = 6;
133
+ */
134
+ sha256: string;
135
+
136
+ /**
137
+ * @generated from field: bool executable = 7;
138
+ */
139
+ executable: boolean;
140
+
141
+ /**
142
+ * @generated from field: string download_url = 8;
143
+ */
144
+ downloadUrl: string;
145
+
146
+ /**
147
+ * @generated from field: bool keep = 9;
148
+ */
149
+ keep: boolean;
150
+
151
+ /**
152
+ * Set on reads: the file is UTF-8 text held inline in `content`.
153
+ *
154
+ * @generated from field: bool text = 10;
155
+ */
156
+ text: boolean;
157
+
158
+ /**
159
+ * With `keep`: the current version's path the file comes from, when renamed or moved.
160
+ *
161
+ * @generated from field: string keep_path = 11;
162
+ */
163
+ keepPath: string;
164
+ };
165
+
166
+ /**
167
+ * Describes the message tilde.types.v1.SkillFile.
168
+ * Use `create(SkillFileSchema)` to create a new message.
169
+ */
170
+ export declare const SkillFileSchema: GenMessage<SkillFile>;
171
+
172
+ /**
173
+ * One immutable revision of a skill's files.
174
+ *
175
+ * @generated from message tilde.types.v1.SkillVersion
176
+ */
177
+ export declare type SkillVersion = Message<"tilde.types.v1.SkillVersion"> & {
178
+ /**
179
+ * @generated from field: string id = 1;
180
+ */
181
+ id: string;
182
+
183
+ /**
184
+ * @generated from field: string skill_id = 2;
185
+ */
186
+ skillId: string;
187
+
188
+ /**
189
+ * @generated from field: uint32 number = 3;
190
+ */
191
+ number: number;
192
+
193
+ /**
194
+ * @generated from field: string description = 5;
195
+ */
196
+ description: string;
197
+
198
+ /**
199
+ * @generated from field: google.protobuf.Timestamp created_at = 7;
200
+ */
201
+ createdAt?: Timestamp | undefined;
202
+
203
+ /**
204
+ * @generated from field: repeated tilde.types.v1.SkillFile files = 8;
205
+ */
206
+ files: SkillFile[];
207
+
208
+ /**
209
+ * @generated from field: string commit_sha = 9;
210
+ */
211
+ commitSha: string;
212
+ };
213
+
214
+ /**
215
+ * Describes the message tilde.types.v1.SkillVersion.
216
+ * Use `create(SkillVersionSchema)` to create a new message.
217
+ */
218
+ export declare const SkillVersionSchema: GenMessage<SkillVersion>;
219
+
220
+ /**
221
+ * @generated from message tilde.types.v1.Skill
222
+ */
223
+ export declare type Skill = Message<"tilde.types.v1.Skill"> & {
224
+ /**
225
+ * @generated from field: string id = 1;
226
+ */
227
+ id: string;
228
+
229
+ /**
230
+ * @generated from field: string source_id = 2;
231
+ */
232
+ sourceId: string;
233
+
234
+ /**
235
+ * @generated from field: string source_name = 4;
236
+ */
237
+ sourceName: string;
238
+
239
+ /**
240
+ * @generated from field: tilde.types.v1.SkillSourceKind source_kind = 5;
241
+ */
242
+ sourceKind: SkillSourceKind;
243
+
244
+ /**
245
+ * @generated from field: string name = 6;
246
+ */
247
+ name: string;
248
+
249
+ /**
250
+ * @generated from field: google.protobuf.Timestamp created_at = 7;
251
+ */
252
+ createdAt?: Timestamp | undefined;
253
+
254
+ /**
255
+ * @generated from field: tilde.types.v1.SkillVersion latest = 10;
256
+ */
257
+ latest?: SkillVersion | undefined;
258
+
259
+ /**
260
+ * Agents given this skill: through its whole group, the skill
261
+ * itself, or a ready connection's skills capability. Set by ListSkills.
262
+ *
263
+ * @generated from field: repeated string agent_ids = 11;
264
+ */
265
+ agentIds: string[];
266
+ };
267
+
268
+ /**
269
+ * Describes the message tilde.types.v1.Skill.
270
+ * Use `create(SkillSchema)` to create a new message.
271
+ */
272
+ export declare const SkillSchema: GenMessage<Skill>;
273
+
274
+ /**
275
+ * A catalog entry: a group built into Tilde (skills listed up front) or a managed provider, a
276
+ * trusted GitHub repository whose skills ListCatalog lists once enabled and synced, and
277
+ * GetCatalogGroup previews live before then. `source_id` is set once enabled. `category`
278
+ * sections the catalog page.
279
+ *
280
+ * @generated from message tilde.types.v1.CatalogGroup
281
+ */
282
+ export declare type CatalogGroup = Message<"tilde.types.v1.CatalogGroup"> & {
283
+ /**
284
+ * @generated from field: string id = 1;
285
+ */
286
+ id: string;
287
+
288
+ /**
289
+ * @generated from field: string name = 2;
290
+ */
291
+ name: string;
292
+
293
+ /**
294
+ * @generated from field: string description = 3;
295
+ */
296
+ description: string;
297
+
298
+ /**
299
+ * @generated from field: repeated tilde.types.v1.CatalogSkill skills = 4;
300
+ */
301
+ skills: CatalogSkill[];
302
+
303
+ /**
304
+ * @generated from field: string source_id = 5;
305
+ */
306
+ sourceId: string;
307
+
308
+ /**
309
+ * @generated from field: string category = 6;
310
+ */
311
+ category: string;
312
+
313
+ /**
314
+ * @generated from field: string icon_url = 7;
315
+ */
316
+ iconUrl: string;
317
+
318
+ /**
319
+ * Managed providers only: the repository and branch their skills sync from.
320
+ *
321
+ * @generated from field: string repository_url = 8;
322
+ */
323
+ repositoryUrl: string;
324
+
325
+ /**
326
+ * @generated from field: string branch = 9;
327
+ */
328
+ branch: string;
329
+ };
330
+
331
+ /**
332
+ * Describes the message tilde.types.v1.CatalogGroup.
333
+ * Use `create(CatalogGroupSchema)` to create a new message.
334
+ */
335
+ export declare const CatalogGroupSchema: GenMessage<CatalogGroup>;
336
+
337
+ /**
338
+ * `path` is the skill's directory in its repository (a built-in's catalog directory).
339
+ *
340
+ * @generated from message tilde.types.v1.CatalogSkill
341
+ */
342
+ export declare type CatalogSkill = Message<"tilde.types.v1.CatalogSkill"> & {
343
+ /**
344
+ * @generated from field: string name = 1;
345
+ */
346
+ name: string;
347
+
348
+ /**
349
+ * @generated from field: string description = 2;
350
+ */
351
+ description: string;
352
+
353
+ /**
354
+ * @generated from field: string path = 3;
355
+ */
356
+ path: string;
357
+ };
358
+
359
+ /**
360
+ * Describes the message tilde.types.v1.CatalogSkill.
361
+ * Use `create(CatalogSkillSchema)` to create a new message.
362
+ */
363
+ export declare const CatalogSkillSchema: GenMessage<CatalogSkill>;
364
+
365
+ /**
366
+ * Catalog: a group compiled into the engine. Git: a repository synced through the GitHub API.
367
+ * Editor: a collection authored in the UI (or by agents holding skills.edit on it). Bundled: an
368
+ * agent's own skills, registered with its deployments and read-only.
369
+ *
370
+ * @generated from enum tilde.types.v1.SkillSourceKind
371
+ */
372
+ export enum SkillSourceKind {
373
+ /**
374
+ * @generated from enum value: SKILL_SOURCE_KIND_UNSPECIFIED = 0;
375
+ */
376
+ UNSPECIFIED = 0,
377
+
378
+ /**
379
+ * @generated from enum value: SKILL_SOURCE_KIND_CATALOG = 1;
380
+ */
381
+ CATALOG = 1,
382
+
383
+ /**
384
+ * @generated from enum value: SKILL_SOURCE_KIND_GIT = 2;
385
+ */
386
+ GIT = 2,
387
+
388
+ /**
389
+ * @generated from enum value: SKILL_SOURCE_KIND_EDITOR = 3;
390
+ */
391
+ EDITOR = 3,
392
+
393
+ /**
394
+ * @generated from enum value: SKILL_SOURCE_KIND_BUNDLED = 4;
395
+ */
396
+ BUNDLED = 4,
397
+ }
398
+
399
+ /**
400
+ * Describes the enum tilde.types.v1.SkillSourceKind.
401
+ */
402
+ export declare const SkillSourceKindSchema: GenEnum<SkillSourceKind>;
403
+
@@ -0,0 +1,71 @@
1
+ // @generated by protoc-gen-es v2.14.1 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file tilde/types/v1/skill.proto (package tilde.types.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
+
8
+ /**
9
+ * Describes the file tilde/types/v1/skill.proto.
10
+ */
11
+ export const file_tilde_types_v1_skill = /*@__PURE__*/
12
+ fileDesc("Chp0aWxkZS90eXBlcy92MS9za2lsbC5wcm90bxIOdGlsZGUudHlwZXMudjEitgIKC1NraWxsU291cmNlEgoKAmlkGAEgASgJEgwKBHNsdWcYAiABKAkSDAoEbmFtZRgDIAEoCRItCgRraW5kGAQgASgOMh8udGlsZGUudHlwZXMudjEuU2tpbGxTb3VyY2VLaW5kEhUKDWNhdGFsb2dfZ3JvdXAYBSABKAkSFgoOcmVwb3NpdG9yeV91cmwYBiABKAkSDwoHZ2l0X3JlZhgHIAEoCRIQCghnaXRfcGF0aBgIIAEoCRISCgpjb21taXRfc2hhGAkgASgJEhIKCnN5bmNfZXJyb3IYCyABKAkSEwoLc2tpbGxfY291bnQYDCABKA0SLgoKY3JlYXRlZF9hdBgOIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASEQoJYWdlbnRfaWRzGBAgAygJIskBCglTa2lsbEZpbGUSDAoEcGF0aBgBIAEoCRIPCgdjb250ZW50GAIgASgJEgwKBGRhdGEYAyABKAwSEgoKbWVkaWFfdHlwZRgEIAEoCRISCgpzaXplX2J5d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dGgYAyABKAkqqwEKD1NraWxsU291cmNlS2luZBIhCh1TS0lMTF9TT1VSQ0VfS0lORF9VTlNQRUNJRklFRBAAEh0KGVNLSUxMX1NPVVJDRV9LSU5EX0NBVEFMT0cQARIZChVTS0lMTF9TT1VSQ0VfS0lORF9HSVQQAhIcChhTS0lMTF9TT1VSQ0VfS0lORF9FRElUT1IQAxIdChlTS0lMTF9TT1VSQ0VfS0lORF9CVU5ETEVEEARiBnByb3RvMw", [file_google_protobuf_timestamp]);
13
+
14
+ /**
15
+ * Describes the message tilde.types.v1.SkillSource.
16
+ * Use `create(SkillSourceSchema)` to create a new message.
17
+ */
18
+ export const SkillSourceSchema = /*@__PURE__*/
19
+ messageDesc(file_tilde_types_v1_skill, 0);
20
+
21
+ /**
22
+ * Describes the message tilde.types.v1.SkillFile.
23
+ * Use `create(SkillFileSchema)` to create a new message.
24
+ */
25
+ export const SkillFileSchema = /*@__PURE__*/
26
+ messageDesc(file_tilde_types_v1_skill, 1);
27
+
28
+ /**
29
+ * Describes the message tilde.types.v1.SkillVersion.
30
+ * Use `create(SkillVersionSchema)` to create a new message.
31
+ */
32
+ export const SkillVersionSchema = /*@__PURE__*/
33
+ messageDesc(file_tilde_types_v1_skill, 2);
34
+
35
+ /**
36
+ * Describes the message tilde.types.v1.Skill.
37
+ * Use `create(SkillSchema)` to create a new message.
38
+ */
39
+ export const SkillSchema = /*@__PURE__*/
40
+ messageDesc(file_tilde_types_v1_skill, 3);
41
+
42
+ /**
43
+ * Describes the message tilde.types.v1.CatalogGroup.
44
+ * Use `create(CatalogGroupSchema)` to create a new message.
45
+ */
46
+ export const CatalogGroupSchema = /*@__PURE__*/
47
+ messageDesc(file_tilde_types_v1_skill, 4);
48
+
49
+ /**
50
+ * Describes the message tilde.types.v1.CatalogSkill.
51
+ * Use `create(CatalogSkillSchema)` to create a new message.
52
+ */
53
+ export const CatalogSkillSchema = /*@__PURE__*/
54
+ messageDesc(file_tilde_types_v1_skill, 5);
55
+
56
+ /**
57
+ * Describes the enum tilde.types.v1.SkillSourceKind.
58
+ */
59
+ export const SkillSourceKindSchema = /*@__PURE__*/
60
+ enumDesc(file_tilde_types_v1_skill, 0);
61
+
62
+ /**
63
+ * Catalog: a group compiled into the engine. Git: a repository synced through the GitHub API.
64
+ * Editor: a collection authored in the UI (or by agents holding skills.edit on it). Bundled: an
65
+ * agent's own skills, registered with its deployments and read-only.
66
+ *
67
+ * @generated from enum tilde.types.v1.SkillSourceKind
68
+ */
69
+ export const SkillSourceKind = /*@__PURE__*/
70
+ tsEnum(SkillSourceKindSchema);
71
+
package/package.json CHANGED
@@ -1,6 +1,23 @@
1
1
  {
2
2
  "name": "@trytilde/contracts",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "3.0.1",
4
+ "description": "Generated TypeScript Protobuf and ConnectRPC contracts for Tilde",
5
+ "license": "Apache-2.0",
6
+ "files": [
7
+ "gen"
8
+ ],
9
+ "type": "module",
10
+ "exports": {
11
+ "./*": "./gen/*"
12
+ },
13
+ "dependencies": {
14
+ "@bufbuild/protobuf": "2.14.1"
15
+ },
16
+ "devDependencies": {
17
+ "@bufbuild/buf": "1.72.0",
18
+ "@bufbuild/protoc-gen-es": "2.14.1"
19
+ },
20
+ "scripts": {
21
+ "build": "node scripts/generate.mjs"
22
+ }
6
23
  }