@stigmer/protos 2.0.0 → 3.0.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 +11 -0
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.js +2 -1
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +163 -1
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +172 -9
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +17 -1
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/api_pb.d.ts +4 -46
- package/ai/stigmer/agentic/session/v1/api_pb.js +1 -7
- package/ai/stigmer/agentic/session/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/command_connect.d.ts +0 -18
- package/ai/stigmer/agentic/session/v1/command_connect.js +1 -19
- package/ai/stigmer/agentic/session/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/command_pb.d.ts +1 -18
- 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 +6 -7
- package/ai/stigmer/agentic/session/v1/enum_pb.js +6 -7
- package/ai/stigmer/agentic/session/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/io_pb.d.ts +0 -33
- package/ai/stigmer/agentic/session/v1/io_pb.js +1 -7
- package/ai/stigmer/agentic/session/v1/io_pb.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_connect.d.ts +39 -1
- package/ai/stigmer/platform/v1/server_info_connect.js +40 -2
- package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_pb.d.ts +110 -1
- package/ai/stigmer/platform/v1/server_info_pb.js +17 -2
- package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
- package/package.json +1 -1
- package/ai/stigmer/agentic/session/v1/memory_pb.d.ts +0 -216
- package/ai/stigmer/agentic/session/v1/memory_pb.js +0 -24
- package/ai/stigmer/agentic/session/v1/memory_pb.js.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ToolKind } from "./enum_pb.js";
|
|
2
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
3
4
|
/**
|
|
4
5
|
* Describes the file ai/stigmer/agentic/agentexecution/v1/approval.proto.
|
|
@@ -157,6 +158,16 @@ export type PendingApproval = Message<"ai.stigmer.agentic.agentexecution.v1.Pend
|
|
|
157
158
|
* @generated from field: string head_sha_at_deny = 12;
|
|
158
159
|
*/
|
|
159
160
|
headShaAtDeny: string;
|
|
161
|
+
/**
|
|
162
|
+
* Harness-agnostic category of the tool, copied from ToolCall.tool_kind by the
|
|
163
|
+
* server-side projection (exactly as mcp_server_slug above is). Lets approval
|
|
164
|
+
* surfaces — including workflow-parent approvals, where the originating
|
|
165
|
+
* ToolCall is not co-located with the approval — classify and render the tool
|
|
166
|
+
* without a client-side lookup. See ToolKind.
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: ai.stigmer.agentic.agentexecution.v1.ToolKind tool_kind = 13;
|
|
169
|
+
*/
|
|
170
|
+
toolKind: ToolKind;
|
|
160
171
|
};
|
|
161
172
|
/**
|
|
162
173
|
* Describes the message ai.stigmer.agentic.agentexecution.v1.PendingApproval.
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/agentic/agentexecution/v1/approval.proto (package ai.stigmer.agentic.agentexecution.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_agentexecution_v1_enum } from "./enum_pb.js";
|
|
5
6
|
/**
|
|
6
7
|
* Describes the file ai/stigmer/agentic/agentexecution/v1/approval.proto.
|
|
7
8
|
*/
|
|
8
|
-
export const file_ai_stigmer_agentic_agentexecution_v1_approval = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_ai_stigmer_agentic_agentexecution_v1_approval = /*@__PURE__*/ fileDesc("CjNhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRleGVjdXRpb24vdjEvYXBwcm92YWwucHJvdG8SJGFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MSLpAgoPUGVuZGluZ0FwcHJvdmFsEhQKDHRvb2xfY2FsbF9pZBgBIAEoCRIRCgl0b29sX25hbWUYAiABKAkSDwoHbWVzc2FnZRgDIAEoCRIUCgxhcmdzX3ByZXZpZXcYBCABKAkSFAoMcmVxdWVzdGVkX2F0GAUgASgJEhYKDmZyb21fc3ViX2FnZW50GAYgASgIEhYKDnN1Yl9hZ2VudF9uYW1lGAcgASgJEhcKD21jcF9zZXJ2ZXJfc2x1ZxgIIAEoCRIZChFzdWJfYWdlbnRfc3ViamVjdBgJIAEoCRIXCg9hZ2VudF9yYXRpb25hbGUYCiABKAkSFgoOYnJhbmNoX2F0X2RlbnkYCyABKAkSGAoQaGVhZF9zaGFfYXRfZGVueRgMIAEoCRJBCgl0b29sX2tpbmQYDSABKA4yLi5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuVG9vbEtpbmQigwEKGUNoaWxkQXBwcm92YWxOb3RpZmljYXRpb24SFAoMZXhlY3V0aW9uX2lkGAEgASgJElAKEXBlbmRpbmdfYXBwcm92YWxzGAIgAygLMjUuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLlBlbmRpbmdBcHByb3ZhbGIGcHJvdG8z", [file_ai_stigmer_agentic_agentexecution_v1_enum]);
|
|
9
10
|
/**
|
|
10
11
|
* Describes the message ai.stigmer.agentic.agentexecution.v1.PendingApproval.
|
|
11
12
|
* 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;
|
|
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;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAC;AAG9E;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAY,aAAa,CACtF,QAAQ,CAAC,8xBAA8xB,EAAE,CAAC,8CAA8C,CAAC,CAAC,CAAC;AAmL71B;;;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"}
|
|
@@ -308,6 +308,124 @@ export declare enum ToolCallStatus {
|
|
|
308
308
|
* Describes the enum ai.stigmer.agentic.agentexecution.v1.ToolCallStatus.
|
|
309
309
|
*/
|
|
310
310
|
export declare const ToolCallStatusSchema: GenEnum<ToolCallStatus>;
|
|
311
|
+
/**
|
|
312
|
+
* ToolKind is the harness-agnostic category of a tool call.
|
|
313
|
+
*
|
|
314
|
+
* Both execution harnesses emit tool calls with engine-specific names — the
|
|
315
|
+
* native (deepagents) harness uses snake_case (edit_file, execute, grep), while
|
|
316
|
+
* the Cursor harness uses PascalCase (StrReplace, Shell, Grep). ToolKind
|
|
317
|
+
* normalizes that identity once, in the runner, so every client (web, desktop,
|
|
318
|
+
* CLI, Ink) renders a tool the same way regardless of which harness produced it.
|
|
319
|
+
*
|
|
320
|
+
* This is identity, not presentation: it answers "what kind of tool is this?"
|
|
321
|
+
* and is deliberately distinct from ToolCallStreamingSource, which describes an
|
|
322
|
+
* orthogonal streaming capability. Result formatting is a client concern and is
|
|
323
|
+
* intentionally not encoded here.
|
|
324
|
+
*
|
|
325
|
+
* TOOL_KIND_UNSPECIFIED means the runner did not classify the tool — either the
|
|
326
|
+
* execution predates this field, or the tool does not fit a known kind. Clients
|
|
327
|
+
* fall back to a tool-name lookup in that case, so legacy executions still
|
|
328
|
+
* render correctly.
|
|
329
|
+
*
|
|
330
|
+
* @generated from enum ai.stigmer.agentic.agentexecution.v1.ToolKind
|
|
331
|
+
*/
|
|
332
|
+
export declare enum ToolKind {
|
|
333
|
+
/**
|
|
334
|
+
* Not classified. Legacy executions (persisted before this field existed) and
|
|
335
|
+
* tools with no known kind. Clients fall back to a name-based resolver.
|
|
336
|
+
*
|
|
337
|
+
* @generated from enum value: TOOL_KIND_UNSPECIFIED = 0;
|
|
338
|
+
*/
|
|
339
|
+
UNSPECIFIED = 0,
|
|
340
|
+
/**
|
|
341
|
+
* Read a file's contents. Native: read, read_file. Cursor: Read.
|
|
342
|
+
*
|
|
343
|
+
* @generated from enum value: TOOL_KIND_FILE_READ = 1;
|
|
344
|
+
*/
|
|
345
|
+
FILE_READ = 1,
|
|
346
|
+
/**
|
|
347
|
+
* Create or overwrite an entire file. Native: write_file, create_file.
|
|
348
|
+
* Cursor: Write.
|
|
349
|
+
*
|
|
350
|
+
* @generated from enum value: TOOL_KIND_FILE_WRITE = 2;
|
|
351
|
+
*/
|
|
352
|
+
FILE_WRITE = 2,
|
|
353
|
+
/**
|
|
354
|
+
* Modify part of an existing file. Native: edit_file, str_replace_editor.
|
|
355
|
+
* Cursor: StrReplace, EditNotebook.
|
|
356
|
+
*
|
|
357
|
+
* @generated from enum value: TOOL_KIND_FILE_EDIT = 3;
|
|
358
|
+
*/
|
|
359
|
+
FILE_EDIT = 3,
|
|
360
|
+
/**
|
|
361
|
+
* Delete a file. Native: delete_file, remove_file. Cursor: Delete.
|
|
362
|
+
*
|
|
363
|
+
* @generated from enum value: TOOL_KIND_FILE_DELETE = 4;
|
|
364
|
+
*/
|
|
365
|
+
FILE_DELETE = 4,
|
|
366
|
+
/**
|
|
367
|
+
* Execute a shell command. Native: execute, shell. Cursor: Shell.
|
|
368
|
+
*
|
|
369
|
+
* @generated from enum value: TOOL_KIND_SHELL = 5;
|
|
370
|
+
*/
|
|
371
|
+
SHELL = 5,
|
|
372
|
+
/**
|
|
373
|
+
* Search file contents or names. Native: grep, glob. Cursor: Grep, Glob,
|
|
374
|
+
* SemanticSearch.
|
|
375
|
+
*
|
|
376
|
+
* @generated from enum value: TOOL_KIND_SEARCH = 6;
|
|
377
|
+
*/
|
|
378
|
+
SEARCH = 6,
|
|
379
|
+
/**
|
|
380
|
+
* List a directory. Native: ls, list_directory.
|
|
381
|
+
*
|
|
382
|
+
* @generated from enum value: TOOL_KIND_LIST = 7;
|
|
383
|
+
*/
|
|
384
|
+
LIST = 7,
|
|
385
|
+
/**
|
|
386
|
+
* Fetch the contents of a URL. Cursor: WebFetch.
|
|
387
|
+
*
|
|
388
|
+
* @generated from enum value: TOOL_KIND_FETCH = 8;
|
|
389
|
+
*/
|
|
390
|
+
FETCH = 8,
|
|
391
|
+
/**
|
|
392
|
+
* Search the web. Cursor: WebSearch.
|
|
393
|
+
*
|
|
394
|
+
* @generated from enum value: TOOL_KIND_WEB_SEARCH = 9;
|
|
395
|
+
*/
|
|
396
|
+
WEB_SEARCH = 9,
|
|
397
|
+
/**
|
|
398
|
+
* Record model reasoning via a think tool. Native: think.
|
|
399
|
+
*
|
|
400
|
+
* @generated from enum value: TOOL_KIND_THINK = 10;
|
|
401
|
+
*/
|
|
402
|
+
THINK = 10,
|
|
403
|
+
/**
|
|
404
|
+
* Manage the agent's todo list. Native: write_todos. Cursor: TodoWrite.
|
|
405
|
+
* Typically rendered through a dedicated todo surface, not the tool thread.
|
|
406
|
+
*
|
|
407
|
+
* @generated from enum value: TOOL_KIND_TODO = 11;
|
|
408
|
+
*/
|
|
409
|
+
TODO = 11,
|
|
410
|
+
/**
|
|
411
|
+
* Delegate work to a sub-agent. Native/Cursor: task/Task. Rendered as a
|
|
412
|
+
* nested thread, not via the standard tool result view.
|
|
413
|
+
*
|
|
414
|
+
* @generated from enum value: TOOL_KIND_SUBAGENT = 12;
|
|
415
|
+
*/
|
|
416
|
+
SUBAGENT = 12,
|
|
417
|
+
/**
|
|
418
|
+
* A tool provided by an MCP server. The server is identified by
|
|
419
|
+
* ToolCall.mcp_server_slug; the tool's bare name is in ToolCall.name.
|
|
420
|
+
*
|
|
421
|
+
* @generated from enum value: TOOL_KIND_MCP = 13;
|
|
422
|
+
*/
|
|
423
|
+
MCP = 13
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
* Describes the enum ai.stigmer.agentic.agentexecution.v1.ToolKind.
|
|
427
|
+
*/
|
|
428
|
+
export declare const ToolKindSchema: GenEnum<ToolKind>;
|
|
311
429
|
/**
|
|
312
430
|
* TodoStatus defines the status of a todo item.
|
|
313
431
|
*
|
|
@@ -637,7 +755,51 @@ export declare enum ApprovalAction {
|
|
|
637
755
|
*
|
|
638
756
|
* @generated from enum value: APPROVAL_ACTION_REJECT = 3;
|
|
639
757
|
*/
|
|
640
|
-
REJECT = 3
|
|
758
|
+
REJECT = 3,
|
|
759
|
+
/**
|
|
760
|
+
* Approve this tool call AND auto-approve every subsequent tool call for
|
|
761
|
+
* the rest of this execution ("approve and don't ask again").
|
|
762
|
+
*
|
|
763
|
+
* This is the gate-time analog of AgentExecutionSpec.auto_approve_all: it
|
|
764
|
+
* lets a human escalate from per-call approval to "trust the rest of this
|
|
765
|
+
* run" at the moment of friction, instead of pre-arming a bypass before the
|
|
766
|
+
* agent has done anything.
|
|
767
|
+
*
|
|
768
|
+
* ## Canonical contract (every layer derives its behavior from this)
|
|
769
|
+
*
|
|
770
|
+
* 1. Control plane (SubmitApproval handler): record APPROVE_ALL on the
|
|
771
|
+
* clicked tool call, and resolve the rest of the *current* approval gate
|
|
772
|
+
* by setting every other tool call still in TOOL_CALL_WAITING_APPROVAL
|
|
773
|
+
* (action UNSPECIFIED) — including sub-agent tool calls — to
|
|
774
|
+
* APPROVAL_ACTION_APPROVE. pending_approvals is recomputed to empty, so
|
|
775
|
+
* the standard "gate fully resolved" path sends the approvalGateResolved
|
|
776
|
+
* signal. This keeps the audit trail honest: every tool that runs carries
|
|
777
|
+
* an explicit approval_action.
|
|
778
|
+
*
|
|
779
|
+
* 2. Runner (native + cursor harness): on reinvocation, the presence of ANY
|
|
780
|
+
* APPROVE_ALL decision in the persisted execution history means the
|
|
781
|
+
* execution is auto-approved for the remainder of the run. New tool calls
|
|
782
|
+
* (and sub-agent tool calls) skip the approval gate entirely, exactly as
|
|
783
|
+
* if spec.auto_approve_all were true. The interrupted tool itself resumes
|
|
784
|
+
* as an approval.
|
|
785
|
+
*
|
|
786
|
+
* ## Scope
|
|
787
|
+
*
|
|
788
|
+
* APPROVE_ALL covers the rest of THIS execution. It is NOT persisted to the
|
|
789
|
+
* session or the agent; a subsequent execution starts gated again unless the
|
|
790
|
+
* caller sets it anew (interactive clients may carry a session-scoped
|
|
791
|
+
* preference forward in-memory, but that is a client concern, not a
|
|
792
|
+
* server-persisted state).
|
|
793
|
+
*
|
|
794
|
+
* ## Audit
|
|
795
|
+
*
|
|
796
|
+
* Because this bypasses all remaining approval checks for the execution,
|
|
797
|
+
* executions containing an APPROVE_ALL decision should be auditable. The
|
|
798
|
+
* decision is recorded on ToolCall.approval_action like any other.
|
|
799
|
+
*
|
|
800
|
+
* @generated from enum value: APPROVAL_ACTION_APPROVE_ALL = 4;
|
|
801
|
+
*/
|
|
802
|
+
APPROVE_ALL = 4
|
|
641
803
|
}
|
|
642
804
|
/**
|
|
643
805
|
* Describes the enum ai.stigmer.agentic.agentexecution.v1.ApprovalAction.
|
|
@@ -5,7 +5,7 @@ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
|
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ai/stigmer/agentic/agentexecution/v1/enum.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_ai_stigmer_agentic_agentexecution_v1_enum = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_ai_stigmer_agentic_agentexecution_v1_enum = /*@__PURE__*/ fileDesc("Ci9haS9zdGlnbWVyL2FnZW50aWMvYWdlbnRleGVjdXRpb24vdjEvZW51bS5wcm90bxIkYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxKv8BCg5FeGVjdXRpb25QaGFzZRIfChtFWEVDVVRJT05fUEhBU0VfVU5TUEVDSUZJRUQQABIVChFFWEVDVVRJT05fUEVORElORxABEhkKFUVYRUNVVElPTl9JTl9QUk9HUkVTUxACEhcKE0VYRUNVVElPTl9DT01QTEVURUQQAxIUChBFWEVDVVRJT05fRkFJTEVEEAQSFwoTRVhFQ1VUSU9OX0NBTkNFTExFRBAFEhgKFEVYRUNVVElPTl9URVJNSU5BVEVEEAgSIgoeRVhFQ1VUSU9OX1dBSVRJTkdfRk9SX0FQUFJPVkFMEAYSFAoQRVhFQ1VUSU9OX1BBVVNFRBAHKooBCgtNZXNzYWdlVHlwZRIcChhNRVNTQUdFX1RZUEVfVU5TUEVDSUZJRUQQABIRCg1NRVNTQUdFX0hVTUFOEAESDgoKTUVTU0FHRV9BSRACEhAKDE1FU1NBR0VfVE9PTBADEhIKDk1FU1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PREVfVU5TUEVDSUZJRUQQABIaChZJTlRFUkFDVElPTl9NT0RFX0FHRU5UEAESGQoVSU5URVJBQ1RJT05fTU9ERV9QTEFOEAJiBnByb3RvMw");
|
|
9
9
|
/**
|
|
10
10
|
* ExecutionPhase defines the lifecycle phase of an agent execution.
|
|
11
11
|
*
|
|
@@ -314,6 +314,125 @@ export var ToolCallStatus;
|
|
|
314
314
|
* Describes the enum ai.stigmer.agentic.agentexecution.v1.ToolCallStatus.
|
|
315
315
|
*/
|
|
316
316
|
export const ToolCallStatusSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum, 2);
|
|
317
|
+
/**
|
|
318
|
+
* ToolKind is the harness-agnostic category of a tool call.
|
|
319
|
+
*
|
|
320
|
+
* Both execution harnesses emit tool calls with engine-specific names — the
|
|
321
|
+
* native (deepagents) harness uses snake_case (edit_file, execute, grep), while
|
|
322
|
+
* the Cursor harness uses PascalCase (StrReplace, Shell, Grep). ToolKind
|
|
323
|
+
* normalizes that identity once, in the runner, so every client (web, desktop,
|
|
324
|
+
* CLI, Ink) renders a tool the same way regardless of which harness produced it.
|
|
325
|
+
*
|
|
326
|
+
* This is identity, not presentation: it answers "what kind of tool is this?"
|
|
327
|
+
* and is deliberately distinct from ToolCallStreamingSource, which describes an
|
|
328
|
+
* orthogonal streaming capability. Result formatting is a client concern and is
|
|
329
|
+
* intentionally not encoded here.
|
|
330
|
+
*
|
|
331
|
+
* TOOL_KIND_UNSPECIFIED means the runner did not classify the tool — either the
|
|
332
|
+
* execution predates this field, or the tool does not fit a known kind. Clients
|
|
333
|
+
* fall back to a tool-name lookup in that case, so legacy executions still
|
|
334
|
+
* render correctly.
|
|
335
|
+
*
|
|
336
|
+
* @generated from enum ai.stigmer.agentic.agentexecution.v1.ToolKind
|
|
337
|
+
*/
|
|
338
|
+
export var ToolKind;
|
|
339
|
+
(function (ToolKind) {
|
|
340
|
+
/**
|
|
341
|
+
* Not classified. Legacy executions (persisted before this field existed) and
|
|
342
|
+
* tools with no known kind. Clients fall back to a name-based resolver.
|
|
343
|
+
*
|
|
344
|
+
* @generated from enum value: TOOL_KIND_UNSPECIFIED = 0;
|
|
345
|
+
*/
|
|
346
|
+
ToolKind[ToolKind["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
347
|
+
/**
|
|
348
|
+
* Read a file's contents. Native: read, read_file. Cursor: Read.
|
|
349
|
+
*
|
|
350
|
+
* @generated from enum value: TOOL_KIND_FILE_READ = 1;
|
|
351
|
+
*/
|
|
352
|
+
ToolKind[ToolKind["FILE_READ"] = 1] = "FILE_READ";
|
|
353
|
+
/**
|
|
354
|
+
* Create or overwrite an entire file. Native: write_file, create_file.
|
|
355
|
+
* Cursor: Write.
|
|
356
|
+
*
|
|
357
|
+
* @generated from enum value: TOOL_KIND_FILE_WRITE = 2;
|
|
358
|
+
*/
|
|
359
|
+
ToolKind[ToolKind["FILE_WRITE"] = 2] = "FILE_WRITE";
|
|
360
|
+
/**
|
|
361
|
+
* Modify part of an existing file. Native: edit_file, str_replace_editor.
|
|
362
|
+
* Cursor: StrReplace, EditNotebook.
|
|
363
|
+
*
|
|
364
|
+
* @generated from enum value: TOOL_KIND_FILE_EDIT = 3;
|
|
365
|
+
*/
|
|
366
|
+
ToolKind[ToolKind["FILE_EDIT"] = 3] = "FILE_EDIT";
|
|
367
|
+
/**
|
|
368
|
+
* Delete a file. Native: delete_file, remove_file. Cursor: Delete.
|
|
369
|
+
*
|
|
370
|
+
* @generated from enum value: TOOL_KIND_FILE_DELETE = 4;
|
|
371
|
+
*/
|
|
372
|
+
ToolKind[ToolKind["FILE_DELETE"] = 4] = "FILE_DELETE";
|
|
373
|
+
/**
|
|
374
|
+
* Execute a shell command. Native: execute, shell. Cursor: Shell.
|
|
375
|
+
*
|
|
376
|
+
* @generated from enum value: TOOL_KIND_SHELL = 5;
|
|
377
|
+
*/
|
|
378
|
+
ToolKind[ToolKind["SHELL"] = 5] = "SHELL";
|
|
379
|
+
/**
|
|
380
|
+
* Search file contents or names. Native: grep, glob. Cursor: Grep, Glob,
|
|
381
|
+
* SemanticSearch.
|
|
382
|
+
*
|
|
383
|
+
* @generated from enum value: TOOL_KIND_SEARCH = 6;
|
|
384
|
+
*/
|
|
385
|
+
ToolKind[ToolKind["SEARCH"] = 6] = "SEARCH";
|
|
386
|
+
/**
|
|
387
|
+
* List a directory. Native: ls, list_directory.
|
|
388
|
+
*
|
|
389
|
+
* @generated from enum value: TOOL_KIND_LIST = 7;
|
|
390
|
+
*/
|
|
391
|
+
ToolKind[ToolKind["LIST"] = 7] = "LIST";
|
|
392
|
+
/**
|
|
393
|
+
* Fetch the contents of a URL. Cursor: WebFetch.
|
|
394
|
+
*
|
|
395
|
+
* @generated from enum value: TOOL_KIND_FETCH = 8;
|
|
396
|
+
*/
|
|
397
|
+
ToolKind[ToolKind["FETCH"] = 8] = "FETCH";
|
|
398
|
+
/**
|
|
399
|
+
* Search the web. Cursor: WebSearch.
|
|
400
|
+
*
|
|
401
|
+
* @generated from enum value: TOOL_KIND_WEB_SEARCH = 9;
|
|
402
|
+
*/
|
|
403
|
+
ToolKind[ToolKind["WEB_SEARCH"] = 9] = "WEB_SEARCH";
|
|
404
|
+
/**
|
|
405
|
+
* Record model reasoning via a think tool. Native: think.
|
|
406
|
+
*
|
|
407
|
+
* @generated from enum value: TOOL_KIND_THINK = 10;
|
|
408
|
+
*/
|
|
409
|
+
ToolKind[ToolKind["THINK"] = 10] = "THINK";
|
|
410
|
+
/**
|
|
411
|
+
* Manage the agent's todo list. Native: write_todos. Cursor: TodoWrite.
|
|
412
|
+
* Typically rendered through a dedicated todo surface, not the tool thread.
|
|
413
|
+
*
|
|
414
|
+
* @generated from enum value: TOOL_KIND_TODO = 11;
|
|
415
|
+
*/
|
|
416
|
+
ToolKind[ToolKind["TODO"] = 11] = "TODO";
|
|
417
|
+
/**
|
|
418
|
+
* Delegate work to a sub-agent. Native/Cursor: task/Task. Rendered as a
|
|
419
|
+
* nested thread, not via the standard tool result view.
|
|
420
|
+
*
|
|
421
|
+
* @generated from enum value: TOOL_KIND_SUBAGENT = 12;
|
|
422
|
+
*/
|
|
423
|
+
ToolKind[ToolKind["SUBAGENT"] = 12] = "SUBAGENT";
|
|
424
|
+
/**
|
|
425
|
+
* A tool provided by an MCP server. The server is identified by
|
|
426
|
+
* ToolCall.mcp_server_slug; the tool's bare name is in ToolCall.name.
|
|
427
|
+
*
|
|
428
|
+
* @generated from enum value: TOOL_KIND_MCP = 13;
|
|
429
|
+
*/
|
|
430
|
+
ToolKind[ToolKind["MCP"] = 13] = "MCP";
|
|
431
|
+
})(ToolKind || (ToolKind = {}));
|
|
432
|
+
/**
|
|
433
|
+
* Describes the enum ai.stigmer.agentic.agentexecution.v1.ToolKind.
|
|
434
|
+
*/
|
|
435
|
+
export const ToolKindSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum, 3);
|
|
317
436
|
/**
|
|
318
437
|
* TodoStatus defines the status of a todo item.
|
|
319
438
|
*
|
|
@@ -355,7 +474,7 @@ export var TodoStatus;
|
|
|
355
474
|
/**
|
|
356
475
|
* Describes the enum ai.stigmer.agentic.agentexecution.v1.TodoStatus.
|
|
357
476
|
*/
|
|
358
|
-
export const TodoStatusSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum,
|
|
477
|
+
export const TodoStatusSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum, 4);
|
|
359
478
|
/**
|
|
360
479
|
* SubAgentStatus defines the status of a sub-agent execution.
|
|
361
480
|
*
|
|
@@ -429,7 +548,7 @@ export var SubAgentStatus;
|
|
|
429
548
|
/**
|
|
430
549
|
* Describes the enum ai.stigmer.agentic.agentexecution.v1.SubAgentStatus.
|
|
431
550
|
*/
|
|
432
|
-
export const SubAgentStatusSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum,
|
|
551
|
+
export const SubAgentStatusSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum, 5);
|
|
433
552
|
/**
|
|
434
553
|
* ExecutionArtifactKind defines the type of artifact published by an agent.
|
|
435
554
|
*
|
|
@@ -462,7 +581,7 @@ export var ExecutionArtifactKind;
|
|
|
462
581
|
/**
|
|
463
582
|
* Describes the enum ai.stigmer.agentic.agentexecution.v1.ExecutionArtifactKind.
|
|
464
583
|
*/
|
|
465
|
-
export const ExecutionArtifactKindSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum,
|
|
584
|
+
export const ExecutionArtifactKindSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum, 6);
|
|
466
585
|
/**
|
|
467
586
|
* SummarizationSource identifies what triggered a context summarization event.
|
|
468
587
|
*
|
|
@@ -499,7 +618,7 @@ export var SummarizationSource;
|
|
|
499
618
|
/**
|
|
500
619
|
* Describes the enum ai.stigmer.agentic.agentexecution.v1.SummarizationSource.
|
|
501
620
|
*/
|
|
502
|
-
export const SummarizationSourceSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum,
|
|
621
|
+
export const SummarizationSourceSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum, 7);
|
|
503
622
|
/**
|
|
504
623
|
* ToolCallStreamingSource identifies what is currently being streamed on a
|
|
505
624
|
* tool call.
|
|
@@ -554,7 +673,7 @@ export var ToolCallStreamingSource;
|
|
|
554
673
|
/**
|
|
555
674
|
* Describes the enum ai.stigmer.agentic.agentexecution.v1.ToolCallStreamingSource.
|
|
556
675
|
*/
|
|
557
|
-
export const ToolCallStreamingSourceSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum,
|
|
676
|
+
export const ToolCallStreamingSourceSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum, 8);
|
|
558
677
|
/**
|
|
559
678
|
* ExecutionControlSignal is a platform-to-runner directive returned by the
|
|
560
679
|
* updateStatus RPC. The runner inspects this signal after every status
|
|
@@ -593,7 +712,7 @@ export var ExecutionControlSignal;
|
|
|
593
712
|
/**
|
|
594
713
|
* Describes the enum ai.stigmer.agentic.agentexecution.v1.ExecutionControlSignal.
|
|
595
714
|
*/
|
|
596
|
-
export const ExecutionControlSignalSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum,
|
|
715
|
+
export const ExecutionControlSignalSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum, 9);
|
|
597
716
|
/**
|
|
598
717
|
* ApprovalAction represents the user's decision on an approval request.
|
|
599
718
|
*
|
|
@@ -651,11 +770,55 @@ export var ApprovalAction;
|
|
|
651
770
|
* @generated from enum value: APPROVAL_ACTION_REJECT = 3;
|
|
652
771
|
*/
|
|
653
772
|
ApprovalAction[ApprovalAction["REJECT"] = 3] = "REJECT";
|
|
773
|
+
/**
|
|
774
|
+
* Approve this tool call AND auto-approve every subsequent tool call for
|
|
775
|
+
* the rest of this execution ("approve and don't ask again").
|
|
776
|
+
*
|
|
777
|
+
* This is the gate-time analog of AgentExecutionSpec.auto_approve_all: it
|
|
778
|
+
* lets a human escalate from per-call approval to "trust the rest of this
|
|
779
|
+
* run" at the moment of friction, instead of pre-arming a bypass before the
|
|
780
|
+
* agent has done anything.
|
|
781
|
+
*
|
|
782
|
+
* ## Canonical contract (every layer derives its behavior from this)
|
|
783
|
+
*
|
|
784
|
+
* 1. Control plane (SubmitApproval handler): record APPROVE_ALL on the
|
|
785
|
+
* clicked tool call, and resolve the rest of the *current* approval gate
|
|
786
|
+
* by setting every other tool call still in TOOL_CALL_WAITING_APPROVAL
|
|
787
|
+
* (action UNSPECIFIED) — including sub-agent tool calls — to
|
|
788
|
+
* APPROVAL_ACTION_APPROVE. pending_approvals is recomputed to empty, so
|
|
789
|
+
* the standard "gate fully resolved" path sends the approvalGateResolved
|
|
790
|
+
* signal. This keeps the audit trail honest: every tool that runs carries
|
|
791
|
+
* an explicit approval_action.
|
|
792
|
+
*
|
|
793
|
+
* 2. Runner (native + cursor harness): on reinvocation, the presence of ANY
|
|
794
|
+
* APPROVE_ALL decision in the persisted execution history means the
|
|
795
|
+
* execution is auto-approved for the remainder of the run. New tool calls
|
|
796
|
+
* (and sub-agent tool calls) skip the approval gate entirely, exactly as
|
|
797
|
+
* if spec.auto_approve_all were true. The interrupted tool itself resumes
|
|
798
|
+
* as an approval.
|
|
799
|
+
*
|
|
800
|
+
* ## Scope
|
|
801
|
+
*
|
|
802
|
+
* APPROVE_ALL covers the rest of THIS execution. It is NOT persisted to the
|
|
803
|
+
* session or the agent; a subsequent execution starts gated again unless the
|
|
804
|
+
* caller sets it anew (interactive clients may carry a session-scoped
|
|
805
|
+
* preference forward in-memory, but that is a client concern, not a
|
|
806
|
+
* server-persisted state).
|
|
807
|
+
*
|
|
808
|
+
* ## Audit
|
|
809
|
+
*
|
|
810
|
+
* Because this bypasses all remaining approval checks for the execution,
|
|
811
|
+
* executions containing an APPROVE_ALL decision should be auditable. The
|
|
812
|
+
* decision is recorded on ToolCall.approval_action like any other.
|
|
813
|
+
*
|
|
814
|
+
* @generated from enum value: APPROVAL_ACTION_APPROVE_ALL = 4;
|
|
815
|
+
*/
|
|
816
|
+
ApprovalAction[ApprovalAction["APPROVE_ALL"] = 4] = "APPROVE_ALL";
|
|
654
817
|
})(ApprovalAction || (ApprovalAction = {}));
|
|
655
818
|
/**
|
|
656
819
|
* Describes the enum ai.stigmer.agentic.agentexecution.v1.ApprovalAction.
|
|
657
820
|
*/
|
|
658
|
-
export const ApprovalActionSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum,
|
|
821
|
+
export const ApprovalActionSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum, 10);
|
|
659
822
|
/**
|
|
660
823
|
* InteractionMode controls the agent's behavioral posture for an execution.
|
|
661
824
|
*
|
|
@@ -710,5 +873,5 @@ export var InteractionMode;
|
|
|
710
873
|
/**
|
|
711
874
|
* Describes the enum ai.stigmer.agentic.agentexecution.v1.InteractionMode.
|
|
712
875
|
*/
|
|
713
|
-
export const InteractionModeSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum,
|
|
876
|
+
export const InteractionModeSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentexecution_v1_enum, 11);
|
|
714
877
|
//# sourceMappingURL=enum_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qIAAqI;AACrI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAY,aAAa,CAClF,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qIAAqI;AACrI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAY,aAAa,CAClF,QAAQ,CAAC,gyFAAgyF,CAAC,CAAC;AAE7yF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAM,CAAN,IAAY,cAiIX;AAjID,WAAY,cAAc;IACxB;;;;OAIG;IACH,iGAA+B,CAAA;IAE/B;;;;OAIG;IACH,6EAAqB,CAAA;IAErB;;;;OAIG;IACH,qFAAyB,CAAA;IAEzB;;;;OAIG;IACH,iFAAuB,CAAA;IAEvB;;;;OAIG;IACH,2EAAoB,C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;;;;;;;;;;;OAaG;IACH,qDAAQ,CAAA;AACV,CAAC,EAlCW,eAAe,KAAf,eAAe,QAkC1B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAA6B,aAAa,CAC1E,QAAQ,CAAC,8CAA8C,EAAE,EAAE,CAAC,CAAC"}
|
|
@@ -226,7 +226,7 @@ export type SubmitApprovalInput = Message<"ai.stigmer.agentic.agentexecution.v1.
|
|
|
226
226
|
*/
|
|
227
227
|
toolCallId: string;
|
|
228
228
|
/**
|
|
229
|
-
* User's decision: APPROVE, SKIP, or
|
|
229
|
+
* User's decision: APPROVE, SKIP, REJECT, or APPROVE_ALL.
|
|
230
230
|
* APPROVAL_ACTION_UNSPECIFIED (0) is rejected by validation.
|
|
231
231
|
*
|
|
232
232
|
* @generated from field: ai.stigmer.agentic.agentexecution.v1.ApprovalAction action = 3;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type { ApprovalAction, MessageType, ToolCallStatus, ToolCallStreamingSource } from "./enum_pb.js";
|
|
2
|
+
import type { ApprovalAction, MessageType, ToolCallStatus, ToolCallStreamingSource, ToolKind } from "./enum_pb.js";
|
|
3
3
|
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file ai/stigmer/agentic/agentexecution/v1/message.proto.
|
|
@@ -230,6 +230,22 @@ export type ToolCall = Message<"ai.stigmer.agentic.agentexecution.v1.ToolCall">
|
|
|
230
230
|
* @generated from field: string args_preview = 18;
|
|
231
231
|
*/
|
|
232
232
|
argsPreview: string;
|
|
233
|
+
/**
|
|
234
|
+
* Harness-agnostic category of this tool, set by the runner so clients render
|
|
235
|
+
* the tool identically regardless of which engine produced it. The native and
|
|
236
|
+
* Cursor harnesses use different tool-name conventions; tool_kind erases that
|
|
237
|
+
* difference at the source.
|
|
238
|
+
*
|
|
239
|
+
* TOOL_KIND_UNSPECIFIED means unclassified — either the execution predates this
|
|
240
|
+
* field or the tool has no known kind. Clients fall back to a name-based
|
|
241
|
+
* lookup in that case. See ToolKind.
|
|
242
|
+
*
|
|
243
|
+
* Field 20: field 6 is a historical gap and 19 (streaming_source) is the prior
|
|
244
|
+
* maximum, so this is appended at 20.
|
|
245
|
+
*
|
|
246
|
+
* @generated from field: ai.stigmer.agentic.agentexecution.v1.ToolKind tool_kind = 20;
|
|
247
|
+
*/
|
|
248
|
+
toolKind: ToolKind;
|
|
233
249
|
};
|
|
234
250
|
/**
|
|
235
251
|
* Describes the message ai.stigmer.agentic.agentexecution.v1.ToolCall.
|
|
@@ -8,7 +8,7 @@ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file ai/stigmer/agentic/agentexecution/v1/message.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_ai_stigmer_agentic_agentexecution_v1_message = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_ai_stigmer_agentic_agentexecution_v1_message = /*@__PURE__*/ fileDesc("CjJhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRleGVjdXRpb24vdjEvbWVzc2FnZS5wcm90bxIkYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxIoICCgxBZ2VudE1lc3NhZ2USSQoEdHlwZRgBIAEoDjIxLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5NZXNzYWdlVHlwZUIIukgFggECEAESDwoHY29udGVudBgCIAEoCRIRCgl0aW1lc3RhbXAYAyABKAkSQgoKdG9vbF9jYWxscxgEIAMoCzIuLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5Ub29sQ2FsbBIpCghtZXRhZGF0YRgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSFAoMaXNfc3RyZWFtaW5nGAYgASgIIpoFCghUb29sQ2FsbBIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEiUKBGFyZ3MYAyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0Eg4KBnJlc3VsdBgEIAEoCRJOCgZzdGF0dXMYBSABKA4yNC5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuVG9vbENhbGxTdGF0dXNCCLpIBYIBAhABEhIKCnN0YXJ0ZWRfYXQYByABKAkSFAoMY29tcGxldGVkX2F0GAggASgJEg0KBWVycm9yGAkgASgJEhkKEXJlcXVpcmVzX2FwcHJvdmFsGAogASgIEhgKEGFwcHJvdmFsX21lc3NhZ2UYCyABKAkSHQoVYXBwcm92YWxfcmVxdWVzdGVkX2F0GAwgASgJEhsKE2FwcHJvdmFsX2RlY2lkZWRfYXQYDSABKAkSEwoLYXBwcm92ZWRfYnkYDiABKAkSTQoPYXBwcm92YWxfYWN0aW9uGA8gASgOMjQuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLkFwcHJvdmFsQWN0aW9uEhQKDGlzX3N0cmVhbWluZxgQIAEoCBJXChBzdHJlYW1pbmdfc291cmNlGBMgASgOMj0uYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLlRvb2xDYWxsU3RyZWFtaW5nU291cmNlEhcKD21jcF9zZXJ2ZXJfc2x1ZxgRIAEoCRIUCgxhcmdzX3ByZXZpZXcYEiABKAkSQQoJdG9vbF9raW5kGBQgASgOMi4uYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLlRvb2xLaW5kYgZwcm90bzM", [file_ai_stigmer_agentic_agentexecution_v1_enum, file_buf_validate_validate, file_google_protobuf_struct]);
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message ai.stigmer.agentic.agentexecution.v1.AgentMessage.
|
|
14
14
|
* Use `create(AgentMessageSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/message_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wIAAwI;AACxI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAC;AAC9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"message_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/message_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wIAAwI;AACxI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAC;AAC9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,61CAA61C,EAAE,CAAC,8CAA8C,EAAE,0BAA0B,EAAE,2BAA2B,CAAC,CAAC,CAAC;AAuDr9C;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AAmNpE;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type { SessionMemory } from "./memory_pb.js";
|
|
3
2
|
import type { SessionSpec } from "./spec_pb.js";
|
|
4
3
|
import type { ApiResourceMetadata } from "../../../commons/apiresource/metadata_pb.js";
|
|
5
|
-
import type {
|
|
4
|
+
import type { ApiResourceAuditStatus } from "../../../commons/apiresource/status_pb.js";
|
|
6
5
|
import type { Message } from "@bufbuild/protobuf";
|
|
7
6
|
/**
|
|
8
7
|
* Describes the file ai/stigmer/agentic/session/v1/api.proto.
|
|
@@ -40,55 +39,14 @@ export type Session = Message<"ai.stigmer.agentic.session.v1.Session"> & {
|
|
|
40
39
|
*/
|
|
41
40
|
spec?: SessionSpec;
|
|
42
41
|
/**
|
|
43
|
-
* System-managed
|
|
42
|
+
* System-managed audit information (created_at, updated_at, created_by, etc.).
|
|
44
43
|
*
|
|
45
|
-
* @generated from field: ai.stigmer.
|
|
44
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceAuditStatus status = 5;
|
|
46
45
|
*/
|
|
47
|
-
status?:
|
|
46
|
+
status?: ApiResourceAuditStatus;
|
|
48
47
|
};
|
|
49
48
|
/**
|
|
50
49
|
* Describes the message ai.stigmer.agentic.session.v1.Session.
|
|
51
50
|
* Use `create(SessionSchema)` to create a new message.
|
|
52
51
|
*/
|
|
53
52
|
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>;
|