@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,250 @@
1
+ // @generated by protoc-gen-es v2.14.1 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file tilde/types/v1/prompt.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/prompt.proto.
11
+ */
12
+ export declare const file_tilde_types_v1_prompt: GenFile;
13
+
14
+ /**
15
+ * A named prompt an agent's code declares, registered when a deployment is. Versions are
16
+ * immutable and content-addressed.
17
+ *
18
+ * @generated from message tilde.types.v1.Prompt
19
+ */
20
+ export declare type Prompt = Message<"tilde.types.v1.Prompt"> & {
21
+ /**
22
+ * @generated from field: string id = 1;
23
+ */
24
+ id: string;
25
+
26
+ /**
27
+ * @generated from field: string agent_id = 2;
28
+ */
29
+ agentId: string;
30
+
31
+ /**
32
+ * @generated from field: string name = 3;
33
+ */
34
+ name: string;
35
+
36
+ /**
37
+ * @generated from field: google.protobuf.Timestamp created_at = 4;
38
+ */
39
+ createdAt?: Timestamp | undefined;
40
+
41
+ /**
42
+ * @generated from field: tilde.types.v1.PromptVersion latest = 6;
43
+ */
44
+ latest?: PromptVersion | undefined;
45
+ };
46
+
47
+ /**
48
+ * Describes the message tilde.types.v1.Prompt.
49
+ * Use `create(PromptSchema)` to create a new message.
50
+ */
51
+ export declare const PromptSchema: GenMessage<Prompt>;
52
+
53
+ /**
54
+ * @generated from message tilde.types.v1.PromptSection
55
+ */
56
+ export declare type PromptSection = Message<"tilde.types.v1.PromptSection"> & {
57
+ /**
58
+ * @generated from field: string name = 1;
59
+ */
60
+ name: string;
61
+
62
+ /**
63
+ * @generated from field: string content = 2;
64
+ */
65
+ content: string;
66
+
67
+ /**
68
+ * @generated from field: string hash = 3;
69
+ */
70
+ hash: string;
71
+ };
72
+
73
+ /**
74
+ * Describes the message tilde.types.v1.PromptSection.
75
+ * Use `create(PromptSectionSchema)` to create a new message.
76
+ */
77
+ export declare const PromptSectionSchema: GenMessage<PromptSection>;
78
+
79
+ /**
80
+ * @generated from message tilde.types.v1.PromptVersion
81
+ */
82
+ export declare type PromptVersion = Message<"tilde.types.v1.PromptVersion"> & {
83
+ /**
84
+ * @generated from field: string id = 1;
85
+ */
86
+ id: string;
87
+
88
+ /**
89
+ * @generated from field: string prompt_id = 2;
90
+ */
91
+ promptId: string;
92
+
93
+ /**
94
+ * @generated from field: uint32 number = 3;
95
+ */
96
+ number: number;
97
+
98
+ /**
99
+ * Lowercase hex SHA-256 of the template, sections and config; the SDK stamps it on inference calls.
100
+ *
101
+ * @generated from field: string hash = 4;
102
+ */
103
+ hash: string;
104
+
105
+ /**
106
+ * @generated from field: string template = 5;
107
+ */
108
+ template: string;
109
+
110
+ /**
111
+ * @generated from field: repeated tilde.types.v1.PromptSection sections = 6;
112
+ */
113
+ sections: PromptSection[];
114
+
115
+ /**
116
+ * Model settings as the SDK serialised them (a JSON object).
117
+ *
118
+ * @generated from field: string config = 7;
119
+ */
120
+ config: string;
121
+
122
+ /**
123
+ * @generated from field: repeated string variables = 8;
124
+ */
125
+ variables: string[];
126
+
127
+ /**
128
+ * @generated from field: google.protobuf.Timestamp created_at = 9;
129
+ */
130
+ createdAt?: Timestamp | undefined;
131
+
132
+ /**
133
+ * The deployment that first shipped the version.
134
+ *
135
+ * @generated from field: string deployment_id = 10;
136
+ */
137
+ deploymentId: string;
138
+
139
+ /**
140
+ * @generated from field: string commit_sha = 11;
141
+ */
142
+ commitSha: string;
143
+
144
+ /**
145
+ * @generated from field: tilde.types.v1.PromptFormat format = 12;
146
+ */
147
+ format: PromptFormat;
148
+
149
+ /**
150
+ * Where the SDK found it, e.g. `src/mastra/index.ts#support.instructions` or `config/agents.yaml#researcher.goal`.
151
+ *
152
+ * @generated from field: string origin = 13;
153
+ */
154
+ origin: string;
155
+ };
156
+
157
+ /**
158
+ * Describes the message tilde.types.v1.PromptVersion.
159
+ * Use `create(PromptVersionSchema)` to create a new message.
160
+ */
161
+ export declare const PromptVersionSchema: GenMessage<PromptVersion>;
162
+
163
+ /**
164
+ * Inference calls stamped with one version, from `inference_requests`.
165
+ *
166
+ * @generated from message tilde.types.v1.PromptVersionUsage
167
+ */
168
+ export declare type PromptVersionUsage = Message<"tilde.types.v1.PromptVersionUsage"> & {
169
+ /**
170
+ * @generated from field: string version_id = 1;
171
+ */
172
+ versionId: string;
173
+
174
+ /**
175
+ * @generated from field: int64 requests = 2;
176
+ */
177
+ requests: bigint;
178
+
179
+ /**
180
+ * @generated from field: int64 input_tokens = 3;
181
+ */
182
+ inputTokens: bigint;
183
+
184
+ /**
185
+ * @generated from field: int64 output_tokens = 4;
186
+ */
187
+ outputTokens: bigint;
188
+
189
+ /**
190
+ * @generated from field: optional int64 cost_micros = 5;
191
+ */
192
+ costMicros?: bigint | undefined;
193
+
194
+ /**
195
+ * @generated from field: int64 average_latency_ms = 6;
196
+ */
197
+ averageLatencyMs: bigint;
198
+
199
+ /**
200
+ * @generated from field: google.protobuf.Timestamp last_used_at = 7;
201
+ */
202
+ lastUsedAt?: Timestamp | undefined;
203
+ };
204
+
205
+ /**
206
+ * Describes the message tilde.types.v1.PromptVersionUsage.
207
+ * Use `create(PromptVersionUsageSchema)` to create a new message.
208
+ */
209
+ export declare const PromptVersionUsageSchema: GenMessage<PromptVersionUsage>;
210
+
211
+ /**
212
+ * How a prompt's template is written. Plain text has no variables; mustache is `{{var}}` with
213
+ * `{{> section}}` partials (definePrompt, Handlebars-style framework templates); braces is `{var}`
214
+ * (CrewAI YAML, Agno, Python format strings). A dynamic prompt is a function whose text exists
215
+ * only when it runs: its template is the function's source, and calls reach it by stamp.
216
+ *
217
+ * @generated from enum tilde.types.v1.PromptFormat
218
+ */
219
+ export enum PromptFormat {
220
+ /**
221
+ * @generated from enum value: PROMPT_FORMAT_UNSPECIFIED = 0;
222
+ */
223
+ UNSPECIFIED = 0,
224
+
225
+ /**
226
+ * @generated from enum value: PROMPT_FORMAT_PLAIN = 1;
227
+ */
228
+ PLAIN = 1,
229
+
230
+ /**
231
+ * @generated from enum value: PROMPT_FORMAT_MUSTACHE = 2;
232
+ */
233
+ MUSTACHE = 2,
234
+
235
+ /**
236
+ * @generated from enum value: PROMPT_FORMAT_BRACES = 3;
237
+ */
238
+ BRACES = 3,
239
+
240
+ /**
241
+ * @generated from enum value: PROMPT_FORMAT_DYNAMIC = 4;
242
+ */
243
+ DYNAMIC = 4,
244
+ }
245
+
246
+ /**
247
+ * Describes the enum tilde.types.v1.PromptFormat.
248
+ */
249
+ export declare const PromptFormatSchema: GenEnum<PromptFormat>;
250
+
@@ -0,0 +1,58 @@
1
+ // @generated by protoc-gen-es v2.14.1 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file tilde/types/v1/prompt.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/prompt.proto.
10
+ */
11
+ export const file_tilde_types_v1_prompt = /*@__PURE__*/
12
+ fileDesc("Cht0aWxkZS90eXBlcy92MS9wcm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ybWF0Eh0KGVBST01QVF9GT1JNQVRfVU5TUEVDSUZJRUQQABIXChNQUk9NUFRfRk9STUFUX1BMQUlOEAESGgoWUFJPTVBUX0ZPUk1BVF9NVVNUQUNIRRACEhgKFFBST01QVF9GT1JNQVRfQlJBQ0VTEAMSGQoVUFJPTVBUX0ZPUk1BVF9EWU5BTUlDEARiBnByb3RvMw", [file_google_protobuf_timestamp]);
13
+
14
+ /**
15
+ * Describes the message tilde.types.v1.Prompt.
16
+ * Use `create(PromptSchema)` to create a new message.
17
+ */
18
+ export const PromptSchema = /*@__PURE__*/
19
+ messageDesc(file_tilde_types_v1_prompt, 0);
20
+
21
+ /**
22
+ * Describes the message tilde.types.v1.PromptSection.
23
+ * Use `create(PromptSectionSchema)` to create a new message.
24
+ */
25
+ export const PromptSectionSchema = /*@__PURE__*/
26
+ messageDesc(file_tilde_types_v1_prompt, 1);
27
+
28
+ /**
29
+ * Describes the message tilde.types.v1.PromptVersion.
30
+ * Use `create(PromptVersionSchema)` to create a new message.
31
+ */
32
+ export const PromptVersionSchema = /*@__PURE__*/
33
+ messageDesc(file_tilde_types_v1_prompt, 2);
34
+
35
+ /**
36
+ * Describes the message tilde.types.v1.PromptVersionUsage.
37
+ * Use `create(PromptVersionUsageSchema)` to create a new message.
38
+ */
39
+ export const PromptVersionUsageSchema = /*@__PURE__*/
40
+ messageDesc(file_tilde_types_v1_prompt, 3);
41
+
42
+ /**
43
+ * Describes the enum tilde.types.v1.PromptFormat.
44
+ */
45
+ export const PromptFormatSchema = /*@__PURE__*/
46
+ enumDesc(file_tilde_types_v1_prompt, 0);
47
+
48
+ /**
49
+ * How a prompt's template is written. Plain text has no variables; mustache is `{{var}}` with
50
+ * `{{> section}}` partials (definePrompt, Handlebars-style framework templates); braces is `{var}`
51
+ * (CrewAI YAML, Agno, Python format strings). A dynamic prompt is a function whose text exists
52
+ * only when it runs: its template is the function's source, and calls reach it by stamp.
53
+ *
54
+ * @generated from enum tilde.types.v1.PromptFormat
55
+ */
56
+ export const PromptFormat = /*@__PURE__*/
57
+ tsEnum(PromptFormatSchema);
58
+