@stigmer/protos 0.4.7 → 0.5.0
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/approval_pb.d.ts +40 -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/runner/v1/api_pb.d.ts +9 -0
- package/ai/stigmer/agentic/runner/v1/api_pb.js +1 -1
- package/ai/stigmer/agentic/runner/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/api_pb.d.ts +46 -4
- package/ai/stigmer/agentic/session/v1/api_pb.js +7 -1
- package/ai/stigmer/agentic/session/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/command_connect.d.ts +18 -0
- package/ai/stigmer/agentic/session/v1/command_connect.js +19 -1
- package/ai/stigmer/agentic/session/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/command_pb.d.ts +18 -1
- package/ai/stigmer/agentic/session/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/session/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +58 -0
- package/ai/stigmer/agentic/session/v1/enum_pb.js +60 -1
- package/ai/stigmer/agentic/session/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/io_pb.d.ts +33 -0
- package/ai/stigmer/agentic/session/v1/io_pb.js +7 -1
- package/ai/stigmer/agentic/session/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/memory_pb.d.ts +216 -0
- package/ai/stigmer/agentic/session/v1/memory_pb.js +24 -0
- package/ai/stigmer/agentic/session/v1/memory_pb.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +23 -1
- package/ai/stigmer/agentic/session/v1/spec_pb.js +1 -1
- package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/io_pb.d.ts +149 -0
- package/ai/stigmer/agentic/skill/v1/io_pb.js +18 -1
- package/ai/stigmer/agentic/skill/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/query_connect.d.ts +19 -0
- package/ai/stigmer/agentic/skill/v1/query_connect.js +20 -1
- package/ai/stigmer/agentic/skill/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/query_pb.d.ts +19 -1
- package/ai/stigmer/agentic/skill/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/skill/v1/query_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -117,6 +117,46 @@ export type PendingApproval = Message<"ai.stigmer.agentic.agentexecution.v1.Pend
|
|
|
117
117
|
* @generated from field: string sub_agent_subject = 9;
|
|
118
118
|
*/
|
|
119
119
|
subAgentSubject: string;
|
|
120
|
+
/**
|
|
121
|
+
* Why the agent wanted to execute this tool.
|
|
122
|
+
*
|
|
123
|
+
* Extracted from the last assistant message before the tool call.
|
|
124
|
+
* Gives the reinvocation agent context for the original intent, enabling
|
|
125
|
+
* it to decide whether the action still makes sense.
|
|
126
|
+
*
|
|
127
|
+
* Example: "Need to install the missing dependency to fix the build"
|
|
128
|
+
* Empty when rationale extraction was not possible.
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: string agent_rationale = 10;
|
|
131
|
+
*/
|
|
132
|
+
agentRationale: string;
|
|
133
|
+
/**
|
|
134
|
+
* Git branch name at the time the tool was denied.
|
|
135
|
+
*
|
|
136
|
+
* Diagnostic metadata only — the reinvocation agent inspects the actual
|
|
137
|
+
* current workspace state rather than relying on this value. Included
|
|
138
|
+
* in the HITL continuation prompt as a reference point for the agent
|
|
139
|
+
* to detect whether workspace state has drifted.
|
|
140
|
+
*
|
|
141
|
+
* Example: "feature/add-auth"
|
|
142
|
+
* Empty when the workspace is not git-backed.
|
|
143
|
+
*
|
|
144
|
+
* @generated from field: string branch_at_deny = 11;
|
|
145
|
+
*/
|
|
146
|
+
branchAtDeny: string;
|
|
147
|
+
/**
|
|
148
|
+
* Git HEAD SHA at the time the tool was denied.
|
|
149
|
+
*
|
|
150
|
+
* Diagnostic metadata only — same purpose as branch_at_deny. Allows
|
|
151
|
+
* the reinvocation agent to compare against current HEAD to understand
|
|
152
|
+
* whether commits have landed since the tool was proposed.
|
|
153
|
+
*
|
|
154
|
+
* Example: "a1b2c3d4e5f6..."
|
|
155
|
+
* Empty when the workspace is not git-backed.
|
|
156
|
+
*
|
|
157
|
+
* @generated from field: string head_sha_at_deny = 12;
|
|
158
|
+
*/
|
|
159
|
+
headShaAtDeny: string;
|
|
120
160
|
};
|
|
121
161
|
/**
|
|
122
162
|
* 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("CjNhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRleGVjdXRpb24vdjEvYXBwcm92YWwucHJvdG8SJGFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MSKmAgoPUGVuZGluZ0FwcHJvdmFsEhQKDHRvb2xfY2FsbF9pZBgBIAEoCRIRCgl0b29sX25hbWUYAiABKAkSDwoHbWVzc2FnZRgDIAEoCRIUCgxhcmdzX3ByZXZpZXcYBCABKAkSFAoMcmVxdWVzdGVkX2F0GAUgASgJEhYKDmZyb21fc3ViX2FnZW50GAYgASgIEhYKDnN1Yl9hZ2VudF9uYW1lGAcgASgJEhcKD21jcF9zZXJ2ZXJfc2x1ZxgIIAEoCRIZChFzdWJfYWdlbnRfc3ViamVjdBgJIAEoCRIXCg9hZ2VudF9yYXRpb25hbGUYCiABKAkSFgoOYnJhbmNoX2F0X2RlbnkYCyABKAkSGAoQaGVhZF9zaGFfYXRfZGVueRgMIAEoCSKDAQoZQ2hpbGRBcHByb3ZhbE5vdGlmaWNhdGlvbhIUCgxleGVjdXRpb25faWQYASABKAkSUAoRcGVuZGluZ19hcHByb3ZhbHMYAiADKAsyNS5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuUGVuZGluZ0FwcHJvdmFsYgZwcm90bzM");
|
|
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,oFAAoF;AACpF,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,oFAAoF;AACpF,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,qsBAAqsB,CAAC,CAAC;AAwKltB;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC;AAuDrE;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -197,6 +197,15 @@ export type RunnerConnectionInfo = Message<"ai.stigmer.agentic.runner.v1.RunnerC
|
|
|
197
197
|
* @generated from field: string runner_version = 4;
|
|
198
198
|
*/
|
|
199
199
|
runnerVersion: string;
|
|
200
|
+
/**
|
|
201
|
+
* Stable machine identifier, generated once per Stigmer CLI installation
|
|
202
|
+
* and persisted at ~/.stigmer/machine.json. Used for runner deduplication
|
|
203
|
+
* across hostname changes. Format: "mach_" + 32 hex chars.
|
|
204
|
+
* Example: "mach_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: string machine_id = 5;
|
|
207
|
+
*/
|
|
208
|
+
machineId: string;
|
|
200
209
|
};
|
|
201
210
|
/**
|
|
202
211
|
* Describes the message ai.stigmer.agentic.runner.v1.RunnerConnectionInfo.
|
|
@@ -11,7 +11,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
11
11
|
/**
|
|
12
12
|
* Describes the file ai/stigmer/agentic/runner/v1/api.proto.
|
|
13
13
|
*/
|
|
14
|
-
export const file_ai_stigmer_agentic_runner_v1_api = /*@__PURE__*/ fileDesc("CiZhaS9zdGlnbWVyL2FnZW50aWMvcnVubmVyL3YxL2FwaS5wcm90bxIcYWkuc3RpZ21lci5hZ2VudGljLnJ1bm5lci52MSKbAgoGUnVubmVyEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlbnRpYy5zdGlnbWVyLmFpL3YxEhsKBGtpbmQYAiABKAlCDbpICnIICgZSdW5uZXISTQoIbWV0YWRhdGEYAyABKAsyMy5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VNZXRhZGF0YUIGukgDyAEBEjYKBHNwZWMYBCABKAsyKC5haS5zdGlnbWVyLmFnZW50aWMucnVubmVyLnYxLlJ1bm5lclNwZWMSOgoGc3RhdHVzGAUgASgLMiouYWkuc3RpZ21lci5hZ2VudGljLnJ1bm5lci52MS5SdW5uZXJTdGF0dXMiowMKDFJ1bm5lclN0YXR1cxI/
|
|
14
|
+
export const file_ai_stigmer_agentic_runner_v1_api = /*@__PURE__*/ fileDesc("CiZhaS9zdGlnbWVyL2FnZW50aWMvcnVubmVyL3YxL2FwaS5wcm90bxIcYWkuc3RpZ21lci5hZ2VudGljLnJ1bm5lci52MSKbAgoGUnVubmVyEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlbnRpYy5zdGlnbWVyLmFpL3YxEhsKBGtpbmQYAiABKAlCDbpICnIICgZSdW5uZXISTQoIbWV0YWRhdGEYAyABKAsyMy5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VNZXRhZGF0YUIGukgDyAEBEjYKBHNwZWMYBCABKAsyKC5haS5zdGlnbWVyLmFnZW50aWMucnVubmVyLnYxLlJ1bm5lclNwZWMSOgoGc3RhdHVzGAUgASgLMiouYWkuc3RpZ21lci5hZ2VudGljLnJ1bm5lci52MS5SdW5uZXJTdGF0dXMiowMKDFJ1bm5lclN0YXR1cxI/CgVhdWRpdBhjIAEoCzIwLmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZUF1ZGl0EjgKBXBoYXNlGAEgASgOMikuYWkuc3RpZ21lci5hZ2VudGljLnJ1bm5lci52MS5SdW5uZXJQaGFzZRISCgp0YXNrX3F1ZXVlGAIgASgJEjUKEWxhc3RfaGVhcnRiZWF0X2F0GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgpzdGFydGVkX2F0GAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgpzdG9wcGVkX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIaChJjdXJyZW50X2V4ZWN1dGlvbnMYBiABKAUSSwoPY29ubmVjdGlvbl9pbmZvGAggASgLMjIuYWkuc3RpZ21lci5hZ2VudGljLnJ1bm5lci52MS5SdW5uZXJDb25uZWN0aW9uSW5mb0oECAcQCCJuChRSdW5uZXJDb25uZWN0aW9uSW5mbxIQCghob3N0bmFtZRgBIAEoCRIKCgJvcxgCIAEoCRIMCgRhcmNoGAMgASgJEhYKDnJ1bm5lcl92ZXJzaW9uGAQgASgJEhIKCm1hY2hpbmVfaWQYBSABKAliBnByb3RvMw", [file_ai_stigmer_agentic_runner_v1_enum, file_ai_stigmer_agentic_runner_v1_spec, file_ai_stigmer_commons_apiresource_metadata, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
15
15
|
/**
|
|
16
16
|
* Describes the message ai.stigmer.agentic.runner.v1.Runner.
|
|
17
17
|
* Use `create(RunnerSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/runner/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oHAAoH;AACpH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,cAAc,CAAC;AAEtE,OAAO,EAAE,sCAAsC,EAAE,MAAM,cAAc,CAAC;AAEtE,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAE3G,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/runner/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oHAAoH;AACpH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,cAAc,CAAC;AAEtE,OAAO,EAAE,sCAAsC,EAAE,MAAM,cAAc,CAAC;AAEtE,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAE3G,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,grCAAgrC,EAAE,CAAC,sCAAsC,EAAE,sCAAsC,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AA0Er6C;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAuB,aAAa,CAC3D,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAgFxD;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA0DxD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { SessionMemory } from "./memory_pb.js";
|
|
2
3
|
import type { SessionSpec } from "./spec_pb.js";
|
|
3
4
|
import type { ApiResourceMetadata } from "../../../commons/apiresource/metadata_pb.js";
|
|
4
|
-
import type {
|
|
5
|
+
import type { ApiResourceAudit } from "../../../commons/apiresource/status_pb.js";
|
|
5
6
|
import type { Message } from "@bufbuild/protobuf";
|
|
6
7
|
/**
|
|
7
8
|
* Describes the file ai/stigmer/agentic/session/v1/api.proto.
|
|
@@ -39,14 +40,55 @@ export type Session = Message<"ai.stigmer.agentic.session.v1.Session"> & {
|
|
|
39
40
|
*/
|
|
40
41
|
spec?: SessionSpec;
|
|
41
42
|
/**
|
|
42
|
-
* System-managed
|
|
43
|
+
* System-managed session state and audit information.
|
|
43
44
|
*
|
|
44
|
-
* @generated from field: ai.stigmer.
|
|
45
|
+
* @generated from field: ai.stigmer.agentic.session.v1.SessionStatus status = 5;
|
|
45
46
|
*/
|
|
46
|
-
status?:
|
|
47
|
+
status?: SessionStatus;
|
|
47
48
|
};
|
|
48
49
|
/**
|
|
49
50
|
* Describes the message ai.stigmer.agentic.session.v1.Session.
|
|
50
51
|
* Use `create(SessionSchema)` to create a new message.
|
|
51
52
|
*/
|
|
52
53
|
export declare const SessionSchema: GenMessage<Session>;
|
|
54
|
+
/**
|
|
55
|
+
* SessionStatus contains system-managed runtime state for a session.
|
|
56
|
+
*
|
|
57
|
+
* This follows the same pattern as AgentExecutionStatus: domain-specific
|
|
58
|
+
* status fields alongside the standard audit at field 99.
|
|
59
|
+
*
|
|
60
|
+
* Previously Session.status was ApiResourceAuditStatus (audit-only). The
|
|
61
|
+
* introduction of session memory required a proper status message. The
|
|
62
|
+
* wire format is backward-compatible: ApiResourceAuditStatus.audit was at
|
|
63
|
+
* field 99, and SessionStatus.audit is at the same field number, so
|
|
64
|
+
* existing MongoDB documents deserialize correctly.
|
|
65
|
+
*
|
|
66
|
+
* @generated from message ai.stigmer.agentic.session.v1.SessionStatus
|
|
67
|
+
*/
|
|
68
|
+
export type SessionStatus = Message<"ai.stigmer.agentic.session.v1.SessionStatus"> & {
|
|
69
|
+
/**
|
|
70
|
+
* Durable session memory for continuation across agent evictions.
|
|
71
|
+
*
|
|
72
|
+
* Updated after each completed execution turn by the runner. When a
|
|
73
|
+
* fresh agent is created (because the previous one expired or the local
|
|
74
|
+
* store lookup failed), the continuation prompt is built from this
|
|
75
|
+
* memory.
|
|
76
|
+
*
|
|
77
|
+
* Empty until the first execution completes. Never cleared — only
|
|
78
|
+
* overwritten with newer state.
|
|
79
|
+
*
|
|
80
|
+
* @generated from field: ai.stigmer.agentic.session.v1.SessionMemory session_memory = 1;
|
|
81
|
+
*/
|
|
82
|
+
sessionMemory?: SessionMemory;
|
|
83
|
+
/**
|
|
84
|
+
* Standard audit information (created_at, updated_at, created_by, etc.)
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceAudit audit = 99;
|
|
87
|
+
*/
|
|
88
|
+
audit?: ApiResourceAudit;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Describes the message ai.stigmer.agentic.session.v1.SessionStatus.
|
|
92
|
+
* Use `create(SessionStatusSchema)` to create a new message.
|
|
93
|
+
*/
|
|
94
|
+
export declare const SessionStatusSchema: GenMessage<SessionStatus>;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/agentic/session/v1/api.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_memory } from "./memory_pb.js";
|
|
5
6
|
import { file_ai_stigmer_agentic_session_v1_spec } from "./spec_pb.js";
|
|
6
7
|
import { file_ai_stigmer_commons_apiresource_metadata } from "../../../commons/apiresource/metadata_pb.js";
|
|
7
8
|
import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/apiresource/status_pb.js";
|
|
@@ -9,10 +10,15 @@ import { file_buf_validate_validate } from "../../../../../buf/validate/validate
|
|
|
9
10
|
/**
|
|
10
11
|
* Describes the file ai/stigmer/agentic/session/v1/api.proto.
|
|
11
12
|
*/
|
|
12
|
-
export const file_ai_stigmer_agentic_session_v1_api = /*@__PURE__*/ fileDesc("
|
|
13
|
+
export const file_ai_stigmer_agentic_session_v1_api = /*@__PURE__*/ fileDesc("CidhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9hcGkucHJvdG8SHWFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxIqECCgdTZXNzaW9uEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlbnRpYy5zdGlnbWVyLmFpL3YxEhwKBGtpbmQYAiABKAlCDrpIC3IJCgdTZXNzaW9uEk0KCG1ldGFkYXRhGAMgASgLMjMuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlTWV0YWRhdGFCBrpIA8gBARI4CgRzcGVjGAQgASgLMiouYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuU2Vzc2lvblNwZWMSPAoGc3RhdHVzGAUgASgLMiwuYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuU2Vzc2lvblN0YXR1cyKWAQoNU2Vzc2lvblN0YXR1cxJECg5zZXNzaW9uX21lbW9yeRgBIAEoCzIsLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb25NZW1vcnkSPwoFYXVkaXQYYyABKAsyMC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VBdWRpdGIGcHJvdG8z", [file_ai_stigmer_agentic_session_v1_memory, file_ai_stigmer_agentic_session_v1_spec, file_ai_stigmer_commons_apiresource_metadata, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate]);
|
|
13
14
|
/**
|
|
14
15
|
* Describes the message ai.stigmer.agentic.session.v1.Session.
|
|
15
16
|
* Use `create(SessionSchema)` to create a new message.
|
|
16
17
|
*/
|
|
17
18
|
export const SessionSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_session_v1_api, 0);
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message ai.stigmer.agentic.session.v1.SessionStatus.
|
|
21
|
+
* Use `create(SessionStatusSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const SessionStatusSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_session_v1_api, 1);
|
|
18
24
|
//# sourceMappingURL=api_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,cAAc,CAAC;AAEvE,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,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,yCAAyC,EAAE,MAAM,gBAAgB,CAAC;AAE3E,OAAO,EAAE,uCAAuC,EAAE,MAAM,cAAc,CAAC;AAEvE,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,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,8rBAA8rB,EAAE,CAAC,yCAAyC,EAAE,uCAAuC,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA6Cv5B;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC;AAwCzD;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -65,6 +65,24 @@ export declare const SessionCommandController: {
|
|
|
65
65
|
readonly O: any;
|
|
66
66
|
readonly kind: any;
|
|
67
67
|
};
|
|
68
|
+
/**
|
|
69
|
+
* Persist session memory after execution.
|
|
70
|
+
*
|
|
71
|
+
* Atomically updates only status.session_memory, leaving all other
|
|
72
|
+
* session fields untouched. Called by the cursor-runner after each
|
|
73
|
+
* completed execution turn.
|
|
74
|
+
*
|
|
75
|
+
* @internal
|
|
76
|
+
* Server-side field-level update, race-safe. No full-document replace.
|
|
77
|
+
*
|
|
78
|
+
* @generated from rpc ai.stigmer.agentic.session.v1.SessionCommandController.updateSessionMemory
|
|
79
|
+
*/
|
|
80
|
+
readonly updateSessionMemory: {
|
|
81
|
+
readonly name: "updateSessionMemory";
|
|
82
|
+
readonly I: any;
|
|
83
|
+
readonly O: any;
|
|
84
|
+
readonly kind: any;
|
|
85
|
+
};
|
|
68
86
|
/**
|
|
69
87
|
* Delete a session.
|
|
70
88
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Session } from "./api_pbjs";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
-
import { SessionId, UpdateSessionSubjectRequest } from "./io_pbjs";
|
|
7
|
+
import { SessionId, UpdateSessionMemoryRequest, UpdateSessionSubjectRequest } from "./io_pbjs";
|
|
8
8
|
/**
|
|
9
9
|
* SessionCommandController handles write operations for agent sessions.
|
|
10
10
|
*
|
|
@@ -72,6 +72,24 @@ export const SessionCommandController = {
|
|
|
72
72
|
O: Session,
|
|
73
73
|
kind: MethodKind.Unary,
|
|
74
74
|
},
|
|
75
|
+
/**
|
|
76
|
+
* Persist session memory after execution.
|
|
77
|
+
*
|
|
78
|
+
* Atomically updates only status.session_memory, leaving all other
|
|
79
|
+
* session fields untouched. Called by the cursor-runner after each
|
|
80
|
+
* completed execution turn.
|
|
81
|
+
*
|
|
82
|
+
* @internal
|
|
83
|
+
* Server-side field-level update, race-safe. No full-document replace.
|
|
84
|
+
*
|
|
85
|
+
* @generated from rpc ai.stigmer.agentic.session.v1.SessionCommandController.updateSessionMemory
|
|
86
|
+
*/
|
|
87
|
+
updateSessionMemory: {
|
|
88
|
+
name: "updateSessionMemory",
|
|
89
|
+
I: UpdateSessionMemoryRequest,
|
|
90
|
+
O: Session,
|
|
91
|
+
kind: MethodKind.Unary,
|
|
92
|
+
},
|
|
75
93
|
/**
|
|
76
94
|
* Delete a session.
|
|
77
95
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0HAA0H;AAC1H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0HAA0H;AAC1H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AAE/F;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,wDAAwD;IAClE,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,2BAA2B;YAC9B,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;WAWG;QACH,mBAAmB,EAAE;YACnB,IAAI,EAAE,qBAAqB;YAC3B,CAAC,EAAE,0BAA0B;YAC7B,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { SessionSchema } from "./api_pb.js";
|
|
3
|
-
import type { SessionIdSchema, UpdateSessionSubjectRequestSchema } from "./io_pb.js";
|
|
3
|
+
import type { SessionIdSchema, UpdateSessionMemoryRequestSchema, UpdateSessionSubjectRequestSchema } from "./io_pb.js";
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file ai/stigmer/agentic/session/v1/command.proto.
|
|
6
6
|
*/
|
|
@@ -66,6 +66,23 @@ export declare const SessionCommandController: GenService<{
|
|
|
66
66
|
input: typeof UpdateSessionSubjectRequestSchema;
|
|
67
67
|
output: typeof SessionSchema;
|
|
68
68
|
};
|
|
69
|
+
/**
|
|
70
|
+
* Persist session memory after execution.
|
|
71
|
+
*
|
|
72
|
+
* Atomically updates only status.session_memory, leaving all other
|
|
73
|
+
* session fields untouched. Called by the cursor-runner after each
|
|
74
|
+
* completed execution turn.
|
|
75
|
+
*
|
|
76
|
+
* @internal
|
|
77
|
+
* Server-side field-level update, race-safe. No full-document replace.
|
|
78
|
+
*
|
|
79
|
+
* @generated from rpc ai.stigmer.agentic.session.v1.SessionCommandController.updateSessionMemory
|
|
80
|
+
*/
|
|
81
|
+
updateSessionMemory: {
|
|
82
|
+
methodKind: "unary";
|
|
83
|
+
input: typeof UpdateSessionMemoryRequestSchema;
|
|
84
|
+
output: typeof SessionSchema;
|
|
85
|
+
};
|
|
69
86
|
/**
|
|
70
87
|
* Delete a session.
|
|
71
88
|
*
|
|
@@ -9,7 +9,7 @@ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc
|
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file ai/stigmer/agentic/session/v1/command.proto.
|
|
11
11
|
*/
|
|
12
|
-
export const file_ai_stigmer_agentic_session_v1_command = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_ai_stigmer_agentic_session_v1_command = /*@__PURE__*/ fileDesc("CithaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9jb21tYW5kLnByb3RvEh1haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MTK8BwoYU2Vzc2lvbkNvbW1hbmRDb250cm9sbGVyElcKBWFwcGx5EiYuYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuU2Vzc2lvbhomLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb24SpQEKBmNyZWF0ZRImLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb24aJi5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5TZXNzaW9uIkvCuBhHCAgQHiIMbWV0YWRhdGEub3JnKjN1bmF1dGhvcml6ZWQgdG8gY3JlYXRlIHNlc3Npb24gaW4gdGhpcyBvcmdhbml6YXRpb24SjwEKBnVwZGF0ZRImLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb24aJi5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5TZXNzaW9uIjXCuBgxCAIQKiILbWV0YWRhdGEuaWQqHnVuYXV0aG9yaXplZCB0byB1cGRhdGUgc2Vzc2lvbhKpAQoNdXBkYXRlU3ViamVjdBI6LmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlVwZGF0ZVNlc3Npb25TdWJqZWN0UmVxdWVzdBomLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb24iNMK4GDAIAhAqIgJpZComdW5hdXRob3JpemVkIHRvIHVwZGF0ZSBzZXNzaW9uIHN1YmplY3QSrQEKE3VwZGF0ZVNlc3Npb25NZW1vcnkSOS5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5VcGRhdGVTZXNzaW9uTWVtb3J5UmVxdWVzdBomLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb24iM8K4GC8IAhAqIgJpZColdW5hdXRob3JpemVkIHRvIHVwZGF0ZSBzZXNzaW9uIG1lbW9yeRKqAQoGZGVsZXRlEiguYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuU2Vzc2lvbklkGiYuYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuU2Vzc2lvbiJOwrgYSggaEB8qO3VuYXV0aG9yaXplZCB0byBkZWxldGUgc2Vzc2lvbiDigJQgb3BlcmF0b3IgYWNjZXNzIHJlcXVpcmVkMgdzdGlnbWVyGgSg/ysqYgZwcm90bzM", [file_ai_stigmer_agentic_session_v1_api, file_ai_stigmer_agentic_session_v1_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
|
|
13
13
|
/**
|
|
14
14
|
* SessionCommandController handles write operations for agent sessions.
|
|
15
15
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0HAA0H;AAC1H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0HAA0H;AAC1H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,i3CAAi3C,EAAE,CAAC,sCAAsC,EAAE,qCAAqC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEpjD;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAuFhC,aAAa,CAChB,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -87,3 +87,61 @@ export declare enum Harness {
|
|
|
87
87
|
* Describes the enum ai.stigmer.agentic.session.v1.Harness.
|
|
88
88
|
*/
|
|
89
89
|
export declare const HarnessSchema: GenEnum<Harness>;
|
|
90
|
+
/**
|
|
91
|
+
* CursorMode selects the Cursor SDK agent type for sessions using
|
|
92
|
+
* HARNESS_CURSOR.
|
|
93
|
+
*
|
|
94
|
+
* Determined once at session creation based on workspace entries and never
|
|
95
|
+
* changed mid-session. Switching would lose Cursor-side conversation state
|
|
96
|
+
* because local agents (agent- prefix) and cloud agents (bc- prefix) maintain
|
|
97
|
+
* separate, incompatible conversation stores.
|
|
98
|
+
*
|
|
99
|
+
* Ignored when harness is not HARNESS_CURSOR.
|
|
100
|
+
*
|
|
101
|
+
* @internal
|
|
102
|
+
* Mode selection logic (when feature flag STIGMER_CURSOR_CLOUD_MODE_ENABLED
|
|
103
|
+
* is true):
|
|
104
|
+
* - All workspace entries are GitRepoSource -> CURSOR_MODE_CLOUD
|
|
105
|
+
* - Any workspace entry is LocalPathSource -> CURSOR_MODE_LOCAL
|
|
106
|
+
* - Feature flag disabled -> CURSOR_MODE_LOCAL (forced)
|
|
107
|
+
*
|
|
108
|
+
* When UNSPECIFIED on an existing session, the runner treats it as LOCAL
|
|
109
|
+
* for backward compatibility with sessions created before this field existed.
|
|
110
|
+
*
|
|
111
|
+
* @generated from enum ai.stigmer.agentic.session.v1.CursorMode
|
|
112
|
+
*/
|
|
113
|
+
export declare enum CursorMode {
|
|
114
|
+
/**
|
|
115
|
+
* Not yet determined or not applicable (non-Cursor harness).
|
|
116
|
+
* Runner defaults to LOCAL for backward compatibility.
|
|
117
|
+
*
|
|
118
|
+
* @generated from enum value: CURSOR_MODE_UNSPECIFIED = 0;
|
|
119
|
+
*/
|
|
120
|
+
UNSPECIFIED = 0,
|
|
121
|
+
/**
|
|
122
|
+
* Local Cursor agent created with a local cwd configuration.
|
|
123
|
+
*
|
|
124
|
+
* Works with any workspace source (git or local path). Stigmer owns
|
|
125
|
+
* the durable conversation layer — always sends continuation prompts
|
|
126
|
+
* because Cursor local agents do not reliably retain context across
|
|
127
|
+
* Agent.send() calls.
|
|
128
|
+
*
|
|
129
|
+
* @generated from enum value: CURSOR_MODE_LOCAL = 1;
|
|
130
|
+
*/
|
|
131
|
+
LOCAL = 1,
|
|
132
|
+
/**
|
|
133
|
+
* Cloud Cursor agent created with a cloud repos configuration.
|
|
134
|
+
*
|
|
135
|
+
* Requires all workspace entries to be GitRepoSource (HTTPS URLs).
|
|
136
|
+
* Cursor natively manages conversation state for cloud agents, but
|
|
137
|
+
* Stigmer persists session memory as backup because cloud agents can
|
|
138
|
+
* expire. Feature-flagged — requires STIGMER_CURSOR_CLOUD_MODE_ENABLED.
|
|
139
|
+
*
|
|
140
|
+
* @generated from enum value: CURSOR_MODE_CLOUD = 2;
|
|
141
|
+
*/
|
|
142
|
+
CLOUD = 2
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Describes the enum ai.stigmer.agentic.session.v1.CursorMode.
|
|
146
|
+
*/
|
|
147
|
+
export declare const CursorModeSchema: GenEnum<CursorMode>;
|
|
@@ -5,7 +5,7 @@ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
|
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ai/stigmer/agentic/session/v1/enum.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_ai_stigmer_agentic_session_v1_enum = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_ai_stigmer_agentic_session_v1_enum = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9lbnVtLnByb3RvEh1haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MSpZChBHaXRXcml0ZUJhY2tNb2RlEiMKH0dJVF9XUklURV9CQUNLX01PREVfVU5TUEVDSUZJRUQQABIgChxHSVRfV1JJVEVfQkFDS19CUkFOQ0hfQU5EX1BSEAEqSgoHSGFybmVzcxIXChNIQVJORVNTX1VOU1BFQ0lGSUVEEAASEgoOSEFSTkVTU19OQVRJVkUQARISCg5IQVJORVNTX0NVUlNPUhACKlcKCkN1cnNvck1vZGUSGwoXQ1VSU09SX01PREVfVU5TUEVDSUZJRUQQABIVChFDVVJTT1JfTU9ERV9MT0NBTBABEhUKEUNVUlNPUl9NT0RFX0NMT1VEEAJiBnByb3RvMw");
|
|
9
9
|
/**
|
|
10
10
|
* GitWriteBackMode controls the platform's git workflow for a git-backed workspace entry.
|
|
11
11
|
*
|
|
@@ -92,4 +92,63 @@ export var Harness;
|
|
|
92
92
|
* Describes the enum ai.stigmer.agentic.session.v1.Harness.
|
|
93
93
|
*/
|
|
94
94
|
export const HarnessSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_session_v1_enum, 1);
|
|
95
|
+
/**
|
|
96
|
+
* CursorMode selects the Cursor SDK agent type for sessions using
|
|
97
|
+
* HARNESS_CURSOR.
|
|
98
|
+
*
|
|
99
|
+
* Determined once at session creation based on workspace entries and never
|
|
100
|
+
* changed mid-session. Switching would lose Cursor-side conversation state
|
|
101
|
+
* because local agents (agent- prefix) and cloud agents (bc- prefix) maintain
|
|
102
|
+
* separate, incompatible conversation stores.
|
|
103
|
+
*
|
|
104
|
+
* Ignored when harness is not HARNESS_CURSOR.
|
|
105
|
+
*
|
|
106
|
+
* @internal
|
|
107
|
+
* Mode selection logic (when feature flag STIGMER_CURSOR_CLOUD_MODE_ENABLED
|
|
108
|
+
* is true):
|
|
109
|
+
* - All workspace entries are GitRepoSource -> CURSOR_MODE_CLOUD
|
|
110
|
+
* - Any workspace entry is LocalPathSource -> CURSOR_MODE_LOCAL
|
|
111
|
+
* - Feature flag disabled -> CURSOR_MODE_LOCAL (forced)
|
|
112
|
+
*
|
|
113
|
+
* When UNSPECIFIED on an existing session, the runner treats it as LOCAL
|
|
114
|
+
* for backward compatibility with sessions created before this field existed.
|
|
115
|
+
*
|
|
116
|
+
* @generated from enum ai.stigmer.agentic.session.v1.CursorMode
|
|
117
|
+
*/
|
|
118
|
+
export var CursorMode;
|
|
119
|
+
(function (CursorMode) {
|
|
120
|
+
/**
|
|
121
|
+
* Not yet determined or not applicable (non-Cursor harness).
|
|
122
|
+
* Runner defaults to LOCAL for backward compatibility.
|
|
123
|
+
*
|
|
124
|
+
* @generated from enum value: CURSOR_MODE_UNSPECIFIED = 0;
|
|
125
|
+
*/
|
|
126
|
+
CursorMode[CursorMode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
127
|
+
/**
|
|
128
|
+
* Local Cursor agent created with a local cwd configuration.
|
|
129
|
+
*
|
|
130
|
+
* Works with any workspace source (git or local path). Stigmer owns
|
|
131
|
+
* the durable conversation layer — always sends continuation prompts
|
|
132
|
+
* because Cursor local agents do not reliably retain context across
|
|
133
|
+
* Agent.send() calls.
|
|
134
|
+
*
|
|
135
|
+
* @generated from enum value: CURSOR_MODE_LOCAL = 1;
|
|
136
|
+
*/
|
|
137
|
+
CursorMode[CursorMode["LOCAL"] = 1] = "LOCAL";
|
|
138
|
+
/**
|
|
139
|
+
* Cloud Cursor agent created with a cloud repos configuration.
|
|
140
|
+
*
|
|
141
|
+
* Requires all workspace entries to be GitRepoSource (HTTPS URLs).
|
|
142
|
+
* Cursor natively manages conversation state for cloud agents, but
|
|
143
|
+
* Stigmer persists session memory as backup because cloud agents can
|
|
144
|
+
* expire. Feature-flagged — requires STIGMER_CURSOR_CLOUD_MODE_ENABLED.
|
|
145
|
+
*
|
|
146
|
+
* @generated from enum value: CURSOR_MODE_CLOUD = 2;
|
|
147
|
+
*/
|
|
148
|
+
CursorMode[CursorMode["CLOUD"] = 2] = "CLOUD";
|
|
149
|
+
})(CursorMode || (CursorMode = {}));
|
|
150
|
+
/**
|
|
151
|
+
* Describes the enum ai.stigmer.agentic.session.v1.CursorMode.
|
|
152
|
+
*/
|
|
153
|
+
export const CursorModeSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_session_v1_enum, 2);
|
|
95
154
|
//# sourceMappingURL=enum_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,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,
|
|
1
|
+
{"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,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,ocAAoc,CAAC,CAAC;AAEjd;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,gBAyBX;AAzBD,WAAY,gBAAgB;IAC1B;;;;;;;;OAQG;IACH,6GAAmC,CAAA;IAEnC;;;;;;;;;;;OAWG;IACH,uGAAgC,CAAA;AAClC,CAAC,EAzBW,gBAAgB,KAAhB,gBAAgB,QAyB3B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAA8B,aAAa,CAC5E,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAEvD;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAN,IAAY,OA2BX;AA3BD,WAAY,OAAO;IACjB;;;;OAIG;IACH,mDAAe,CAAA;IAEf;;;;;;;OAOG;IACH,yCAAU,CAAA;IAEV;;;;;;;OAOG;IACH,yCAAU,CAAA;AACZ,CAAC,EA3BW,OAAO,KAAP,OAAO,QA2BlB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAqB,aAAa,CAC1D,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAN,IAAY,UAgCX;AAhCD,WAAY,UAAU;IACpB;;;;;OAKG;IACH,yDAAe,CAAA;IAEf;;;;;;;;;OASG;IACH,6CAAS,CAAA;IAET;;;;;;;;;OASG;IACH,6CAAS,CAAA;AACX,CAAC,EAhCW,UAAU,KAAV,UAAU,QAgCrB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAwB,aAAa,CAChE,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { Session } from "./api_pb.js";
|
|
3
|
+
import type { SessionMemory } from "./memory_pb.js";
|
|
3
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
5
|
/**
|
|
5
6
|
* Describes the file ai/stigmer/agentic/session/v1/io.proto.
|
|
@@ -150,3 +151,35 @@ export type UpdateSessionSubjectRequest = Message<"ai.stigmer.agentic.session.v1
|
|
|
150
151
|
* Use `create(UpdateSessionSubjectRequestSchema)` to create a new message.
|
|
151
152
|
*/
|
|
152
153
|
export declare const UpdateSessionSubjectRequestSchema: GenMessage<UpdateSessionSubjectRequest>;
|
|
154
|
+
/**
|
|
155
|
+
* UpdateSessionMemoryRequest persists durable session memory after each
|
|
156
|
+
* completed execution turn.
|
|
157
|
+
*
|
|
158
|
+
* @internal
|
|
159
|
+
* Field-level update that atomically modifies only the status.session_memory
|
|
160
|
+
* field, avoiding the lost-update race condition that occurs when the
|
|
161
|
+
* cursor-runner performs full-session updates concurrently with subject
|
|
162
|
+
* generation and other parallel activities.
|
|
163
|
+
*
|
|
164
|
+
* @generated from message ai.stigmer.agentic.session.v1.UpdateSessionMemoryRequest
|
|
165
|
+
*/
|
|
166
|
+
export type UpdateSessionMemoryRequest = Message<"ai.stigmer.agentic.session.v1.UpdateSessionMemoryRequest"> & {
|
|
167
|
+
/**
|
|
168
|
+
* Session ID to update.
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: string id = 1;
|
|
171
|
+
*/
|
|
172
|
+
id: string;
|
|
173
|
+
/**
|
|
174
|
+
* The session memory to persist. Replaces the entire existing memory
|
|
175
|
+
* (not a merge — the runner builds the complete memory each time).
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: ai.stigmer.agentic.session.v1.SessionMemory session_memory = 2;
|
|
178
|
+
*/
|
|
179
|
+
sessionMemory?: SessionMemory;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Describes the message ai.stigmer.agentic.session.v1.UpdateSessionMemoryRequest.
|
|
183
|
+
* Use `create(UpdateSessionMemoryRequestSchema)` to create a new message.
|
|
184
|
+
*/
|
|
185
|
+
export declare const UpdateSessionMemoryRequestSchema: GenMessage<UpdateSessionMemoryRequest>;
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
5
|
import { file_ai_stigmer_agentic_session_v1_api } from "./api_pb.js";
|
|
6
|
+
import { file_ai_stigmer_agentic_session_v1_memory } from "./memory_pb.js";
|
|
6
7
|
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
|
|
7
8
|
/**
|
|
8
9
|
* Describes the file ai/stigmer/agentic/session/v1/io.proto.
|
|
9
10
|
*/
|
|
10
|
-
export const file_ai_stigmer_agentic_session_v1_io = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_ai_stigmer_agentic_session_v1_io = /*@__PURE__*/ fileDesc("CiZhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9pby5wcm90bxIdYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEiIgoJU2Vzc2lvbklkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEiIAoHQWdlbnRJZBIVCgV2YWx1ZRgBIAEoCUIGukgDyAEBIlsKC1Nlc3Npb25MaXN0EhMKC3RvdGFsX3BhZ2VzGAEgASgFEjcKB2VudHJpZXMYAiADKAsyJi5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5TZXNzaW9uIkoKE0xpc3RTZXNzaW9uc1JlcXVlc3QSEQoJcGFnZV9zaXplGAEgASgFEhIKCnBhZ2VfdG9rZW4YAiABKAkSDAoEdGFncxgDIAMoCSJdChpMaXN0U2Vzc2lvbnNCeUFnZW50UmVxdWVzdBIYCghhZ2VudF9pZBgBIAEoCUIGukgDyAEBEhEKCXBhZ2Vfc2l6ZRgCIAEoBRISCgpwYWdlX3Rva2VuGAMgASgJIkIKG1VwZGF0ZVNlc3Npb25TdWJqZWN0UmVxdWVzdBISCgJpZBgBIAEoCUIGukgDyAEBEg8KB3N1YmplY3QYAiABKAkidgoaVXBkYXRlU2Vzc2lvbk1lbW9yeVJlcXVlc3QSEgoCaWQYASABKAlCBrpIA8gBARJECg5zZXNzaW9uX21lbW9yeRgCIAEoCzIsLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb25NZW1vcnliBnByb3RvMw", [file_ai_stigmer_agentic_session_v1_api, file_ai_stigmer_agentic_session_v1_memory, file_buf_validate_validate]);
|
|
11
12
|
/**
|
|
12
13
|
* Describes the message ai.stigmer.agentic.session.v1.SessionId.
|
|
13
14
|
* Use `create(SessionIdSchema)` to create a new message.
|
|
@@ -38,4 +39,9 @@ export const ListSessionsByAgentRequestSchema = /*@__PURE__*/ messageDesc(file_a
|
|
|
38
39
|
* Use `create(UpdateSessionSubjectRequestSchema)` to create a new message.
|
|
39
40
|
*/
|
|
40
41
|
export const UpdateSessionSubjectRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_session_v1_io, 5);
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message ai.stigmer.agentic.session.v1.UpdateSessionMemoryRequest.
|
|
44
|
+
* Use `create(UpdateSessionMemoryRequestSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const UpdateSessionMemoryRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_session_v1_io, 6);
|
|
41
47
|
//# sourceMappingURL=io_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qHAAqH;AACrH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qHAAqH;AACrH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,EAAE,yCAAyC,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,oyBAAoyB,EAAE,CAAC,sCAAsC,EAAE,yCAAyC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAcl6B;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAcxD;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAuBxD;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA8BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA8BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA4BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAA4C,aAAa,CACrG,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA+BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file ai/stigmer/agentic/session/v1/memory.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_ai_stigmer_agentic_session_v1_memory: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* SessionMemory captures durable conversation state that survives agent
|
|
9
|
+
* eviction, process restarts, and Cursor SDK "agent not found" failures.
|
|
10
|
+
*
|
|
11
|
+
* Updated after each completed execution turn and stored in SessionStatus.
|
|
12
|
+
* When a fresh agent is created (because the previous one expired or the
|
|
13
|
+
* local store lookup failed), the continuation prompt is built from this
|
|
14
|
+
* memory — giving the new agent the full context of the prior conversation.
|
|
15
|
+
*
|
|
16
|
+
* Design: Structured extraction, not LLM summarization. The cursor-runner
|
|
17
|
+
* parses stream events (tool calls, file edits, command outputs) and
|
|
18
|
+
* populates these fields directly. No separate LLM call is made in v1.
|
|
19
|
+
*
|
|
20
|
+
* Token budgets (enforced at persist-time by the runner):
|
|
21
|
+
* durable_summary: max 2k tokens
|
|
22
|
+
* recent_turns: max 4k tokens (last 6 turns, FIFO)
|
|
23
|
+
* tool_observations: max 1k tokens (most recent, FIFO)
|
|
24
|
+
* Total continuation prompt ceiling: 8k tokens
|
|
25
|
+
*
|
|
26
|
+
* @internal
|
|
27
|
+
* Persisted in MongoDB as part of the Session document under status.
|
|
28
|
+
* The runner reads it from the activity input (passed by the workflow)
|
|
29
|
+
* and writes it back via gRPC after each completed turn.
|
|
30
|
+
*
|
|
31
|
+
* @generated from message ai.stigmer.agentic.session.v1.SessionMemory
|
|
32
|
+
*/
|
|
33
|
+
export type SessionMemory = Message<"ai.stigmer.agentic.session.v1.SessionMemory"> & {
|
|
34
|
+
/**
|
|
35
|
+
* High-level narrative of what has been accomplished so far.
|
|
36
|
+
*
|
|
37
|
+
* Includes the original goal, current progress, and next steps.
|
|
38
|
+
* Built by the runner from assistant messages — not a verbatim transcript.
|
|
39
|
+
*
|
|
40
|
+
* Token budget: max 2k tokens. Truncated at persist-time if exceeded.
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: string durable_summary = 1;
|
|
43
|
+
*/
|
|
44
|
+
durableSummary: string;
|
|
45
|
+
/**
|
|
46
|
+
* Digest of the workspace state at the time of last persistence.
|
|
47
|
+
*
|
|
48
|
+
* Free-form string capturing relevant workspace context (e.g., git branch,
|
|
49
|
+
* HEAD SHA, working directory). Used by the continuation prompt to help
|
|
50
|
+
* the fresh agent orient itself.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string workspace_digest = 2;
|
|
53
|
+
*/
|
|
54
|
+
workspaceDigest: string;
|
|
55
|
+
/**
|
|
56
|
+
* Files created or modified during the session.
|
|
57
|
+
*
|
|
58
|
+
* Extracted from tool-call events (file_edit, file_create, etc.).
|
|
59
|
+
* Helps the continuation prompt tell the fresh agent what has changed.
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: repeated string changed_files = 3;
|
|
62
|
+
*/
|
|
63
|
+
changedFiles: string[];
|
|
64
|
+
/**
|
|
65
|
+
* Outstanding tasks or questions the agent identified but has not completed.
|
|
66
|
+
*
|
|
67
|
+
* Parsed from the agent's final message or todo-list tool calls.
|
|
68
|
+
* Gives the continuation prompt a "pick up where you left off" list.
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: repeated string open_tasks = 4;
|
|
71
|
+
*/
|
|
72
|
+
openTasks: string[];
|
|
73
|
+
/**
|
|
74
|
+
* Summaries of significant tool executions during the session.
|
|
75
|
+
*
|
|
76
|
+
* Captures command, working directory, exit code, and a short output summary.
|
|
77
|
+
* Most recent observations first, FIFO-pruned to ~10 entries.
|
|
78
|
+
*
|
|
79
|
+
* Token budget: max 1k tokens total across all observations.
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: repeated ai.stigmer.agentic.session.v1.ToolObservation tool_observations = 5;
|
|
82
|
+
*/
|
|
83
|
+
toolObservations: ToolObservation[];
|
|
84
|
+
/**
|
|
85
|
+
* Recent conversation turns for verbatim replay in the continuation prompt.
|
|
86
|
+
*
|
|
87
|
+
* Last 6 turns (3 user + 3 assistant), FIFO. Individual turns exceeding
|
|
88
|
+
* 1k tokens are truncated to the last 1k tokens with a "[truncated]" prefix.
|
|
89
|
+
*
|
|
90
|
+
* Token budget: max 4k tokens total across all turns.
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: repeated ai.stigmer.agentic.session.v1.ConversationTurn recent_turns = 6;
|
|
93
|
+
*/
|
|
94
|
+
recentTurns: ConversationTurn[];
|
|
95
|
+
/**
|
|
96
|
+
* Explicit decisions the agent made during the session.
|
|
97
|
+
*
|
|
98
|
+
* Extracted from assistant messages where the agent explains a choice
|
|
99
|
+
* (e.g., "chose library X over Y because..."). Append-only, never pruned,
|
|
100
|
+
* capped at 20 entries.
|
|
101
|
+
*
|
|
102
|
+
* These survive summary regeneration — even if durable_summary is
|
|
103
|
+
* rewritten, the individual decision records are preserved.
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: repeated string decisions = 7;
|
|
106
|
+
*/
|
|
107
|
+
decisions: string[];
|
|
108
|
+
/**
|
|
109
|
+
* Approaches that were tried and failed during the session.
|
|
110
|
+
*
|
|
111
|
+
* Extracted from tool failures, error recoveries, and explicit agent
|
|
112
|
+
* statements about abandoned approaches. Append-only, never pruned,
|
|
113
|
+
* capped at 20 entries.
|
|
114
|
+
*
|
|
115
|
+
* Prevents the continuation agent from repeating mistakes the previous
|
|
116
|
+
* agent already learned from.
|
|
117
|
+
*
|
|
118
|
+
* @generated from field: repeated string failed_attempts = 8;
|
|
119
|
+
*/
|
|
120
|
+
failedAttempts: string[];
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message ai.stigmer.agentic.session.v1.SessionMemory.
|
|
124
|
+
* Use `create(SessionMemorySchema)` to create a new message.
|
|
125
|
+
*/
|
|
126
|
+
export declare const SessionMemorySchema: GenMessage<SessionMemory>;
|
|
127
|
+
/**
|
|
128
|
+
* ToolObservation captures the outcome of a significant tool execution.
|
|
129
|
+
*
|
|
130
|
+
* Not every tool call produces an observation — only commands with meaningful
|
|
131
|
+
* output (shell commands, file operations with errors, etc.) are recorded.
|
|
132
|
+
* The runner decides which tool calls are "significant" based on tool type
|
|
133
|
+
* and outcome.
|
|
134
|
+
*
|
|
135
|
+
* @generated from message ai.stigmer.agentic.session.v1.ToolObservation
|
|
136
|
+
*/
|
|
137
|
+
export type ToolObservation = Message<"ai.stigmer.agentic.session.v1.ToolObservation"> & {
|
|
138
|
+
/**
|
|
139
|
+
* The command or tool invocation that was executed.
|
|
140
|
+
* Example: "npm install", "git checkout -b feature/foo"
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: string command = 1;
|
|
143
|
+
*/
|
|
144
|
+
command: string;
|
|
145
|
+
/**
|
|
146
|
+
* Working directory where the command was executed.
|
|
147
|
+
* Example: "/workspace/stigmer"
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: string cwd = 2;
|
|
150
|
+
*/
|
|
151
|
+
cwd: string;
|
|
152
|
+
/**
|
|
153
|
+
* Process exit code (0 = success).
|
|
154
|
+
* Meaningful for shell commands; may be 0 for non-shell tools.
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: int32 exit_code = 3;
|
|
157
|
+
*/
|
|
158
|
+
exitCode: number;
|
|
159
|
+
/**
|
|
160
|
+
* Short summary of the tool output.
|
|
161
|
+
*
|
|
162
|
+
* Not the full stdout/stderr — a concise description of what happened.
|
|
163
|
+
* Example: "Installed 42 packages, 0 vulnerabilities"
|
|
164
|
+
* Example: "Command failed: permission denied on /etc/hosts"
|
|
165
|
+
*
|
|
166
|
+
* @generated from field: string summary = 4;
|
|
167
|
+
*/
|
|
168
|
+
summary: string;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Describes the message ai.stigmer.agentic.session.v1.ToolObservation.
|
|
172
|
+
* Use `create(ToolObservationSchema)` to create a new message.
|
|
173
|
+
*/
|
|
174
|
+
export declare const ToolObservationSchema: GenMessage<ToolObservation>;
|
|
175
|
+
/**
|
|
176
|
+
* ConversationTurn captures a single message in the conversation for replay.
|
|
177
|
+
*
|
|
178
|
+
* Used in the continuation prompt to give the fresh agent recent context.
|
|
179
|
+
* Content may be truncated if the original message exceeded the per-turn
|
|
180
|
+
* token limit.
|
|
181
|
+
*
|
|
182
|
+
* @generated from message ai.stigmer.agentic.session.v1.ConversationTurn
|
|
183
|
+
*/
|
|
184
|
+
export type ConversationTurn = Message<"ai.stigmer.agentic.session.v1.ConversationTurn"> & {
|
|
185
|
+
/**
|
|
186
|
+
* The role of the message author.
|
|
187
|
+
* Values: "user" or "assistant"
|
|
188
|
+
*
|
|
189
|
+
* @generated from field: string role = 1;
|
|
190
|
+
*/
|
|
191
|
+
role: string;
|
|
192
|
+
/**
|
|
193
|
+
* The message content, potentially truncated.
|
|
194
|
+
*
|
|
195
|
+
* If the original message exceeded 1k tokens, this contains the last
|
|
196
|
+
* 1k tokens prefixed with "[truncated]".
|
|
197
|
+
*
|
|
198
|
+
* @generated from field: string content = 2;
|
|
199
|
+
*/
|
|
200
|
+
content: string;
|
|
201
|
+
/**
|
|
202
|
+
* ISO 8601 timestamp when the message was sent.
|
|
203
|
+
* Example: "2026-05-09T15:30:00Z"
|
|
204
|
+
*
|
|
205
|
+
* Uses string (not google.protobuf.Timestamp) for consistency with
|
|
206
|
+
* AgentMessage.timestamp and other operational timestamps in this domain.
|
|
207
|
+
*
|
|
208
|
+
* @generated from field: string timestamp = 3;
|
|
209
|
+
*/
|
|
210
|
+
timestamp: string;
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* Describes the message ai.stigmer.agentic.session.v1.ConversationTurn.
|
|
214
|
+
* Use `create(ConversationTurnSchema)` to create a new message.
|
|
215
|
+
*/
|
|
216
|
+
export declare const ConversationTurnSchema: GenMessage<ConversationTurn>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/session/v1/memory.proto (package ai.stigmer.agentic.session.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file ai/stigmer/agentic/session/v1/memory.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_ai_stigmer_agentic_session_v1_memory = /*@__PURE__*/ fileDesc("CiphaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9tZW1vcnkucHJvdG8SHWFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxIqsCCg1TZXNzaW9uTWVtb3J5EhcKD2R1cmFibGVfc3VtbWFyeRgBIAEoCRIYChB3b3Jrc3BhY2VfZGlnZXN0GAIgASgJEhUKDWNoYW5nZWRfZmlsZXMYAyADKAkSEgoKb3Blbl90YXNrcxgEIAMoCRJJChF0b29sX29ic2VydmF0aW9ucxgFIAMoCzIuLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlRvb2xPYnNlcnZhdGlvbhJFCgxyZWNlbnRfdHVybnMYBiADKAsyLy5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5Db252ZXJzYXRpb25UdXJuEhEKCWRlY2lzaW9ucxgHIAMoCRIXCg9mYWlsZWRfYXR0ZW1wdHMYCCADKAkiUwoPVG9vbE9ic2VydmF0aW9uEg8KB2NvbW1hbmQYASABKAkSCwoDY3dkGAIgASgJEhEKCWV4aXRfY29kZRgDIAEoBRIPCgdzdW1tYXJ5GAQgASgJIkQKEENvbnZlcnNhdGlvblR1cm4SDAoEcm9sZRgBIAEoCRIPCgdjb250ZW50GAIgASgJEhEKCXRpbWVzdGFtcBgDIAEoCWIGcHJvdG8z");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the message ai.stigmer.agentic.session.v1.SessionMemory.
|
|
11
|
+
* Use `create(SessionMemorySchema)` to create a new message.
|
|
12
|
+
*/
|
|
13
|
+
export const SessionMemorySchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_session_v1_memory, 0);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message ai.stigmer.agentic.session.v1.ToolObservation.
|
|
16
|
+
* Use `create(ToolObservationSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const ToolObservationSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_session_v1_memory, 1);
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message ai.stigmer.agentic.session.v1.ConversationTurn.
|
|
21
|
+
* Use `create(ConversationTurnSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const ConversationTurnSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_session_v1_memory, 2);
|
|
24
|
+
//# sourceMappingURL=memory_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/memory_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,ktBAAktB,CAAC,CAAC;AA6H/tB;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AAiD5D;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AA0C5D;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { McpServerUsage } from "../../agent/v1/spec_pb.js";
|
|
3
|
-
import type { Harness } from "./enum_pb.js";
|
|
3
|
+
import type { CursorMode, Harness } from "./enum_pb.js";
|
|
4
4
|
import type { WorkspaceEntry } from "./workspace_pb.js";
|
|
5
5
|
import type { ApiResourceReference } from "../../../commons/apiresource/io_pb.js";
|
|
6
6
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -141,6 +141,28 @@ export type SessionSpec = Message<"ai.stigmer.agentic.session.v1.SessionSpec"> &
|
|
|
141
141
|
* @generated from field: ai.stigmer.agentic.session.v1.Harness harness = 10;
|
|
142
142
|
*/
|
|
143
143
|
harness: Harness;
|
|
144
|
+
/**
|
|
145
|
+
* Cursor SDK agent mode for this session.
|
|
146
|
+
*
|
|
147
|
+
* Determines whether the Cursor agent runs locally (Agent.create with
|
|
148
|
+
* local.cwd) or in the cloud (Agent.create with cloud.repos). Set once
|
|
149
|
+
* at session creation based on workspace entries and never changed —
|
|
150
|
+
* switching mid-session would lose Cursor-side conversation state.
|
|
151
|
+
*
|
|
152
|
+
* Only meaningful when harness == HARNESS_CURSOR. Ignored for other
|
|
153
|
+
* harness types.
|
|
154
|
+
*
|
|
155
|
+
* @internal
|
|
156
|
+
* Set by the cursor-runner on the first execution when cursor_mode is
|
|
157
|
+
* UNSPECIFIED. The workflow reads it back on subsequent executions to
|
|
158
|
+
* route to the correct Agent.create / Agent.resume path.
|
|
159
|
+
*
|
|
160
|
+
* When UNSPECIFIED on an existing CURSOR session, the runner defaults
|
|
161
|
+
* to LOCAL for backward compatibility.
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: ai.stigmer.agentic.session.v1.CursorMode cursor_mode = 11;
|
|
164
|
+
*/
|
|
165
|
+
cursorMode: CursorMode;
|
|
144
166
|
};
|
|
145
167
|
/**
|
|
146
168
|
* Describes the message ai.stigmer.agentic.session.v1.SessionSpec.
|
|
@@ -11,7 +11,7 @@ import { file_buf_validate_validate } from "../../../../../buf/validate/validate
|
|
|
11
11
|
/**
|
|
12
12
|
* Describes the file ai/stigmer/agentic/session/v1/spec.proto.
|
|
13
13
|
*/
|
|
14
|
-
export const file_ai_stigmer_agentic_session_v1_spec = /*@__PURE__*/ fileDesc("
|
|
14
|
+
export const file_ai_stigmer_agentic_session_v1_spec = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9zcGVjLnByb3RvEh1haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MSLOBgoLU2Vzc2lvblNwZWMSGQoRYWdlbnRfaW5zdGFuY2VfaWQYASABKAkSDwoHc3ViamVjdBgCIAEoCRIRCgl0aHJlYWRfaWQYAyABKAkSFgoKc2FuZGJveF9pZBgEIAEoCUICGAESSgoIbWV0YWRhdGEYBSADKAsyOC5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5TZXNzaW9uU3BlYy5NZXRhZGF0YUVudHJ5EkgKEXdvcmtzcGFjZV9lbnRyaWVzGAYgAygLMi0uYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuV29ya3NwYWNlRW50cnkS2QEKEW1jcF9zZXJ2ZXJfdXNhZ2VzGAcgAygLMisuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50LnYxLk1jcFNlcnZlclVzYWdlQpABukiMAZIBiAEihQG6AYEBCh5zZXNzaW9uX21jcF9zZXJ2ZXJfdXNhZ2VzLmtpbmQSP21jcF9zZXJ2ZXJfdXNhZ2VzIG11c3QgcmVmZXJlbmNlIHJlc291cmNlcyB3aXRoIGtpbmQ9bWNwX3NlcnZlchoedGhpcy5tY3Bfc2VydmVyX3JlZi5raW5kID09IDQ0EhEKCXJ1bm5lcl9pZBgJIAEoCRK4AQoKc2tpbGxfcmVmcxgIIAMoCzI0LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZVJlZmVyZW5jZUJuukhnkgFkImK6AV8KF3Nlc3Npb25fc2tpbGxfcmVmcy5raW5kEjNza2lsbF9yZWZzIG11c3QgcmVmZXJlbmNlIHJlc291cmNlcyB3aXRoIGtpbmQ9c2tpbGwaD3RoaXMua2luZCA9PSA0M+CFLCsSNwoHaGFybmVzcxgKIAEoDjImLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLkhhcm5lc3MSPgoLY3Vyc29yX21vZGUYCyABKA4yKS5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5DdXJzb3JNb2RlGi8KDU1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AWIGcHJvdG8z", [file_ai_stigmer_agentic_agent_v1_spec, file_ai_stigmer_agentic_session_v1_enum, file_ai_stigmer_agentic_session_v1_workspace, file_ai_stigmer_commons_apiresource_field_options, file_ai_stigmer_commons_apiresource_io, file_buf_validate_validate]);
|
|
15
15
|
/**
|
|
16
16
|
* Describes the message ai.stigmer.agentic.session.v1.SessionSpec.
|
|
17
17
|
* Use `create(SessionSpecSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,uHAAuH;AACvH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,2BAA2B,CAAC;AAElF,OAAO,EAAE,uCAAuC,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,4CAA4C,EAAE,MAAM,mBAAmB,CAAC;AACjF,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,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,uHAAuH;AACvH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,2BAA2B,CAAC;AAElF,OAAO,EAAE,uCAAuC,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,4CAA4C,EAAE,MAAM,mBAAmB,CAAC;AACjF,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,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,0tCAA0tC,EAAE,CAAC,qCAAqC,EAAE,uCAAuC,EAAE,4CAA4C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAuK99C;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { GitProvenance } from "./status_pb.js";
|
|
3
|
+
import type { ApiResourceAuditActor } from "../../../commons/apiresource/status_pb.js";
|
|
4
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
5
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
6
|
/**
|
|
5
7
|
* Describes the file ai/stigmer/agentic/skill/v1/io.proto.
|
|
@@ -74,6 +76,15 @@ export type PushSkillRequest = Message<"ai.stigmer.agentic.skill.v1.PushSkillReq
|
|
|
74
76
|
* @generated from field: ai.stigmer.agentic.skill.v1.GitProvenance git_provenance = 4;
|
|
75
77
|
*/
|
|
76
78
|
gitProvenance?: GitProvenance;
|
|
79
|
+
/**
|
|
80
|
+
* Optional human-readable message describing what changed in this version.
|
|
81
|
+
* Stored in metadata.version.message for version history display.
|
|
82
|
+
* Analogous to a git commit message. If empty, the version timeline falls
|
|
83
|
+
* back to displaying git_provenance.commit message when available.
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: string message = 6;
|
|
86
|
+
*/
|
|
87
|
+
message: string;
|
|
77
88
|
};
|
|
78
89
|
/**
|
|
79
90
|
* Describes the message ai.stigmer.agentic.skill.v1.PushSkillRequest.
|
|
@@ -179,3 +190,141 @@ export type GetArtifactResponse = Message<"ai.stigmer.agentic.skill.v1.GetArtifa
|
|
|
179
190
|
* Use `create(GetArtifactResponseSchema)` to create a new message.
|
|
180
191
|
*/
|
|
181
192
|
export declare const GetArtifactResponseSchema: GenMessage<GetArtifactResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* ListSkillVersionsInput requests the version history for a skill.
|
|
195
|
+
*
|
|
196
|
+
* Returns all historical versions of the skill ordered by push time
|
|
197
|
+
* (newest first). Used by the Console and SDK to render version
|
|
198
|
+
* timelines and enable version comparison.
|
|
199
|
+
*
|
|
200
|
+
* @generated from message ai.stigmer.agentic.skill.v1.ListSkillVersionsInput
|
|
201
|
+
*/
|
|
202
|
+
export type ListSkillVersionsInput = Message<"ai.stigmer.agentic.skill.v1.ListSkillVersionsInput"> & {
|
|
203
|
+
/**
|
|
204
|
+
* Organization that owns the skill.
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: string org = 1;
|
|
207
|
+
*/
|
|
208
|
+
org: string;
|
|
209
|
+
/**
|
|
210
|
+
* Skill slug (unique within the organization).
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: string slug = 2;
|
|
213
|
+
*/
|
|
214
|
+
slug: string;
|
|
215
|
+
/**
|
|
216
|
+
* Opaque token for cursor-based pagination.
|
|
217
|
+
* Empty string or omitted for the first page.
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: string page_token = 3;
|
|
220
|
+
*/
|
|
221
|
+
pageToken: string;
|
|
222
|
+
/**
|
|
223
|
+
* Maximum number of versions to return per page.
|
|
224
|
+
* Server may return fewer. Default is 50.
|
|
225
|
+
*
|
|
226
|
+
* @generated from field: int32 page_size = 4;
|
|
227
|
+
*/
|
|
228
|
+
pageSize: number;
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* Describes the message ai.stigmer.agentic.skill.v1.ListSkillVersionsInput.
|
|
232
|
+
* Use `create(ListSkillVersionsInputSchema)` to create a new message.
|
|
233
|
+
*/
|
|
234
|
+
export declare const ListSkillVersionsInputSchema: GenMessage<ListSkillVersionsInput>;
|
|
235
|
+
/**
|
|
236
|
+
* SkillVersionEntry represents a single historical version of a skill.
|
|
237
|
+
*
|
|
238
|
+
* Each push creates a new version entry. The version is immutably
|
|
239
|
+
* identified by its content hash (SHA256 of the artifact ZIP).
|
|
240
|
+
*
|
|
241
|
+
* @generated from message ai.stigmer.agentic.skill.v1.SkillVersionEntry
|
|
242
|
+
*/
|
|
243
|
+
export type SkillVersionEntry = Message<"ai.stigmer.agentic.skill.v1.SkillVersionEntry"> & {
|
|
244
|
+
/**
|
|
245
|
+
* SHA256 hash of the artifact — the immutable version identifier.
|
|
246
|
+
*
|
|
247
|
+
* @generated from field: string version_hash = 1;
|
|
248
|
+
*/
|
|
249
|
+
versionHash: string;
|
|
250
|
+
/**
|
|
251
|
+
* Timestamp when this version was pushed.
|
|
252
|
+
*
|
|
253
|
+
* @generated from field: google.protobuf.Timestamp pushed_at = 2;
|
|
254
|
+
*/
|
|
255
|
+
pushedAt?: Timestamp;
|
|
256
|
+
/**
|
|
257
|
+
* Actor who pushed this version.
|
|
258
|
+
*
|
|
259
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceAuditActor pushed_by = 3;
|
|
260
|
+
*/
|
|
261
|
+
pushedBy?: ApiResourceAuditActor;
|
|
262
|
+
/**
|
|
263
|
+
* Tag associated with this version at push time.
|
|
264
|
+
* May be empty if the version was pushed without a tag.
|
|
265
|
+
*
|
|
266
|
+
* @generated from field: string tag = 4;
|
|
267
|
+
*/
|
|
268
|
+
tag: string;
|
|
269
|
+
/**
|
|
270
|
+
* Whether this is the currently active version of the skill.
|
|
271
|
+
*
|
|
272
|
+
* @generated from field: bool is_current = 5;
|
|
273
|
+
*/
|
|
274
|
+
isCurrent: boolean;
|
|
275
|
+
/**
|
|
276
|
+
* Git provenance tracking where this version's artifacts originated.
|
|
277
|
+
* Absent when pushed from a non-git directory.
|
|
278
|
+
*
|
|
279
|
+
* @generated from field: ai.stigmer.agentic.skill.v1.GitProvenance git_provenance = 6;
|
|
280
|
+
*/
|
|
281
|
+
gitProvenance?: GitProvenance;
|
|
282
|
+
/**
|
|
283
|
+
* Optional human-readable message describing the change.
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: string message = 7;
|
|
286
|
+
*/
|
|
287
|
+
message: string;
|
|
288
|
+
/**
|
|
289
|
+
* Storage key for this version's artifact ZIP.
|
|
290
|
+
* Can be passed to getArtifact() to download the historical artifact.
|
|
291
|
+
*
|
|
292
|
+
* @generated from field: string artifact_storage_key = 8;
|
|
293
|
+
*/
|
|
294
|
+
artifactStorageKey: string;
|
|
295
|
+
};
|
|
296
|
+
/**
|
|
297
|
+
* Describes the message ai.stigmer.agentic.skill.v1.SkillVersionEntry.
|
|
298
|
+
* Use `create(SkillVersionEntrySchema)` to create a new message.
|
|
299
|
+
*/
|
|
300
|
+
export declare const SkillVersionEntrySchema: GenMessage<SkillVersionEntry>;
|
|
301
|
+
/**
|
|
302
|
+
* ListSkillVersionsResponse contains a page of skill version history.
|
|
303
|
+
*
|
|
304
|
+
* @generated from message ai.stigmer.agentic.skill.v1.ListSkillVersionsResponse
|
|
305
|
+
*/
|
|
306
|
+
export type ListSkillVersionsResponse = Message<"ai.stigmer.agentic.skill.v1.ListSkillVersionsResponse"> & {
|
|
307
|
+
/**
|
|
308
|
+
* Ordered list of versions (newest first).
|
|
309
|
+
*
|
|
310
|
+
* @generated from field: repeated ai.stigmer.agentic.skill.v1.SkillVersionEntry versions = 1;
|
|
311
|
+
*/
|
|
312
|
+
versions: SkillVersionEntry[];
|
|
313
|
+
/**
|
|
314
|
+
* Token for fetching the next page. Empty when no more pages exist.
|
|
315
|
+
*
|
|
316
|
+
* @generated from field: string next_page_token = 2;
|
|
317
|
+
*/
|
|
318
|
+
nextPageToken: string;
|
|
319
|
+
/**
|
|
320
|
+
* Total number of versions across all pages.
|
|
321
|
+
*
|
|
322
|
+
* @generated from field: int32 total_count = 3;
|
|
323
|
+
*/
|
|
324
|
+
totalCount: number;
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* Describes the message ai.stigmer.agentic.skill.v1.ListSkillVersionsResponse.
|
|
328
|
+
* Use `create(ListSkillVersionsResponseSchema)` to create a new message.
|
|
329
|
+
*/
|
|
330
|
+
export declare const ListSkillVersionsResponseSchema: GenMessage<ListSkillVersionsResponse>;
|
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
5
|
import { file_ai_stigmer_agentic_skill_v1_status } from "./status_pb.js";
|
|
6
|
+
import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/apiresource/status_pb.js";
|
|
6
7
|
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
|
|
8
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
9
|
/**
|
|
8
10
|
* Describes the file ai/stigmer/agentic/skill/v1/io.proto.
|
|
9
11
|
*/
|
|
10
|
-
export const file_ai_stigmer_agentic_skill_v1_io = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_ai_stigmer_agentic_skill_v1_io = /*@__PURE__*/ fileDesc("CiRhaS9zdGlnbWVyL2FnZW50aWMvc2tpbGwvdjEvaW8ucHJvdG8SG2FpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MSIgCgdTa2lsbElkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEixgEKEFB1c2hTa2lsbFJlcXVlc3QSEwoDb3JnGAEgASgJQga6SAPIAQESGAoIYXJ0aWZhY3QYAiABKAxCBrpIA8gBARIoCgN0YWcYAyABKAlCG7pIGHIWMhReJHxeW2EtekEtWjAtOS5fLV0rJBJCCg5naXRfcHJvdmVuYW5jZRgEIAEoCzIqLmFpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MS5HaXRQcm92ZW5hbmNlEg8KB21lc3NhZ2UYBiABKAlKBAgFEAYiowEKJVB1c2hTa2lsbEZyb21FeGVjdXRpb25BcnRpZmFjdFJlcXVlc3QSEwoDb3JnGAEgASgJQga6SAPIAQESHQoMZXhlY3V0aW9uX2lkGAIgASgJQge6SARyAhABEhwKC3N0b3JhZ2Vfa2V5GAMgASgJQge6SARyAhABEigKA3RhZxgEIAEoCUIbukgYchYyFF4kfF5bYS16QS1aMC05Ll8tXSskIjoKEkdldEFydGlmYWN0UmVxdWVzdBIkChRhcnRpZmFjdF9zdG9yYWdlX2tleRgBIAEoCUIGukgDyAEBIicKE0dldEFydGlmYWN0UmVzcG9uc2USEAoIYXJ0aWZhY3QYASABKAwiagoWTGlzdFNraWxsVmVyc2lvbnNJbnB1dBITCgNvcmcYASABKAlCBrpIA8gBARIUCgRzbHVnGAIgASgJQga6SAPIAQESEgoKcGFnZV90b2tlbhgDIAEoCRIRCglwYWdlX3NpemUYBCABKAUitgIKEVNraWxsVmVyc2lvbkVudHJ5EhQKDHZlcnNpb25faGFzaBgBIAEoCRItCglwdXNoZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEkgKCXB1c2hlZF9ieRgDIAEoCzI1LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZUF1ZGl0QWN0b3ISCwoDdGFnGAQgASgJEhIKCmlzX2N1cnJlbnQYBSABKAgSQgoOZ2l0X3Byb3ZlbmFuY2UYBiABKAsyKi5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuR2l0UHJvdmVuYW5jZRIPCgdtZXNzYWdlGAcgASgJEhwKFGFydGlmYWN0X3N0b3JhZ2Vfa2V5GAggASgJIosBChlMaXN0U2tpbGxWZXJzaW9uc1Jlc3BvbnNlEkAKCHZlcnNpb25zGAEgAygLMi4uYWkuc3RpZ21lci5hZ2VudGljLnNraWxsLnYxLlNraWxsVmVyc2lvbkVudHJ5EhcKD25leHRfcGFnZV90b2tlbhgCIAEoCRITCgt0b3RhbF9jb3VudBgDIAEoBWIGcHJvdG8z", [file_ai_stigmer_agentic_skill_v1_status, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
11
13
|
/**
|
|
12
14
|
* Describes the message ai.stigmer.agentic.skill.v1.SkillId.
|
|
13
15
|
* Use `create(SkillIdSchema)` to create a new message.
|
|
@@ -33,4 +35,19 @@ export const GetArtifactRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigme
|
|
|
33
35
|
* Use `create(GetArtifactResponseSchema)` to create a new message.
|
|
34
36
|
*/
|
|
35
37
|
export const GetArtifactResponseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 4);
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message ai.stigmer.agentic.skill.v1.ListSkillVersionsInput.
|
|
40
|
+
* Use `create(ListSkillVersionsInputSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export const ListSkillVersionsInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 5);
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message ai.stigmer.agentic.skill.v1.SkillVersionEntry.
|
|
45
|
+
* Use `create(SkillVersionEntrySchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const SkillVersionEntrySchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 6);
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message ai.stigmer.agentic.skill.v1.ListSkillVersionsResponse.
|
|
50
|
+
* Use `create(ListSkillVersionsResponseSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const ListSkillVersionsResponseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 7);
|
|
36
53
|
//# sourceMappingURL=io_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,iHAAiH;AACjH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,iHAAiH;AACjH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,gBAAgB,CAAC;AAEzE,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAY,aAAa,CACvE,QAAQ,CAAC,k/CAAk/C,EAAE,CAAC,uCAAuC,EAAE,0CAA0C,EAAE,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AAclpD;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAsEtD;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AA4DtD;;;GAGG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAsD,aAAa,CACzH,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAmBtD;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAiBtD;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AA2CtD;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAuEtD;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AA8BtD;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -54,5 +54,24 @@ export declare const SkillQueryController: {
|
|
|
54
54
|
readonly O: any;
|
|
55
55
|
readonly kind: any;
|
|
56
56
|
};
|
|
57
|
+
/**
|
|
58
|
+
* List version history for a skill.
|
|
59
|
+
*
|
|
60
|
+
* Returns all historical versions ordered by push time (newest first).
|
|
61
|
+
* Each entry includes the version hash, push timestamp, actor, tag,
|
|
62
|
+
* git provenance, and artifact storage key for historical artifact access.
|
|
63
|
+
*
|
|
64
|
+
* @internal
|
|
65
|
+
* Authorization is handled in the handler after resolving the skill.
|
|
66
|
+
* (Input uses org+slug, not skill ID, so proto-level auth cannot work)
|
|
67
|
+
*
|
|
68
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillQueryController.listVersions
|
|
69
|
+
*/
|
|
70
|
+
readonly listVersions: {
|
|
71
|
+
readonly name: "listVersions";
|
|
72
|
+
readonly I: any;
|
|
73
|
+
readonly O: any;
|
|
74
|
+
readonly kind: any;
|
|
75
|
+
};
|
|
57
76
|
};
|
|
58
77
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/agentic/skill/v1/query.proto (package ai.stigmer.agentic.skill.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { GetArtifactRequest, GetArtifactResponse, SkillId } from "./io_pbjs";
|
|
5
|
+
import { GetArtifactRequest, GetArtifactResponse, ListSkillVersionsInput, ListSkillVersionsResponse, SkillId } from "./io_pbjs";
|
|
6
6
|
import { Skill } from "./api_pbjs";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { ApiResourceReference } from "../../../commons/apiresource/io_pbjs";
|
|
@@ -62,6 +62,25 @@ export const SkillQueryController = {
|
|
|
62
62
|
O: GetArtifactResponse,
|
|
63
63
|
kind: MethodKind.Unary,
|
|
64
64
|
},
|
|
65
|
+
/**
|
|
66
|
+
* List version history for a skill.
|
|
67
|
+
*
|
|
68
|
+
* Returns all historical versions ordered by push time (newest first).
|
|
69
|
+
* Each entry includes the version hash, push timestamp, actor, tag,
|
|
70
|
+
* git provenance, and artifact storage key for historical artifact access.
|
|
71
|
+
*
|
|
72
|
+
* @internal
|
|
73
|
+
* Authorization is handled in the handler after resolving the skill.
|
|
74
|
+
* (Input uses org+slug, not skill ID, so proto-level auth cannot work)
|
|
75
|
+
*
|
|
76
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillQueryController.listVersions
|
|
77
|
+
*/
|
|
78
|
+
listVersions: {
|
|
79
|
+
name: "listVersions",
|
|
80
|
+
I: ListSkillVersionsInput,
|
|
81
|
+
O: ListSkillVersionsResponse,
|
|
82
|
+
kind: MethodKind.Unary,
|
|
83
|
+
},
|
|
65
84
|
}
|
|
66
85
|
};
|
|
67
86
|
//# sourceMappingURL=query_connect.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,oHAAoH;AACpH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,oHAAoH;AACpH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAChI,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,QAAQ,EAAE,kDAAkD;IAC5D,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;WAaG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;WAUG;QACH,WAAW,EAAE;YACX,IAAI,EAAE,aAAa;YACnB,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,mBAAmB;YACtB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,yBAAyB;YAC5B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { SkillSchema } from "./api_pb.js";
|
|
3
|
-
import type { GetArtifactRequestSchema, GetArtifactResponseSchema, SkillIdSchema } from "./io_pb.js";
|
|
3
|
+
import type { GetArtifactRequestSchema, GetArtifactResponseSchema, ListSkillVersionsInputSchema, ListSkillVersionsResponseSchema, SkillIdSchema } from "./io_pb.js";
|
|
4
4
|
import type { ApiResourceReferenceSchema } from "../../../commons/apiresource/io_pb.js";
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ai/stigmer/agentic/skill/v1/query.proto.
|
|
@@ -57,4 +57,22 @@ export declare const SkillQueryController: GenService<{
|
|
|
57
57
|
input: typeof GetArtifactRequestSchema;
|
|
58
58
|
output: typeof GetArtifactResponseSchema;
|
|
59
59
|
};
|
|
60
|
+
/**
|
|
61
|
+
* List version history for a skill.
|
|
62
|
+
*
|
|
63
|
+
* Returns all historical versions ordered by push time (newest first).
|
|
64
|
+
* Each entry includes the version hash, push timestamp, actor, tag,
|
|
65
|
+
* git provenance, and artifact storage key for historical artifact access.
|
|
66
|
+
*
|
|
67
|
+
* @internal
|
|
68
|
+
* Authorization is handled in the handler after resolving the skill.
|
|
69
|
+
* (Input uses org+slug, not skill ID, so proto-level auth cannot work)
|
|
70
|
+
*
|
|
71
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillQueryController.listVersions
|
|
72
|
+
*/
|
|
73
|
+
listVersions: {
|
|
74
|
+
methodKind: "unary";
|
|
75
|
+
input: typeof ListSkillVersionsInputSchema;
|
|
76
|
+
output: typeof ListSkillVersionsResponseSchema;
|
|
77
|
+
};
|
|
60
78
|
}>;
|
|
@@ -10,7 +10,7 @@ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc
|
|
|
10
10
|
/**
|
|
11
11
|
* Describes the file ai/stigmer/agentic/skill/v1/query.proto.
|
|
12
12
|
*/
|
|
13
|
-
export const file_ai_stigmer_agentic_skill_v1_query = /*@__PURE__*/ fileDesc("
|
|
13
|
+
export const file_ai_stigmer_agentic_skill_v1_query = /*@__PURE__*/ fileDesc("CidhaS9zdGlnbWVyL2FnZW50aWMvc2tpbGwvdjEvcXVlcnkucHJvdG8SG2FpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MTKHBAoUU2tpbGxRdWVyeUNvbnRyb2xsZXISewoDZ2V0EiQuYWkuc3RpZ21lci5hZ2VudGljLnNraWxsLnYxLlNraWxsSWQaIi5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuU2tpbGwiKsK4GCYIARArIgV2YWx1ZSoZdW5hdXRob3JpemVkIHRvIGdldCBza2lsbBJwCg5nZXRCeVJlZmVyZW5jZRI0LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZVJlZmVyZW5jZRoiLmFpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MS5Ta2lsbCIE0LgYARJ2CgtnZXRBcnRpZmFjdBIvLmFpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MS5HZXRBcnRpZmFjdFJlcXVlc3QaMC5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuR2V0QXJ0aWZhY3RSZXNwb25zZSIE0LgYARKBAQoMbGlzdFZlcnNpb25zEjMuYWkuc3RpZ21lci5hZ2VudGljLnNraWxsLnYxLkxpc3RTa2lsbFZlcnNpb25zSW5wdXQaNi5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuTGlzdFNraWxsVmVyc2lvbnNSZXNwb25zZSIE0LgYARoEoP8rK2IGcHJvdG8z", [file_ai_stigmer_agentic_skill_v1_api, file_ai_stigmer_agentic_skill_v1_io, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
|
|
14
14
|
/**
|
|
15
15
|
* SkillQueryController handles read operations for skills.
|
|
16
16
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oHAAoH;AACpH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAEnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAEjE,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,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oHAAoH;AACpH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAEnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAEjE,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,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,kyBAAkyB,EAAE,CAAC,oCAAoC,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEzgC;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAgE5B,aAAa,CAChB,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}
|