@stigmer/protos 1.0.4 → 2.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 (135) hide show
  1. package/ai/stigmer/activity/v1/io_pb.d.ts +109 -0
  2. package/ai/stigmer/activity/v1/io_pb.js +25 -0
  3. package/ai/stigmer/activity/v1/io_pb.js.map +1 -0
  4. package/ai/stigmer/activity/v1/query_connect.d.ts +39 -0
  5. package/ai/stigmer/activity/v1/query_connect.js +46 -0
  6. package/ai/stigmer/activity/v1/query_connect.js.map +1 -0
  7. package/ai/stigmer/activity/v1/query_pb.d.ts +41 -0
  8. package/ai/stigmer/activity/v1/query_pb.js +28 -0
  9. package/ai/stigmer/activity/v1/query_pb.js.map +1 -0
  10. package/ai/stigmer/agentic/agent/v1/version_pb.d.ts +214 -0
  11. package/ai/stigmer/agentic/agent/v1/version_pb.js +43 -0
  12. package/ai/stigmer/agentic/agent/v1/version_pb.js.map +1 -0
  13. package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +20 -15
  14. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js +2 -1
  15. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
  16. package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +14 -0
  17. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +1 -1
  18. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
  19. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +50 -9
  20. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +2 -1
  21. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
  22. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +26 -7
  23. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +4 -4
  24. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
  25. package/ai/stigmer/agentic/agentinstance/v1/command_connect.d.ts +27 -0
  26. package/ai/stigmer/agentic/agentinstance/v1/command_connect.js +28 -0
  27. package/ai/stigmer/agentic/agentinstance/v1/command_connect.js.map +1 -1
  28. package/ai/stigmer/agentic/agentinstance/v1/command_pb.d.ts +27 -0
  29. package/ai/stigmer/agentic/agentinstance/v1/command_pb.js +2 -1
  30. package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -1
  31. package/ai/stigmer/agentic/executioncontext/v1/spec_pb.d.ts +3 -1
  32. package/ai/stigmer/agentic/executioncontext/v1/spec_pb.js +1 -1
  33. package/ai/stigmer/agentic/executioncontext/v1/spec_pb.js.map +1 -1
  34. package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +50 -0
  35. package/ai/stigmer/agentic/session/v1/enum_pb.js +53 -2
  36. package/ai/stigmer/agentic/session/v1/enum_pb.js.map +1 -1
  37. package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +37 -35
  38. package/ai/stigmer/agentic/session/v1/spec_pb.js +1 -1
  39. package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
  40. package/ai/stigmer/agentic/workflow/v1/command_connect.d.ts +44 -0
  41. package/ai/stigmer/agentic/workflow/v1/command_connect.js +46 -0
  42. package/ai/stigmer/agentic/workflow/v1/command_connect.js.map +1 -1
  43. package/ai/stigmer/agentic/workflow/v1/command_pb.d.ts +44 -0
  44. package/ai/stigmer/agentic/workflow/v1/command_pb.js +3 -1
  45. package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
  46. package/ai/stigmer/agentic/workflow/v1/query_connect.d.ts +46 -2
  47. package/ai/stigmer/agentic/workflow/v1/query_connect.js +47 -2
  48. package/ai/stigmer/agentic/workflow/v1/query_connect.js.map +1 -1
  49. package/ai/stigmer/agentic/workflow/v1/query_pb.d.ts +45 -2
  50. package/ai/stigmer/agentic/workflow/v1/query_pb.js +2 -1
  51. package/ai/stigmer/agentic/workflow/v1/query_pb.js.map +1 -1
  52. package/ai/stigmer/agentic/workflow/v1/status_pb.d.ts +22 -0
  53. package/ai/stigmer/agentic/workflow/v1/status_pb.js +1 -1
  54. package/ai/stigmer/agentic/workflow/v1/status_pb.js.map +1 -1
  55. package/ai/stigmer/agentic/workflow/v1/version_pb.d.ts +281 -0
  56. package/ai/stigmer/agentic/workflow/v1/version_pb.js +42 -0
  57. package/ai/stigmer/agentic/workflow/v1/version_pb.js.map +1 -0
  58. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +32 -4
  59. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js +1 -1
  60. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js.map +1 -1
  61. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +44 -25
  62. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +44 -25
  63. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js.map +1 -1
  64. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +44 -25
  65. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js.map +1 -1
  66. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.d.ts +2 -0
  67. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.js +2 -0
  68. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.js.map +1 -1
  69. package/ai/stigmer/agentic/workflowexecution/v1/event_pb.d.ts +83 -5
  70. package/ai/stigmer/agentic/workflowexecution/v1/event_pb.js +13 -8
  71. package/ai/stigmer/agentic/workflowexecution/v1/event_pb.js.map +1 -1
  72. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +234 -4
  73. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +61 -10
  74. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
  75. package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.d.ts +21 -0
  76. package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js +2 -1
  77. package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js.map +1 -1
  78. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.d.ts +28 -0
  79. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js +29 -0
  80. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js.map +1 -1
  81. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.d.ts +28 -0
  82. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js +2 -1
  83. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js.map +1 -1
  84. package/ai/stigmer/billing/v1/enum_pb.d.ts +35 -0
  85. package/ai/stigmer/billing/v1/enum_pb.js +43 -7
  86. package/ai/stigmer/billing/v1/enum_pb.js.map +1 -1
  87. package/ai/stigmer/billing/v1/io_pb.d.ts +13 -1
  88. package/ai/stigmer/billing/v1/io_pb.js +1 -1
  89. package/ai/stigmer/billing/v1/io_pb.js.map +1 -1
  90. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +0 -6
  91. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +1 -7
  92. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  93. package/ai/stigmer/commons/apiresource/enum_pb.d.ts +21 -3
  94. package/ai/stigmer/commons/apiresource/enum_pb.js +21 -3
  95. package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -1
  96. package/ai/stigmer/commons/apiresource/io_pb.d.ts +17 -6
  97. package/ai/stigmer/commons/apiresource/io_pb.js +1 -1
  98. package/ai/stigmer/commons/apiresource/io_pb.js.map +1 -1
  99. package/ai/stigmer/commons/apiresource/metadata_pb.d.ts +24 -0
  100. package/ai/stigmer/commons/apiresource/metadata_pb.js +1 -1
  101. package/ai/stigmer/commons/apiresource/metadata_pb.js.map +1 -1
  102. package/ai/stigmer/iam/invitation/v1/query_connect.d.ts +2 -2
  103. package/ai/stigmer/iam/invitation/v1/query_connect.js +2 -2
  104. package/ai/stigmer/iam/invitation/v1/query_pb.d.ts +2 -2
  105. package/ai/stigmer/iam/invitation/v1/query_pb.js +1 -1
  106. package/ai/stigmer/tenancy/organization/v1/api_pb.js +1 -1
  107. package/ai/stigmer/tenancy/organization/v1/api_pb.js.map +1 -1
  108. package/buf/validate/validate_pb.d.ts +217 -156
  109. package/buf/validate/validate_pb.js +3 -3
  110. package/buf/validate/validate_pb.js.map +1 -1
  111. package/package.json +3 -2
  112. package/ai/stigmer/agentic/runner/v1/api_pb.d.ts +0 -247
  113. package/ai/stigmer/agentic/runner/v1/api_pb.js +0 -30
  114. package/ai/stigmer/agentic/runner/v1/api_pb.js.map +0 -1
  115. package/ai/stigmer/agentic/runner/v1/command_connect.d.ts +0 -198
  116. package/ai/stigmer/agentic/runner/v1/command_connect.js +0 -206
  117. package/ai/stigmer/agentic/runner/v1/command_connect.js.map +0 -1
  118. package/ai/stigmer/agentic/runner/v1/command_pb.d.ts +0 -193
  119. package/ai/stigmer/agentic/runner/v1/command_pb.js +0 -34
  120. package/ai/stigmer/agentic/runner/v1/command_pb.js.map +0 -1
  121. package/ai/stigmer/agentic/runner/v1/enum_pb.d.ts +0 -83
  122. package/ai/stigmer/agentic/runner/v1/enum_pb.js +0 -88
  123. package/ai/stigmer/agentic/runner/v1/enum_pb.js.map +0 -1
  124. package/ai/stigmer/agentic/runner/v1/io_pb.d.ts +0 -640
  125. package/ai/stigmer/agentic/runner/v1/io_pb.js +0 -114
  126. package/ai/stigmer/agentic/runner/v1/io_pb.js.map +0 -1
  127. package/ai/stigmer/agentic/runner/v1/query_connect.d.ts +0 -64
  128. package/ai/stigmer/agentic/runner/v1/query_connect.js +0 -73
  129. package/ai/stigmer/agentic/runner/v1/query_connect.js.map +0 -1
  130. package/ai/stigmer/agentic/runner/v1/query_pb.d.ts +0 -66
  131. package/ai/stigmer/agentic/runner/v1/query_pb.js +0 -24
  132. package/ai/stigmer/agentic/runner/v1/query_pb.js.map +0 -1
  133. package/ai/stigmer/agentic/runner/v1/spec_pb.d.ts +0 -36
  134. package/ai/stigmer/agentic/runner/v1/spec_pb.js +0 -14
  135. package/ai/stigmer/agentic/runner/v1/spec_pb.js.map +0 -1
@@ -0,0 +1,109 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file ai/stigmer/activity/v1/io.proto.
6
+ */
7
+ export declare const file_ai_stigmer_activity_v1_io: GenFile;
8
+ /**
9
+ * RecentActivityEntry is a lightweight summary of either an agent session
10
+ * or a workflow execution, used for the sidebar "recents" list.
11
+ *
12
+ * This is a projection — not the full resource. Clients that need the
13
+ * complete resource should call the specific get() RPC for the resource kind.
14
+ *
15
+ * @generated from message ai.stigmer.activity.v1.RecentActivityEntry
16
+ */
17
+ export type RecentActivityEntry = Message<"ai.stigmer.activity.v1.RecentActivityEntry"> & {
18
+ /**
19
+ * Resource ID (session ID or workflow execution ID).
20
+ *
21
+ * @generated from field: string id = 1;
22
+ */
23
+ id: string;
24
+ /**
25
+ * Discriminator: "session" or "workflow_execution".
26
+ *
27
+ * @generated from field: string type = 2;
28
+ */
29
+ type: string;
30
+ /**
31
+ * Human-readable label for display.
32
+ * For sessions: the conversation subject.
33
+ * For workflow executions: the execution name.
34
+ *
35
+ * @generated from field: string subject = 3;
36
+ */
37
+ subject: string;
38
+ /**
39
+ * When this entry was last meaningfully updated.
40
+ * Used for interleaved sort (newest first).
41
+ *
42
+ * @generated from field: google.protobuf.Timestamp updated_at = 4;
43
+ */
44
+ updatedAt?: Timestamp;
45
+ /**
46
+ * Execution phase label for workflow executions (e.g., "completed", "failed").
47
+ * Empty for sessions.
48
+ *
49
+ * @generated from field: string status = 5;
50
+ */
51
+ status: string;
52
+ };
53
+ /**
54
+ * Describes the message ai.stigmer.activity.v1.RecentActivityEntry.
55
+ * Use `create(RecentActivityEntrySchema)` to create a new message.
56
+ */
57
+ export declare const RecentActivityEntrySchema: GenMessage<RecentActivityEntry>;
58
+ /**
59
+ * ListRecentActivityRequest specifies parameters for the unified recents query.
60
+ *
61
+ * @generated from message ai.stigmer.activity.v1.ListRecentActivityRequest
62
+ */
63
+ export type ListRecentActivityRequest = Message<"ai.stigmer.activity.v1.ListRecentActivityRequest"> & {
64
+ /**
65
+ * Maximum entries to return. Defaults to 30.
66
+ *
67
+ * @generated from field: int32 page_size = 1;
68
+ */
69
+ pageSize: number;
70
+ /**
71
+ * Organization slug to scope the query.
72
+ *
73
+ * When provided, the handler attempts an org-scoped fast path: if the
74
+ * caller is a member of this organization, it queries MongoDB directly
75
+ * with `metadata.org = org` instead of enumerating per-resource FGA
76
+ * tuples. This turns an O(n) FGA reverse-index scan into a single
77
+ * membership check + indexed MongoDB query.
78
+ *
79
+ * When empty, falls back to per-resource FGA enumeration (slower but
80
+ * works regardless of org context).
81
+ *
82
+ * @generated from field: string org = 2;
83
+ */
84
+ org: string;
85
+ };
86
+ /**
87
+ * Describes the message ai.stigmer.activity.v1.ListRecentActivityRequest.
88
+ * Use `create(ListRecentActivityRequestSchema)` to create a new message.
89
+ */
90
+ export declare const ListRecentActivityRequestSchema: GenMessage<ListRecentActivityRequest>;
91
+ /**
92
+ * ListRecentActivityResponse contains merged, sorted recent activity.
93
+ *
94
+ * @generated from message ai.stigmer.activity.v1.ListRecentActivityResponse
95
+ */
96
+ export type ListRecentActivityResponse = Message<"ai.stigmer.activity.v1.ListRecentActivityResponse"> & {
97
+ /**
98
+ * Entries sorted by updated_at descending, interleaving sessions
99
+ * and workflow executions.
100
+ *
101
+ * @generated from field: repeated ai.stigmer.activity.v1.RecentActivityEntry entries = 1;
102
+ */
103
+ entries: RecentActivityEntry[];
104
+ };
105
+ /**
106
+ * Describes the message ai.stigmer.activity.v1.ListRecentActivityResponse.
107
+ * Use `create(ListRecentActivityResponseSchema)` to create a new message.
108
+ */
109
+ export declare const ListRecentActivityResponseSchema: GenMessage<ListRecentActivityResponse>;
@@ -0,0 +1,25 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/activity/v1/io.proto (package ai.stigmer.activity.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
6
+ /**
7
+ * Describes the file ai/stigmer/activity/v1/io.proto.
8
+ */
9
+ export const file_ai_stigmer_activity_v1_io = /*@__PURE__*/ fileDesc("Ch9haS9zdGlnbWVyL2FjdGl2aXR5L3YxL2lvLnByb3RvEhZhaS5zdGlnbWVyLmFjdGl2aXR5LnYxIoABChNSZWNlbnRBY3Rpdml0eUVudHJ5EgoKAmlkGAEgASgJEgwKBHR5cGUYAiABKAkSDwoHc3ViamVjdBgDIAEoCRIuCgp1cGRhdGVkX2F0GAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIOCgZzdGF0dXMYBSABKAkiOwoZTGlzdFJlY2VudEFjdGl2aXR5UmVxdWVzdBIRCglwYWdlX3NpemUYASABKAUSCwoDb3JnGAIgASgJIloKGkxpc3RSZWNlbnRBY3Rpdml0eVJlc3BvbnNlEjwKB2VudHJpZXMYASADKAsyKy5haS5zdGlnbWVyLmFjdGl2aXR5LnYxLlJlY2VudEFjdGl2aXR5RW50cnliBnByb3RvMw", [file_google_protobuf_timestamp]);
10
+ /**
11
+ * Describes the message ai.stigmer.activity.v1.RecentActivityEntry.
12
+ * Use `create(RecentActivityEntrySchema)` to create a new message.
13
+ */
14
+ export const RecentActivityEntrySchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_activity_v1_io, 0);
15
+ /**
16
+ * Describes the message ai.stigmer.activity.v1.ListRecentActivityRequest.
17
+ * Use `create(ListRecentActivityRequestSchema)` to create a new message.
18
+ */
19
+ export const ListRecentActivityRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_activity_v1_io, 1);
20
+ /**
21
+ * Describes the message ai.stigmer.activity.v1.ListRecentActivityResponse.
22
+ * Use `create(ListRecentActivityResponseSchema)` to create a new message.
23
+ */
24
+ export const ListRecentActivityResponseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_activity_v1_io, 2);
25
+ //# sourceMappingURL=io_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,uGAAuG;AACvG,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAY,aAAa,CAClE,QAAQ,CAAC,odAAod,EAAE,CAAC,8BAA8B,CAAC,CAAC,CAAC;AAoDngB;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAgCjD;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAiBjD;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * ActivityQueryController provides cross-resource read queries for the
3
+ * activity feed — the unified "recents" sidebar that merges sessions and
4
+ * workflow executions into a single time-ordered list.
5
+ *
6
+ * This service exists because the recents list spans two bounded contexts
7
+ * (session and workflow_execution). A cross-cutting query service avoids
8
+ * forcing the client to make two parallel calls and merge client-side.
9
+ *
10
+ * @internal
11
+ * Authorization is handled in-handler: the implementation queries FGA for
12
+ * authorized session and workflow_execution IDs, then runs a single merged
13
+ * MongoDB query.
14
+ *
15
+ * @generated from service ai.stigmer.activity.v1.ActivityQueryController
16
+ */
17
+ export declare const ActivityQueryController: {
18
+ readonly typeName: "ai.stigmer.activity.v1.ActivityQueryController";
19
+ readonly methods: {
20
+ /**
21
+ * List recent activity across sessions and workflow executions.
22
+ *
23
+ * Returns a merged, time-sorted list of the caller's most recent
24
+ * sessions and workflow executions. Authorization filtering is applied
25
+ * server-side via FGA (cloud) or returned unfiltered (OSS).
26
+ *
27
+ * @internal
28
+ * Authorization is handled in-handler via FGA-filtered queries.
29
+ *
30
+ * @generated from rpc ai.stigmer.activity.v1.ActivityQueryController.listRecentActivity
31
+ */
32
+ readonly listRecentActivity: {
33
+ readonly name: "listRecentActivity";
34
+ readonly I: any;
35
+ readonly O: any;
36
+ readonly kind: any;
37
+ };
38
+ };
39
+ };
@@ -0,0 +1,46 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/activity/v1/query.proto (package ai.stigmer.activity.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { ListRecentActivityRequest, ListRecentActivityResponse } from "./io_pbjs";
6
+ import { MethodKind } from "@bufbuild/protobuf";
7
+ /**
8
+ * ActivityQueryController provides cross-resource read queries for the
9
+ * activity feed — the unified "recents" sidebar that merges sessions and
10
+ * workflow executions into a single time-ordered list.
11
+ *
12
+ * This service exists because the recents list spans two bounded contexts
13
+ * (session and workflow_execution). A cross-cutting query service avoids
14
+ * forcing the client to make two parallel calls and merge client-side.
15
+ *
16
+ * @internal
17
+ * Authorization is handled in-handler: the implementation queries FGA for
18
+ * authorized session and workflow_execution IDs, then runs a single merged
19
+ * MongoDB query.
20
+ *
21
+ * @generated from service ai.stigmer.activity.v1.ActivityQueryController
22
+ */
23
+ export const ActivityQueryController = {
24
+ typeName: "ai.stigmer.activity.v1.ActivityQueryController",
25
+ methods: {
26
+ /**
27
+ * List recent activity across sessions and workflow executions.
28
+ *
29
+ * Returns a merged, time-sorted list of the caller's most recent
30
+ * sessions and workflow executions. Authorization filtering is applied
31
+ * server-side via FGA (cloud) or returned unfiltered (OSS).
32
+ *
33
+ * @internal
34
+ * Authorization is handled in-handler via FGA-filtered queries.
35
+ *
36
+ * @generated from rpc ai.stigmer.activity.v1.ActivityQueryController.listRecentActivity
37
+ */
38
+ listRecentActivity: {
39
+ name: "listRecentActivity",
40
+ I: ListRecentActivityRequest,
41
+ O: ListRecentActivityResponse,
42
+ kind: MethodKind.Unary,
43
+ },
44
+ }
45
+ };
46
+ //# sourceMappingURL=query_connect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0GAA0G;AAC1G,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,gDAAgD;IAC1D,OAAO,EAAE;QACP;;;;;;;;;;;WAWG;QACH,kBAAkB,EAAE;YAClB,IAAI,EAAE,oBAAoB;YAC1B,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,0BAA0B;YAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -0,0 +1,41 @@
1
+ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { ListRecentActivityRequestSchema, ListRecentActivityResponseSchema } from "./io_pb.js";
3
+ /**
4
+ * Describes the file ai/stigmer/activity/v1/query.proto.
5
+ */
6
+ export declare const file_ai_stigmer_activity_v1_query: GenFile;
7
+ /**
8
+ * ActivityQueryController provides cross-resource read queries for the
9
+ * activity feed — the unified "recents" sidebar that merges sessions and
10
+ * workflow executions into a single time-ordered list.
11
+ *
12
+ * This service exists because the recents list spans two bounded contexts
13
+ * (session and workflow_execution). A cross-cutting query service avoids
14
+ * forcing the client to make two parallel calls and merge client-side.
15
+ *
16
+ * @internal
17
+ * Authorization is handled in-handler: the implementation queries FGA for
18
+ * authorized session and workflow_execution IDs, then runs a single merged
19
+ * MongoDB query.
20
+ *
21
+ * @generated from service ai.stigmer.activity.v1.ActivityQueryController
22
+ */
23
+ export declare const ActivityQueryController: GenService<{
24
+ /**
25
+ * List recent activity across sessions and workflow executions.
26
+ *
27
+ * Returns a merged, time-sorted list of the caller's most recent
28
+ * sessions and workflow executions. Authorization filtering is applied
29
+ * server-side via FGA (cloud) or returned unfiltered (OSS).
30
+ *
31
+ * @internal
32
+ * Authorization is handled in-handler via FGA-filtered queries.
33
+ *
34
+ * @generated from rpc ai.stigmer.activity.v1.ActivityQueryController.listRecentActivity
35
+ */
36
+ listRecentActivity: {
37
+ methodKind: "unary";
38
+ input: typeof ListRecentActivityRequestSchema;
39
+ output: typeof ListRecentActivityResponseSchema;
40
+ };
41
+ }>;
@@ -0,0 +1,28 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/activity/v1/query.proto (package ai.stigmer.activity.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_activity_v1_io } from "./io_pb.js";
6
+ import { file_ai_stigmer_commons_rpc_method_options } from "../../commons/rpc/method_options_pb.js";
7
+ /**
8
+ * Describes the file ai/stigmer/activity/v1/query.proto.
9
+ */
10
+ export const file_ai_stigmer_activity_v1_query = /*@__PURE__*/ fileDesc("CiJhaS9zdGlnbWVyL2FjdGl2aXR5L3YxL3F1ZXJ5LnByb3RvEhZhaS5zdGlnbWVyLmFjdGl2aXR5LnYxMp0BChdBY3Rpdml0eVF1ZXJ5Q29udHJvbGxlchKBAQoSbGlzdFJlY2VudEFjdGl2aXR5EjEuYWkuc3RpZ21lci5hY3Rpdml0eS52MS5MaXN0UmVjZW50QWN0aXZpdHlSZXF1ZXN0GjIuYWkuc3RpZ21lci5hY3Rpdml0eS52MS5MaXN0UmVjZW50QWN0aXZpdHlSZXNwb25zZSIE0LgYAWIGcHJvdG8z", [file_ai_stigmer_activity_v1_io, file_ai_stigmer_commons_rpc_method_options]);
11
+ /**
12
+ * ActivityQueryController provides cross-resource read queries for the
13
+ * activity feed — the unified "recents" sidebar that merges sessions and
14
+ * workflow executions into a single time-ordered list.
15
+ *
16
+ * This service exists because the recents list spans two bounded contexts
17
+ * (session and workflow_execution). A cross-cutting query service avoids
18
+ * forcing the client to make two parallel calls and merge client-side.
19
+ *
20
+ * @internal
21
+ * Authorization is handled in-handler: the implementation queries FGA for
22
+ * authorized session and workflow_execution IDs, then runs a single merged
23
+ * MongoDB query.
24
+ *
25
+ * @generated from service ai.stigmer.activity.v1.ActivityQueryController
26
+ */
27
+ export const ActivityQueryController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_activity_v1_query, 0);
28
+ //# sourceMappingURL=query_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0GAA0G;AAC1G,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEpG;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAY,aAAa,CACrE,QAAQ,CAAC,kTAAkT,EAAE,CAAC,8BAA8B,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE7Y;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAkB/B,aAAa,CAChB,WAAW,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,214 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { AgentSpec } from "./spec_pb.js";
3
+ import type { ApiResourceAuditActor } from "../../../commons/apiresource/status_pb.js";
4
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file ai/stigmer/agentic/agent/v1/version.proto.
8
+ */
9
+ export declare const file_ai_stigmer_agentic_agent_v1_version: GenFile;
10
+ /**
11
+ * AgentVersionEntry represents a single historical version of an agent.
12
+ *
13
+ * Each apply/update that changes the agent spec creates a new immutable
14
+ * version entry. The version is identified by its content hash (SHA-256 of
15
+ * the canonical protojson representation of AgentSpec).
16
+ *
17
+ * @internal
18
+ * NOT YET IMPLEMENTED — design placeholder for the agent versioning phase.
19
+ *
20
+ * @since Agent Versioning (future)
21
+ *
22
+ * @generated from message ai.stigmer.agentic.agent.v1.AgentVersionEntry
23
+ */
24
+ export type AgentVersionEntry = Message<"ai.stigmer.agentic.agent.v1.AgentVersionEntry"> & {
25
+ /**
26
+ * SHA-256 hash of the canonical protojson of AgentSpec.
27
+ *
28
+ * @generated from field: string version_hash = 1;
29
+ */
30
+ versionHash: string;
31
+ /**
32
+ * When this version was created.
33
+ *
34
+ * @generated from field: google.protobuf.Timestamp applied_at = 2;
35
+ */
36
+ appliedAt?: Timestamp;
37
+ /**
38
+ * Who created this version.
39
+ *
40
+ * @generated from field: ai.stigmer.commons.apiresource.ApiResourceAuditActor applied_by = 3;
41
+ */
42
+ appliedBy?: ApiResourceAuditActor;
43
+ /**
44
+ * Tag assigned to this version.
45
+ *
46
+ * @generated from field: string tag = 4;
47
+ */
48
+ tag: string;
49
+ /**
50
+ * Whether this is the currently active version.
51
+ *
52
+ * @generated from field: bool is_current = 5;
53
+ */
54
+ isCurrent: boolean;
55
+ /**
56
+ * Human-readable message describing what changed.
57
+ *
58
+ * @generated from field: string message = 6;
59
+ */
60
+ message: string;
61
+ /**
62
+ * Full agent spec snapshot for this version.
63
+ * Unlike workflows (which store YAML), agents store the typed proto spec
64
+ * directly since AgentSpec has no Struct fields and is self-describing.
65
+ *
66
+ * @generated from field: ai.stigmer.agentic.agent.v1.AgentSpec spec_snapshot = 7;
67
+ */
68
+ specSnapshot?: AgentSpec;
69
+ /**
70
+ * Git provenance tracking.
71
+ *
72
+ * @generated from field: ai.stigmer.agentic.agent.v1.GitProvenance git_provenance = 8;
73
+ */
74
+ gitProvenance?: GitProvenance;
75
+ };
76
+ /**
77
+ * Describes the message ai.stigmer.agentic.agent.v1.AgentVersionEntry.
78
+ * Use `create(AgentVersionEntrySchema)` to create a new message.
79
+ */
80
+ export declare const AgentVersionEntrySchema: GenMessage<AgentVersionEntry>;
81
+ /**
82
+ * GitProvenance tracks the git origin of an agent version.
83
+ *
84
+ * @since Agent Versioning (future)
85
+ *
86
+ * @generated from message ai.stigmer.agentic.agent.v1.GitProvenance
87
+ */
88
+ export type GitProvenance = Message<"ai.stigmer.agentic.agent.v1.GitProvenance"> & {
89
+ /**
90
+ * @generated from field: string remote_url = 1;
91
+ */
92
+ remoteUrl: string;
93
+ /**
94
+ * @generated from field: string ref = 2;
95
+ */
96
+ ref: string;
97
+ /**
98
+ * @generated from field: string commit = 3;
99
+ */
100
+ commit: string;
101
+ /**
102
+ * @generated from field: string subdir = 4;
103
+ */
104
+ subdir: string;
105
+ };
106
+ /**
107
+ * Describes the message ai.stigmer.agentic.agent.v1.GitProvenance.
108
+ * Use `create(GitProvenanceSchema)` to create a new message.
109
+ */
110
+ export declare const GitProvenanceSchema: GenMessage<GitProvenance>;
111
+ /**
112
+ * ListAgentVersionsInput requests the version history for an agent.
113
+ *
114
+ * @since Agent Versioning (future)
115
+ *
116
+ * @generated from message ai.stigmer.agentic.agent.v1.ListAgentVersionsInput
117
+ */
118
+ export type ListAgentVersionsInput = Message<"ai.stigmer.agentic.agent.v1.ListAgentVersionsInput"> & {
119
+ /**
120
+ * @generated from field: string org = 1;
121
+ */
122
+ org: string;
123
+ /**
124
+ * @generated from field: string slug = 2;
125
+ */
126
+ slug: string;
127
+ /**
128
+ * @generated from field: string page_token = 3;
129
+ */
130
+ pageToken: string;
131
+ /**
132
+ * @generated from field: int32 page_size = 4;
133
+ */
134
+ pageSize: number;
135
+ };
136
+ /**
137
+ * Describes the message ai.stigmer.agentic.agent.v1.ListAgentVersionsInput.
138
+ * Use `create(ListAgentVersionsInputSchema)` to create a new message.
139
+ */
140
+ export declare const ListAgentVersionsInputSchema: GenMessage<ListAgentVersionsInput>;
141
+ /**
142
+ * ListAgentVersionsResponse contains a page of agent version history.
143
+ *
144
+ * @since Agent Versioning (future)
145
+ *
146
+ * @generated from message ai.stigmer.agentic.agent.v1.ListAgentVersionsResponse
147
+ */
148
+ export type ListAgentVersionsResponse = Message<"ai.stigmer.agentic.agent.v1.ListAgentVersionsResponse"> & {
149
+ /**
150
+ * @generated from field: repeated ai.stigmer.agentic.agent.v1.AgentVersionEntry versions = 1;
151
+ */
152
+ versions: AgentVersionEntry[];
153
+ /**
154
+ * @generated from field: string next_page_token = 2;
155
+ */
156
+ nextPageToken: string;
157
+ /**
158
+ * @generated from field: int32 total_count = 3;
159
+ */
160
+ totalCount: number;
161
+ };
162
+ /**
163
+ * Describes the message ai.stigmer.agentic.agent.v1.ListAgentVersionsResponse.
164
+ * Use `create(ListAgentVersionsResponseSchema)` to create a new message.
165
+ */
166
+ export declare const ListAgentVersionsResponseSchema: GenMessage<ListAgentVersionsResponse>;
167
+ /**
168
+ * GetAgentVersionInput requests a specific historical version.
169
+ *
170
+ * @since Agent Versioning (future)
171
+ *
172
+ * @generated from message ai.stigmer.agentic.agent.v1.GetAgentVersionInput
173
+ */
174
+ export type GetAgentVersionInput = Message<"ai.stigmer.agentic.agent.v1.GetAgentVersionInput"> & {
175
+ /**
176
+ * @generated from field: string agent_id = 1;
177
+ */
178
+ agentId: string;
179
+ /**
180
+ * @generated from field: string version_hash = 2;
181
+ */
182
+ versionHash: string;
183
+ };
184
+ /**
185
+ * Describes the message ai.stigmer.agentic.agent.v1.GetAgentVersionInput.
186
+ * Use `create(GetAgentVersionInputSchema)` to create a new message.
187
+ */
188
+ export declare const GetAgentVersionInputSchema: GenMessage<GetAgentVersionInput>;
189
+ /**
190
+ * TagAgentVersionInput assigns or moves a tag to a specific agent version.
191
+ *
192
+ * @since Agent Versioning (future)
193
+ *
194
+ * @generated from message ai.stigmer.agentic.agent.v1.TagAgentVersionInput
195
+ */
196
+ export type TagAgentVersionInput = Message<"ai.stigmer.agentic.agent.v1.TagAgentVersionInput"> & {
197
+ /**
198
+ * @generated from field: string agent_id = 1;
199
+ */
200
+ agentId: string;
201
+ /**
202
+ * @generated from field: string version_hash = 2;
203
+ */
204
+ versionHash: string;
205
+ /**
206
+ * @generated from field: string tag = 3;
207
+ */
208
+ tag: string;
209
+ };
210
+ /**
211
+ * Describes the message ai.stigmer.agentic.agent.v1.TagAgentVersionInput.
212
+ * Use `create(TagAgentVersionInputSchema)` to create a new message.
213
+ */
214
+ export declare const TagAgentVersionInputSchema: GenMessage<TagAgentVersionInput>;
@@ -0,0 +1,43 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/agentic/agent/v1/version.proto (package ai.stigmer.agentic.agent.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_agentic_agent_v1_spec } from "./spec_pb.js";
6
+ import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/apiresource/status_pb.js";
7
+ import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
8
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ /**
10
+ * Describes the file ai/stigmer/agentic/agent/v1/version.proto.
11
+ */
12
+ export const file_ai_stigmer_agentic_agent_v1_version = /*@__PURE__*/ fileDesc("Cilha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gx2ZXJzaW9uX2hhc2gYAiABKAlCFbpIEnIQMg5eW2EtZjAtOV17NjR9JCKGAQoUVGFnQWdlbnRWZXJzaW9uSW5wdXQSGAoIYWdlbnRfaWQYASABKAlCBrpIA8gBARIrCgx2ZXJzaW9uX2hhc2gYAiABKAlCFbpIEnIQMg5eW2EtZjAtOV17NjR9JBInCgN0YWcYAyABKAlCGrpIF3IVEAEyEV5bYS16QS1aMC05Ll8tXSskYgZwcm90bzM", [file_ai_stigmer_agentic_agent_v1_spec, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate, file_google_protobuf_timestamp]);
13
+ /**
14
+ * Describes the message ai.stigmer.agentic.agent.v1.AgentVersionEntry.
15
+ * Use `create(AgentVersionEntrySchema)` to create a new message.
16
+ */
17
+ export const AgentVersionEntrySchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_version, 0);
18
+ /**
19
+ * Describes the message ai.stigmer.agentic.agent.v1.GitProvenance.
20
+ * Use `create(GitProvenanceSchema)` to create a new message.
21
+ */
22
+ export const GitProvenanceSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_version, 1);
23
+ /**
24
+ * Describes the message ai.stigmer.agentic.agent.v1.ListAgentVersionsInput.
25
+ * Use `create(ListAgentVersionsInputSchema)` to create a new message.
26
+ */
27
+ export const ListAgentVersionsInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_version, 2);
28
+ /**
29
+ * Describes the message ai.stigmer.agentic.agent.v1.ListAgentVersionsResponse.
30
+ * Use `create(ListAgentVersionsResponseSchema)` to create a new message.
31
+ */
32
+ export const ListAgentVersionsResponseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_version, 3);
33
+ /**
34
+ * Describes the message ai.stigmer.agentic.agent.v1.GetAgentVersionInput.
35
+ * Use `create(GetAgentVersionInputSchema)` to create a new message.
36
+ */
37
+ export const GetAgentVersionInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_version, 4);
38
+ /**
39
+ * Describes the message ai.stigmer.agentic.agent.v1.TagAgentVersionInput.
40
+ * Use `create(TagAgentVersionInputSchema)` to create a new message.
41
+ */
42
+ export const TagAgentVersionInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_version, 5);
43
+ //# sourceMappingURL=version_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/version_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,cAAc,CAAC;AAErE,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,6yCAA6yC,EAAE,CAAC,qCAAqC,EAAE,0CAA0C,EAAE,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AA4E38C;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AA+B3D;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AA+B3D;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AA0B3D;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAqB3D;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AA0B3D;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
@@ -7,11 +7,11 @@ import type { AgentMessage } from "./message_pb.js";
7
7
  import type { AgentExecutionSpec } from "./spec_pb.js";
8
8
  import type { SubAgentExecution } from "./subagent_pb.js";
9
9
  import type { TodoItem } from "./todo_pb.js";
10
- import type { RunnerUsageSummary } from "./usage_pb.js";
10
+ import type { StreamingUsageSummary } from "./usage_pb.js";
11
11
  import type { WorkspaceWriteBack } from "./writeback_pb.js";
12
12
  import type { ApiResourceMetadata } from "../../../commons/apiresource/metadata_pb.js";
13
13
  import type { ApiResourceAudit } from "../../../commons/apiresource/status_pb.js";
14
- import type { Message } from "@bufbuild/protobuf";
14
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
15
15
  /**
16
16
  * Describes the file ai/stigmer/agentic/agentexecution/v1/api.proto.
17
17
  */
@@ -263,24 +263,29 @@ export type AgentExecutionStatus = Message<"ai.stigmer.agentic.agentexecution.v1
263
263
  */
264
264
  setupProgress?: SetupProgress;
265
265
  /**
266
- * ID of the Runner that executed this execution.
266
+ * Streaming usage summary, updated progressively during execution.
267
267
  *
268
- * Set once when the execution is dispatched to a runner; immutable after.
269
- * For cloud executions, this references the system-managed ephemeral runner
270
- * that was auto-created for this execution. For local executions, this
271
- * references the user-created persistent runner selected via the session.
272
- *
273
- * Used for observability: "which runner handled this work?"
274
- *
275
- * @generated from field: string runner_id = 19;
268
+ * @generated from field: ai.stigmer.agentic.agentexecution.v1.StreamingUsageSummary streaming_usage = 20;
276
269
  */
277
- runnerId: string;
270
+ streamingUsage?: StreamingUsageSummary;
278
271
  /**
279
- * Runner-reported usage summary, updated progressively during streaming.
272
+ * Structured output extracted from the agent's final response.
273
+ *
274
+ * Populated when ExecutionConfig.structured_output_schema was set and the
275
+ * runner successfully extracted schema-conforming data. Only meaningful
276
+ * when phase is EXECUTION_COMPLETED.
277
+ *
278
+ * For native harness: populated from LangGraph graphState.structuredResponse
279
+ * (ToolStrategy enforcement). For Cursor harness: populated from 3-tier
280
+ * extraction (JSON.parse → fence extraction → extraction LLM fallback).
281
+ *
282
+ * Consumers: frontend architect/refine hooks read this instead of parsing
283
+ * YAML from messages. Workflow callback path reads structured_output from
284
+ * the Temporal activity result (separate channel, same data).
280
285
  *
281
- * @generated from field: ai.stigmer.agentic.agentexecution.v1.RunnerUsageSummary runner_usage = 20;
286
+ * @generated from field: google.protobuf.Struct structured_output = 21;
282
287
  */
283
- runnerUsage?: RunnerUsageSummary;
288
+ structuredOutput?: JsonObject;
284
289
  };
285
290
  /**
286
291
  * Describes the message ai.stigmer.agentic.agentexecution.v1.AgentExecutionStatus.
@@ -15,10 +15,11 @@ import { file_ai_stigmer_agentic_agentexecution_v1_writeback } from "./writeback
15
15
  import { file_ai_stigmer_commons_apiresource_metadata } from "../../../commons/apiresource/metadata_pb.js";
16
16
  import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/apiresource/status_pb.js";
17
17
  import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
18
+ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
18
19
  /**
19
20
  * Describes the file ai/stigmer/agentic/agentexecution/v1/api.proto.
20
21
  */
21
- export const file_ai_stigmer_agentic_agentexecution_v1_api = /*@__PURE__*/ fileDesc("Ci5haS9zdGlnbWVyL2FnZW50aWMvYWdlbnRleGVjdXRpb24vdjEvYXBpLnByb3RvEiRhaS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEiywIKDkFnZW50RXhlY3V0aW9uEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlb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gLMj4uYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLlJlc29sdmVkRXhlY3V0aW9uQ29udGV4dBJQChFwZW5kaW5nX2FwcHJvdmFscxgQIAMoCzI1LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5QZW5kaW5nQXBwcm92YWwSRwoMY29udGV4dF9pbmZvGA4gASgLMjEuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLkNvbnRleHRJbmZvEkoKCWFydGlmYWN0cxgPIAMoCzI3LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5FeGVjdXRpb25BcnRpZmFjdBJXChV3b3Jrc3BhY2Vfd3JpdGVfYmFja3MYESADKAsyOC5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuV29ya3NwYWNlV3JpdGVCYWNrEksKDnNldHVwX3Byb2dyZXNzGBIgASgLMjMuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLlNldHVwUHJvZ3Jlc3MSEQoJcnVubmVyX2lkGBMgASgJEk4KDHJ1bm5lcl91c2FnZRgUIAEoCzI4LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5SdW5uZXJVc2FnZVN1bW1hcnkaXAoKVG9kb3NFbnRyeRILCgNrZXkYASABKAkSPQoFdmFsdWUYAiABKAsyLi5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuVG9kb0l0ZW06AjgBIiYKDVNldHVwUHJvZ3Jlc3MSFQoNY3VycmVudF9waGFzZRgBIAEoCWIGcHJvdG8z", [file_ai_stigmer_agentic_agentexecution_v1_approval, file_ai_stigmer_agentic_agentexecution_v1_artifact, file_ai_stigmer_agentic_agentexecution_v1_context, file_ai_stigmer_agentic_agentexecution_v1_enum, file_ai_stigmer_agentic_agentexecution_v1_message, file_ai_stigmer_agentic_agentexecution_v1_spec, file_ai_stigmer_agentic_agentexecution_v1_subagent, file_ai_stigmer_agentic_agentexecution_v1_todo, file_ai_stigmer_agentic_agentexecution_v1_usage, file_ai_stigmer_agentic_agentexecution_v1_writeback, file_ai_stigmer_commons_apiresource_metadata, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate]);
22
+ export const file_ai_stigmer_agentic_agentexecution_v1_api = /*@__PURE__*/ fileDesc("Ci5haS9zdGlnbWVyL2FnZW50aWMvYWdlbnRleGVjdXRpb24vdjEvYXBpLnByb3RvEiRhaS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEiywIKDkFnZW50RXhlY3V0aW9uEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlbnRpYy5zdGlnbWVyLmFpL3YxEiMKBGtpbmQYAiABKAlCFbpIEnIQCg5BZ2VudEV4ZWN1dGlvbhJNCghtZXRhZGF0YRgDIAEoCzIzLmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZU1ldGFkYXRhQga6SAPIAQESRgoEc3BlYxgEIAEoCzI4LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5BZ2VudEV4ZWN1dGlvblNwZWMSSgoGc3RhdHVzGAUgASgLMjouYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLkFnZW50RXhlY3V0aW9uU3RhdHVzIrkJChRBZ2VudEV4ZWN1dGlvblN0YXR1cxI/CgVhdWRpdBhjIAEoCzIwLmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZUF1ZGl0EkQKCG1lc3NhZ2VzGAEgAygLMjIuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLkFnZW50TWVzc2FnZRJNCgVwaGFzZRgCIAEoDjI0LmFpLnN0aWdt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zYWdlGBQgASgLMjsuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLlN0cmVhbWluZ1VzYWdlU3VtbWFyeRIyChFzdHJ1Y3R1cmVkX291dHB1dBgVIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QaXAoKVG9kb3NFbnRyeRILCgNrZXkYASABKAkSPQoFdmFsdWUYAiABKAsyLi5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuVG9kb0l0ZW06AjgBIiYKDVNldHVwUHJvZ3Jlc3MSFQoNY3VycmVudF9waGFzZRgBIAEoCWIGcHJvdG8z", [file_ai_stigmer_agentic_agentexecution_v1_approval, file_ai_stigmer_agentic_agentexecution_v1_artifact, file_ai_stigmer_agentic_agentexecution_v1_context, file_ai_stigmer_agentic_agentexecution_v1_enum, file_ai_stigmer_agentic_agentexecution_v1_message, file_ai_stigmer_agentic_agentexecution_v1_spec, file_ai_stigmer_agentic_agentexecution_v1_subagent, file_ai_stigmer_agentic_agentexecution_v1_todo, file_ai_stigmer_agentic_agentexecution_v1_usage, file_ai_stigmer_agentic_agentexecution_v1_writeback, file_ai_stigmer_commons_apiresource_metadata, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate, file_google_protobuf_struct]);
22
23
  /**
23
24
  * Describes the message ai.stigmer.agentic.agentexecution.v1.AgentExecution.
24
25
  * Use `create(AgentExecutionSchema)` to create a new message.