@stigmer/protos 0.0.52 → 0.0.54
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/agentexecution/v1/api_pb.d.ts +18 -0
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js +2 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.d.ts +14 -0
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.d.ts +15 -0
- package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/writeback_pb.d.ts +139 -0
- package/ai/stigmer/agentic/agentexecution/v1/writeback_pb.js +58 -0
- package/ai/stigmer/agentic/agentexecution/v1/writeback_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.d.ts +5 -4
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.js +5 -4
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.d.ts +5 -4
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +41 -0
- package/ai/stigmer/agentic/session/v1/enum_pb.js +46 -0
- package/ai/stigmer/agentic/session/v1/enum_pb.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/workspace_pb.d.ts +18 -0
- package/ai/stigmer/agentic/session/v1/workspace_pb.js +2 -1
- package/ai/stigmer/agentic/session/v1/workspace_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ import type { AgentMessage } from "./message_pb";
|
|
|
7
7
|
import type { AgentExecutionSpec } from "./spec_pb";
|
|
8
8
|
import type { SubAgentExecution } from "./subagent_pb";
|
|
9
9
|
import type { UsageMetrics } from "./usage_pb";
|
|
10
|
+
import type { WorkspaceWriteBack } from "./writeback_pb";
|
|
10
11
|
import type { ApiResourceMetadata } from "../../../commons/apiresource/metadata_pb";
|
|
11
12
|
import type { ApiResourceAudit } from "../../../commons/apiresource/status_pb";
|
|
12
13
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -244,6 +245,23 @@ export type AgentExecutionStatus = Message<"ai.stigmer.agentic.agentexecution.v1
|
|
|
244
245
|
* @generated from field: repeated ai.stigmer.agentic.agentexecution.v1.ExecutionArtifact artifacts = 15;
|
|
245
246
|
*/
|
|
246
247
|
artifacts: ExecutionArtifact[];
|
|
248
|
+
/**
|
|
249
|
+
* Git write-back outcomes for workspace entries that had changes.
|
|
250
|
+
*
|
|
251
|
+
* One entry per git-backed workspace entry where the agent modified
|
|
252
|
+
* files and write_back_mode was enabled on the GitRepoSource. Omitted
|
|
253
|
+
* for workspace entries with no changes, non-git sources, or disabled
|
|
254
|
+
* write-back mode.
|
|
255
|
+
*
|
|
256
|
+
* Populated during post-execution processing. Each entry tracks the
|
|
257
|
+
* write-back lifecycle (committed -> pushed -> PR created) and carries
|
|
258
|
+
* the PR URL for UI display.
|
|
259
|
+
*
|
|
260
|
+
* @since Platform-Owned Git Write-Back
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: repeated ai.stigmer.agentic.agentexecution.v1.WorkspaceWriteBack workspace_write_backs = 17;
|
|
263
|
+
*/
|
|
264
|
+
workspaceWriteBacks: WorkspaceWriteBack[];
|
|
247
265
|
};
|
|
248
266
|
/**
|
|
249
267
|
* Describes the message ai.stigmer.agentic.agentexecution.v1.AgentExecutionStatus.
|
|
@@ -10,13 +10,14 @@ import { file_ai_stigmer_agentic_agentexecution_v1_message } from "./message_pb"
|
|
|
10
10
|
import { file_ai_stigmer_agentic_agentexecution_v1_spec } from "./spec_pb";
|
|
11
11
|
import { file_ai_stigmer_agentic_agentexecution_v1_subagent } from "./subagent_pb";
|
|
12
12
|
import { file_ai_stigmer_agentic_agentexecution_v1_usage } from "./usage_pb";
|
|
13
|
+
import { file_ai_stigmer_agentic_agentexecution_v1_writeback } from "./writeback_pb";
|
|
13
14
|
import { file_ai_stigmer_commons_apiresource_metadata } from "../../../commons/apiresource/metadata_pb";
|
|
14
15
|
import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/apiresource/status_pb";
|
|
15
16
|
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
|
|
16
17
|
/**
|
|
17
18
|
* Describes the file ai/stigmer/agentic/agentexecution/v1/api.proto.
|
|
18
19
|
*/
|
|
19
|
-
export const file_ai_stigmer_agentic_agentexecution_v1_api = /*@__PURE__*/ fileDesc("
|
|
20
|
+
export const file_ai_stigmer_agentic_agentexecution_v1_api = /*@__PURE__*/ fileDesc("Ci5haS9zdGlnbWVyL2FnZW50aWMvYWdlbnRleGVjdXRpb24vdjEvYXBpLnByb3RvEiRhaS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEiywIKDkFnZW50RXhlY3V0aW9uEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlbnRpYy5zdGlnbWVyLmFpL3YxEiMKBGtpbmQYAiABKAlCFbpIEnIQCg5BZ2VudEV4ZWN1dGlvbhJNCghtZXRhZGF0YRgDIAEoCzIzLmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZU1ldGFkYXRhQga6SAPIAQESRgoEc3BlYxgEIAEoCzI4LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5BZ2VudEV4ZWN1dGlvblNwZWMSSgoGc3RhdHVzGAUgASgLMjouYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLkFnZW50RXhlY3V0aW9uU3RhdHVzIqUIChRBZ2VudEV4ZWN1dGlvblN0YXR1cxI/CgVhdWRpdBhjIAEoCzIwLmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZUF1ZGl0EkQKCG1lc3NhZ2VzGAEgAygLMjIuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLkFnZW50TWVzc2FnZRJNCgVwaGFzZRgCIAEoDjI0LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5FeGVjdXRpb25QaGFzZUIIukgFggECEAESVQoUc3ViX2FnZW50X2V4ZWN1dGlvbnMYBCADKAsyNy5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuU3ViQWdlbnRFeGVjdXRpb24SDQoFZXJyb3IYBiABKAkSEgoKc3RhcnRlZF9hdBgHIAEoCRIUCgxjb21wbGV0ZWRfYXQYCCABKAkSVAoFdG9kb3MYCSADKAsyRS5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuQWdlbnRFeGVjdXRpb25TdGF0dXMuVG9kb3NFbnRyeRIWCg5jYWxsYmFja190b2tlbhgKIAEoDBJBCgV1c2FnZRgLIAEoCzIyLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5Vc2FnZU1ldHJpY3MSWAoQcmVzb2x2ZWRfY29udGV4dBgMIAEoCzI+LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5SZXNvbHZlZEV4ZWN1dGlvbkNvbnRleHQSUAoRcGVuZGluZ19hcHByb3ZhbHMYECADKAsyNS5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuUGVuZGluZ0FwcHJvdmFsEkcKDGNvbnRleHRfaW5mbxgOIAEoCzIxLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5Db250ZXh0SW5mbxJKCglhcnRpZmFjdHMYDyADKAsyNy5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuRXhlY3V0aW9uQXJ0aWZhY3QSVwoVd29ya3NwYWNlX3dyaXRlX2JhY2tzGBEgAygLMjguYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLldvcmtzcGFjZVdyaXRlQmFjaxpcCgpUb2Rvc0VudHJ5EgsKA2tleRgBIAEoCRI9CgV2YWx1ZRgCIAEoCzIuLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5Ub2RvSXRlbToCOAEikQEKCFRvZG9JdGVtEgoKAmlkGAEgASgJEg8KB2NvbnRlbnQYAiABKAkSQAoGc3RhdHVzGAMgASgOMjAuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLlRvZG9TdGF0dXMSEgoKY3JlYXRlZF9hdBgEIAEoCRISCgp1cGRhdGVkX2F0GAUgASgJYgZwcm90bzM", [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_usage, file_ai_stigmer_agentic_agentexecution_v1_writeback, file_ai_stigmer_commons_apiresource_metadata, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate]);
|
|
20
21
|
/**
|
|
21
22
|
* Describes the message ai.stigmer.agentic.agentexecution.v1.AgentExecution.
|
|
22
23
|
* 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,gEAAgE;AAChE,oIAAoI;AACpI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,kDAAkD,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,kDAAkD,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,iDAAiD,EAAE,MAAM,cAAc,CAAC;AAEjF,OAAO,EAAE,8CAA8C,EAAE,MAAM,WAAW,CAAC;AAE3E,OAAO,EAAE,iDAAiD,EAAE,MAAM,cAAc,CAAC;AAEjF,OAAO,EAAE,8CAA8C,EAAE,MAAM,WAAW,CAAC;AAE3E,OAAO,EAAE,kDAAkD,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,+CAA+C,EAAE,MAAM,YAAY,CAAC;AAE7E,OAAO,EAAE,4CAA4C,EAAE,MAAM,0CAA0C,CAAC;AAExG,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;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,gEAAgE;AAChE,oIAAoI;AACpI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,kDAAkD,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,kDAAkD,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,iDAAiD,EAAE,MAAM,cAAc,CAAC;AAEjF,OAAO,EAAE,8CAA8C,EAAE,MAAM,WAAW,CAAC;AAE3E,OAAO,EAAE,iDAAiD,EAAE,MAAM,cAAc,CAAC;AAEjF,OAAO,EAAE,8CAA8C,EAAE,MAAM,WAAW,CAAC;AAE3E,OAAO,EAAE,kDAAkD,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,+CAA+C,EAAE,MAAM,YAAY,CAAC;AAE7E,OAAO,EAAE,mDAAmD,EAAE,MAAM,gBAAgB,CAAC;AAErF,OAAO,EAAE,4CAA4C,EAAE,MAAM,0CAA0C,CAAC;AAExG,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAY,aAAa,CACjF,QAAQ,CAAC,6oEAA6oE,EAAE,CAAC,kDAAkD,EAAE,kDAAkD,EAAE,iDAAiD,EAAE,8CAA8C,EAAE,iDAAiD,EAAE,8CAA8C,EAAE,kDAAkD,EAAE,+CAA+C,EAAE,mDAAmD,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAgD1tF;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAC;AAyNhE;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAC;AA6ChE;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -97,6 +97,20 @@ export type PendingApproval = Message<"ai.stigmer.agentic.agentexecution.v1.Pend
|
|
|
97
97
|
* @generated from field: string sub_agent_name = 7;
|
|
98
98
|
*/
|
|
99
99
|
subAgentName: string;
|
|
100
|
+
/**
|
|
101
|
+
* Slug of the MCP server that provides this tool.
|
|
102
|
+
* Copied from ToolCall.mcp_server_slug for UI convenience.
|
|
103
|
+
* Empty for built-in sandbox tools (read, write, shell, etc.).
|
|
104
|
+
*
|
|
105
|
+
* Enables the approval card to classify MCP tools and render
|
|
106
|
+
* structured argument previews (scalar grids, humanized names)
|
|
107
|
+
* instead of falling back to raw JSON.
|
|
108
|
+
*
|
|
109
|
+
* Examples: "planton-cloud", "github", "slack"
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: string mcp_server_slug = 8;
|
|
112
|
+
*/
|
|
113
|
+
mcpServerSlug: string;
|
|
100
114
|
};
|
|
101
115
|
/**
|
|
102
116
|
* Describes the message ai.stigmer.agentic.agentexecution.v1.PendingApproval.
|
|
@@ -5,7 +5,7 @@ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ai/stigmer/agentic/agentexecution/v1/approval.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_ai_stigmer_agentic_agentexecution_v1_approval = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_ai_stigmer_agentic_agentexecution_v1_approval = /*@__PURE__*/ fileDesc("CjNhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRleGVjdXRpb24vdjEvYXBwcm92YWwucHJvdG8SJGFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MSLAAQoPUGVuZGluZ0FwcHJvdmFsEhQKDHRvb2xfY2FsbF9pZBgBIAEoCRIRCgl0b29sX25hbWUYAiABKAkSDwoHbWVzc2FnZRgDIAEoCRIUCgxhcmdzX3ByZXZpZXcYBCABKAkSFAoMcmVxdWVzdGVkX2F0GAUgASgJEhYKDmZyb21fc3ViX2FnZW50GAYgASgIEhYKDnN1Yl9hZ2VudF9uYW1lGAcgASgJEhcKD21jcF9zZXJ2ZXJfc2x1ZxgIIAEoCSKDAQoZQ2hpbGRBcHByb3ZhbE5vdGlmaWNhdGlvbhIUCgxleGVjdXRpb25faWQYASABKAkSUAoRcGVuZGluZ19hcHByb3ZhbHMYAiADKAsyNS5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuUGVuZGluZ0FwcHJvdmFsYgZwcm90bzM");
|
|
9
9
|
/**
|
|
10
10
|
* Describes the message ai.stigmer.agentic.agentexecution.v1.PendingApproval.
|
|
11
11
|
* Use `create(PendingApprovalSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approval_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/approval_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,yIAAyI;AACzI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAY,aAAa,CACtF,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"approval_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/approval_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,yIAAyI;AACzI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAY,aAAa,CACtF,QAAQ,CAAC,6jBAA6jB,CAAC,CAAC;AAsH1kB;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC;AA+DrE;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -100,6 +100,21 @@ export type ExecutionArtifact = Message<"ai.stigmer.agentic.agentexecution.v1.Ex
|
|
|
100
100
|
* @generated from field: repeated string entries = 9;
|
|
101
101
|
*/
|
|
102
102
|
entries: string[];
|
|
103
|
+
/**
|
|
104
|
+
* SHA-256 hex digest of the uploaded artifact bytes.
|
|
105
|
+
*
|
|
106
|
+
* Used as a cache-invalidation signal by UI clients: when the same file
|
|
107
|
+
* is overwritten (e.g., written then edited in the same execution), the
|
|
108
|
+
* storage_key remains stable but the content_hash changes. Clients
|
|
109
|
+
* include this value in their fetch-effect dependencies so that content
|
|
110
|
+
* is re-fetched whenever the underlying bytes change.
|
|
111
|
+
*
|
|
112
|
+
* Empty for older artifacts created before this field was added.
|
|
113
|
+
* Example: "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
114
|
+
*
|
|
115
|
+
* @generated from field: string content_hash = 10;
|
|
116
|
+
*/
|
|
117
|
+
contentHash: string;
|
|
103
118
|
};
|
|
104
119
|
/**
|
|
105
120
|
* Describes the message ai.stigmer.agentic.agentexecution.v1.ExecutionArtifact.
|
|
@@ -7,7 +7,7 @@ import { file_buf_validate_validate } from "../../../../../buf/validate/validate
|
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file ai/stigmer/agentic/agentexecution/v1/artifact.proto.
|
|
9
9
|
*/
|
|
10
|
-
export const file_ai_stigmer_agentic_agentexecution_v1_artifact = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_ai_stigmer_agentic_agentexecution_v1_artifact = /*@__PURE__*/ fileDesc("CjNhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRleGVjdXRpb24vdjEvYXJ0aWZhY3QucHJvdG8SJGFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MSKaAgoRRXhlY3V0aW9uQXJ0aWZhY3QSDAoEbmFtZRgBIAEoCRIUCgxzYW5kYm94X3BhdGgYAiABKAkSUwoEa2luZBgDIAEoDjI7LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5FeGVjdXRpb25BcnRpZmFjdEtpbmRCCLpIBYIBAhABEhIKCnNpemVfYnl0ZXMYBCABKAMSEwoLc3RvcmFnZV9rZXkYBSABKAkSFAoMZG93bmxvYWRfdXJsGAYgASgJEhIKCmNyZWF0ZWRfYXQYByABKAkSEgoKZXhwaXJlc19hdBgIIAEoCRIPCgdlbnRyaWVzGAkgAygJEhQKDGNvbnRlbnRfaGFzaBgKIAEoCWIGcHJvdG8z", [file_ai_stigmer_agentic_agentexecution_v1_enum, file_buf_validate_validate]);
|
|
11
11
|
/**
|
|
12
12
|
* Describes the message ai.stigmer.agentic.agentexecution.v1.ExecutionArtifact.
|
|
13
13
|
* Use `create(ExecutionArtifactSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/artifact_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,yIAAyI;AACzI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,WAAW,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAY,aAAa,CACtF,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"artifact_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/artifact_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,yIAAyI;AACzI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,WAAW,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAY,aAAa,CACtF,QAAQ,CAAC,kgBAAkgB,EAAE,CAAC,8CAA8C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA2H7lB;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file ai/stigmer/agentic/agentexecution/v1/writeback.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_ai_stigmer_agentic_agentexecution_v1_writeback: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* WorkspaceWriteBack captures the outcome of the platform-owned git
|
|
9
|
+
* write-back workflow for a single workspace entry.
|
|
10
|
+
*
|
|
11
|
+
* One entry is created per git-backed workspace entry that had uncommitted
|
|
12
|
+
* changes when the execution reached a terminal phase. Not populated for
|
|
13
|
+
* LocalPathSource workspace entries or git workspaces with no detected
|
|
14
|
+
* changes.
|
|
15
|
+
*
|
|
16
|
+
* The write-back progresses through phases: committed -> pushed ->
|
|
17
|
+
* pr_created. If any step fails, the phase is set to FAILED with the
|
|
18
|
+
* error message, and processing continues to the next workspace entry.
|
|
19
|
+
* One failed write-back does not block others.
|
|
20
|
+
*
|
|
21
|
+
* @since Platform-Owned Git Write-Back
|
|
22
|
+
*
|
|
23
|
+
* @generated from message ai.stigmer.agentic.agentexecution.v1.WorkspaceWriteBack
|
|
24
|
+
*/
|
|
25
|
+
export type WorkspaceWriteBack = Message<"ai.stigmer.agentic.agentexecution.v1.WorkspaceWriteBack"> & {
|
|
26
|
+
/**
|
|
27
|
+
* Name of the workspace entry this write-back corresponds to.
|
|
28
|
+
* Links to SessionSpec.workspace_entries[].name.
|
|
29
|
+
* Example: "my-app", "frontend"
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: string workspace_entry_name = 1;
|
|
32
|
+
*/
|
|
33
|
+
workspaceEntryName: string;
|
|
34
|
+
/**
|
|
35
|
+
* Branch created for the agent's changes.
|
|
36
|
+
* Format: "stigmer/{short_execution_id}"
|
|
37
|
+
* Example: "stigmer/a1b2c3d4"
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: string branch_name = 2;
|
|
40
|
+
*/
|
|
41
|
+
branchName: string;
|
|
42
|
+
/**
|
|
43
|
+
* Base branch the PR targets (the branch that was originally cloned).
|
|
44
|
+
* Example: "main", "develop"
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: string base_branch = 3;
|
|
47
|
+
*/
|
|
48
|
+
baseBranch: string;
|
|
49
|
+
/**
|
|
50
|
+
* Full commit SHA of the agent's changes on the branch.
|
|
51
|
+
* Example: "e3b0c44298fc1c149afbf4c8996fb924"
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string commit_sha = 4;
|
|
54
|
+
*/
|
|
55
|
+
commitSha: string;
|
|
56
|
+
/**
|
|
57
|
+
* GitHub pull request URL.
|
|
58
|
+
* Empty when write-back mode is not PR-based or PR creation failed.
|
|
59
|
+
* Example: "https://github.com/acme/my-app/pull/42"
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: string pull_request_url = 5;
|
|
62
|
+
*/
|
|
63
|
+
pullRequestUrl: string;
|
|
64
|
+
/**
|
|
65
|
+
* GitHub pull request number.
|
|
66
|
+
* 0 when no PR was created.
|
|
67
|
+
*
|
|
68
|
+
* @generated from field: int32 pull_request_number = 6;
|
|
69
|
+
*/
|
|
70
|
+
pullRequestNumber: number;
|
|
71
|
+
/**
|
|
72
|
+
* Human-readable summary of changes from `git diff --stat`.
|
|
73
|
+
* Example: "3 files changed, 42 insertions(+), 7 deletions(-)"
|
|
74
|
+
*
|
|
75
|
+
* @generated from field: string diff_summary = 7;
|
|
76
|
+
*/
|
|
77
|
+
diffSummary: string;
|
|
78
|
+
/**
|
|
79
|
+
* Current phase of the write-back workflow.
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: ai.stigmer.agentic.agentexecution.v1.WorkspaceWriteBackPhase phase = 8;
|
|
82
|
+
*/
|
|
83
|
+
phase: WorkspaceWriteBackPhase;
|
|
84
|
+
/**
|
|
85
|
+
* Error message if the write-back failed at any step.
|
|
86
|
+
* Empty on success.
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: string error = 9;
|
|
89
|
+
*/
|
|
90
|
+
error: string;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message ai.stigmer.agentic.agentexecution.v1.WorkspaceWriteBack.
|
|
94
|
+
* Use `create(WorkspaceWriteBackSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export declare const WorkspaceWriteBackSchema: GenMessage<WorkspaceWriteBack>;
|
|
97
|
+
/**
|
|
98
|
+
* WorkspaceWriteBackPhase tracks the progress of a single workspace
|
|
99
|
+
* write-back through its lifecycle steps.
|
|
100
|
+
*
|
|
101
|
+
* The phases are ordered: COMMITTED -> PUSHED -> PR_CREATED.
|
|
102
|
+
* FAILED can be reached from any step.
|
|
103
|
+
*
|
|
104
|
+
* @generated from enum ai.stigmer.agentic.agentexecution.v1.WorkspaceWriteBackPhase
|
|
105
|
+
*/
|
|
106
|
+
export declare enum WorkspaceWriteBackPhase {
|
|
107
|
+
/**
|
|
108
|
+
* @generated from enum value: WORKSPACE_WRITE_BACK_PHASE_UNSPECIFIED = 0;
|
|
109
|
+
*/
|
|
110
|
+
WORKSPACE_WRITE_BACK_PHASE_UNSPECIFIED = 0,
|
|
111
|
+
/**
|
|
112
|
+
* Changes were committed to a new branch in the sandbox.
|
|
113
|
+
*
|
|
114
|
+
* @generated from enum value: WORKSPACE_WRITE_BACK_COMMITTED = 1;
|
|
115
|
+
*/
|
|
116
|
+
WORKSPACE_WRITE_BACK_COMMITTED = 1,
|
|
117
|
+
/**
|
|
118
|
+
* The branch was pushed to the remote repository.
|
|
119
|
+
*
|
|
120
|
+
* @generated from enum value: WORKSPACE_WRITE_BACK_PUSHED = 2;
|
|
121
|
+
*/
|
|
122
|
+
WORKSPACE_WRITE_BACK_PUSHED = 2,
|
|
123
|
+
/**
|
|
124
|
+
* A pull request was created on the remote repository.
|
|
125
|
+
*
|
|
126
|
+
* @generated from enum value: WORKSPACE_WRITE_BACK_PR_CREATED = 3;
|
|
127
|
+
*/
|
|
128
|
+
WORKSPACE_WRITE_BACK_PR_CREATED = 3,
|
|
129
|
+
/**
|
|
130
|
+
* The write-back failed at some step. Check the error field.
|
|
131
|
+
*
|
|
132
|
+
* @generated from enum value: WORKSPACE_WRITE_BACK_FAILED = 4;
|
|
133
|
+
*/
|
|
134
|
+
WORKSPACE_WRITE_BACK_FAILED = 4
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Describes the enum ai.stigmer.agentic.agentexecution.v1.WorkspaceWriteBackPhase.
|
|
138
|
+
*/
|
|
139
|
+
export declare const WorkspaceWriteBackPhaseSchema: GenEnum<WorkspaceWriteBackPhase>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/agentexecution/v1/writeback.proto (package ai.stigmer.agentic.agentexecution.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file ai/stigmer/agentic/agentexecution/v1/writeback.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_ai_stigmer_agentic_agentexecution_v1_writeback = /*@__PURE__*/ fileDesc("CjRhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRleGVjdXRpb24vdjEvd3JpdGViYWNrLnByb3RvEiRhaS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEimgIKEldvcmtzcGFjZVdyaXRlQmFjaxIcChR3b3Jrc3BhY2VfZW50cnlfbmFtZRgBIAEoCRITCgticmFuY2hfbmFtZRgCIAEoCRITCgtiYXNlX2JyYW5jaBgDIAEoCRISCgpjb21taXRfc2hhGAQgASgJEhgKEHB1bGxfcmVxdWVzdF91cmwYBSABKAkSGwoTcHVsbF9yZXF1ZXN0X251bWJlchgGIAEoBRIUCgxkaWZmX3N1bW1hcnkYByABKAkSTAoFcGhhc2UYCCABKA4yPS5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuV29ya3NwYWNlV3JpdGVCYWNrUGhhc2USDQoFZXJyb3IYCSABKAkq0AEKF1dvcmtzcGFjZVdyaXRlQmFja1BoYXNlEioKJldPUktTUEFDRV9XUklURV9CQUNLX1BIQVNFX1VOU1BFQ0lGSUVEEAASIgoeV09SS1NQQUNFX1dSSVRFX0JBQ0tfQ09NTUlUVEVEEAESHwobV09SS1NQQUNFX1dSSVRFX0JBQ0tfUFVTSEVEEAISIwofV09SS1NQQUNFX1dSSVRFX0JBQ0tfUFJfQ1JFQVRFRBADEh8KG1dPUktTUEFDRV9XUklURV9CQUNLX0ZBSUxFRBAEYgZwcm90bzM");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the message ai.stigmer.agentic.agentexecution.v1.WorkspaceWriteBack.
|
|
11
|
+
* Use `create(WorkspaceWriteBackSchema)` to create a new message.
|
|
12
|
+
*/
|
|
13
|
+
export const WorkspaceWriteBackSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentexecution_v1_writeback, 0);
|
|
14
|
+
/**
|
|
15
|
+
* WorkspaceWriteBackPhase tracks the progress of a single workspace
|
|
16
|
+
* write-back through its lifecycle steps.
|
|
17
|
+
*
|
|
18
|
+
* The phases are ordered: COMMITTED -> PUSHED -> PR_CREATED.
|
|
19
|
+
* FAILED can be reached from any step.
|
|
20
|
+
*
|
|
21
|
+
* @generated from enum ai.stigmer.agentic.agentexecution.v1.WorkspaceWriteBackPhase
|
|
22
|
+
*/
|
|
23
|
+
export var WorkspaceWriteBackPhase;
|
|
24
|
+
(function (WorkspaceWriteBackPhase) {
|
|
25
|
+
/**
|
|
26
|
+
* @generated from enum value: WORKSPACE_WRITE_BACK_PHASE_UNSPECIFIED = 0;
|
|
27
|
+
*/
|
|
28
|
+
WorkspaceWriteBackPhase[WorkspaceWriteBackPhase["WORKSPACE_WRITE_BACK_PHASE_UNSPECIFIED"] = 0] = "WORKSPACE_WRITE_BACK_PHASE_UNSPECIFIED";
|
|
29
|
+
/**
|
|
30
|
+
* Changes were committed to a new branch in the sandbox.
|
|
31
|
+
*
|
|
32
|
+
* @generated from enum value: WORKSPACE_WRITE_BACK_COMMITTED = 1;
|
|
33
|
+
*/
|
|
34
|
+
WorkspaceWriteBackPhase[WorkspaceWriteBackPhase["WORKSPACE_WRITE_BACK_COMMITTED"] = 1] = "WORKSPACE_WRITE_BACK_COMMITTED";
|
|
35
|
+
/**
|
|
36
|
+
* The branch was pushed to the remote repository.
|
|
37
|
+
*
|
|
38
|
+
* @generated from enum value: WORKSPACE_WRITE_BACK_PUSHED = 2;
|
|
39
|
+
*/
|
|
40
|
+
WorkspaceWriteBackPhase[WorkspaceWriteBackPhase["WORKSPACE_WRITE_BACK_PUSHED"] = 2] = "WORKSPACE_WRITE_BACK_PUSHED";
|
|
41
|
+
/**
|
|
42
|
+
* A pull request was created on the remote repository.
|
|
43
|
+
*
|
|
44
|
+
* @generated from enum value: WORKSPACE_WRITE_BACK_PR_CREATED = 3;
|
|
45
|
+
*/
|
|
46
|
+
WorkspaceWriteBackPhase[WorkspaceWriteBackPhase["WORKSPACE_WRITE_BACK_PR_CREATED"] = 3] = "WORKSPACE_WRITE_BACK_PR_CREATED";
|
|
47
|
+
/**
|
|
48
|
+
* The write-back failed at some step. Check the error field.
|
|
49
|
+
*
|
|
50
|
+
* @generated from enum value: WORKSPACE_WRITE_BACK_FAILED = 4;
|
|
51
|
+
*/
|
|
52
|
+
WorkspaceWriteBackPhase[WorkspaceWriteBackPhase["WORKSPACE_WRITE_BACK_FAILED"] = 4] = "WORKSPACE_WRITE_BACK_FAILED";
|
|
53
|
+
})(WorkspaceWriteBackPhase || (WorkspaceWriteBackPhase = {}));
|
|
54
|
+
/**
|
|
55
|
+
* Describes the enum ai.stigmer.agentic.agentexecution.v1.WorkspaceWriteBackPhase.
|
|
56
|
+
*/
|
|
57
|
+
export const WorkspaceWriteBackPhaseSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_writeback, 0);
|
|
58
|
+
//# sourceMappingURL=writeback_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"writeback_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/writeback_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,0IAA0I;AAC1I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG/E;;GAEG;AACH,MAAM,CAAC,MAAM,mDAAmD,GAAY,aAAa,CACvF,QAAQ,CAAC,6xBAA6xB,CAAC,CAAC;AAgG1yB;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,mDAAmD,EAAE,CAAC,CAAC,CAAC;AAEtE;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,uBAiCX;AAjCD,WAAY,uBAAuB;IACjC;;OAEG;IACH,yIAA0C,CAAA;IAE1C;;;;OAIG;IACH,yHAAkC,CAAA;IAElC;;;;OAIG;IACH,mHAA+B,CAAA;IAE/B;;;;OAIG;IACH,2HAAmC,CAAA;IAEnC;;;;OAIG;IACH,mHAA+B,CAAA;AACjC,CAAC,EAjCW,uBAAuB,KAAvB,uBAAuB,QAiClC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAqC,aAAa,CAC1F,QAAQ,CAAC,mDAAmD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -24,12 +24,13 @@ export declare const AgentInstanceCommandController: {
|
|
|
24
24
|
* Create a new agent instance with full state.
|
|
25
25
|
* Provide organization_id in metadata.org, and complete spec with configuration and secrets.
|
|
26
26
|
*
|
|
27
|
-
* Authorization:
|
|
27
|
+
* Authorization: FGA can_create_instance on parent agent (handler-level)
|
|
28
28
|
* - Checks can_create_instance on parent agent (via spec.agent_id)
|
|
29
|
-
* -
|
|
30
|
-
* -
|
|
29
|
+
* - Public agents: Any authenticated user can create instances (cross-org allowed)
|
|
30
|
+
* - Private agents: Only org members and agent owner can create instances
|
|
31
31
|
*
|
|
32
|
-
*
|
|
32
|
+
* FGA is the single source of truth — no hardcoded org-matching rules.
|
|
33
|
+
* Agents are blueprints with zero secrets; instances are personal resources in the caller's org.
|
|
33
34
|
*
|
|
34
35
|
* @generated from rpc ai.stigmer.agentic.agentinstance.v1.AgentInstanceCommandController.create
|
|
35
36
|
*/
|
|
@@ -29,12 +29,13 @@ export const AgentInstanceCommandController = {
|
|
|
29
29
|
* Create a new agent instance with full state.
|
|
30
30
|
* Provide organization_id in metadata.org, and complete spec with configuration and secrets.
|
|
31
31
|
*
|
|
32
|
-
* Authorization:
|
|
32
|
+
* Authorization: FGA can_create_instance on parent agent (handler-level)
|
|
33
33
|
* - Checks can_create_instance on parent agent (via spec.agent_id)
|
|
34
|
-
* -
|
|
35
|
-
* -
|
|
34
|
+
* - Public agents: Any authenticated user can create instances (cross-org allowed)
|
|
35
|
+
* - Private agents: Only org members and agent owner can create instances
|
|
36
36
|
*
|
|
37
|
-
*
|
|
37
|
+
* FGA is the single source of truth — no hardcoded org-matching rules.
|
|
38
|
+
* Agents are blueprints with zero secrets; instances are personal resources in the caller's org.
|
|
38
39
|
*
|
|
39
40
|
* @generated from rpc ai.stigmer.agentic.agentinstance.v1.AgentInstanceCommandController.create
|
|
40
41
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentinstance/v1/command_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,sIAAsI;AACtI,oBAAoB;AACpB,cAAc;AAGd,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,QAAQ,EAAE,oEAAoE;IAC9E,OAAO,EAAE;QACP;;;;;;WAMG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,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,wEAAwE;AACxE,sIAAsI;AACtI,oBAAoB;AACpB,cAAc;AAGd,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,QAAQ,EAAE,oEAAoE;IAC9E,OAAO,EAAE;QACP;;;;;;WAMG;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;;;;;;;WAOG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,aAAa;YAChB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;WAKG;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"}
|
|
@@ -28,12 +28,13 @@ export declare const AgentInstanceCommandController: GenService<{
|
|
|
28
28
|
* Create a new agent instance with full state.
|
|
29
29
|
* Provide organization_id in metadata.org, and complete spec with configuration and secrets.
|
|
30
30
|
*
|
|
31
|
-
* Authorization:
|
|
31
|
+
* Authorization: FGA can_create_instance on parent agent (handler-level)
|
|
32
32
|
* - Checks can_create_instance on parent agent (via spec.agent_id)
|
|
33
|
-
* -
|
|
34
|
-
* -
|
|
33
|
+
* - Public agents: Any authenticated user can create instances (cross-org allowed)
|
|
34
|
+
* - Private agents: Only org members and agent owner can create instances
|
|
35
35
|
*
|
|
36
|
-
*
|
|
36
|
+
* FGA is the single source of truth — no hardcoded org-matching rules.
|
|
37
|
+
* Agents are blueprints with zero secrets; instances are personal resources in the caller's org.
|
|
37
38
|
*
|
|
38
39
|
* @generated from rpc ai.stigmer.agentic.agentinstance.v1.AgentInstanceCommandController.create
|
|
39
40
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentinstance/v1/command_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,sIAAsI;AACtI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,4CAA4C,EAAE,MAAM,UAAU,CAAC;AAExE,OAAO,EAAE,2CAA2C,EAAE,MAAM,SAAS,CAAC;AACtE,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,gEAAgE,EAAE,MAAM,8DAA8D,CAAC;AAEhJ;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAY,aAAa,CACpF,QAAQ,CAAC,k8BAAk8B,EAAE,CAAC,4CAA4C,EAAE,2CAA2C,EAAE,uDAAuD,EAAE,gEAAgE,CAAC,CAAC,CAAC;AAEvqC;;;;;GAKG;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,gEAAgE;AAChE,sIAAsI;AACtI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,4CAA4C,EAAE,MAAM,UAAU,CAAC;AAExE,OAAO,EAAE,2CAA2C,EAAE,MAAM,SAAS,CAAC;AACtE,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,gEAAgE,EAAE,MAAM,8DAA8D,CAAC;AAEhJ;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAY,aAAa,CACpF,QAAQ,CAAC,k8BAAk8B,EAAE,CAAC,4CAA4C,EAAE,2CAA2C,EAAE,uDAAuD,EAAE,gEAAgE,CAAC,CAAC,CAAC;AAEvqC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAwDtC,aAAa,CAChB,WAAW,CAAC,gDAAgD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the file ai/stigmer/agentic/session/v1/enum.proto.
|
|
4
|
+
*/
|
|
5
|
+
export declare const file_ai_stigmer_agentic_session_v1_enum: GenFile;
|
|
6
|
+
/**
|
|
7
|
+
* GitWriteBackMode controls the platform's post-execution git workflow
|
|
8
|
+
* for a git-backed workspace entry.
|
|
9
|
+
*
|
|
10
|
+
* The user sets this when creating a session to opt in to automatic
|
|
11
|
+
* PR creation. The agent never sees or controls this setting.
|
|
12
|
+
*
|
|
13
|
+
* @generated from enum ai.stigmer.agentic.session.v1.GitWriteBackMode
|
|
14
|
+
*/
|
|
15
|
+
export declare enum GitWriteBackMode {
|
|
16
|
+
/**
|
|
17
|
+
* No write-back. File changes remain in the sandbox only.
|
|
18
|
+
* Artifacts are still published as downloadable files.
|
|
19
|
+
*
|
|
20
|
+
* @generated from enum value: GIT_WRITE_BACK_MODE_UNSPECIFIED = 0;
|
|
21
|
+
*/
|
|
22
|
+
GIT_WRITE_BACK_MODE_UNSPECIFIED = 0,
|
|
23
|
+
/**
|
|
24
|
+
* After execution completes, the platform automatically:
|
|
25
|
+
* 1. Detects uncommitted changes via `git diff`
|
|
26
|
+
* 2. Creates a branch (stigmer/{execution_id_short})
|
|
27
|
+
* 3. Commits all changes
|
|
28
|
+
* 4. Pushes the branch to the remote
|
|
29
|
+
* 5. Creates a pull request targeting the original branch
|
|
30
|
+
*
|
|
31
|
+
* The write-back outcome is recorded in
|
|
32
|
+
* AgentExecutionStatus.workspace_write_backs.
|
|
33
|
+
*
|
|
34
|
+
* @generated from enum value: GIT_WRITE_BACK_BRANCH_AND_PR = 1;
|
|
35
|
+
*/
|
|
36
|
+
GIT_WRITE_BACK_BRANCH_AND_PR = 1
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Describes the enum ai.stigmer.agentic.session.v1.GitWriteBackMode.
|
|
40
|
+
*/
|
|
41
|
+
export declare const GitWriteBackModeSchema: GenEnum<GitWriteBackMode>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/session/v1/enum.proto (package ai.stigmer.agentic.session.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file ai/stigmer/agentic/session/v1/enum.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_ai_stigmer_agentic_session_v1_enum = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9lbnVtLnByb3RvEh1haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MSpZChBHaXRXcml0ZUJhY2tNb2RlEiMKH0dJVF9XUklURV9CQUNLX01PREVfVU5TUEVDSUZJRUQQABIgChxHSVRfV1JJVEVfQkFDS19CUkFOQ0hfQU5EX1BSEAFiBnByb3RvMw");
|
|
9
|
+
/**
|
|
10
|
+
* GitWriteBackMode controls the platform's post-execution git workflow
|
|
11
|
+
* for a git-backed workspace entry.
|
|
12
|
+
*
|
|
13
|
+
* The user sets this when creating a session to opt in to automatic
|
|
14
|
+
* PR creation. The agent never sees or controls this setting.
|
|
15
|
+
*
|
|
16
|
+
* @generated from enum ai.stigmer.agentic.session.v1.GitWriteBackMode
|
|
17
|
+
*/
|
|
18
|
+
export var GitWriteBackMode;
|
|
19
|
+
(function (GitWriteBackMode) {
|
|
20
|
+
/**
|
|
21
|
+
* No write-back. File changes remain in the sandbox only.
|
|
22
|
+
* Artifacts are still published as downloadable files.
|
|
23
|
+
*
|
|
24
|
+
* @generated from enum value: GIT_WRITE_BACK_MODE_UNSPECIFIED = 0;
|
|
25
|
+
*/
|
|
26
|
+
GitWriteBackMode[GitWriteBackMode["GIT_WRITE_BACK_MODE_UNSPECIFIED"] = 0] = "GIT_WRITE_BACK_MODE_UNSPECIFIED";
|
|
27
|
+
/**
|
|
28
|
+
* After execution completes, the platform automatically:
|
|
29
|
+
* 1. Detects uncommitted changes via `git diff`
|
|
30
|
+
* 2. Creates a branch (stigmer/{execution_id_short})
|
|
31
|
+
* 3. Commits all changes
|
|
32
|
+
* 4. Pushes the branch to the remote
|
|
33
|
+
* 5. Creates a pull request targeting the original branch
|
|
34
|
+
*
|
|
35
|
+
* The write-back outcome is recorded in
|
|
36
|
+
* AgentExecutionStatus.workspace_write_backs.
|
|
37
|
+
*
|
|
38
|
+
* @generated from enum value: GIT_WRITE_BACK_BRANCH_AND_PR = 1;
|
|
39
|
+
*/
|
|
40
|
+
GitWriteBackMode[GitWriteBackMode["GIT_WRITE_BACK_BRANCH_AND_PR"] = 1] = "GIT_WRITE_BACK_BRANCH_AND_PR";
|
|
41
|
+
})(GitWriteBackMode || (GitWriteBackMode = {}));
|
|
42
|
+
/**
|
|
43
|
+
* Describes the enum ai.stigmer.agentic.session.v1.GitWriteBackMode.
|
|
44
|
+
*/
|
|
45
|
+
export const GitWriteBackModeSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_session_v1_enum, 0);
|
|
46
|
+
//# sourceMappingURL=enum_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,uHAAuH;AACvH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,wOAAwO,CAAC,CAAC;AAErP;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,gBAuBX;AAvBD,WAAY,gBAAgB;IAC1B;;;;;OAKG;IACH,6GAAmC,CAAA;IAEnC;;;;;;;;;;;;OAYG;IACH,uGAAgC,CAAA;AAClC,CAAC,EAvBW,gBAAgB,KAAhB,gBAAgB,QAuB3B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAA8B,aAAa,CAC5E,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { GitWriteBackMode } from "./enum_pb";
|
|
2
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
3
4
|
/**
|
|
4
5
|
* Describes the file ai/stigmer/agentic/session/v1/workspace.proto.
|
|
@@ -159,6 +160,23 @@ export type GitRepoSource = Message<"ai.stigmer.agentic.session.v1.GitRepoSource
|
|
|
159
160
|
* @generated from field: optional int32 depth = 4;
|
|
160
161
|
*/
|
|
161
162
|
depth?: number;
|
|
163
|
+
/**
|
|
164
|
+
* Controls whether the platform automatically creates a branch and
|
|
165
|
+
* pull request from the agent's file changes after execution completes.
|
|
166
|
+
*
|
|
167
|
+
* This is a platform-level workflow, not an agent-level decision. The
|
|
168
|
+
* agent focuses on making code changes; the platform packages them.
|
|
169
|
+
*
|
|
170
|
+
* Requires git credentials to be configured during workspace provisioning
|
|
171
|
+
* (GITHUB_TOKEN available in the execution environment). If credentials
|
|
172
|
+
* are not available, the write-back is silently skipped regardless of
|
|
173
|
+
* this setting.
|
|
174
|
+
*
|
|
175
|
+
* Default (UNSPECIFIED): no write-back, current behavior.
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: ai.stigmer.agentic.session.v1.GitWriteBackMode write_back_mode = 5;
|
|
178
|
+
*/
|
|
179
|
+
writeBackMode: GitWriteBackMode;
|
|
162
180
|
};
|
|
163
181
|
/**
|
|
164
182
|
* Describes the message ai.stigmer.agentic.session.v1.GitRepoSource.
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/agentic/session/v1/workspace.proto (package ai.stigmer.agentic.session.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_session_v1_enum } from "./enum_pb";
|
|
5
6
|
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
|
|
6
7
|
/**
|
|
7
8
|
* Describes the file ai/stigmer/agentic/session/v1/workspace.proto.
|
|
8
9
|
*/
|
|
9
|
-
export const file_ai_stigmer_agentic_session_v1_workspace = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_ai_stigmer_agentic_session_v1_workspace = /*@__PURE__*/ fileDesc("Ci1haS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS93b3Jrc3BhY2UucHJvdG8SHWFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxIqoBCg9Xb3Jrc3BhY2VTb3VyY2USQAoIZ2l0X3JlcG8YASABKAsyLC5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5HaXRSZXBvU291cmNlSAASRAoKbG9jYWxfcGF0aBgCIAEoCzIuLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLkxvY2FsUGF0aFNvdXJjZUgAQg8KBnNvdXJjZRIFukgCCAEibwoOV29ya3NwYWNlRW50cnkSFQoEbmFtZRgBIAEoCUIHukgEcgIQARJGCgZzb3VyY2UYAiABKAsyLi5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5Xb3Jrc3BhY2VTb3VyY2VCBrpIA8gBASIoCg9Mb2NhbFBhdGhTb3VyY2USFQoEcGF0aBgBIAEoCUIHukgEcgIQASLIAgoNR2l0UmVwb1NvdXJjZRKlAQoDdXJsGAEgASgJQpcBukiTAboBjAEKGWdpdF9yZXBvX3NvdXJjZS51cmwuaHR0cHMSUnVybCBtdXN0IHVzZSBIVFRQUyAoZS5nLiBodHRwczovL2dpdGh1Yi5jb20vb3JnL3JlcG8pLiBTU0ggVVJMcyBhcmUgbm90IHN1cHBvcnRlZC4aG3RoaXMuc3RhcnRzV2l0aCgnaHR0cHM6Ly8nKcgBARIOCgZicmFuY2gYAiABKAkSDgoGY29tbWl0GAMgASgJEhsKBWRlcHRoGAQgASgFQge6SAQaAigASACIAQESSAoPd3JpdGVfYmFja19tb2RlGAUgASgOMi8uYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuR2l0V3JpdGVCYWNrTW9kZUIICgZfZGVwdGhiBnByb3RvMw", [file_ai_stigmer_agentic_session_v1_enum, file_buf_validate_validate]);
|
|
10
11
|
/**
|
|
11
12
|
* Describes the message ai.stigmer.agentic.session.v1.WorkspaceSource.
|
|
12
13
|
* Use `create(WorkspaceSourceSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/workspace_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"workspace_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/workspace_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,WAAW,CAAC;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,o+BAAo+B,EAAE,CAAC,uCAAuC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA8BxjC;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AAmC/D;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AA4B/D;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AA+E/D;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
|