@stigmer/protos 3.5.3 → 3.7.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/agentchannel/v1/conversation_command_connect.d.ts +141 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_command_connect.js +149 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_command_connect.js.map +1 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_command_pb.d.ts +140 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_command_pb.js +34 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_command_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.d.ts +541 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js +181 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.d.ts +69 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.js +76 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.js.map +1 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_query_pb.d.ts +70 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_query_pb.js +30 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_query_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.d.ts +36 -2
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js +18 -2
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.d.ts +90 -0
- package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.js +16 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.d.ts +27 -0
- package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.js +28 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.d.ts +27 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.js +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.d.ts +142 -6
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js +94 -5
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/spec_pb.d.ts +25 -0
- package/ai/stigmer/agentic/agentchannel/v1/spec_pb.js +2 -1
- package/ai/stigmer/agentic/agentchannel/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +5 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +66 -0
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +81 -14
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.d.ts +210 -0
- package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.js +25 -0
- package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +17 -0
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +13 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +33 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +2 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentshare/v1/spec_pb.d.ts +27 -0
- package/ai/stigmer/agentic/agentshare/v1/spec_pb.js +2 -1
- package/ai/stigmer/agentic/agentshare/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +26 -0
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/schedule/v1/api_pb.d.ts +68 -0
- package/ai/stigmer/agentic/schedule/v1/api_pb.js +18 -0
- package/ai/stigmer/agentic/schedule/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/schedule/v1/command_connect.d.ts +189 -0
- package/ai/stigmer/agentic/schedule/v1/command_connect.js +197 -0
- package/ai/stigmer/agentic/schedule/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/schedule/v1/command_pb.d.ts +187 -0
- package/ai/stigmer/agentic/schedule/v1/command_pb.js +19 -0
- package/ai/stigmer/agentic/schedule/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/schedule/v1/io_pb.d.ts +387 -0
- package/ai/stigmer/agentic/schedule/v1/io_pb.js +150 -0
- package/ai/stigmer/agentic/schedule/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/schedule/v1/query_connect.d.ts +103 -0
- package/ai/stigmer/agentic/schedule/v1/query_connect.js +112 -0
- package/ai/stigmer/agentic/schedule/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/schedule/v1/query_pb.d.ts +103 -0
- package/ai/stigmer/agentic/schedule/v1/query_pb.js +25 -0
- package/ai/stigmer/agentic/schedule/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/schedule/v1/spec_pb.d.ts +132 -0
- package/ai/stigmer/agentic/schedule/v1/spec_pb.js +16 -0
- package/ai/stigmer/agentic/schedule/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/schedule/v1/status_pb.d.ts +85 -0
- package/ai/stigmer/agentic/schedule/v1/status_pb.js +16 -0
- package/ai/stigmer/agentic/schedule/v1/status_pb.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +10 -8
- package/ai/stigmer/agentic/session/v1/enum_pb.js +10 -8
- package/ai/stigmer/agentic/session/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +7 -5
- package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +123 -104
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js +4 -7
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +17 -0
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +6 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +7 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
- package/ai/stigmer/iam/v1/enum_pb.d.ts +31 -2
- package/ai/stigmer/iam/v1/enum_pb.js +30 -1
- package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_connect.d.ts +6 -4
- package/ai/stigmer/platform/v1/server_info_connect.js +6 -4
- package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_pb.d.ts +53 -4
- package/ai/stigmer/platform/v1/server_info_pb.js +7 -2
- package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/schedule/v1/query.proto (package ai.stigmer.agentic.schedule.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { GetSchedulesByAgentRequest, ListScheduleRunsRequest, ListSchedulesRequest, ScheduleId, ScheduleList, ScheduleRunList } from "./io_pbjs";
|
|
6
|
+
import { Schedule } from "./api_pbjs";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { ApiResourceReference } from "../../../commons/apiresource/io_pbjs";
|
|
9
|
+
/**
|
|
10
|
+
* ScheduleQueryController handles read operations for schedules.
|
|
11
|
+
*
|
|
12
|
+
* @internal
|
|
13
|
+
* No anonymous/public RPC by design (the AgentChannel posture): a
|
|
14
|
+
* schedule has no public surface at all — its only runtime effect is the
|
|
15
|
+
* executions its fires create.
|
|
16
|
+
*
|
|
17
|
+
* @generated from service ai.stigmer.agentic.schedule.v1.ScheduleQueryController
|
|
18
|
+
*/
|
|
19
|
+
export const ScheduleQueryController = {
|
|
20
|
+
typeName: "ai.stigmer.agentic.schedule.v1.ScheduleQueryController",
|
|
21
|
+
methods: {
|
|
22
|
+
/**
|
|
23
|
+
* Get a single schedule by ID.
|
|
24
|
+
*
|
|
25
|
+
* @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleQueryController.get
|
|
26
|
+
*/
|
|
27
|
+
get: {
|
|
28
|
+
name: "get",
|
|
29
|
+
I: ScheduleId,
|
|
30
|
+
O: Schedule,
|
|
31
|
+
kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* Get a schedule by its organization-scoped reference (org/slug).
|
|
35
|
+
*
|
|
36
|
+
* @internal
|
|
37
|
+
* Custom authorization in handler — checks both direct resource access
|
|
38
|
+
* and organization-level visibility permissions (the AgentShare /
|
|
39
|
+
* AgentChannel pattern).
|
|
40
|
+
*
|
|
41
|
+
* @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleQueryController.getByReference
|
|
42
|
+
*/
|
|
43
|
+
getByReference: {
|
|
44
|
+
name: "getByReference",
|
|
45
|
+
I: ApiResourceReference,
|
|
46
|
+
O: Schedule,
|
|
47
|
+
kind: MethodKind.Unary,
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
* Get all schedules of a specific agent.
|
|
51
|
+
* Returns only schedules the caller has access to.
|
|
52
|
+
*
|
|
53
|
+
* This is how the agent's operational surfaces and CLI resolve an
|
|
54
|
+
* agent's existing schedules regardless of slug.
|
|
55
|
+
*
|
|
56
|
+
* @internal
|
|
57
|
+
* Authorization in-handler: FGA-filtered in cloud, unrestricted in OSS
|
|
58
|
+
* (the getByAgent family convention — agent channels, agent shares,
|
|
59
|
+
* agent instances).
|
|
60
|
+
*
|
|
61
|
+
* @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleQueryController.getByAgent
|
|
62
|
+
*/
|
|
63
|
+
getByAgent: {
|
|
64
|
+
name: "getByAgent",
|
|
65
|
+
I: GetSchedulesByAgentRequest,
|
|
66
|
+
O: ScheduleList,
|
|
67
|
+
kind: MethodKind.Unary,
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* List schedules with optional label filtering.
|
|
71
|
+
*
|
|
72
|
+
* @internal
|
|
73
|
+
* Authorization in-handler via FGA-filtered queries (cloud) or
|
|
74
|
+
* unrestricted store queries (OSS).
|
|
75
|
+
*
|
|
76
|
+
* @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleQueryController.list
|
|
77
|
+
*/
|
|
78
|
+
list: {
|
|
79
|
+
name: "list",
|
|
80
|
+
I: ListSchedulesRequest,
|
|
81
|
+
O: ScheduleList,
|
|
82
|
+
kind: MethodKind.Unary,
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* List a schedule's run history, newest first.
|
|
86
|
+
*
|
|
87
|
+
* Every fire leaves a row — including fires that created no execution
|
|
88
|
+
* (a refused launch gate, a missing target agent) — with the refusing
|
|
89
|
+
* gate's copy verbatim. This is the surface that explains
|
|
90
|
+
* status.consecutive_failures.
|
|
91
|
+
*
|
|
92
|
+
* @internal
|
|
93
|
+
* Backed by the fire ledger (project DD-017 D-7). Authorization:
|
|
94
|
+
* can_view on the schedule — run history is the schedule's own
|
|
95
|
+
* operational record; the linked executions keep their own bars. Rows
|
|
96
|
+
* carrying an execution id but no terminal outcome are enriched with
|
|
97
|
+
* the execution's live phase at read time (one join), so manual fires
|
|
98
|
+
* need no tracker and outcome columns never lie. OSS implements the
|
|
99
|
+
* same contract against its store; the conformance suite holds both
|
|
100
|
+
* editions to it.
|
|
101
|
+
*
|
|
102
|
+
* @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleQueryController.listRuns
|
|
103
|
+
*/
|
|
104
|
+
listRuns: {
|
|
105
|
+
name: "listRuns",
|
|
106
|
+
I: ListScheduleRunsRequest,
|
|
107
|
+
O: ScheduleRunList,
|
|
108
|
+
kind: MethodKind.Unary,
|
|
109
|
+
},
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
//# sourceMappingURL=query_connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/schedule/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0HAA0H;AAC1H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjJ,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,wDAAwD;IAClE,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,UAAU;YACb,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;WASG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;WAaG;QACH,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,CAAC,EAAE,0BAA0B;YAC7B,CAAC,EAAE,YAAY;YACf,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,YAAY;YACf,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;WAmBG;QACH,QAAQ,EAAE;YACR,IAAI,EAAE,UAAU;YAChB,CAAC,EAAE,uBAAuB;YAC1B,CAAC,EAAE,eAAe;YAClB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ScheduleSchema } from "./api_pb.js";
|
|
3
|
+
import type { GetSchedulesByAgentRequestSchema, ListScheduleRunsRequestSchema, ListSchedulesRequestSchema, ScheduleIdSchema, ScheduleListSchema, ScheduleRunListSchema } from "./io_pb.js";
|
|
4
|
+
import type { ApiResourceReferenceSchema } from "../../../commons/apiresource/io_pb.js";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file ai/stigmer/agentic/schedule/v1/query.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_ai_stigmer_agentic_schedule_v1_query: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* ScheduleQueryController handles read operations for schedules.
|
|
11
|
+
*
|
|
12
|
+
* @internal
|
|
13
|
+
* No anonymous/public RPC by design (the AgentChannel posture): a
|
|
14
|
+
* schedule has no public surface at all — its only runtime effect is the
|
|
15
|
+
* executions its fires create.
|
|
16
|
+
*
|
|
17
|
+
* @generated from service ai.stigmer.agentic.schedule.v1.ScheduleQueryController
|
|
18
|
+
*/
|
|
19
|
+
export declare const ScheduleQueryController: GenService<{
|
|
20
|
+
/**
|
|
21
|
+
* Get a single schedule by ID.
|
|
22
|
+
*
|
|
23
|
+
* @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleQueryController.get
|
|
24
|
+
*/
|
|
25
|
+
get: {
|
|
26
|
+
methodKind: "unary";
|
|
27
|
+
input: typeof ScheduleIdSchema;
|
|
28
|
+
output: typeof ScheduleSchema;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Get a schedule by its organization-scoped reference (org/slug).
|
|
32
|
+
*
|
|
33
|
+
* @internal
|
|
34
|
+
* Custom authorization in handler — checks both direct resource access
|
|
35
|
+
* and organization-level visibility permissions (the AgentShare /
|
|
36
|
+
* AgentChannel pattern).
|
|
37
|
+
*
|
|
38
|
+
* @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleQueryController.getByReference
|
|
39
|
+
*/
|
|
40
|
+
getByReference: {
|
|
41
|
+
methodKind: "unary";
|
|
42
|
+
input: typeof ApiResourceReferenceSchema;
|
|
43
|
+
output: typeof ScheduleSchema;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Get all schedules of a specific agent.
|
|
47
|
+
* Returns only schedules the caller has access to.
|
|
48
|
+
*
|
|
49
|
+
* This is how the agent's operational surfaces and CLI resolve an
|
|
50
|
+
* agent's existing schedules regardless of slug.
|
|
51
|
+
*
|
|
52
|
+
* @internal
|
|
53
|
+
* Authorization in-handler: FGA-filtered in cloud, unrestricted in OSS
|
|
54
|
+
* (the getByAgent family convention — agent channels, agent shares,
|
|
55
|
+
* agent instances).
|
|
56
|
+
*
|
|
57
|
+
* @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleQueryController.getByAgent
|
|
58
|
+
*/
|
|
59
|
+
getByAgent: {
|
|
60
|
+
methodKind: "unary";
|
|
61
|
+
input: typeof GetSchedulesByAgentRequestSchema;
|
|
62
|
+
output: typeof ScheduleListSchema;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* List schedules with optional label filtering.
|
|
66
|
+
*
|
|
67
|
+
* @internal
|
|
68
|
+
* Authorization in-handler via FGA-filtered queries (cloud) or
|
|
69
|
+
* unrestricted store queries (OSS).
|
|
70
|
+
*
|
|
71
|
+
* @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleQueryController.list
|
|
72
|
+
*/
|
|
73
|
+
list: {
|
|
74
|
+
methodKind: "unary";
|
|
75
|
+
input: typeof ListSchedulesRequestSchema;
|
|
76
|
+
output: typeof ScheduleListSchema;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* List a schedule's run history, newest first.
|
|
80
|
+
*
|
|
81
|
+
* Every fire leaves a row — including fires that created no execution
|
|
82
|
+
* (a refused launch gate, a missing target agent) — with the refusing
|
|
83
|
+
* gate's copy verbatim. This is the surface that explains
|
|
84
|
+
* status.consecutive_failures.
|
|
85
|
+
*
|
|
86
|
+
* @internal
|
|
87
|
+
* Backed by the fire ledger (project DD-017 D-7). Authorization:
|
|
88
|
+
* can_view on the schedule — run history is the schedule's own
|
|
89
|
+
* operational record; the linked executions keep their own bars. Rows
|
|
90
|
+
* carrying an execution id but no terminal outcome are enriched with
|
|
91
|
+
* the execution's live phase at read time (one join), so manual fires
|
|
92
|
+
* need no tracker and outcome columns never lie. OSS implements the
|
|
93
|
+
* same contract against its store; the conformance suite holds both
|
|
94
|
+
* editions to it.
|
|
95
|
+
*
|
|
96
|
+
* @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleQueryController.listRuns
|
|
97
|
+
*/
|
|
98
|
+
listRuns: {
|
|
99
|
+
methodKind: "unary";
|
|
100
|
+
input: typeof ListScheduleRunsRequestSchema;
|
|
101
|
+
output: typeof ScheduleRunListSchema;
|
|
102
|
+
};
|
|
103
|
+
}>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/schedule/v1/query.proto (package ai.stigmer.agentic.schedule.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_schedule_v1_api } from "./api_pb.js";
|
|
6
|
+
import { file_ai_stigmer_agentic_schedule_v1_io } from "./io_pb.js";
|
|
7
|
+
import { file_ai_stigmer_commons_apiresource_io } from "../../../commons/apiresource/io_pb.js";
|
|
8
|
+
import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb.js";
|
|
9
|
+
import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb.js";
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file ai/stigmer/agentic/schedule/v1/query.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_ai_stigmer_agentic_schedule_v1_query = /*@__PURE__*/ fileDesc("CiphaS9zdGlnbWVyL2FnZW50aWMvc2NoZWR1bGUvdjEvcXVlcnkucHJvdG8SHmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MTLGBQoXU2NoZWR1bGVRdWVyeUNvbnRyb2xsZXISigEKA2dldBIqLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZUlkGiguYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlIi3CuBgpCAEQOCIFdmFsdWUqHHVuYXV0aG9yaXplZCB0byBnZXQgc2NoZWR1bGUSdgoOZ2V0QnlSZWZlcmVuY2USNC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VSZWZlcmVuY2UaKC5haS5zdGlnbWVyLmFnZW50aWMuc2NoZWR1bGUudjEuU2NoZWR1bGUiBNC4GAESfAoKZ2V0QnlBZ2VudBI6LmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5HZXRTY2hlZHVsZXNCeUFnZW50UmVxdWVzdBosLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZUxpc3QiBNC4GAEScAoEbGlzdBI0LmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5MaXN0U2NoZWR1bGVzUmVxdWVzdBosLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZUxpc3QiBNC4GAESrwEKCGxpc3RSdW5zEjcuYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLkxpc3RTY2hlZHVsZVJ1bnNSZXF1ZXN0Gi8uYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlUnVuTGlzdCI5wrgYNQgBEDgiC3NjaGVkdWxlX2lkKiJ1bmF1dGhvcml6ZWQgdG8gbGlzdCBzY2hlZHVsZSBydW5zGgSg/ys4YgZwcm90bzM", [file_ai_stigmer_agentic_schedule_v1_api, file_ai_stigmer_agentic_schedule_v1_io, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
|
|
14
|
+
/**
|
|
15
|
+
* ScheduleQueryController handles read operations for schedules.
|
|
16
|
+
*
|
|
17
|
+
* @internal
|
|
18
|
+
* No anonymous/public RPC by design (the AgentChannel posture): a
|
|
19
|
+
* schedule has no public surface at all — its only runtime effect is the
|
|
20
|
+
* executions its fires create.
|
|
21
|
+
*
|
|
22
|
+
* @generated from service ai.stigmer.agentic.schedule.v1.ScheduleQueryController
|
|
23
|
+
*/
|
|
24
|
+
export const ScheduleQueryController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_agentic_schedule_v1_query, 0);
|
|
25
|
+
//# sourceMappingURL=query_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/schedule/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0HAA0H;AAC1H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,aAAa,CAAC;AAEtE,OAAO,EAAE,sCAAsC,EAAE,MAAM,YAAY,CAAC;AAEpE,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,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,yiCAAyiC,EAAE,CAAC,uCAAuC,EAAE,sCAAsC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEtxC;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAoF/B,aAAa,CAChB,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { AgentInvocation } from "../../agentexecution/v1/invocation_pb.js";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file ai/stigmer/agentic/schedule/v1/spec.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_ai_stigmer_agentic_schedule_v1_spec: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* ScheduleSpec defines when a schedule fires and what it runs.
|
|
10
|
+
*
|
|
11
|
+
* The spec is deliberately small: a cron expression, the IANA time zone
|
|
12
|
+
* it is evaluated in, the owner's enablement switch, and the target each
|
|
13
|
+
* fire runs. Everything the platform observes about firing lives in
|
|
14
|
+
* status — a declarative apply can never clobber it.
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
* DD-008 D8 as amended by DD-009 and DD-018: the target oneof is inline
|
|
18
|
+
* (the AgentChannelSpec.provider_config shape, C-3) and the agent arm is
|
|
19
|
+
* the shared AgentInvocation (DD-018 D-3) — the owner-settable subset of
|
|
20
|
+
* an agent run, so the schedule speaks the composer's vocabulary instead
|
|
21
|
+
* of a schedule-only one. Apply-time cron validation is purely lexical
|
|
22
|
+
* (C-4) so no cron parser exists in either edition; the Temporal server
|
|
23
|
+
* owns calendar/DST semantics (D2).
|
|
24
|
+
*
|
|
25
|
+
* @generated from message ai.stigmer.agentic.schedule.v1.ScheduleSpec
|
|
26
|
+
*/
|
|
27
|
+
export type ScheduleSpec = Message<"ai.stigmer.agentic.schedule.v1.ScheduleSpec"> & {
|
|
28
|
+
/**
|
|
29
|
+
* Cron expression in the classic 5-field form (minute, hour,
|
|
30
|
+
* day-of-month, month, day-of-week), evaluated in `time_zone` — for
|
|
31
|
+
* example "0 9 * * *" for daily at 09:00. The shorthands @hourly,
|
|
32
|
+
* @daily, @weekly, @monthly, and @yearly are also accepted. Timezone
|
|
33
|
+
* prefixes (CRON_TZ=/TZ=), @every intervals, 6- or 7-field forms, and
|
|
34
|
+
* trailing comments are rejected.
|
|
35
|
+
*
|
|
36
|
+
* @internal
|
|
37
|
+
* DD-009 C-4: deliberately narrower than the Temporal server's cron
|
|
38
|
+
* grammar. CRON_TZ=/TZ= would carry a second timezone authority beside
|
|
39
|
+
* `time_zone` (Temporal itself rejects the combination at
|
|
40
|
+
* schedule-create time — accepting it here would store a spec that
|
|
41
|
+
* detonates when the clock lands); @every compiles to an interval spec
|
|
42
|
+
* and bypasses the calendar model; the 7-field form has a seconds
|
|
43
|
+
* column. The 5-field restriction is a structural one-minute firing
|
|
44
|
+
* floor with zero cron parsing. The configurable interval floor
|
|
45
|
+
* (stigmer.schedules.limits, DD-008 D7) lands with the clock, enforced
|
|
46
|
+
* against Temporal's own computed fire times. Widening this grammar
|
|
47
|
+
* later is additive; narrowing it would break stored specs.
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: string cron = 1;
|
|
50
|
+
*/
|
|
51
|
+
cron: string;
|
|
52
|
+
/**
|
|
53
|
+
* IANA time zone the cron is evaluated in, e.g. "Asia/Kolkata".
|
|
54
|
+
*
|
|
55
|
+
* @internal
|
|
56
|
+
* The single timezone authority (DD-009 C-4): validation refuses cron
|
|
57
|
+
* strings carrying their own CRON_TZ=/TZ= prefix. Zone-name validity is
|
|
58
|
+
* checked against the platform tz database in both editions
|
|
59
|
+
* (time.LoadLocation / ZoneId.of); DST evaluation semantics are the
|
|
60
|
+
* Temporal server's concern (DD-008 D2), identical for both editions.
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: string time_zone = 2;
|
|
63
|
+
*/
|
|
64
|
+
timeZone: string;
|
|
65
|
+
/**
|
|
66
|
+
* Whether the schedule fires. Off disables firing without deleting
|
|
67
|
+
* the schedule or its history.
|
|
68
|
+
*
|
|
69
|
+
* @internal
|
|
70
|
+
* The owner's switch — "disabled", deliberately distinct from
|
|
71
|
+
* "paused", the platform's failure-streak latch recorded on
|
|
72
|
+
* status.paused_reason and never on spec (DD-008 D7, DD-013 D-E:
|
|
73
|
+
* the two words name two levers with two writers). Sibling
|
|
74
|
+
* bool shape (AgentShareSpec/AgentChannelSpec.enabled): manifests set
|
|
75
|
+
* `enabled: true` explicitly, no edition defaults it, and no status
|
|
76
|
+
* field echoes it (DD-009 pinned behaviors — consoles derive
|
|
77
|
+
* owner-disabled state from spec on read).
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: bool enabled = 3;
|
|
80
|
+
*/
|
|
81
|
+
enabled: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* What this schedule runs at each fire. Exactly one target must be set.
|
|
84
|
+
*
|
|
85
|
+
* @internal
|
|
86
|
+
* The extension seam (DD-008 D1, the provider_config oneof pattern): a
|
|
87
|
+
* future `workflow` arm reuses the WorkflowExecution create pipeline
|
|
88
|
+
* directly — carrying its two recorded divergences from the agent path
|
|
89
|
+
* (version pinning; the CRITICAL pre-persist sandbox step, DD-008 D8).
|
|
90
|
+
* The arm is immutable across updates (DD-009 pinned behaviors): an
|
|
91
|
+
* agent schedule must not morph into a workflow schedule — the two
|
|
92
|
+
* targets enter different execution pipelines.
|
|
93
|
+
*
|
|
94
|
+
* @generated from oneof ai.stigmer.agentic.schedule.v1.ScheduleSpec.target
|
|
95
|
+
*/
|
|
96
|
+
target: {
|
|
97
|
+
/**
|
|
98
|
+
* Run an agent with a configured prompt at each fire.
|
|
99
|
+
*
|
|
100
|
+
* @internal
|
|
101
|
+
* The shared owner-settable run shape (DD-018 D-3), replacing the
|
|
102
|
+
* deleted schedule-only AgentTarget/ScheduleRunConfig pair.
|
|
103
|
+
* Schedule-specific invariants enforced in create/update/apply
|
|
104
|
+
* handlers of both editions, never on the shared message:
|
|
105
|
+
* agent_ref.org must equal metadata.org (the schedule-owning org
|
|
106
|
+
* is the billing org for every fire; creation requires can_edit
|
|
107
|
+
* on the referenced agent, DD-009 C-6); workspace sources must be
|
|
108
|
+
* git_repo (no client is connected at fire time to serve a
|
|
109
|
+
* local_path); agent_ref is immutable across updates while
|
|
110
|
+
* harness, model, workspace, message, and environments stay
|
|
111
|
+
* mutable — every fire builds a fresh session, so nothing
|
|
112
|
+
* session-immutable is ever mutated mid-flight. environment_refs
|
|
113
|
+
* resolution is unchanged from DD-017 D-2/D-4: claim-driven in
|
|
114
|
+
* the execution-context step, org-shared environments only,
|
|
115
|
+
* LOWEST merge priority, enforcement solely at runtime
|
|
116
|
+
* resolution. run_config clamping is unchanged from DD-017 D-3:
|
|
117
|
+
* per-field min(owner, platform) in the run starter.
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: ai.stigmer.agentic.agentexecution.v1.AgentInvocation agent = 4;
|
|
120
|
+
*/
|
|
121
|
+
value: AgentInvocation;
|
|
122
|
+
case: "agent";
|
|
123
|
+
} | {
|
|
124
|
+
case: undefined;
|
|
125
|
+
value?: undefined;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Describes the message ai.stigmer.agentic.schedule.v1.ScheduleSpec.
|
|
130
|
+
* Use `create(ScheduleSpecSchema)` to create a new message.
|
|
131
|
+
*/
|
|
132
|
+
export declare const ScheduleSpecSchema: GenMessage<ScheduleSpec>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/schedule/v1/spec.proto (package ai.stigmer.agentic.schedule.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_agentexecution_v1_invocation } from "../../agentexecution/v1/invocation_pb.js";
|
|
6
|
+
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file ai/stigmer/agentic/schedule/v1/spec.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_ai_stigmer_agentic_schedule_v1_spec = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2FnZW50aWMvc2NoZWR1bGUvdjEvc3BlYy5wcm90bxIeYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxIqsBCgxTY2hlZHVsZVNwZWMSFQoEY3JvbhgBIAEoCUIHukgEcgIQARIaCgl0aW1lX3pvbmUYAiABKAlCB7pIBHICEAESDwoHZW5hYmxlZBgDIAEoCBJGCgVhZ2VudBgEIAEoCzI1LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5BZ2VudEludm9jYXRpb25IAEIPCgZ0YXJnZXQSBbpIAggBYgZwcm90bzM", [file_ai_stigmer_agentic_agentexecution_v1_invocation, file_buf_validate_validate]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message ai.stigmer.agentic.schedule.v1.ScheduleSpec.
|
|
13
|
+
* Use `create(ScheduleSpecSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const ScheduleSpecSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_schedule_v1_spec, 0);
|
|
16
|
+
//# sourceMappingURL=spec_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/schedule/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,oDAAoD,EAAE,MAAM,0CAA0C,CAAC;AAChH,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,yVAAyV,EAAE,CAAC,oDAAoD,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA2H1b;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ApiResourceAudit } from "../../../commons/apiresource/status_pb.js";
|
|
3
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file ai/stigmer/agentic/schedule/v1/status.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_ai_stigmer_agentic_schedule_v1_status: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* ScheduleStatus contains system-managed state for a schedule.
|
|
11
|
+
*
|
|
12
|
+
* @internal
|
|
13
|
+
* Platform-owned; written only by the scheduling runtime (tick +
|
|
14
|
+
* lifecycle sync) and by the explicit resume command (DD-013 D-D).
|
|
15
|
+
* Preserved VERBATIM across apply and update (the AgentChannel
|
|
16
|
+
* decision-004 posture) — load-bearing for DD-008 D7's auto-pause,
|
|
17
|
+
* which records on status precisely so the platform never writes spec.
|
|
18
|
+
* A routine manifest apply must never reset the failure streak or
|
|
19
|
+
* un-pause a schedule; both editions carry a regression test for this
|
|
20
|
+
* (DD-009 pinned behaviors).
|
|
21
|
+
*
|
|
22
|
+
* @generated from message ai.stigmer.agentic.schedule.v1.ScheduleStatus
|
|
23
|
+
*/
|
|
24
|
+
export type ScheduleStatus = Message<"ai.stigmer.agentic.schedule.v1.ScheduleStatus"> & {
|
|
25
|
+
/**
|
|
26
|
+
* When the schedule next fires, in UTC. Absent while the schedule is
|
|
27
|
+
* disabled, auto-paused, or not yet synchronized with the clock.
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: google.protobuf.Timestamp next_fire_at = 1;
|
|
30
|
+
*/
|
|
31
|
+
nextFireAt?: Timestamp;
|
|
32
|
+
/**
|
|
33
|
+
* When the schedule last fired, in UTC.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: google.protobuf.Timestamp last_fire_at = 2;
|
|
36
|
+
*/
|
|
37
|
+
lastFireAt?: Timestamp;
|
|
38
|
+
/**
|
|
39
|
+
* ID of the agent execution created by the most recent fire.
|
|
40
|
+
*
|
|
41
|
+
* @internal
|
|
42
|
+
* The reverse pointer of the stigmer.ai/schedule-id label stamped on
|
|
43
|
+
* every schedule-created execution (DD-008 D4) — the audit link is
|
|
44
|
+
* queryable from either end.
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: string last_execution_id = 3;
|
|
47
|
+
*/
|
|
48
|
+
lastExecutionId: string;
|
|
49
|
+
/**
|
|
50
|
+
* Number of consecutive failed runs. A successful run resets it.
|
|
51
|
+
*
|
|
52
|
+
* @internal
|
|
53
|
+
* Feeds the failure-streak auto-pause (DD-008 D7; platform default 5).
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: int32 consecutive_failures = 4;
|
|
56
|
+
*/
|
|
57
|
+
consecutiveFailures: number;
|
|
58
|
+
/**
|
|
59
|
+
* Why the platform paused this schedule; empty when not paused.
|
|
60
|
+
* Cleared only by the resume RPC — the owner's explicit act.
|
|
61
|
+
*
|
|
62
|
+
* @internal
|
|
63
|
+
* "Paused" is the platform's latch, distinct from the owner's switch
|
|
64
|
+
* (spec.enabled = false is "disabled" — project DD-013 D-E). Written
|
|
65
|
+
* ONLY by the platform auto-pause (DD-008 D7) — never an echo of
|
|
66
|
+
* spec.enabled (DD-009 pinned behaviors: one writer per field;
|
|
67
|
+
* consoles derive owner-disabled state from spec on read). Updates
|
|
68
|
+
* and applies preserve it verbatim; resume is deliberately the ONE
|
|
69
|
+
* clearing path (DD-013 D-D).
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: string paused_reason = 5;
|
|
72
|
+
*/
|
|
73
|
+
pausedReason: string;
|
|
74
|
+
/**
|
|
75
|
+
* Standard audit information (created_at, updated_at, created_by, etc.)
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceAudit audit = 99;
|
|
78
|
+
*/
|
|
79
|
+
audit?: ApiResourceAudit;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message ai.stigmer.agentic.schedule.v1.ScheduleStatus.
|
|
83
|
+
* Use `create(ScheduleStatusSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export declare const ScheduleStatusSchema: GenMessage<ScheduleStatus>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/schedule/v1/status.proto (package ai.stigmer.agentic.schedule.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/apiresource/status_pb.js";
|
|
6
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file ai/stigmer/agentic/schedule/v1/status.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_ai_stigmer_agentic_schedule_v1_status = /*@__PURE__*/ fileDesc("CithaS9zdGlnbWVyL2FnZW50aWMvc2NoZWR1bGUvdjEvc3RhdHVzLnByb3RvEh5haS5zdGlnbWVyLmFnZW50aWMuc2NoZWR1bGUudjEihQIKDlNjaGVkdWxlU3RhdHVzEjAKDG5leHRfZmlyZV9hdBgBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASMAoMbGFzdF9maXJlX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIZChFsYXN0X2V4ZWN1dGlvbl9pZBgDIAEoCRIcChRjb25zZWN1dGl2ZV9mYWlsdXJlcxgEIAEoBRIVCg1wYXVzZWRfcmVhc29uGAUgASgJEj8KBWF1ZGl0GGMgASgLMjAuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlQXVkaXRiBnByb3RvMw", [file_ai_stigmer_commons_apiresource_status, file_google_protobuf_timestamp]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message ai.stigmer.agentic.schedule.v1.ScheduleStatus.
|
|
13
|
+
* Use `create(ScheduleStatusSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const ScheduleStatusSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_schedule_v1_status, 0);
|
|
16
|
+
//# sourceMappingURL=status_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/schedule/v1/status_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,2HAA2H;AAC3H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,odAAod,EAAE,CAAC,0CAA0C,EAAE,8BAA8B,CAAC,CAAC,CAAC;AAgF/iB;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -141,19 +141,21 @@ export declare const ExecutionTargetSchema: GenEnum<ExecutionTarget>;
|
|
|
141
141
|
* CursorMode selects the Cursor SDK agent type for sessions using
|
|
142
142
|
* HARNESS_CURSOR.
|
|
143
143
|
*
|
|
144
|
-
* Determined once at session creation
|
|
145
|
-
*
|
|
146
|
-
*
|
|
144
|
+
* Determined once at session creation and never changed mid-session.
|
|
145
|
+
* Switching would lose Cursor-side conversation state because local
|
|
146
|
+
* agents (agent- prefix) and cloud agents (bc- prefix) maintain
|
|
147
147
|
* separate, incompatible conversation stores.
|
|
148
148
|
*
|
|
149
149
|
* Ignored when harness is not HARNESS_CURSOR.
|
|
150
150
|
*
|
|
151
151
|
* @internal
|
|
152
|
-
*
|
|
153
|
-
* is
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
152
|
+
* Runner-owned, never user-set: determineCursorMode() in the cursor
|
|
153
|
+
* runner always returns LOCAL while cloud mode is disabled platform-wide
|
|
154
|
+
* (Cursor cloud agents clone via Cursor's own GitHub App and accept no
|
|
155
|
+
* per-request git credential, so Stigmer provisions the workspace itself
|
|
156
|
+
* and runs a local Cursor agent against it). The former workspace-based
|
|
157
|
+
* selection logic was removed 2026-06-03; STIGMER_CURSOR_CLOUD_MODE_ENABLED
|
|
158
|
+
* still parses into runner config but no longer drives mode selection.
|
|
157
159
|
*
|
|
158
160
|
* When UNSPECIFIED on an existing session, the runner treats it as LOCAL
|
|
159
161
|
* for backward compatibility with sessions created before this field existed.
|
|
@@ -147,19 +147,21 @@ export const ExecutionTargetSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agen
|
|
|
147
147
|
* CursorMode selects the Cursor SDK agent type for sessions using
|
|
148
148
|
* HARNESS_CURSOR.
|
|
149
149
|
*
|
|
150
|
-
* Determined once at session creation
|
|
151
|
-
*
|
|
152
|
-
*
|
|
150
|
+
* Determined once at session creation and never changed mid-session.
|
|
151
|
+
* Switching would lose Cursor-side conversation state because local
|
|
152
|
+
* agents (agent- prefix) and cloud agents (bc- prefix) maintain
|
|
153
153
|
* separate, incompatible conversation stores.
|
|
154
154
|
*
|
|
155
155
|
* Ignored when harness is not HARNESS_CURSOR.
|
|
156
156
|
*
|
|
157
157
|
* @internal
|
|
158
|
-
*
|
|
159
|
-
* is
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
158
|
+
* Runner-owned, never user-set: determineCursorMode() in the cursor
|
|
159
|
+
* runner always returns LOCAL while cloud mode is disabled platform-wide
|
|
160
|
+
* (Cursor cloud agents clone via Cursor's own GitHub App and accept no
|
|
161
|
+
* per-request git credential, so Stigmer provisions the workspace itself
|
|
162
|
+
* and runs a local Cursor agent against it). The former workspace-based
|
|
163
|
+
* selection logic was removed 2026-06-03; STIGMER_CURSOR_CLOUD_MODE_ENABLED
|
|
164
|
+
* still parses into runner config but no longer drives mode selection.
|
|
163
165
|
*
|
|
164
166
|
* When UNSPECIFIED on an existing session, the runner treats it as LOCAL
|
|
165
167
|
* for backward compatibility with sessions created before this field existed.
|
|
@@ -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,qlBAAqlB,CAAC,CAAC;AAElmB;;;;;;;;;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;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAN,IAAY,eA8BX;AA9BD,WAAY,eAAe;IACzB;;;;;;;OAOG;IACH,mEAAe,CAAA;IAEf;;;;;;;OAOG;IACH,uDAAS,CAAA;IAET;;;;;;;OAOG;IACH,uDAAS,CAAA;AACX,CAAC,EA9BW,eAAe,KAAf,eAAe,QA8B1B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAA6B,aAAa,CAC1E,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAEvD
|
|
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,qlBAAqlB,CAAC,CAAC;AAElmB;;;;;;;;;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;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAN,IAAY,eA8BX;AA9BD,WAAY,eAAe;IACzB;;;;;;;OAOG;IACH,mEAAe,CAAA;IAEf;;;;;;;OAOG;IACH,uDAAS,CAAA;IAET;;;;;;;OAOG;IACH,uDAAS,CAAA;AACX,CAAC,EA9BW,eAAe,KAAf,eAAe,QA8B1B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAA6B,aAAa,CAC1E,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAN,IAAY,UA+BX;AA/BD,WAAY,UAAU;IACpB;;;;;OAKG;IACH,yDAAe,CAAA;IAEf;;;;;;;;;OASG;IACH,6CAAS,CAAA;IAET;;;;;;;;OAQG;IACH,6CAAS,CAAA;AACX,CAAC,EA/BW,UAAU,KAAV,UAAU,QA+BrB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAwB,aAAa,CAChE,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -148,16 +148,18 @@ export type SessionSpec = Message<"ai.stigmer.agentic.session.v1.SessionSpec"> &
|
|
|
148
148
|
*
|
|
149
149
|
* Determines whether the Cursor agent runs locally (Agent.create with
|
|
150
150
|
* local.cwd) or in the cloud (Agent.create with cloud.repos). Set once
|
|
151
|
-
* at session creation
|
|
152
|
-
*
|
|
151
|
+
* at session creation and never changed — switching mid-session would
|
|
152
|
+
* lose Cursor-side conversation state.
|
|
153
153
|
*
|
|
154
154
|
* Only meaningful when harness == HARNESS_CURSOR. Ignored for other
|
|
155
155
|
* harness types.
|
|
156
156
|
*
|
|
157
157
|
* @internal
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
158
|
+
* Runner-owned, never user-set (see the CursorMode enum docs): the
|
|
159
|
+
* cursor-runner stamps it on the first execution when UNSPECIFIED —
|
|
160
|
+
* always LOCAL while cloud mode is disabled platform-wide. The
|
|
161
|
+
* workflow reads it back on subsequent executions to route to the
|
|
162
|
+
* correct Agent.create / Agent.resume path.
|
|
161
163
|
*
|
|
162
164
|
* When UNSPECIFIED on an existing CURSOR session, the runner defaults
|
|
163
165
|
* to LOCAL for backward compatibility.
|
|
@@ -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,0zCAA0zC,EAAE,CAAC,qCAAqC,EAAE,uCAAuC,EAAE,4CAA4C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,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,0zCAA0zC,EAAE,CAAC,qCAAqC,EAAE,uCAAuC,EAAE,4CAA4C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA6L9jD;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
|