@stigmer/protos 3.12.0 → 3.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/stigmer/agentic/agent/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/agent/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +17 -9
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +6 -14
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.d.ts +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.d.ts +2 -2
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +2 -2
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +2 -2
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.d.ts +0 -135
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.js +3 -13
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +20 -5
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/agentinstance/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.d.ts +8 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.js +8 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.d.ts +8 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentshare/v1/spec_pb.d.ts +8 -2
- package/ai/stigmer/agentic/agentshare/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/artifact/v1/api_pb.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_connect.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_connect.js +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_pb.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/artifact/v1/io_pb.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/spec_pb.d.ts +1 -1
- package/ai/stigmer/agentic/environment/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/environment/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.d.ts +14 -3
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +14 -3
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +14 -3
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.d.ts +2 -2
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.d.ts +6 -0
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.d.ts +12 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.js +12 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.d.ts +12 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +20 -7
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +38 -25
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js +10 -3
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/workspace_pb.d.ts +8 -5
- package/ai/stigmer/agentic/session/v1/workspace_pb.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/query_connect.d.ts +1 -1
- package/ai/stigmer/agentic/skill/v1/query_connect.js +1 -1
- package/ai/stigmer/agentic/skill/v1/query_pb.d.ts +1 -1
- package/ai/stigmer/agentic/workflow/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/workflow/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +4 -4
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/event_pb.d.ts +6 -6
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +2 -2
- package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.d.ts +20 -14
- package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/metadata_pb.d.ts +8 -0
- package/ai/stigmer/commons/apiresource/metadata_pb.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/token_pb.d.ts +19 -8
- package/ai/stigmer/iam/platformclient/v1/token_pb.js.map +1 -1
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.d.ts +0 -10
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.js +1 -1
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.js.map +1 -1
- package/grpc/health/v1/health_connect.d.ts +75 -0
- package/grpc/health/v1/health_connect.js +97 -0
- package/grpc/health/v1/health_connect.js.map +1 -0
- package/grpc/health/v1/health_pb.d.ts +157 -0
- package/grpc/health/v1/health_pb.js +75 -0
- package/grpc/health/v1/health_pb.js.map +1 -0
- package/package.json +1 -1
|
@@ -11,7 +11,6 @@ export declare const file_ai_stigmer_agentic_agent_v1_api: GenFile;
|
|
|
11
11
|
* Agent defines an AI assistant's identity, tools, skills, and delegation model.
|
|
12
12
|
*
|
|
13
13
|
* @internal
|
|
14
|
-
* Uses Graphton configuration for state management.
|
|
15
14
|
*
|
|
16
15
|
* @generated from message ai.stigmer.agentic.agent.v1.Agent
|
|
17
16
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,kHAAkH;AAClH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,cAAc,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,gBAAgB,CAAC;AAEzE,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAC3G,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAY,aAAa,CACxE,QAAQ,CAAC,6dAA6d,EAAE,CAAC,qCAAqC,EAAE,uCAAuC,EAAE,4CAA4C,EAAE,0BAA0B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,kHAAkH;AAClH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,cAAc,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,gBAAgB,CAAC;AAEzE,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAC3G,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAY,aAAa,CACxE,QAAQ,CAAC,6dAA6d,EAAE,CAAC,qCAAqC,EAAE,uCAAuC,EAAE,4CAA4C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA8CtoB;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAsB,aAAa,CACzD,WAAW,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -158,16 +158,24 @@ export type McpServerUsage = Message<"ai.stigmer.agentic.agent.v1.McpServerUsage
|
|
|
158
158
|
* Only names from discovered_capabilities.tools are valid here.
|
|
159
159
|
* Do NOT include names from discovered_capabilities.resource_templates —
|
|
160
160
|
* resource templates are read-only data endpoints, not callable tools.
|
|
161
|
-
* A name the server does not expose (including a resource template name)
|
|
162
|
-
* is warned and ignored at execution: the runner enforces the INTERSECTION
|
|
163
|
-
* with the server's live toolset, so a stale or mistyped entry narrows the
|
|
164
|
-
* toolset but never widens it or fails the run.
|
|
165
161
|
*
|
|
166
|
-
* Enforcement
|
|
167
|
-
*
|
|
168
|
-
* server's tools
|
|
169
|
-
*
|
|
170
|
-
*
|
|
162
|
+
* Enforcement is two-layered:
|
|
163
|
+
* - Apply time: agent create/update/apply rejects (INVALID_ARGUMENT) any
|
|
164
|
+
* name the referenced server's discovered_capabilities.tools does not
|
|
165
|
+
* contain, with the valid names in the error. The check is skipped when
|
|
166
|
+
* the server has no discovered capabilities yet (never connected) —
|
|
167
|
+
* there is nothing authoritative to validate against in that window.
|
|
168
|
+
* - Execution time: the runner enforces the INTERSECTION with the
|
|
169
|
+
* server's live toolset — an unknown name (possible when the manifest
|
|
170
|
+
* was applied before the server's first connect, or when the toolset
|
|
171
|
+
* changed since) is warned in the runner log and ignored, so a stale
|
|
172
|
+
* entry narrows the toolset but never widens it or fails the run.
|
|
173
|
+
*
|
|
174
|
+
* Per-harness runtime enforcement: the native (deep-agent) harness filters
|
|
175
|
+
* the discovered toolset before it reaches the model; the Cursor harness
|
|
176
|
+
* cannot hide a server's tools (its SDK config has no allow-list field),
|
|
177
|
+
* so its HITL hook permanently denies calls to non-enabled tools instead —
|
|
178
|
+
* the model may still see the tool listed, but every call is refused.
|
|
171
179
|
*
|
|
172
180
|
* @generated from field: repeated string enabled_tools = 2;
|
|
173
181
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,mHAAmH;AACnH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,iCAAiC,CAAC;AAC9F,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,8/DAA8/D,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAkEjrE;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA8DxD;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,mHAAmH;AACnH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,iCAAiC,CAAC;AAC9F,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,8/DAA8/D,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAkEjrE;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA8DxD;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAoExD;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA+BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAoDxD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { ApprovalEventStream, PendingApproval } from "./approval_pb.js";
|
|
3
3
|
import type { ExecutionArtifact } from "./artifact_pb.js";
|
|
4
|
-
import type { ContextInfo
|
|
4
|
+
import type { ContextInfo } from "./context_pb.js";
|
|
5
5
|
import type { ExecutionPhase } from "./enum_pb.js";
|
|
6
6
|
import type { FileChangeProgress, FileChangeSet, FileReviewEventStream } from "./filereview_pb.js";
|
|
7
7
|
import type { AgentMessage } from "./message_pb.js";
|
|
@@ -145,14 +145,14 @@ export type AgentExecutionStatus = Message<"ai.stigmer.agentic.agentexecution.v1
|
|
|
145
145
|
* @internal
|
|
146
146
|
*
|
|
147
147
|
* When this AgentExecution is triggered from a Temporal activity, the
|
|
148
|
-
* calling activity passes its task token here. The
|
|
148
|
+
* calling activity passes its task token here. The runner completes
|
|
149
149
|
* the external activity when the execution finishes.
|
|
150
150
|
*
|
|
151
151
|
* Token Handshake Pattern:
|
|
152
152
|
* 1. External activity extracts token and stores in AgentExecution.status
|
|
153
153
|
* 2. Activity returns activity.ErrResultPending (paused, thread freed)
|
|
154
154
|
* 3. Agent executes (seconds to minutes)
|
|
155
|
-
* 4. On completion:
|
|
155
|
+
* 4. On completion: the runner completes the external activity via token
|
|
156
156
|
*
|
|
157
157
|
* Why in Status (not Spec):
|
|
158
158
|
* - System-generated by Temporal, not user-provided
|
|
@@ -166,14 +166,6 @@ export type AgentExecutionStatus = Message<"ai.stigmer.agentic.agentexecution.v1
|
|
|
166
166
|
* @generated from field: bytes callback_token = 10;
|
|
167
167
|
*/
|
|
168
168
|
callbackToken: Uint8Array;
|
|
169
|
-
/**
|
|
170
|
-
* Resolved execution context showing what resources the agent had access to.
|
|
171
|
-
* Populated once before streaming begins, after all resources are resolved.
|
|
172
|
-
* Immutable after initial population - represents the "snapshot" of resolved state.
|
|
173
|
-
*
|
|
174
|
-
* @generated from field: ai.stigmer.agentic.agentexecution.v1.ResolvedExecutionContext resolved_context = 12;
|
|
175
|
-
*/
|
|
176
|
-
resolvedContext?: ResolvedExecutionContext;
|
|
177
169
|
/**
|
|
178
170
|
* Active pending approval requests for this execution.
|
|
179
171
|
*
|
|
@@ -194,7 +186,7 @@ export type AgentExecutionStatus = Message<"ai.stigmer.agentic.agentexecution.v1
|
|
|
194
186
|
* state machine, no merge logic, no forward-only enforcement needed.
|
|
195
187
|
*
|
|
196
188
|
* Lifecycle:
|
|
197
|
-
* 1.
|
|
189
|
+
* 1. The runner sets ToolCall.status = WAITING_APPROVAL on the message
|
|
198
190
|
* 2. UpdateStatus handler recomputes this field, entry appears
|
|
199
191
|
* 3. Phase changes to EXECUTION_WAITING_FOR_APPROVAL
|
|
200
192
|
* 4. User submits decisions via SubmitApproval RPC (one per tool call)
|
|
@@ -231,7 +223,7 @@ export type AgentExecutionStatus = Message<"ai.stigmer.agentic.agentexecution.v1
|
|
|
231
223
|
* the same operation that records the decision on the message scan) can never
|
|
232
224
|
* be duplicated or overwritten by a coarse re-derivation.
|
|
233
225
|
*
|
|
234
|
-
* Because it is server-only, the
|
|
226
|
+
* Because it is server-only, the runner never sends it; it is preserved
|
|
235
227
|
* across UpdateStatus writes automatically (the merge starts from the loaded
|
|
236
228
|
* execution and only replaces runner-owned fields).
|
|
237
229
|
*
|
|
@@ -293,7 +285,7 @@ export type AgentExecutionStatus = Message<"ai.stigmer.agentic.agentexecution.v1
|
|
|
293
285
|
*/
|
|
294
286
|
workspaceWriteBacks: WorkspaceWriteBack[];
|
|
295
287
|
/**
|
|
296
|
-
* Real-time setup progress reported by the
|
|
288
|
+
* Real-time setup progress reported by the runner during EXECUTION_PENDING.
|
|
297
289
|
* Populated progressively as the worker completes setup steps (sandbox init,
|
|
298
290
|
* workspace provisioning, skill loading, MCP server connection, etc.).
|
|
299
291
|
* Only meaningful while phase == EXECUTION_PENDING. Cleared by the server
|
|
@@ -20,7 +20,7 @@ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
|
20
20
|
/**
|
|
21
21
|
* Describes the file ai/stigmer/agentic/agentexecution/v1/api.proto.
|
|
22
22
|
*/
|
|
23
|
-
export const file_ai_stigmer_ag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5TdHJ1Y3QSTQoQZmlsZV9jaGFuZ2Vfc2V0cxgXIAMoCzIzLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5GaWxlQ2hhbmdlU2V0El0KGGZpbGVfcmV2aWV3X2V2ZW50X3N0cmVhbRgYIAEoCzI7LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5GaWxlUmV2aWV3RXZlbnRTdHJlYW0SVgoUZmlsZV9jaGFuZ2VfcHJvZ3Jlc3MYGSABKAsyOC5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuRmlsZUNoYW5nZVByb2dyZXNzGlwKClRvZG9zRW50cnkSCwoDa2V5GAEgASgJEj0KBXZhbHVlGAIgASgLMi4uYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLlRvZG9JdGVtOgI4AUoECAwQDVIQcmVzb2x2ZWRfY29udGV4dCImCg1TZXR1cFByb2dyZXNzEhUKDWN1cnJlbnRfcGhhc2UYASABKAliBnByb3RvMw", [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_filereview, 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]);
|
|
24
24
|
/**
|
|
25
25
|
* Describes the message ai.stigmer.agentic.agentexecution.v1.AgentExecution.
|
|
26
26
|
* Use `create(AgentExecutionSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oIAAoI;AACpI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,kDAAkD,EAAE,MAAM,kBAAkB,CAAC;AAEtF,OAAO,EAAE,kDAAkD,EAAE,MAAM,kBAAkB,CAAC;AAEtF,OAAO,EAAE,iDAAiD,EAAE,MAAM,iBAAiB,CAAC;AAEpF,OAAO,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAC;AAE9E,OAAO,EAAE,oDAAoD,EAAE,MAAM,oBAAoB,CAAC;AAE1F,OAAO,EAAE,iDAAiD,EAAE,MAAM,iBAAiB,CAAC;AAEpF,OAAO,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAC;AAE9E,OAAO,EAAE,kDAAkD,EAAE,MAAM,kBAAkB,CAAC;AAEtF,OAAO,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAC;AAE9E,OAAO,EAAE,+CAA+C,EAAE,MAAM,eAAe,CAAC;AAEhF,OAAO,EAAE,mDAAmD,EAAE,MAAM,mBAAmB,CAAC;AAExF,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAE3G,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAY,aAAa,CACjF,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oIAAo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AAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAC;AAiVhE;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAC;AAuBhE;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -22,7 +22,7 @@ export declare const file_ai_stigmer_agentic_agentexecution_v1_approval: GenFile
|
|
|
22
22
|
*
|
|
23
23
|
* Lifecycle:
|
|
24
24
|
* 1. Tool with requires_approval=true is about to execute
|
|
25
|
-
* 2.
|
|
25
|
+
* 2. The runner sets ToolCall.status = WAITING_APPROVAL on the message
|
|
26
26
|
* 3. Server recomputes pending_approvals, entry appears
|
|
27
27
|
* 4. User calls SubmitApproval RPC with their decision
|
|
28
28
|
* 5. Agent resumes, ToolCall.status advances, next recompute drops the entry
|
|
@@ -43,7 +43,7 @@ export declare const AgentExecutionCommandController: {
|
|
|
43
43
|
* Update an agent execution's status.
|
|
44
44
|
*
|
|
45
45
|
* @internal
|
|
46
|
-
* Used by
|
|
46
|
+
* Used by the runner to send progressive status updates (messages,
|
|
47
47
|
* tool_calls, phase, etc.). The runner authenticates as the triggering user,
|
|
48
48
|
* who owns the execution through the session ownership chain.
|
|
49
49
|
* Optimized for frequent status updates and merges status fields with
|
|
@@ -461,7 +461,7 @@ export declare const AgentExecutionCommandController: {
|
|
|
461
461
|
* 1. Client calls uploadAttachment with file content
|
|
462
462
|
* 2. Server uploads to storage, returns storage_key
|
|
463
463
|
* 3. Client creates AgentExecution with Attachment using storage_key
|
|
464
|
-
* 4.
|
|
464
|
+
* 4. The runner downloads attachment content when execution starts
|
|
465
465
|
*
|
|
466
466
|
* @since Artifact Lifecycle (Attachments & Artifacts)
|
|
467
467
|
*
|
|
@@ -51,7 +51,7 @@ export const AgentExecutionCommandController = {
|
|
|
51
51
|
* Update an agent execution's status.
|
|
52
52
|
*
|
|
53
53
|
* @internal
|
|
54
|
-
* Used by
|
|
54
|
+
* Used by the runner to send progressive status updates (messages,
|
|
55
55
|
* tool_calls, phase, etc.). The runner authenticates as the triggering user,
|
|
56
56
|
* who owns the execution through the session ownership chain.
|
|
57
57
|
* Optimized for frequent status updates and merges status fields with
|
|
@@ -469,7 +469,7 @@ export const AgentExecutionCommandController = {
|
|
|
469
469
|
* 1. Client calls uploadAttachment with file content
|
|
470
470
|
* 2. Server uploads to storage, returns storage_key
|
|
471
471
|
* 3. Client creates AgentExecution with Attachment using storage_key
|
|
472
|
-
* 4.
|
|
472
|
+
* 4. The runner downloads attachment content when execution starts
|
|
473
473
|
*
|
|
474
474
|
* @since Artifact Lifecycle (Attachments & Artifacts)
|
|
475
475
|
*
|
|
@@ -47,7 +47,7 @@ export declare const AgentExecutionCommandController: GenService<{
|
|
|
47
47
|
* Update an agent execution's status.
|
|
48
48
|
*
|
|
49
49
|
* @internal
|
|
50
|
-
* Used by
|
|
50
|
+
* Used by the runner to send progressive status updates (messages,
|
|
51
51
|
* tool_calls, phase, etc.). The runner authenticates as the triggering user,
|
|
52
52
|
* who owns the execution through the session ownership chain.
|
|
53
53
|
* Optimized for frequent status updates and merges status fields with
|
|
@@ -456,7 +456,7 @@ export declare const AgentExecutionCommandController: GenService<{
|
|
|
456
456
|
* 1. Client calls uploadAttachment with file content
|
|
457
457
|
* 2. Server uploads to storage, returns storage_key
|
|
458
458
|
* 3. Client creates AgentExecution with Attachment using storage_key
|
|
459
|
-
* 4.
|
|
459
|
+
* 4. The runner downloads attachment content when execution starts
|
|
460
460
|
*
|
|
461
461
|
* @since Artifact Lifecycle (Attachments & Artifacts)
|
|
462
462
|
*
|
|
@@ -5,141 +5,6 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
5
5
|
* Describes the file ai/stigmer/agentic/agentexecution/v1/context.proto.
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_ai_stigmer_agentic_agentexecution_v1_context: GenFile;
|
|
8
|
-
/**
|
|
9
|
-
* ResolvedExecutionContext captures the resolved configuration state at execution time.
|
|
10
|
-
* Populated once after all resources are resolved, before the agent begins processing.
|
|
11
|
-
*
|
|
12
|
-
* ## Purpose
|
|
13
|
-
*
|
|
14
|
-
* Provides visibility into what the agent actually had access to during execution:
|
|
15
|
-
* - Which environment variables were available (keys only, not values for security)
|
|
16
|
-
* - Which MCP servers were configured and their resolution status
|
|
17
|
-
* - Which skills were injected into the agent's context
|
|
18
|
-
*
|
|
19
|
-
* This enables:
|
|
20
|
-
* - **Debugging**: Understanding what environment/tools were available when investigating failures
|
|
21
|
-
* - **Auditing**: Tracking what resources each execution consumed
|
|
22
|
-
* - **Security review**: Verifying which secrets (by key name only) were exposed
|
|
23
|
-
* - **UX transparency**: Showing users what their agent can access
|
|
24
|
-
*
|
|
25
|
-
* ## Timing
|
|
26
|
-
*
|
|
27
|
-
* Populated in execute_graphton.py after Steps 3-5 complete (skills, env vars, MCP servers)
|
|
28
|
-
* but before the streaming loop begins. This represents the "snapshot" of resolved state.
|
|
29
|
-
* Once set, this field is immutable for the remainder of the execution.
|
|
30
|
-
*
|
|
31
|
-
* ## Security Considerations
|
|
32
|
-
*
|
|
33
|
-
* - Environment values are NEVER included (only keys)
|
|
34
|
-
* - MCP server credentials are not exposed
|
|
35
|
-
* - This is safe to include in status responses to clients
|
|
36
|
-
*
|
|
37
|
-
* @generated from message ai.stigmer.agentic.agentexecution.v1.ResolvedExecutionContext
|
|
38
|
-
*/
|
|
39
|
-
export type ResolvedExecutionContext = Message<"ai.stigmer.agentic.agentexecution.v1.ResolvedExecutionContext"> & {
|
|
40
|
-
/**
|
|
41
|
-
* Environment variable keys available to the agent (NOT values for security).
|
|
42
|
-
* Represents the merged result of: template env_spec + instance environment_refs + runtime_env.
|
|
43
|
-
* Keys are sorted alphabetically for consistent ordering and deterministic comparison.
|
|
44
|
-
* Examples: ["API_KEY", "DATABASE_URL", "LOG_LEVEL"]
|
|
45
|
-
*
|
|
46
|
-
* @generated from field: repeated string environment_keys = 1;
|
|
47
|
-
*/
|
|
48
|
-
environmentKeys: string[];
|
|
49
|
-
/**
|
|
50
|
-
* MCP servers referenced by the agent and their resolution status.
|
|
51
|
-
* Key: MCP server slug (e.g., "github-mcp", "slack-mcp")
|
|
52
|
-
* Value: Resolution status including success/failure and diagnostic information
|
|
53
|
-
*
|
|
54
|
-
* Note: This tracks configuration resolution, not runtime connection status.
|
|
55
|
-
* A server showing resolved=true means it was found and transformed successfully;
|
|
56
|
-
* actual WebSocket/stdio connection happens later in the Graphton runtime.
|
|
57
|
-
*
|
|
58
|
-
* @generated from field: map<string, ai.stigmer.agentic.agentexecution.v1.McpServerResolutionStatus> mcp_servers = 2;
|
|
59
|
-
*/
|
|
60
|
-
mcpServers: {
|
|
61
|
-
[key: string]: McpServerResolutionStatus;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Names of skills injected into the agent's system prompt.
|
|
65
|
-
* Each skill's SKILL.md content is appended to the instructions.
|
|
66
|
-
* Sorted alphabetically for consistent ordering and deterministic comparison.
|
|
67
|
-
* Examples: ["code-review", "docker-expert", "kubernetes-operator"]
|
|
68
|
-
*
|
|
69
|
-
* @generated from field: repeated string skill_names = 3;
|
|
70
|
-
*/
|
|
71
|
-
skillNames: string[];
|
|
72
|
-
/**
|
|
73
|
-
* Skills that were available but excluded from the system prompt because
|
|
74
|
-
* they were not relevant to the current execution context.
|
|
75
|
-
* Enables visibility into the filtering decision for debugging and tuning.
|
|
76
|
-
* Sorted alphabetically for consistent ordering and deterministic comparison.
|
|
77
|
-
*
|
|
78
|
-
* When smart context filtering is active, this captures skills that were
|
|
79
|
-
* configured on the agent but scored below the relevance threshold for the
|
|
80
|
-
* current user message. Empty when all skills are included (no filtering).
|
|
81
|
-
*
|
|
82
|
-
* @generated from field: repeated string excluded_skill_names = 4;
|
|
83
|
-
*/
|
|
84
|
-
excludedSkillNames: string[];
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Describes the message ai.stigmer.agentic.agentexecution.v1.ResolvedExecutionContext.
|
|
88
|
-
* Use `create(ResolvedExecutionContextSchema)` to create a new message.
|
|
89
|
-
*/
|
|
90
|
-
export declare const ResolvedExecutionContextSchema: GenMessage<ResolvedExecutionContext>;
|
|
91
|
-
/**
|
|
92
|
-
* McpServerResolutionStatus captures the resolution outcome for a single MCP server.
|
|
93
|
-
* Provides richer information than a simple boolean for better debugging and visibility.
|
|
94
|
-
*
|
|
95
|
-
* ## Resolution vs Connection
|
|
96
|
-
*
|
|
97
|
-
* This tracks whether the MCP server definition was successfully loaded and configured,
|
|
98
|
-
* NOT whether the runtime connection succeeded. Resolution includes:
|
|
99
|
-
* - Looking up the McpServer resource by reference
|
|
100
|
-
* - Transforming the server config (resolving env var placeholders)
|
|
101
|
-
* - Determining which tools to enable
|
|
102
|
-
*
|
|
103
|
-
* Runtime connection (WebSocket/stdio) happens later and is not tracked here.
|
|
104
|
-
*
|
|
105
|
-
* @generated from message ai.stigmer.agentic.agentexecution.v1.McpServerResolutionStatus
|
|
106
|
-
*/
|
|
107
|
-
export type McpServerResolutionStatus = Message<"ai.stigmer.agentic.agentexecution.v1.McpServerResolutionStatus"> & {
|
|
108
|
-
/**
|
|
109
|
-
* Whether the MCP server was successfully resolved and configured.
|
|
110
|
-
* true: Server found, config transformed, ready for runtime connection
|
|
111
|
-
* false: Resolution failed (server not found, missing env var, invalid config)
|
|
112
|
-
*
|
|
113
|
-
* @generated from field: bool resolved = 1;
|
|
114
|
-
*/
|
|
115
|
-
resolved: boolean;
|
|
116
|
-
/**
|
|
117
|
-
* Human-readable status message explaining the resolution outcome.
|
|
118
|
-
* For success: "Configured successfully"
|
|
119
|
-
* For failure: Describes what went wrong
|
|
120
|
-
* Examples:
|
|
121
|
-
* - "Configured successfully"
|
|
122
|
-
* - "Server not found"
|
|
123
|
-
* - "Missing required environment variable: GITHUB_TOKEN"
|
|
124
|
-
* - "Invalid server configuration: missing command"
|
|
125
|
-
*
|
|
126
|
-
* @generated from field: string message = 2;
|
|
127
|
-
*/
|
|
128
|
-
message: string;
|
|
129
|
-
/**
|
|
130
|
-
* Number of tools enabled from this MCP server.
|
|
131
|
-
* Reflects the intersection of server's available tools and enabled_tools config.
|
|
132
|
-
* 0 if resolution failed, server has no tools, or all tools disabled.
|
|
133
|
-
*
|
|
134
|
-
* @generated from field: int32 enabled_tool_count = 3;
|
|
135
|
-
*/
|
|
136
|
-
enabledToolCount: number;
|
|
137
|
-
};
|
|
138
|
-
/**
|
|
139
|
-
* Describes the message ai.stigmer.agentic.agentexecution.v1.McpServerResolutionStatus.
|
|
140
|
-
* Use `create(McpServerResolutionStatusSchema)` to create a new message.
|
|
141
|
-
*/
|
|
142
|
-
export declare const McpServerResolutionStatusSchema: GenMessage<McpServerResolutionStatus>;
|
|
143
8
|
/**
|
|
144
9
|
* SummarizationEvent records a single summarization occurrence during execution.
|
|
145
10
|
*
|
|
@@ -6,25 +6,15 @@ import { file_ai_stigmer_agentic_agentexecution_v1_enum } from "./enum_pb.js";
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file ai/stigmer/agentic/agentexecution/v1/context.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_ai_stigmer_agentic_agentexecution_v1_context = /*@__PURE__*/ fileDesc("
|
|
10
|
-
/**
|
|
11
|
-
* Describes the message ai.stigmer.agentic.agentexecution.v1.ResolvedExecutionContext.
|
|
12
|
-
* Use `create(ResolvedExecutionContextSchema)` to create a new message.
|
|
13
|
-
*/
|
|
14
|
-
export const ResolvedExecutionContextSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentexecution_v1_context, 0);
|
|
15
|
-
/**
|
|
16
|
-
* Describes the message ai.stigmer.agentic.agentexecution.v1.McpServerResolutionStatus.
|
|
17
|
-
* Use `create(McpServerResolutionStatusSchema)` to create a new message.
|
|
18
|
-
*/
|
|
19
|
-
export const McpServerResolutionStatusSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentexecution_v1_context, 1);
|
|
9
|
+
export const file_ai_stigmer_agentic_agentexecution_v1_context = /*@__PURE__*/ fileDesc("CjJhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRleGVjdXRpb24vdjEvY29udGV4dC5wcm90bxIkYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxIoYDChJTdW1tYXJpemF0aW9uRXZlbnQSEQoJdGltZXN0YW1wGAEgASgJEhUKDXRva2Vuc19iZWZvcmUYAiABKAUSFAoMdG9rZW5zX2FmdGVyGAMgASgFEhkKEWNvbXByZXNzaW9uX3JhdGlvGAQgASgCEhMKC2R1cmF0aW9uX21zGAUgASgFEhsKE3N1bW1hcml6YXRpb25fbW9kZWwYBiABKAkSFwoPbWVzc2FnZXNfYmVmb3JlGAcgASgFEhYKDm1lc3NhZ2VzX2FmdGVyGAggASgFEkkKBnNvdXJjZRgJIAEoDjI5LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5TdW1tYXJpemF0aW9uU291cmNlEiIKGnN1bW1hcml6YXRpb25faW5wdXRfdG9rZW5zGAogASgFEiMKG3N1bW1hcml6YXRpb25fb3V0cHV0X3Rva2VucxgLIAEoBRIeChZzdW1tYXJpemF0aW9uX2Nvc3RfdXNkGAwgASgBIqoCCgtDb250ZXh0SW5mbxIbChNjdXJyZW50X3Rva2VuX2NvdW50GAEgASgFEhwKFGNvbnRleHRfd2luZG93X2xpbWl0GAIgASgFEicKH3N1bW1hcml6YXRpb25fdHJpZ2dlcl90aHJlc2hvbGQYAyABKAUSIwobc3VtbWFyaXphdGlvbl90YXJnZXRfdG9rZW5zGAQgASgFEh0KFXN1bW1hcml6YXRpb25fZW5hYmxlZBgFIAEoCBJWChRzdW1tYXJpemF0aW9uX2V2ZW50cxgGIAMoCzI4LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5TdW1tYXJpemF0aW9uRXZlbnQSGwoTdXRpbGl6YXRpb25fcGVyY2VudBgHIAEoAmIGcHJvdG8z", [file_ai_stigmer_agentic_agentexecution_v1_enum]);
|
|
20
10
|
/**
|
|
21
11
|
* Describes the message ai.stigmer.agentic.agentexecution.v1.SummarizationEvent.
|
|
22
12
|
* Use `create(SummarizationEventSchema)` to create a new message.
|
|
23
13
|
*/
|
|
24
|
-
export const SummarizationEventSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentexecution_v1_context,
|
|
14
|
+
export const SummarizationEventSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentexecution_v1_context, 0);
|
|
25
15
|
/**
|
|
26
16
|
* Describes the message ai.stigmer.agentic.agentexecution.v1.ContextInfo.
|
|
27
17
|
* Use `create(ContextInfoSchema)` to create a new message.
|
|
28
18
|
*/
|
|
29
|
-
export const ContextInfoSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentexecution_v1_context,
|
|
19
|
+
export const ContextInfoSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentexecution_v1_context, 1);
|
|
30
20
|
//# sourceMappingURL=context_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/context_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wIAAwI;AACxI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAC;AAG9E;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"context_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/context_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wIAAwI;AACxI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAC;AAG9E;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,kiCAAkiC,EAAE,CAAC,8CAA8C,CAAC,CAAC,CAAC;AA8IjmC;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AAoIpE;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -221,7 +221,7 @@ export type ToolCall = Message<"ai.stigmer.agentic.agentexecution.v1.ToolCall">
|
|
|
221
221
|
/**
|
|
222
222
|
* Sanitized preview of tool arguments for UI display.
|
|
223
223
|
* Sensitive values (passwords, tokens, keys) are redacted.
|
|
224
|
-
* Populated at tool call creation time by the
|
|
224
|
+
* Populated at tool call creation time by the runner.
|
|
225
225
|
* Used by the server-side ComputePendingApprovals projection
|
|
226
226
|
* and by CLI/UI for inline argument visibility.
|
|
227
227
|
*
|
|
@@ -100,10 +100,25 @@ export type AgentExecutionSpec = Message<"ai.stigmer.agentic.agentexecution.v1.A
|
|
|
100
100
|
executionConfig?: ExecutionConfig;
|
|
101
101
|
/**
|
|
102
102
|
* Runtime environment variables and secrets (execution-scoped).
|
|
103
|
-
* These values are only available for this specific execution
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
103
|
+
* These values are only available for this specific execution and take the
|
|
104
|
+
* highest merge priority, overriding values from Environments bound via
|
|
105
|
+
* environment_refs. A key must be declared in Agent.spec.env to survive the
|
|
106
|
+
* merge: the agent env map is a declaration whitelist (name + is_secret +
|
|
107
|
+
* optional), never a value source — undeclared keys are dropped.
|
|
108
|
+
* Use case: B2B integrations where secrets are injected at runtime per call.
|
|
109
|
+
* These values are consumed into the ExecutionContext (deleted when the
|
|
110
|
+
* execution completes) and cleared from the persisted execution.
|
|
111
|
+
*
|
|
112
|
+
* @internal
|
|
113
|
+
* Merge priority (lowest to highest): resolved Environment values — from the
|
|
114
|
+
* creating schedule's or agent_call task's environment_refs (when present),
|
|
115
|
+
* then the instance's environment_refs; a later ref wins — then runtime_env
|
|
116
|
+
* (this field). The merged map is filtered to the keys declared in
|
|
117
|
+
* Agent.spec.env (no filtering when the agent declares none); a missing
|
|
118
|
+
* required key only logs a warning — the run is not failed. The merge is
|
|
119
|
+
* owned by backend/libs/go/envmerge and the agentexecution controller's
|
|
120
|
+
* executionContextBuilder, and asserted by
|
|
121
|
+
* test/conformance/src/suites-execution/envmerge.conformance.test.ts.
|
|
107
122
|
*
|
|
108
123
|
* @generated from field: map<string, ai.stigmer.agentic.executioncontext.v1.ExecutionValue> runtime_env = 5;
|
|
109
124
|
*/
|
|
@@ -641,7 +656,7 @@ export declare const ContextManagementConfigSchema: GenMessage<ContextManagement
|
|
|
641
656
|
* 1. Client calls uploadAttachment RPC with file content
|
|
642
657
|
* 2. Server returns a storage_key
|
|
643
658
|
* 3. Client creates execution with Attachment containing that storage_key
|
|
644
|
-
* 4.
|
|
659
|
+
* 4. The runner downloads file from storage and injects into sandbox
|
|
645
660
|
*
|
|
646
661
|
* ## Mount Path
|
|
647
662
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qIAAqI;AACrI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAC;AAE9E,OAAO,EAAE,gDAAgD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M,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC;AAsGjE;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwC,aAAa,CAC7F,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC;AAiGjE;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC;AA+CjE;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -11,7 +11,6 @@ export declare const file_ai_stigmer_agentic_agentinstance_v1_api: GenFile;
|
|
|
11
11
|
* AgentInstance defines a configured deployment of an Agent template.
|
|
12
12
|
*
|
|
13
13
|
* @internal
|
|
14
|
-
* Uses Graphton configuration for state management.
|
|
15
14
|
*
|
|
16
15
|
* @generated from message ai.stigmer.agentic.agentinstance.v1.AgentInstance
|
|
17
16
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentinstance/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,kIAAkI;AAClI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,6CAA6C,EAAE,MAAM,cAAc,CAAC;AAE7E,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAE3G,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,gjBAAgjB,EAAE,CAAC,6CAA6C,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentinstance/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,kIAAkI;AAClI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,6CAA6C,EAAE,MAAM,cAAc,CAAC;AAE7E,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAE3G,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,gjBAAgjB,EAAE,CAAC,6CAA6C,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAiDpuB;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -47,6 +47,14 @@ export declare const AgentInstanceCommandController: {
|
|
|
47
47
|
* @internal
|
|
48
48
|
* Replaces the entire instance configuration including metadata, spec, and secrets.
|
|
49
49
|
* No individual field updates — always provide complete state.
|
|
50
|
+
*
|
|
51
|
+
* Mutable fields:
|
|
52
|
+
* - spec.description, spec.environment_refs
|
|
53
|
+
* - metadata.name, metadata.labels, metadata.tags, metadata.annotations
|
|
54
|
+
*
|
|
55
|
+
* Immutable fields (must delete and recreate to change):
|
|
56
|
+
* - spec.agent_id, metadata.id, metadata.org
|
|
57
|
+
*
|
|
50
58
|
* Authorization: Only owner can update (can_edit permission).
|
|
51
59
|
*
|
|
52
60
|
* @generated from rpc ai.stigmer.agentic.agentinstance.v1.AgentInstanceCommandController.update
|
|
@@ -55,6 +55,14 @@ export const AgentInstanceCommandController = {
|
|
|
55
55
|
* @internal
|
|
56
56
|
* Replaces the entire instance configuration including metadata, spec, and secrets.
|
|
57
57
|
* No individual field updates — always provide complete state.
|
|
58
|
+
*
|
|
59
|
+
* Mutable fields:
|
|
60
|
+
* - spec.description, spec.environment_refs
|
|
61
|
+
* - metadata.name, metadata.labels, metadata.tags, metadata.annotations
|
|
62
|
+
*
|
|
63
|
+
* Immutable fields (must delete and recreate to change):
|
|
64
|
+
* - spec.agent_id, metadata.id, metadata.org
|
|
65
|
+
*
|
|
58
66
|
* Authorization: Only owner can update (can_edit permission).
|
|
59
67
|
*
|
|
60
68
|
* @generated from rpc ai.stigmer.agentic.agentinstance.v1.AgentInstanceCommandController.update
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentinstance/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,sIAAsI;AACtI,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C;;;;GAIG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,QAAQ,EAAE,oEAAoE;IAC9E,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,aAAa;YAChB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;WAaG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,aAAa;YAChB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentinstance/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,sIAAsI;AACtI,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C;;;;GAIG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,QAAQ,EAAE,oEAAoE;IAC9E,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,aAAa;YAChB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;WAaG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,aAAa;YAChB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;WAiBG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,aAAa;YAChB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,qBAAqB;YACxB,CAAC,EAAE,aAAa;YAChB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,eAAe;YAClB,CAAC,EAAE,aAAa;YAChB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -51,6 +51,14 @@ export declare const AgentInstanceCommandController: GenService<{
|
|
|
51
51
|
* @internal
|
|
52
52
|
* Replaces the entire instance configuration including metadata, spec, and secrets.
|
|
53
53
|
* No individual field updates — always provide complete state.
|
|
54
|
+
*
|
|
55
|
+
* Mutable fields:
|
|
56
|
+
* - spec.description, spec.environment_refs
|
|
57
|
+
* - metadata.name, metadata.labels, metadata.tags, metadata.annotations
|
|
58
|
+
*
|
|
59
|
+
* Immutable fields (must delete and recreate to change):
|
|
60
|
+
* - spec.agent_id, metadata.id, metadata.org
|
|
61
|
+
*
|
|
54
62
|
* Authorization: Only owner can update (can_edit permission).
|
|
55
63
|
*
|
|
56
64
|
* @generated from rpc ai.stigmer.agentic.agentinstance.v1.AgentInstanceCommandController.update
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentinstance/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sIAAsI;AACtI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,4CAA4C,EAAE,MAAM,aAAa,CAAC;AAE3E,OAAO,EAAE,2CAA2C,EAAE,MAAM,YAAY,CAAC;AAEzE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAY,aAAa,CACpF,QAAQ,CAAC,8sCAA8sC,EAAE,CAAC,4CAA4C,EAAE,2CAA2C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEr8C;;;;GAIG;AACH,MAAM,CAAC,MAAM,8BAA8B,
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentinstance/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sIAAsI;AACtI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,4CAA4C,EAAE,MAAM,aAAa,CAAC;AAE3E,OAAO,EAAE,2CAA2C,EAAE,MAAM,YAAY,CAAC;AAEzE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAY,aAAa,CACpF,QAAQ,CAAC,8sCAA8sC,EAAE,CAAC,4CAA4C,EAAE,2CAA2C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEr8C;;;;GAIG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAgGtC,aAAa,CAChB,WAAW,CAAC,gDAAgD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -99,8 +99,14 @@ export type AgentShareSpec = Message<"ai.stigmer.agentic.agentshare.v1.AgentShar
|
|
|
99
99
|
* (SharedSessionBlueprintAccess) on every session/execution create — the
|
|
100
100
|
* same gate that re-checks enabled, so revocation latency is identical
|
|
101
101
|
* (immediate). Unframed hosted-page visitors report no origin and are
|
|
102
|
-
* exempt by construction.
|
|
103
|
-
*
|
|
102
|
+
* exempt by construction. Since stigmer-cloud#341 both gates cross-check
|
|
103
|
+
* the self-report against the request's browser-enforced Origin header
|
|
104
|
+
* (SharingRequestOriginPolicy): for direct SDK embeds the header is the
|
|
105
|
+
* authoritative origin — a lying or omitted embed_origin no longer
|
|
106
|
+
* bypasses this list — while requests from Stigmer's own hosted page
|
|
107
|
+
* keep the widget's browser-authentic self-report as the embedder
|
|
108
|
+
* signal. Exact origins only — loosening to wildcards later is a
|
|
109
|
+
* non-breaking change, tightening would not be.
|
|
104
110
|
*
|
|
105
111
|
* @generated from field: repeated string allowed_origins = 4;
|
|
106
112
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentshare/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,oDAAoD,EAAE,MAAM,0CAA0C,CAAC;AAChH,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,qjEAAqjE,EAAE,CAAC,oDAAoD,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentshare/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,oDAAoD,EAAE,MAAM,0CAA0C,CAAC;AAChH,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,qjEAAqjE,EAAE,CAAC,oDAAoD,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAmLjvE;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAmC7D;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAE7D;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,kBA0BX;AA1BD,WAAY,kBAAkB;IAC5B;;;;OAIG;IACH,yEAAe,CAAA;IAEf;;;;;;OAMG;IACH,+DAAU,CAAA;IAEV;;;;;;;OAOG;IACH,yDAAO,CAAA;AACT,CAAC,EA1BW,kBAAkB,KAAlB,kBAAkB,QA0B7B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAgC,aAAa,CAChF,QAAQ,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -15,7 +15,7 @@ export declare const file_ai_stigmer_agentic_artifact_v1_api: GenFile;
|
|
|
15
15
|
* Follows the standard Stigmer resource pattern:
|
|
16
16
|
* api_version + kind + metadata + spec + status.
|
|
17
17
|
*
|
|
18
|
-
* Artifacts are created by the
|
|
18
|
+
* Artifacts are created by the runner when task
|
|
19
19
|
* outputs exceed the auto-promotion threshold or when the workflow author
|
|
20
20
|
* explicitly declares an artifact (Phase 1).
|
|
21
21
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @internal
|
|
5
5
|
* Follows the Command-Query Separation (CQS) pattern.
|
|
6
6
|
*
|
|
7
|
-
* These RPCs are system-level — used by the
|
|
7
|
+
* These RPCs are system-level — used by the runner (stigmer-runner)
|
|
8
8
|
* to persist task outputs. They are NOT exposed to end users or the SDK.
|
|
9
9
|
*
|
|
10
10
|
* Artifact creation flow:
|
|
@@ -12,7 +12,7 @@ import { ApiResourceId } from "../../../commons/apiresource/io_pbjs";
|
|
|
12
12
|
* @internal
|
|
13
13
|
* Follows the Command-Query Separation (CQS) pattern.
|
|
14
14
|
*
|
|
15
|
-
* These RPCs are system-level — used by the
|
|
15
|
+
* These RPCs are system-level — used by the runner (stigmer-runner)
|
|
16
16
|
* to persist task outputs. They are NOT exposed to end users or the SDK.
|
|
17
17
|
*
|
|
18
18
|
* Artifact creation flow:
|
|
@@ -12,7 +12,7 @@ export declare const file_ai_stigmer_agentic_artifact_v1_command: GenFile;
|
|
|
12
12
|
* @internal
|
|
13
13
|
* Follows the Command-Query Separation (CQS) pattern.
|
|
14
14
|
*
|
|
15
|
-
* These RPCs are system-level — used by the
|
|
15
|
+
* These RPCs are system-level — used by the runner (stigmer-runner)
|
|
16
16
|
* to persist task outputs. They are NOT exposed to end users or the SDK.
|
|
17
17
|
*
|
|
18
18
|
* Artifact creation flow:
|