@evalops/sdk-ts 0.1.14 → 0.1.15
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/dist/agentruntime/v1/runtime_pb.d.ts +1153 -63
- package/dist/agentruntime/v1/runtime_pb.js +562 -53
- package/dist/agents/v1/agents_pb.d.ts +740 -0
- package/dist/agents/v1/agents_pb.js +299 -30
- package/dist/fermata/v1/fermata_pb.d.ts +1078 -116
- package/dist/fermata/v1/fermata_pb.js +182 -4
- package/dist/fermata/v1/worker_pb.d.ts +8 -0
- package/dist/fermata/v1/worker_pb.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { DeliveryChannel } from "../../common/v1/delivery_pb.js";
|
|
3
3
|
import type { EntityType } from "../../common/v1/entity_pb.js";
|
|
4
|
+
import type { RiskLevel } from "../../common/v1/risk_pb.js";
|
|
4
5
|
import type { Surface } from "../../common/v1/surface_pb.js";
|
|
5
6
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
7
|
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
@@ -193,12 +194,554 @@ export type AgentConfig = Message<"agents.v1.AgentConfig"> & {
|
|
|
193
194
|
* @generated from field: common.v1.DeliveryChannel notification_channel_enum = 15;
|
|
194
195
|
*/
|
|
195
196
|
notificationChannelEnum: DeliveryChannel;
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: agents.v1.DigitalTeammateProfile teammate_profile = 16;
|
|
199
|
+
*/
|
|
200
|
+
teammateProfile?: DigitalTeammateProfile | undefined;
|
|
196
201
|
};
|
|
197
202
|
/**
|
|
198
203
|
* Describes the message agents.v1.AgentConfig.
|
|
199
204
|
* Use `create(AgentConfigSchema)` to create a new message.
|
|
200
205
|
*/
|
|
201
206
|
export declare const AgentConfigSchema: GenMessage<AgentConfig>;
|
|
207
|
+
/**
|
|
208
|
+
* DigitalTeammateProfile is the versioned contract for how an AgentConfig acts
|
|
209
|
+
* as a durable teammate across objectives, workflows, tools, memory, evals, and
|
|
210
|
+
* Slack or other delivery surfaces.
|
|
211
|
+
*
|
|
212
|
+
* @generated from message agents.v1.DigitalTeammateProfile
|
|
213
|
+
*/
|
|
214
|
+
export type DigitalTeammateProfile = Message<"agents.v1.DigitalTeammateProfile"> & {
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: string id = 1;
|
|
217
|
+
*/
|
|
218
|
+
id: string;
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: int32 version = 2;
|
|
221
|
+
*/
|
|
222
|
+
version: number;
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: string workspace_id = 3;
|
|
225
|
+
*/
|
|
226
|
+
workspaceId: string;
|
|
227
|
+
/**
|
|
228
|
+
* @generated from field: string agent_id = 4;
|
|
229
|
+
*/
|
|
230
|
+
agentId: string;
|
|
231
|
+
/**
|
|
232
|
+
* @generated from field: string display_name = 5;
|
|
233
|
+
*/
|
|
234
|
+
displayName: string;
|
|
235
|
+
/**
|
|
236
|
+
* @generated from field: string role = 6;
|
|
237
|
+
*/
|
|
238
|
+
role: string;
|
|
239
|
+
/**
|
|
240
|
+
* @generated from field: string purpose = 7;
|
|
241
|
+
*/
|
|
242
|
+
purpose: string;
|
|
243
|
+
/**
|
|
244
|
+
* @generated from field: string owner_user_id = 8;
|
|
245
|
+
*/
|
|
246
|
+
ownerUserId: string;
|
|
247
|
+
/**
|
|
248
|
+
* @generated from field: string owner_team_id = 9;
|
|
249
|
+
*/
|
|
250
|
+
ownerTeamId: string;
|
|
251
|
+
/**
|
|
252
|
+
* @generated from field: repeated common.v1.Surface surface_types = 10;
|
|
253
|
+
*/
|
|
254
|
+
surfaceTypes: Surface[];
|
|
255
|
+
/**
|
|
256
|
+
* @generated from field: agents.v1.TeammateLifecycle lifecycle = 11;
|
|
257
|
+
*/
|
|
258
|
+
lifecycle: TeammateLifecycle;
|
|
259
|
+
/**
|
|
260
|
+
* @generated from field: repeated agents.v1.TeammateResponsibility responsibilities = 12;
|
|
261
|
+
*/
|
|
262
|
+
responsibilities: TeammateResponsibility[];
|
|
263
|
+
/**
|
|
264
|
+
* @generated from field: agents.v1.CommitmentPolicy commitment_policy = 13;
|
|
265
|
+
*/
|
|
266
|
+
commitmentPolicy?: CommitmentPolicy | undefined;
|
|
267
|
+
/**
|
|
268
|
+
* @generated from field: agents.v1.InitiativePolicy initiative_policy = 14;
|
|
269
|
+
*/
|
|
270
|
+
initiativePolicy?: InitiativePolicy | undefined;
|
|
271
|
+
/**
|
|
272
|
+
* @generated from field: agents.v1.AutonomyPolicy autonomy_policy = 15;
|
|
273
|
+
*/
|
|
274
|
+
autonomyPolicy?: AutonomyPolicy | undefined;
|
|
275
|
+
/**
|
|
276
|
+
* @generated from field: agents.v1.MemoryPolicy memory_policy = 16;
|
|
277
|
+
*/
|
|
278
|
+
memoryPolicy?: MemoryPolicy | undefined;
|
|
279
|
+
/**
|
|
280
|
+
* @generated from field: agents.v1.PresencePolicy presence_policy = 17;
|
|
281
|
+
*/
|
|
282
|
+
presencePolicy?: PresencePolicy | undefined;
|
|
283
|
+
/**
|
|
284
|
+
* @generated from field: agents.v1.OutputPolicy output_policy = 18;
|
|
285
|
+
*/
|
|
286
|
+
outputPolicy?: OutputPolicy | undefined;
|
|
287
|
+
/**
|
|
288
|
+
* @generated from field: agents.v1.EvalPolicy eval_policy = 19;
|
|
289
|
+
*/
|
|
290
|
+
evalPolicy?: EvalPolicy | undefined;
|
|
291
|
+
/**
|
|
292
|
+
* @generated from field: agents.v1.EscalationPolicy escalation_policy = 20;
|
|
293
|
+
*/
|
|
294
|
+
escalationPolicy?: EscalationPolicy | undefined;
|
|
295
|
+
/**
|
|
296
|
+
* @generated from field: map<string, string> labels = 21;
|
|
297
|
+
*/
|
|
298
|
+
labels: {
|
|
299
|
+
[key: string]: string;
|
|
300
|
+
};
|
|
301
|
+
/**
|
|
302
|
+
* @generated from field: google.protobuf.Struct parameters = 22;
|
|
303
|
+
*/
|
|
304
|
+
parameters?: JsonObject | undefined;
|
|
305
|
+
/**
|
|
306
|
+
* @generated from field: google.protobuf.Timestamp created_at = 23;
|
|
307
|
+
*/
|
|
308
|
+
createdAt?: Timestamp | undefined;
|
|
309
|
+
/**
|
|
310
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 24;
|
|
311
|
+
*/
|
|
312
|
+
updatedAt?: Timestamp | undefined;
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* Describes the message agents.v1.DigitalTeammateProfile.
|
|
316
|
+
* Use `create(DigitalTeammateProfileSchema)` to create a new message.
|
|
317
|
+
*/
|
|
318
|
+
export declare const DigitalTeammateProfileSchema: GenMessage<DigitalTeammateProfile>;
|
|
319
|
+
/**
|
|
320
|
+
* TeammateResponsibility binds a role claim to capabilities, entities, prompts,
|
|
321
|
+
* skills, and measurable outcomes.
|
|
322
|
+
*
|
|
323
|
+
* @generated from message agents.v1.TeammateResponsibility
|
|
324
|
+
*/
|
|
325
|
+
export type TeammateResponsibility = Message<"agents.v1.TeammateResponsibility"> & {
|
|
326
|
+
/**
|
|
327
|
+
* @generated from field: string id = 1;
|
|
328
|
+
*/
|
|
329
|
+
id: string;
|
|
330
|
+
/**
|
|
331
|
+
* @generated from field: string title = 2;
|
|
332
|
+
*/
|
|
333
|
+
title: string;
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: string description = 3;
|
|
336
|
+
*/
|
|
337
|
+
description: string;
|
|
338
|
+
/**
|
|
339
|
+
* @generated from field: repeated string capability_refs = 4;
|
|
340
|
+
*/
|
|
341
|
+
capabilityRefs: string[];
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: repeated common.v1.EntityType owned_entity_types = 5;
|
|
344
|
+
*/
|
|
345
|
+
ownedEntityTypes: EntityType[];
|
|
346
|
+
/**
|
|
347
|
+
* @generated from field: repeated string default_skill_ids = 6;
|
|
348
|
+
*/
|
|
349
|
+
defaultSkillIds: string[];
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: repeated string prompt_names = 7;
|
|
352
|
+
*/
|
|
353
|
+
promptNames: string[];
|
|
354
|
+
/**
|
|
355
|
+
* @generated from field: repeated string success_metric_refs = 8;
|
|
356
|
+
*/
|
|
357
|
+
successMetricRefs: string[];
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* Describes the message agents.v1.TeammateResponsibility.
|
|
361
|
+
* Use `create(TeammateResponsibilitySchema)` to create a new message.
|
|
362
|
+
*/
|
|
363
|
+
export declare const TeammateResponsibilitySchema: GenMessage<TeammateResponsibility>;
|
|
364
|
+
/**
|
|
365
|
+
* CommitmentPolicy describes which durable objectives and wakes can be created
|
|
366
|
+
* from teammate commitments.
|
|
367
|
+
*
|
|
368
|
+
* @generated from message agents.v1.CommitmentPolicy
|
|
369
|
+
*/
|
|
370
|
+
export type CommitmentPolicy = Message<"agents.v1.CommitmentPolicy"> & {
|
|
371
|
+
/**
|
|
372
|
+
* @generated from field: repeated agents.v1.CommitmentKind allowed_kinds = 1;
|
|
373
|
+
*/
|
|
374
|
+
allowedKinds: CommitmentKind[];
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: repeated agents.v1.CommitmentTemplate templates = 2;
|
|
377
|
+
*/
|
|
378
|
+
templates: CommitmentTemplate[];
|
|
379
|
+
/**
|
|
380
|
+
* @generated from field: int32 default_due_seconds = 3;
|
|
381
|
+
*/
|
|
382
|
+
defaultDueSeconds: number;
|
|
383
|
+
/**
|
|
384
|
+
* @generated from field: int32 max_open_commitments = 4;
|
|
385
|
+
*/
|
|
386
|
+
maxOpenCommitments: number;
|
|
387
|
+
/**
|
|
388
|
+
* @generated from field: bool require_objective_for_commitment = 5;
|
|
389
|
+
*/
|
|
390
|
+
requireObjectiveForCommitment: boolean;
|
|
391
|
+
};
|
|
392
|
+
/**
|
|
393
|
+
* Describes the message agents.v1.CommitmentPolicy.
|
|
394
|
+
* Use `create(CommitmentPolicySchema)` to create a new message.
|
|
395
|
+
*/
|
|
396
|
+
export declare const CommitmentPolicySchema: GenMessage<CommitmentPolicy>;
|
|
397
|
+
/**
|
|
398
|
+
* CommitmentTemplate maps a commitment kind to objective and wake templates.
|
|
399
|
+
*
|
|
400
|
+
* @generated from message agents.v1.CommitmentTemplate
|
|
401
|
+
*/
|
|
402
|
+
export type CommitmentTemplate = Message<"agents.v1.CommitmentTemplate"> & {
|
|
403
|
+
/**
|
|
404
|
+
* @generated from field: agents.v1.CommitmentKind kind = 1;
|
|
405
|
+
*/
|
|
406
|
+
kind: CommitmentKind;
|
|
407
|
+
/**
|
|
408
|
+
* @generated from field: string objective_title_template = 2;
|
|
409
|
+
*/
|
|
410
|
+
objectiveTitleTemplate: string;
|
|
411
|
+
/**
|
|
412
|
+
* @generated from field: string objective_description_template = 3;
|
|
413
|
+
*/
|
|
414
|
+
objectiveDescriptionTemplate: string;
|
|
415
|
+
/**
|
|
416
|
+
* @generated from field: string wake_reason_template = 4;
|
|
417
|
+
*/
|
|
418
|
+
wakeReasonTemplate: string;
|
|
419
|
+
/**
|
|
420
|
+
* @generated from field: repeated string required_join_keys = 5;
|
|
421
|
+
*/
|
|
422
|
+
requiredJoinKeys: string[];
|
|
423
|
+
};
|
|
424
|
+
/**
|
|
425
|
+
* Describes the message agents.v1.CommitmentTemplate.
|
|
426
|
+
* Use `create(CommitmentTemplateSchema)` to create a new message.
|
|
427
|
+
*/
|
|
428
|
+
export declare const CommitmentTemplateSchema: GenMessage<CommitmentTemplate>;
|
|
429
|
+
/**
|
|
430
|
+
* InitiativePolicy describes bounded conditions where a teammate can start or
|
|
431
|
+
* resume work proactively.
|
|
432
|
+
*
|
|
433
|
+
* @generated from message agents.v1.InitiativePolicy
|
|
434
|
+
*/
|
|
435
|
+
export type InitiativePolicy = Message<"agents.v1.InitiativePolicy"> & {
|
|
436
|
+
/**
|
|
437
|
+
* @generated from field: repeated agents.v1.InitiativeTrigger triggers = 1;
|
|
438
|
+
*/
|
|
439
|
+
triggers: InitiativeTrigger[];
|
|
440
|
+
/**
|
|
441
|
+
* @generated from field: int32 max_initiated_runs_per_day = 2;
|
|
442
|
+
*/
|
|
443
|
+
maxInitiatedRunsPerDay: number;
|
|
444
|
+
/**
|
|
445
|
+
* @generated from field: bool require_human_seed = 3;
|
|
446
|
+
*/
|
|
447
|
+
requireHumanSeed: boolean;
|
|
448
|
+
};
|
|
449
|
+
/**
|
|
450
|
+
* Describes the message agents.v1.InitiativePolicy.
|
|
451
|
+
* Use `create(InitiativePolicySchema)` to create a new message.
|
|
452
|
+
*/
|
|
453
|
+
export declare const InitiativePolicySchema: GenMessage<InitiativePolicy>;
|
|
454
|
+
/**
|
|
455
|
+
* InitiativeTrigger binds a proactive trigger to workflow or objective state.
|
|
456
|
+
*
|
|
457
|
+
* @generated from message agents.v1.InitiativeTrigger
|
|
458
|
+
*/
|
|
459
|
+
export type InitiativeTrigger = Message<"agents.v1.InitiativeTrigger"> & {
|
|
460
|
+
/**
|
|
461
|
+
* @generated from field: agents.v1.InitiativeTriggerKind kind = 1;
|
|
462
|
+
*/
|
|
463
|
+
kind: InitiativeTriggerKind;
|
|
464
|
+
/**
|
|
465
|
+
* @generated from field: string trigger_ref = 2;
|
|
466
|
+
*/
|
|
467
|
+
triggerRef: string;
|
|
468
|
+
/**
|
|
469
|
+
* @generated from field: string filter_expr = 3;
|
|
470
|
+
*/
|
|
471
|
+
filterExpr: string;
|
|
472
|
+
/**
|
|
473
|
+
* @generated from field: string workflow_definition_id = 4;
|
|
474
|
+
*/
|
|
475
|
+
workflowDefinitionId: string;
|
|
476
|
+
/**
|
|
477
|
+
* @generated from field: string objective_template_id = 5;
|
|
478
|
+
*/
|
|
479
|
+
objectiveTemplateId: string;
|
|
480
|
+
};
|
|
481
|
+
/**
|
|
482
|
+
* Describes the message agents.v1.InitiativeTrigger.
|
|
483
|
+
* Use `create(InitiativeTriggerSchema)` to create a new message.
|
|
484
|
+
*/
|
|
485
|
+
export declare const InitiativeTriggerSchema: GenMessage<InitiativeTrigger>;
|
|
486
|
+
/**
|
|
487
|
+
* AutonomyPolicy describes the default authority and specific action rules
|
|
488
|
+
* that ToolExecution, Governance, and Approvals can enforce.
|
|
489
|
+
*
|
|
490
|
+
* @generated from message agents.v1.AutonomyPolicy
|
|
491
|
+
*/
|
|
492
|
+
export type AutonomyPolicy = Message<"agents.v1.AutonomyPolicy"> & {
|
|
493
|
+
/**
|
|
494
|
+
* @generated from field: repeated agents.v1.AutonomyRule rules = 1;
|
|
495
|
+
*/
|
|
496
|
+
rules: AutonomyRule[];
|
|
497
|
+
/**
|
|
498
|
+
* @generated from field: agents.v1.AutonomyAuthority default_authority = 2;
|
|
499
|
+
*/
|
|
500
|
+
defaultAuthority: AutonomyAuthority;
|
|
501
|
+
/**
|
|
502
|
+
* @generated from field: common.v1.RiskLevel max_risk_without_approval = 3;
|
|
503
|
+
*/
|
|
504
|
+
maxRiskWithoutApproval: RiskLevel;
|
|
505
|
+
};
|
|
506
|
+
/**
|
|
507
|
+
* Describes the message agents.v1.AutonomyPolicy.
|
|
508
|
+
* Use `create(AutonomyPolicySchema)` to create a new message.
|
|
509
|
+
*/
|
|
510
|
+
export declare const AutonomyPolicySchema: GenMessage<AutonomyPolicy>;
|
|
511
|
+
/**
|
|
512
|
+
* AutonomyRule constrains a class of actions or tool capabilities.
|
|
513
|
+
*
|
|
514
|
+
* @generated from message agents.v1.AutonomyRule
|
|
515
|
+
*/
|
|
516
|
+
export type AutonomyRule = Message<"agents.v1.AutonomyRule"> & {
|
|
517
|
+
/**
|
|
518
|
+
* @generated from field: string action_type = 1;
|
|
519
|
+
*/
|
|
520
|
+
actionType: string;
|
|
521
|
+
/**
|
|
522
|
+
* @generated from field: string tool_capability = 2;
|
|
523
|
+
*/
|
|
524
|
+
toolCapability: string;
|
|
525
|
+
/**
|
|
526
|
+
* @generated from field: common.v1.RiskLevel max_risk = 3;
|
|
527
|
+
*/
|
|
528
|
+
maxRisk: RiskLevel;
|
|
529
|
+
/**
|
|
530
|
+
* @generated from field: agents.v1.AutonomyAuthority authority = 4;
|
|
531
|
+
*/
|
|
532
|
+
authority: AutonomyAuthority;
|
|
533
|
+
/**
|
|
534
|
+
* @generated from field: string approval_policy_ref = 5;
|
|
535
|
+
*/
|
|
536
|
+
approvalPolicyRef: string;
|
|
537
|
+
/**
|
|
538
|
+
* @generated from field: string governance_policy_ref = 6;
|
|
539
|
+
*/
|
|
540
|
+
governancePolicyRef: string;
|
|
541
|
+
/**
|
|
542
|
+
* @generated from field: string rationale = 7;
|
|
543
|
+
*/
|
|
544
|
+
rationale: string;
|
|
545
|
+
};
|
|
546
|
+
/**
|
|
547
|
+
* Describes the message agents.v1.AutonomyRule.
|
|
548
|
+
* Use `create(AutonomyRuleSchema)` to create a new message.
|
|
549
|
+
*/
|
|
550
|
+
export declare const AutonomyRuleSchema: GenMessage<AutonomyRule>;
|
|
551
|
+
/**
|
|
552
|
+
* MemoryPolicy describes what a teammate may recall or propose remembering.
|
|
553
|
+
*
|
|
554
|
+
* @generated from message agents.v1.MemoryPolicy
|
|
555
|
+
*/
|
|
556
|
+
export type MemoryPolicy = Message<"agents.v1.MemoryPolicy"> & {
|
|
557
|
+
/**
|
|
558
|
+
* @generated from field: repeated string allowed_scope_refs = 1;
|
|
559
|
+
*/
|
|
560
|
+
allowedScopeRefs: string[];
|
|
561
|
+
/**
|
|
562
|
+
* @generated from field: bool allow_user_memory = 2;
|
|
563
|
+
*/
|
|
564
|
+
allowUserMemory: boolean;
|
|
565
|
+
/**
|
|
566
|
+
* @generated from field: bool allow_team_memory = 3;
|
|
567
|
+
*/
|
|
568
|
+
allowTeamMemory: boolean;
|
|
569
|
+
/**
|
|
570
|
+
* @generated from field: bool allow_agent_memory = 4;
|
|
571
|
+
*/
|
|
572
|
+
allowAgentMemory: boolean;
|
|
573
|
+
/**
|
|
574
|
+
* @generated from field: bool require_review_for_new_memory = 5;
|
|
575
|
+
*/
|
|
576
|
+
requireReviewForNewMemory: boolean;
|
|
577
|
+
/**
|
|
578
|
+
* @generated from field: int32 default_retention_days = 6;
|
|
579
|
+
*/
|
|
580
|
+
defaultRetentionDays: number;
|
|
581
|
+
/**
|
|
582
|
+
* @generated from field: repeated string required_source_types = 7;
|
|
583
|
+
*/
|
|
584
|
+
requiredSourceTypes: string[];
|
|
585
|
+
/**
|
|
586
|
+
* @generated from field: bool allow_cross_channel_recall = 8;
|
|
587
|
+
*/
|
|
588
|
+
allowCrossChannelRecall: boolean;
|
|
589
|
+
};
|
|
590
|
+
/**
|
|
591
|
+
* Describes the message agents.v1.MemoryPolicy.
|
|
592
|
+
* Use `create(MemoryPolicySchema)` to create a new message.
|
|
593
|
+
*/
|
|
594
|
+
export declare const MemoryPolicySchema: GenMessage<MemoryPolicy>;
|
|
595
|
+
/**
|
|
596
|
+
* PresencePolicy describes how a teammate reports work back to Slack or other
|
|
597
|
+
* delivery channels.
|
|
598
|
+
*
|
|
599
|
+
* @generated from message agents.v1.PresencePolicy
|
|
600
|
+
*/
|
|
601
|
+
export type PresencePolicy = Message<"agents.v1.PresencePolicy"> & {
|
|
602
|
+
/**
|
|
603
|
+
* @generated from field: common.v1.DeliveryChannel primary_channel = 1;
|
|
604
|
+
*/
|
|
605
|
+
primaryChannel: DeliveryChannel;
|
|
606
|
+
/**
|
|
607
|
+
* @generated from field: string primary_channel_id = 2;
|
|
608
|
+
*/
|
|
609
|
+
primaryChannelId: string;
|
|
610
|
+
/**
|
|
611
|
+
* @generated from field: string default_thread_policy = 3;
|
|
612
|
+
*/
|
|
613
|
+
defaultThreadPolicy: string;
|
|
614
|
+
/**
|
|
615
|
+
* @generated from field: int32 progress_update_interval_seconds = 4;
|
|
616
|
+
*/
|
|
617
|
+
progressUpdateIntervalSeconds: number;
|
|
618
|
+
/**
|
|
619
|
+
* @generated from field: repeated agents.v1.PresenceEvent visible_events = 5;
|
|
620
|
+
*/
|
|
621
|
+
visibleEvents: PresenceEvent[];
|
|
622
|
+
/**
|
|
623
|
+
* @generated from field: bool post_action_receipts = 6;
|
|
624
|
+
*/
|
|
625
|
+
postActionReceipts: boolean;
|
|
626
|
+
/**
|
|
627
|
+
* @generated from field: bool post_blocker_updates = 7;
|
|
628
|
+
*/
|
|
629
|
+
postBlockerUpdates: boolean;
|
|
630
|
+
};
|
|
631
|
+
/**
|
|
632
|
+
* Describes the message agents.v1.PresencePolicy.
|
|
633
|
+
* Use `create(PresencePolicySchema)` to create a new message.
|
|
634
|
+
*/
|
|
635
|
+
export declare const PresencePolicySchema: GenMessage<PresencePolicy>;
|
|
636
|
+
/**
|
|
637
|
+
* OutputPolicy describes durable work products and channel-safe renderings.
|
|
638
|
+
*
|
|
639
|
+
* @generated from message agents.v1.OutputPolicy
|
|
640
|
+
*/
|
|
641
|
+
export type OutputPolicy = Message<"agents.v1.OutputPolicy"> & {
|
|
642
|
+
/**
|
|
643
|
+
* @generated from field: repeated string required_artifact_kinds = 1;
|
|
644
|
+
*/
|
|
645
|
+
requiredArtifactKinds: string[];
|
|
646
|
+
/**
|
|
647
|
+
* @generated from field: repeated string optional_artifact_kinds = 2;
|
|
648
|
+
*/
|
|
649
|
+
optionalArtifactKinds: string[];
|
|
650
|
+
/**
|
|
651
|
+
* @generated from field: bool render_channel_cards = 3;
|
|
652
|
+
*/
|
|
653
|
+
renderChannelCards: boolean;
|
|
654
|
+
/**
|
|
655
|
+
* @generated from field: string default_visibility = 4;
|
|
656
|
+
*/
|
|
657
|
+
defaultVisibility: string;
|
|
658
|
+
};
|
|
659
|
+
/**
|
|
660
|
+
* Describes the message agents.v1.OutputPolicy.
|
|
661
|
+
* Use `create(OutputPolicySchema)` to create a new message.
|
|
662
|
+
*/
|
|
663
|
+
export declare const OutputPolicySchema: GenMessage<OutputPolicy>;
|
|
664
|
+
/**
|
|
665
|
+
* EvalPolicy binds production behavior to loop and eval scoring.
|
|
666
|
+
*
|
|
667
|
+
* @generated from message agents.v1.EvalPolicy
|
|
668
|
+
*/
|
|
669
|
+
export type EvalPolicy = Message<"agents.v1.EvalPolicy"> & {
|
|
670
|
+
/**
|
|
671
|
+
* @generated from field: repeated agents.v1.EvalBinding bindings = 1;
|
|
672
|
+
*/
|
|
673
|
+
bindings: EvalBinding[];
|
|
674
|
+
/**
|
|
675
|
+
* @generated from field: string loop_definition_id = 2;
|
|
676
|
+
*/
|
|
677
|
+
loopDefinitionId: string;
|
|
678
|
+
/**
|
|
679
|
+
* @generated from field: int32 production_sample_rate_basis_points = 3;
|
|
680
|
+
*/
|
|
681
|
+
productionSampleRateBasisPoints: number;
|
|
682
|
+
};
|
|
683
|
+
/**
|
|
684
|
+
* Describes the message agents.v1.EvalPolicy.
|
|
685
|
+
* Use `create(EvalPolicySchema)` to create a new message.
|
|
686
|
+
*/
|
|
687
|
+
export declare const EvalPolicySchema: GenMessage<EvalPolicy>;
|
|
688
|
+
/**
|
|
689
|
+
* EvalBinding describes one score that should gate or monitor teammate quality.
|
|
690
|
+
*
|
|
691
|
+
* @generated from message agents.v1.EvalBinding
|
|
692
|
+
*/
|
|
693
|
+
export type EvalBinding = Message<"agents.v1.EvalBinding"> & {
|
|
694
|
+
/**
|
|
695
|
+
* @generated from field: string suite_name = 1;
|
|
696
|
+
*/
|
|
697
|
+
suiteName: string;
|
|
698
|
+
/**
|
|
699
|
+
* @generated from field: string metric_name = 2;
|
|
700
|
+
*/
|
|
701
|
+
metricName: string;
|
|
702
|
+
/**
|
|
703
|
+
* @generated from field: double minimum_score = 3;
|
|
704
|
+
*/
|
|
705
|
+
minimumScore: number;
|
|
706
|
+
/**
|
|
707
|
+
* @generated from field: string failure_action = 4;
|
|
708
|
+
*/
|
|
709
|
+
failureAction: string;
|
|
710
|
+
};
|
|
711
|
+
/**
|
|
712
|
+
* Describes the message agents.v1.EvalBinding.
|
|
713
|
+
* Use `create(EvalBindingSchema)` to create a new message.
|
|
714
|
+
*/
|
|
715
|
+
export declare const EvalBindingSchema: GenMessage<EvalBinding>;
|
|
716
|
+
/**
|
|
717
|
+
* EscalationPolicy describes who must be contacted when the teammate blocks or
|
|
718
|
+
* needs approval.
|
|
719
|
+
*
|
|
720
|
+
* @generated from message agents.v1.EscalationPolicy
|
|
721
|
+
*/
|
|
722
|
+
export type EscalationPolicy = Message<"agents.v1.EscalationPolicy"> & {
|
|
723
|
+
/**
|
|
724
|
+
* @generated from field: repeated string approver_user_ids = 1;
|
|
725
|
+
*/
|
|
726
|
+
approverUserIds: string[];
|
|
727
|
+
/**
|
|
728
|
+
* @generated from field: repeated string approver_team_ids = 2;
|
|
729
|
+
*/
|
|
730
|
+
approverTeamIds: string[];
|
|
731
|
+
/**
|
|
732
|
+
* @generated from field: int32 escalate_after_seconds = 3;
|
|
733
|
+
*/
|
|
734
|
+
escalateAfterSeconds: number;
|
|
735
|
+
/**
|
|
736
|
+
* @generated from field: common.v1.DeliveryChannel fallback_channel = 4;
|
|
737
|
+
*/
|
|
738
|
+
fallbackChannel: DeliveryChannel;
|
|
739
|
+
};
|
|
740
|
+
/**
|
|
741
|
+
* Describes the message agents.v1.EscalationPolicy.
|
|
742
|
+
* Use `create(EscalationPolicySchema)` to create a new message.
|
|
743
|
+
*/
|
|
744
|
+
export declare const EscalationPolicySchema: GenMessage<EscalationPolicy>;
|
|
202
745
|
/**
|
|
203
746
|
* DelegationRecord tracks a typed hand-off between agents. The from_agent_id
|
|
204
747
|
* creates an objective (objectives/v1) or references a workflow step
|
|
@@ -563,6 +1106,10 @@ export type PushConfigRequest = Message<"agents.v1.PushConfigRequest"> & {
|
|
|
563
1106
|
* @generated from field: common.v1.DeliveryChannel notification_channel_enum = 13;
|
|
564
1107
|
*/
|
|
565
1108
|
notificationChannelEnum: DeliveryChannel;
|
|
1109
|
+
/**
|
|
1110
|
+
* @generated from field: agents.v1.DigitalTeammateProfile teammate_profile = 14;
|
|
1111
|
+
*/
|
|
1112
|
+
teammateProfile?: DigitalTeammateProfile | undefined;
|
|
566
1113
|
};
|
|
567
1114
|
/**
|
|
568
1115
|
* Describes the message agents.v1.PushConfigRequest.
|
|
@@ -1015,6 +1562,199 @@ export declare enum DelegationStatus {
|
|
|
1015
1562
|
* Describes the enum agents.v1.DelegationStatus.
|
|
1016
1563
|
*/
|
|
1017
1564
|
export declare const DelegationStatusSchema: GenEnum<DelegationStatus>;
|
|
1565
|
+
/**
|
|
1566
|
+
* TeammateLifecycle describes whether a teammate profile can be used to
|
|
1567
|
+
* initiate durable work.
|
|
1568
|
+
*
|
|
1569
|
+
* @generated from enum agents.v1.TeammateLifecycle
|
|
1570
|
+
*/
|
|
1571
|
+
export declare enum TeammateLifecycle {
|
|
1572
|
+
/**
|
|
1573
|
+
* @generated from enum value: TEAMMATE_LIFECYCLE_UNSPECIFIED = 0;
|
|
1574
|
+
*/
|
|
1575
|
+
UNSPECIFIED = 0,
|
|
1576
|
+
/**
|
|
1577
|
+
* @generated from enum value: TEAMMATE_LIFECYCLE_DRAFT = 1;
|
|
1578
|
+
*/
|
|
1579
|
+
DRAFT = 1,
|
|
1580
|
+
/**
|
|
1581
|
+
* @generated from enum value: TEAMMATE_LIFECYCLE_ACTIVE = 2;
|
|
1582
|
+
*/
|
|
1583
|
+
ACTIVE = 2,
|
|
1584
|
+
/**
|
|
1585
|
+
* @generated from enum value: TEAMMATE_LIFECYCLE_PAUSED = 3;
|
|
1586
|
+
*/
|
|
1587
|
+
PAUSED = 3,
|
|
1588
|
+
/**
|
|
1589
|
+
* @generated from enum value: TEAMMATE_LIFECYCLE_DEPRECATED = 4;
|
|
1590
|
+
*/
|
|
1591
|
+
DEPRECATED = 4
|
|
1592
|
+
}
|
|
1593
|
+
/**
|
|
1594
|
+
* Describes the enum agents.v1.TeammateLifecycle.
|
|
1595
|
+
*/
|
|
1596
|
+
export declare const TeammateLifecycleSchema: GenEnum<TeammateLifecycle>;
|
|
1597
|
+
/**
|
|
1598
|
+
* CommitmentKind describes the durable commitments a teammate can accept.
|
|
1599
|
+
*
|
|
1600
|
+
* @generated from enum agents.v1.CommitmentKind
|
|
1601
|
+
*/
|
|
1602
|
+
export declare enum CommitmentKind {
|
|
1603
|
+
/**
|
|
1604
|
+
* @generated from enum value: COMMITMENT_KIND_UNSPECIFIED = 0;
|
|
1605
|
+
*/
|
|
1606
|
+
UNSPECIFIED = 0,
|
|
1607
|
+
/**
|
|
1608
|
+
* @generated from enum value: COMMITMENT_KIND_FOLLOW_UP = 1;
|
|
1609
|
+
*/
|
|
1610
|
+
FOLLOW_UP = 1,
|
|
1611
|
+
/**
|
|
1612
|
+
* @generated from enum value: COMMITMENT_KIND_WATCH = 2;
|
|
1613
|
+
*/
|
|
1614
|
+
WATCH = 2,
|
|
1615
|
+
/**
|
|
1616
|
+
* @generated from enum value: COMMITMENT_KIND_RETRY = 3;
|
|
1617
|
+
*/
|
|
1618
|
+
RETRY = 3,
|
|
1619
|
+
/**
|
|
1620
|
+
* @generated from enum value: COMMITMENT_KIND_SUMMARIZE = 4;
|
|
1621
|
+
*/
|
|
1622
|
+
SUMMARIZE = 4,
|
|
1623
|
+
/**
|
|
1624
|
+
* @generated from enum value: COMMITMENT_KIND_MONITOR = 5;
|
|
1625
|
+
*/
|
|
1626
|
+
MONITOR = 5,
|
|
1627
|
+
/**
|
|
1628
|
+
* @generated from enum value: COMMITMENT_KIND_REMEDIATE = 6;
|
|
1629
|
+
*/
|
|
1630
|
+
REMEDIATE = 6,
|
|
1631
|
+
/**
|
|
1632
|
+
* @generated from enum value: COMMITMENT_KIND_HANDOFF = 7;
|
|
1633
|
+
*/
|
|
1634
|
+
HANDOFF = 7
|
|
1635
|
+
}
|
|
1636
|
+
/**
|
|
1637
|
+
* Describes the enum agents.v1.CommitmentKind.
|
|
1638
|
+
*/
|
|
1639
|
+
export declare const CommitmentKindSchema: GenEnum<CommitmentKind>;
|
|
1640
|
+
/**
|
|
1641
|
+
* InitiativeTriggerKind describes events that can let a teammate start work
|
|
1642
|
+
* without a fresh direct human prompt.
|
|
1643
|
+
*
|
|
1644
|
+
* @generated from enum agents.v1.InitiativeTriggerKind
|
|
1645
|
+
*/
|
|
1646
|
+
export declare enum InitiativeTriggerKind {
|
|
1647
|
+
/**
|
|
1648
|
+
* @generated from enum value: INITIATIVE_TRIGGER_KIND_UNSPECIFIED = 0;
|
|
1649
|
+
*/
|
|
1650
|
+
UNSPECIFIED = 0,
|
|
1651
|
+
/**
|
|
1652
|
+
* @generated from enum value: INITIATIVE_TRIGGER_KIND_SCHEDULE = 1;
|
|
1653
|
+
*/
|
|
1654
|
+
SCHEDULE = 1,
|
|
1655
|
+
/**
|
|
1656
|
+
* @generated from enum value: INITIATIVE_TRIGGER_KIND_SLACK_EVENT = 2;
|
|
1657
|
+
*/
|
|
1658
|
+
SLACK_EVENT = 2,
|
|
1659
|
+
/**
|
|
1660
|
+
* @generated from enum value: INITIATIVE_TRIGGER_KIND_PLATFORM_EVENT = 3;
|
|
1661
|
+
*/
|
|
1662
|
+
PLATFORM_EVENT = 3,
|
|
1663
|
+
/**
|
|
1664
|
+
* @generated from enum value: INITIATIVE_TRIGGER_KIND_OBJECTIVE_WAKE = 4;
|
|
1665
|
+
*/
|
|
1666
|
+
OBJECTIVE_WAKE = 4,
|
|
1667
|
+
/**
|
|
1668
|
+
* @generated from enum value: INITIATIVE_TRIGGER_KIND_WAIT_RESOLVED = 5;
|
|
1669
|
+
*/
|
|
1670
|
+
WAIT_RESOLVED = 5,
|
|
1671
|
+
/**
|
|
1672
|
+
* @generated from enum value: INITIATIVE_TRIGGER_KIND_EVAL_REGRESSION = 6;
|
|
1673
|
+
*/
|
|
1674
|
+
EVAL_REGRESSION = 6,
|
|
1675
|
+
/**
|
|
1676
|
+
* @generated from enum value: INITIATIVE_TRIGGER_KIND_STALLED_WORK = 7;
|
|
1677
|
+
*/
|
|
1678
|
+
STALLED_WORK = 7
|
|
1679
|
+
}
|
|
1680
|
+
/**
|
|
1681
|
+
* Describes the enum agents.v1.InitiativeTriggerKind.
|
|
1682
|
+
*/
|
|
1683
|
+
export declare const InitiativeTriggerKindSchema: GenEnum<InitiativeTriggerKind>;
|
|
1684
|
+
/**
|
|
1685
|
+
* AutonomyAuthority describes how independently a teammate may act.
|
|
1686
|
+
*
|
|
1687
|
+
* @generated from enum agents.v1.AutonomyAuthority
|
|
1688
|
+
*/
|
|
1689
|
+
export declare enum AutonomyAuthority {
|
|
1690
|
+
/**
|
|
1691
|
+
* @generated from enum value: AUTONOMY_AUTHORITY_UNSPECIFIED = 0;
|
|
1692
|
+
*/
|
|
1693
|
+
UNSPECIFIED = 0,
|
|
1694
|
+
/**
|
|
1695
|
+
* @generated from enum value: AUTONOMY_AUTHORITY_OWN = 1;
|
|
1696
|
+
*/
|
|
1697
|
+
OWN = 1,
|
|
1698
|
+
/**
|
|
1699
|
+
* @generated from enum value: AUTONOMY_AUTHORITY_RECOMMEND = 2;
|
|
1700
|
+
*/
|
|
1701
|
+
RECOMMEND = 2,
|
|
1702
|
+
/**
|
|
1703
|
+
* @generated from enum value: AUTONOMY_AUTHORITY_REQUIRE_APPROVAL = 3;
|
|
1704
|
+
*/
|
|
1705
|
+
REQUIRE_APPROVAL = 3,
|
|
1706
|
+
/**
|
|
1707
|
+
* @generated from enum value: AUTONOMY_AUTHORITY_DENY = 4;
|
|
1708
|
+
*/
|
|
1709
|
+
DENY = 4
|
|
1710
|
+
}
|
|
1711
|
+
/**
|
|
1712
|
+
* Describes the enum agents.v1.AutonomyAuthority.
|
|
1713
|
+
*/
|
|
1714
|
+
export declare const AutonomyAuthoritySchema: GenEnum<AutonomyAuthority>;
|
|
1715
|
+
/**
|
|
1716
|
+
* PresenceEvent describes channel-visible teammate activity.
|
|
1717
|
+
*
|
|
1718
|
+
* @generated from enum agents.v1.PresenceEvent
|
|
1719
|
+
*/
|
|
1720
|
+
export declare enum PresenceEvent {
|
|
1721
|
+
/**
|
|
1722
|
+
* @generated from enum value: PRESENCE_EVENT_UNSPECIFIED = 0;
|
|
1723
|
+
*/
|
|
1724
|
+
UNSPECIFIED = 0,
|
|
1725
|
+
/**
|
|
1726
|
+
* @generated from enum value: PRESENCE_EVENT_ACCEPTED = 1;
|
|
1727
|
+
*/
|
|
1728
|
+
ACCEPTED = 1,
|
|
1729
|
+
/**
|
|
1730
|
+
* @generated from enum value: PRESENCE_EVENT_WAITING = 2;
|
|
1731
|
+
*/
|
|
1732
|
+
WAITING = 2,
|
|
1733
|
+
/**
|
|
1734
|
+
* @generated from enum value: PRESENCE_EVENT_PROGRESS = 3;
|
|
1735
|
+
*/
|
|
1736
|
+
PROGRESS = 3,
|
|
1737
|
+
/**
|
|
1738
|
+
* @generated from enum value: PRESENCE_EVENT_BLOCKED = 4;
|
|
1739
|
+
*/
|
|
1740
|
+
BLOCKED = 4,
|
|
1741
|
+
/**
|
|
1742
|
+
* @generated from enum value: PRESENCE_EVENT_COMPLETED = 5;
|
|
1743
|
+
*/
|
|
1744
|
+
COMPLETED = 5,
|
|
1745
|
+
/**
|
|
1746
|
+
* @generated from enum value: PRESENCE_EVENT_FAILED = 6;
|
|
1747
|
+
*/
|
|
1748
|
+
FAILED = 6,
|
|
1749
|
+
/**
|
|
1750
|
+
* @generated from enum value: PRESENCE_EVENT_ESCALATED = 7;
|
|
1751
|
+
*/
|
|
1752
|
+
ESCALATED = 7
|
|
1753
|
+
}
|
|
1754
|
+
/**
|
|
1755
|
+
* Describes the enum agents.v1.PresenceEvent.
|
|
1756
|
+
*/
|
|
1757
|
+
export declare const PresenceEventSchema: GenEnum<PresenceEvent>;
|
|
1018
1758
|
/**
|
|
1019
1759
|
* AgentService manages agent definitions, versioned configuration, and
|
|
1020
1760
|
* cross-agent delegation. Every string agent_id in the platform (meter,
|