@stigmer/protos 3.5.3 → 3.6.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.
Files changed (48) hide show
  1. package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.d.ts +90 -0
  2. package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.js +16 -1
  3. package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.js.map +1 -1
  4. package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.d.ts +27 -0
  5. package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.js +28 -1
  6. package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.js.map +1 -1
  7. package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.d.ts +27 -1
  8. package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.js +1 -1
  9. package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.d.ts +104 -2
  11. package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js +57 -2
  12. package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js.map +1 -1
  13. package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +17 -0
  14. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +1 -1
  15. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
  16. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +26 -0
  17. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
  18. package/ai/stigmer/agentic/schedule/v1/api_pb.d.ts +68 -0
  19. package/ai/stigmer/agentic/schedule/v1/api_pb.js +18 -0
  20. package/ai/stigmer/agentic/schedule/v1/api_pb.js.map +1 -0
  21. package/ai/stigmer/agentic/schedule/v1/command_connect.d.ts +175 -0
  22. package/ai/stigmer/agentic/schedule/v1/command_connect.js +183 -0
  23. package/ai/stigmer/agentic/schedule/v1/command_connect.js.map +1 -0
  24. package/ai/stigmer/agentic/schedule/v1/command_pb.d.ts +173 -0
  25. package/ai/stigmer/agentic/schedule/v1/command_pb.js +19 -0
  26. package/ai/stigmer/agentic/schedule/v1/command_pb.js.map +1 -0
  27. package/ai/stigmer/agentic/schedule/v1/io_pb.d.ts +122 -0
  28. package/ai/stigmer/agentic/schedule/v1/io_pb.js +32 -0
  29. package/ai/stigmer/agentic/schedule/v1/io_pb.js.map +1 -0
  30. package/ai/stigmer/agentic/schedule/v1/query_connect.d.ts +77 -0
  31. package/ai/stigmer/agentic/schedule/v1/query_connect.js +86 -0
  32. package/ai/stigmer/agentic/schedule/v1/query_connect.js.map +1 -0
  33. package/ai/stigmer/agentic/schedule/v1/query_pb.d.ts +78 -0
  34. package/ai/stigmer/agentic/schedule/v1/query_pb.js +25 -0
  35. package/ai/stigmer/agentic/schedule/v1/query_pb.js.map +1 -0
  36. package/ai/stigmer/agentic/schedule/v1/spec_pb.d.ts +151 -0
  37. package/ai/stigmer/agentic/schedule/v1/spec_pb.js +22 -0
  38. package/ai/stigmer/agentic/schedule/v1/spec_pb.js.map +1 -0
  39. package/ai/stigmer/agentic/schedule/v1/status_pb.d.ts +85 -0
  40. package/ai/stigmer/agentic/schedule/v1/status_pb.js +16 -0
  41. package/ai/stigmer/agentic/schedule/v1/status_pb.js.map +1 -0
  42. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +17 -0
  43. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +1 -1
  44. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
  45. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +6 -0
  46. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +7 -1
  47. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  48. package/package.json +1 -1
@@ -0,0 +1,173 @@
1
+ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { ScheduleSchema } from "./api_pb.js";
3
+ import type { ScheduleIdSchema } from "./io_pb.js";
4
+ /**
5
+ * Describes the file ai/stigmer/agentic/schedule/v1/command.proto.
6
+ */
7
+ export declare const file_ai_stigmer_agentic_schedule_v1_command: GenFile;
8
+ /**
9
+ * ScheduleCommandController handles write operations for schedules.
10
+ *
11
+ * @generated from service ai.stigmer.agentic.schedule.v1.ScheduleCommandController
12
+ */
13
+ export declare const ScheduleCommandController: GenService<{
14
+ /**
15
+ * Create or update a schedule.
16
+ *
17
+ * @internal
18
+ * The authorization and state-operation are determined depending on
19
+ * whether the schedule is going to be created or updated, resolved as
20
+ * part of request execution. Status is preserved verbatim across
21
+ * apply-as-update (the AgentChannel decision-004 posture): status is
22
+ * written only by the scheduling runtime and by the explicit resume
23
+ * command, and a routine manifest apply must never reset the failure
24
+ * streak or un-pause a platform-paused schedule (DD-008 D7 / DD-009
25
+ * pinned behaviors / DD-013 D-D).
26
+ *
27
+ * @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleCommandController.apply
28
+ */
29
+ apply: {
30
+ methodKind: "unary";
31
+ input: typeof ScheduleSchema;
32
+ output: typeof ScheduleSchema;
33
+ };
34
+ /**
35
+ * Create a schedule.
36
+ *
37
+ * Scheduling an agent is a billing-affecting decision: every fire
38
+ * creates an execution that consumes the schedule-owning
39
+ * organization's credits, unattended.
40
+ *
41
+ * @internal
42
+ * Authorization: requires can_edit on the REFERENCED AGENT
43
+ * (spec.agent.agent_ref), checked in-handler — the AgentChannel /
44
+ * same-org AgentShare Phase A bar (DD-009 C-6): whoever may edit the
45
+ * agent may schedule it; there is deliberately no org-level
46
+ * can_create_schedule permission. Standard org-scoped create tuples
47
+ * (owner = creator); no visibility tuples (the kind has no visibility
48
+ * block). Invariant enforced here: metadata.org must equal
49
+ * spec.agent.agent_ref.org.
50
+ *
51
+ * @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleCommandController.create
52
+ */
53
+ create: {
54
+ methodKind: "unary";
55
+ input: typeof ScheduleSchema;
56
+ output: typeof ScheduleSchema;
57
+ };
58
+ /**
59
+ * Update an existing schedule.
60
+ *
61
+ * Replaces the spec wholesale. The slug, the referenced agent, and the
62
+ * target arm are immutable; cron, time zone, enablement, and the
63
+ * message may all change. Status (firing observations, the platform
64
+ * pause) is never touched by updates — use resume to clear a platform
65
+ * pause.
66
+ *
67
+ * @internal
68
+ * Authorization: requires can_edit permission on the schedule.
69
+ * agent_ref immutability is a consent-bar guarantee, not convenience
70
+ * (DD-009 C-7): create's bar is can_edit on the REFERENCED agent, and
71
+ * a repointing update would let a schedule owner drive an agent they
72
+ * may not edit — the AgentChannel rule for the AgentChannel reason.
73
+ * Target-arm immutability (an agent schedule cannot become a workflow
74
+ * schedule once that arm exists) is enforced in-handler: the two
75
+ * targets enter different execution pipelines. Update deliberately
76
+ * does NOT clear a platform auto-pause (DD-013 D-D, superseding the
77
+ * DD-008 D7 ensure-on-mutate sketch): apply routes through this same
78
+ * handler, so any update-clears-pause behavior would let a routine
79
+ * GitOps re-apply silently un-pause a failing schedule. resume is the
80
+ * one clearing path.
81
+ *
82
+ * @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleCommandController.update
83
+ */
84
+ update: {
85
+ methodKind: "unary";
86
+ input: typeof ScheduleSchema;
87
+ output: typeof ScheduleSchema;
88
+ };
89
+ /**
90
+ * Delete a schedule.
91
+ *
92
+ * Firing stops permanently. Executions created by past fires are
93
+ * untouched. To stop firing while keeping the schedule and its
94
+ * history, disable it (enabled=false) instead.
95
+ *
96
+ * @internal
97
+ * Authorization: requires can_delete permission on the schedule. The
98
+ * referenced agent is untouched. The Temporal artifact teardown
99
+ * (best-effort, AFTER the row delete — DD-008 D9) arrives with the
100
+ * clock; until then delete is the row alone, and an orphaned artifact
101
+ * is harmless by construction (fire-time revalidation no-ops it).
102
+ *
103
+ * @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleCommandController.delete
104
+ */
105
+ delete: {
106
+ methodKind: "unary";
107
+ input: typeof ScheduleIdSchema;
108
+ output: typeof ScheduleSchema;
109
+ };
110
+ /**
111
+ * Resume a schedule the platform paused after repeated run failures.
112
+ *
113
+ * Clears status.paused_reason, resets status.consecutive_failures,
114
+ * and re-arms the clock. Resuming a schedule that is not paused
115
+ * succeeds and changes nothing. A disabled schedule stays disabled:
116
+ * resume clears the platform's pause, not the owner's switch
117
+ * (spec.enabled).
118
+ *
119
+ * @internal
120
+ * Authorization: requires can_edit permission on the schedule — the
121
+ * update bar; resuming does not change which agent runs, so it does
122
+ * not re-open create's consent bar (DD-009 C-6). This command is
123
+ * deliberately the ONLY path that clears a platform auto-pause
124
+ * (DD-013 D-D): apply and update preserve status byte-for-byte, so a
125
+ * routine manifest apply can never silently un-pause a failing
126
+ * schedule. The cloud handler loads before authorizing (#224: a
127
+ * missing schedule answers NOT_FOUND, not PERMISSION_DENIED) and
128
+ * patches status leaves rather than saving the row — the tick is a
129
+ * concurrent status writer. OSS excludes the authorization step, per
130
+ * its recorded single-user posture.
131
+ *
132
+ * @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleCommandController.resume
133
+ */
134
+ resume: {
135
+ methodKind: "unary";
136
+ input: typeof ScheduleIdSchema;
137
+ output: typeof ScheduleSchema;
138
+ };
139
+ /**
140
+ * Trigger a schedule to fire once, immediately.
141
+ *
142
+ * The manual fire runs through the schedule's own clock, so everything
143
+ * a cron fire does applies: a fresh run is created, status.last_fire_at
144
+ * and status.last_execution_id record it, and its verdict feeds the
145
+ * failure streak (a successful manual fire resets the streak). The fire
146
+ * is asynchronous — the response carries the schedule, and the run
147
+ * appears on status as it starts. A disabled schedule refuses (enable
148
+ * it first); a platform-paused schedule refuses (resume it first).
149
+ *
150
+ * @internal
151
+ * Authorization: requires can_edit permission on the schedule — the
152
+ * update bar (DD-014 D-A in the whatsapp-proactive-messaging project).
153
+ * Refusal matrix in-handler (DD-014 D-B): disabled and paused both
154
+ * answer FAILED_PRECONDITION with teaching copy; the cloud handler
155
+ * loads before authorizing (#224: a missing schedule answers NOT_FOUND,
156
+ * not PERMISSION_DENIED). The manual fire bypasses the artifact's SKIP
157
+ * overlap policy (ALLOW_ALL — DD-014 D-C): since a tick SPANS its run,
158
+ * SKIP would silently swallow a trigger issued while a previous fire is
159
+ * still tracking, and a human asking to run now means now. Cron fires
160
+ * keep SKIP, baked into the artifact. Manual fires feed the failure
161
+ * streak and reset it on success (DD-014 D-D): one verdict path, no
162
+ * manual-fire exemption. OSS answers FAILED_PRECONDITION until its
163
+ * clock lands (T04 slice 3a), then fires for real; OSS excludes the
164
+ * authorization step per its recorded single-user posture.
165
+ *
166
+ * @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleCommandController.trigger
167
+ */
168
+ trigger: {
169
+ methodKind: "unary";
170
+ input: typeof ScheduleIdSchema;
171
+ output: typeof ScheduleSchema;
172
+ };
173
+ }>;
@@ -0,0 +1,19 @@
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/command.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_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb.js";
8
+ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb.js";
9
+ /**
10
+ * Describes the file ai/stigmer/agentic/schedule/v1/command.proto.
11
+ */
12
+ export const file_ai_stigmer_agentic_schedule_v1_command = /*@__PURE__*/ fileDesc("CixhaS9zdGlnbWVyL2FnZW50aWMvc2NoZWR1bGUvdjEvY29tbWFuZC5wcm90bxIeYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxMrQGChlTY2hlZHVsZUNvbW1hbmRDb250cm9sbGVyElsKBWFwcGx5EiguYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlGiguYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlEmIKBmNyZWF0ZRIoLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZRooLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZSIE0LgYARKUAQoGdXBkYXRlEiguYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlGiguYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlIjbCuBgyCAIQOCILbWV0YWRhdGEuaWQqH3VuYXV0aG9yaXplZCB0byB1cGRhdGUgc2NoZWR1bGUSkAEKBmRlbGV0ZRIqLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZUlkGiguYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlIjDCuBgsCAMQOCIFdmFsdWUqH3VuYXV0aG9yaXplZCB0byBkZWxldGUgc2NoZWR1bGUSkAEKBnJlc3VtZRIqLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZUlkGiguYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlIjDCuBgsCAIQOCIFdmFsdWUqH3VuYXV0aG9yaXplZCB0byByZXN1bWUgc2NoZWR1bGUSkgEKB3RyaWdnZXISKi5haS5zdGlnbWVyLmFnZW50aWMuc2NoZWR1bGUudjEuU2NoZWR1bGVJZBooLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZSIxwrgYLQgCEDgiBXZhbHVlKiB1bmF1dGhvcml6ZWQgdG8gdHJpZ2dlciBzY2hlZHVsZRoEoP8rOGIGcHJvdG8z", [file_ai_stigmer_agentic_schedule_v1_api, file_ai_stigmer_agentic_schedule_v1_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
13
+ /**
14
+ * ScheduleCommandController handles write operations for schedules.
15
+ *
16
+ * @generated from service ai.stigmer.agentic.schedule.v1.ScheduleCommandController
17
+ */
18
+ export const ScheduleCommandController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_agentic_schedule_v1_command, 0);
19
+ //# sourceMappingURL=command_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/schedule/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4HAA4H;AAC5H,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;AACpE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,8rCAA8rC,EAAE,CAAC,uCAAuC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEn4C;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAgKjC,aAAa,CAChB,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,122 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Schedule } from "./api_pb.js";
3
+ import type { PageInfo } from "../../../commons/rpc/pagination_pb.js";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file ai/stigmer/agentic/schedule/v1/io.proto.
7
+ */
8
+ export declare const file_ai_stigmer_agentic_schedule_v1_io: GenFile;
9
+ /**
10
+ * ScheduleId wraps a schedule identifier.
11
+ *
12
+ * @generated from message ai.stigmer.agentic.schedule.v1.ScheduleId
13
+ */
14
+ export type ScheduleId = Message<"ai.stigmer.agentic.schedule.v1.ScheduleId"> & {
15
+ /**
16
+ * Unique identifier of the schedule.
17
+ *
18
+ * @generated from field: string value = 1;
19
+ */
20
+ value: string;
21
+ };
22
+ /**
23
+ * Describes the message ai.stigmer.agentic.schedule.v1.ScheduleId.
24
+ * Use `create(ScheduleIdSchema)` to create a new message.
25
+ */
26
+ export declare const ScheduleIdSchema: GenMessage<ScheduleId>;
27
+ /**
28
+ * Input for retrieving all schedules of a specific agent.
29
+ *
30
+ * @generated from message ai.stigmer.agentic.schedule.v1.GetSchedulesByAgentRequest
31
+ */
32
+ export type GetSchedulesByAgentRequest = Message<"ai.stigmer.agentic.schedule.v1.GetSchedulesByAgentRequest"> & {
33
+ /**
34
+ * Identifier of the agent whose schedules to retrieve.
35
+ *
36
+ * @generated from field: string agent_id = 1;
37
+ */
38
+ agentId: string;
39
+ /**
40
+ * Pagination options.
41
+ *
42
+ * @generated from field: ai.stigmer.commons.rpc.PageInfo page_info = 2;
43
+ */
44
+ pageInfo?: PageInfo;
45
+ /**
46
+ * Organization slug to scope the results to.
47
+ *
48
+ * When set, only schedules whose metadata.org matches are returned —
49
+ * the org-context view a console tab needs. When empty, results are
50
+ * bounded only by the caller's view permissions, which for a member of
51
+ * several organizations spans all of them.
52
+ *
53
+ * @internal
54
+ * Mirrors the org scoping on the sibling getByAgent/getByWorkflow
55
+ * requests (agent channels, agent shares, agent instances). Handlers
56
+ * implementing this RPC must apply the filter in their query/list step.
57
+ *
58
+ * @generated from field: string org = 3;
59
+ */
60
+ org: string;
61
+ };
62
+ /**
63
+ * Describes the message ai.stigmer.agentic.schedule.v1.GetSchedulesByAgentRequest.
64
+ * Use `create(GetSchedulesByAgentRequestSchema)` to create a new message.
65
+ */
66
+ export declare const GetSchedulesByAgentRequestSchema: GenMessage<GetSchedulesByAgentRequest>;
67
+ /**
68
+ * Response containing a paginated list of schedules.
69
+ *
70
+ * @generated from message ai.stigmer.agentic.schedule.v1.ScheduleList
71
+ */
72
+ export type ScheduleList = Message<"ai.stigmer.agentic.schedule.v1.ScheduleList"> & {
73
+ /**
74
+ * Total number of schedules matching the query.
75
+ *
76
+ * @generated from field: int32 total_count = 1;
77
+ */
78
+ totalCount: number;
79
+ /**
80
+ * Schedules in the current page.
81
+ *
82
+ * @generated from field: repeated ai.stigmer.agentic.schedule.v1.Schedule items = 2;
83
+ */
84
+ items: Schedule[];
85
+ };
86
+ /**
87
+ * Describes the message ai.stigmer.agentic.schedule.v1.ScheduleList.
88
+ * Use `create(ScheduleListSchema)` to create a new message.
89
+ */
90
+ export declare const ScheduleListSchema: GenMessage<ScheduleList>;
91
+ /**
92
+ * Input for listing schedules within an organization.
93
+ *
94
+ * @generated from message ai.stigmer.agentic.schedule.v1.ListSchedulesRequest
95
+ */
96
+ export type ListSchedulesRequest = Message<"ai.stigmer.agentic.schedule.v1.ListSchedulesRequest"> & {
97
+ /**
98
+ * Organization slug to scope the listing.
99
+ *
100
+ * @generated from field: string org = 1;
101
+ */
102
+ org: string;
103
+ /**
104
+ * Filter by metadata labels. AND semantics: all labels must match.
105
+ *
106
+ * @generated from field: map<string, string> labels = 2;
107
+ */
108
+ labels: {
109
+ [key: string]: string;
110
+ };
111
+ /**
112
+ * Pagination options.
113
+ *
114
+ * @generated from field: ai.stigmer.commons.rpc.PageInfo page_info = 3;
115
+ */
116
+ pageInfo?: PageInfo;
117
+ };
118
+ /**
119
+ * Describes the message ai.stigmer.agentic.schedule.v1.ListSchedulesRequest.
120
+ * Use `create(ListSchedulesRequestSchema)` to create a new message.
121
+ */
122
+ export declare const ListSchedulesRequestSchema: GenMessage<ListSchedulesRequest>;
@@ -0,0 +1,32 @@
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/io.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_schedule_v1_api } from "./api_pb.js";
6
+ import { file_ai_stigmer_commons_rpc_pagination } from "../../../commons/rpc/pagination_pb.js";
7
+ import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
8
+ /**
9
+ * Describes the file ai/stigmer/agentic/schedule/v1/io.proto.
10
+ */
11
+ export const file_ai_stigmer_agentic_schedule_v1_io = /*@__PURE__*/ fileDesc("CidhaS9zdGlnbWVyL2FnZW50aWMvc2NoZWR1bGUvdjEvaW8ucHJvdG8SHmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MSIjCgpTY2hlZHVsZUlkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEieAoaR2V0U2NoZWR1bGVzQnlBZ2VudFJlcXVlc3QSGAoIYWdlbnRfaWQYASABKAlCBrpIA8gBARIzCglwYWdlX2luZm8YAiABKAsyIC5haS5zdGlnbWVyLmNvbW1vbnMucnBjLlBhZ2VJbmZvEgsKA29yZxgDIAEoCSJcCgxTY2hlZHVsZUxpc3QSEwoLdG90YWxfY291bnQYASABKAUSNwoFaXRlbXMYAiADKAsyKC5haS5zdGlnbWVyLmFnZW50aWMuc2NoZWR1bGUudjEuU2NoZWR1bGUi4gEKFExpc3RTY2hlZHVsZXNSZXF1ZXN0EhQKA29yZxgBIAEoCUIHukgEcgIQARJQCgZsYWJlbHMYAiADKAsyQC5haS5zdGlnbWVyLmFnZW50aWMuc2NoZWR1bGUudjEuTGlzdFNjaGVkdWxlc1JlcXVlc3QuTGFiZWxzRW50cnkSMwoJcGFnZV9pbmZvGAMgASgLMiAuYWkuc3RpZ21lci5jb21tb25zLnJwYy5QYWdlSW5mbxotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBYgZwcm90bzM", [file_ai_stigmer_agentic_schedule_v1_api, file_ai_stigmer_commons_rpc_pagination, file_buf_validate_validate]);
12
+ /**
13
+ * Describes the message ai.stigmer.agentic.schedule.v1.ScheduleId.
14
+ * Use `create(ScheduleIdSchema)` to create a new message.
15
+ */
16
+ export const ScheduleIdSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_schedule_v1_io, 0);
17
+ /**
18
+ * Describes the message ai.stigmer.agentic.schedule.v1.GetSchedulesByAgentRequest.
19
+ * Use `create(GetSchedulesByAgentRequestSchema)` to create a new message.
20
+ */
21
+ export const GetSchedulesByAgentRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_schedule_v1_io, 1);
22
+ /**
23
+ * Describes the message ai.stigmer.agentic.schedule.v1.ScheduleList.
24
+ * Use `create(ScheduleListSchema)` to create a new message.
25
+ */
26
+ export const ScheduleListSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_schedule_v1_io, 2);
27
+ /**
28
+ * Describes the message ai.stigmer.agentic.schedule.v1.ListSchedulesRequest.
29
+ * Use `create(ListSchedulesRequestSchema)` to create a new message.
30
+ */
31
+ export const ListSchedulesRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_schedule_v1_io, 3);
32
+ //# sourceMappingURL=io_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/schedule/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,uHAAuH;AACvH,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,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,ivBAAivB,EAAE,CAAC,uCAAuC,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAgB72B;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC;AAwCzD;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC;AAuBzD;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC;AA8BzD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,77 @@
1
+ /**
2
+ * ScheduleQueryController handles read operations for schedules.
3
+ *
4
+ * @internal
5
+ * No anonymous/public RPC by design (the AgentChannel posture): a
6
+ * schedule has no public surface at all — its only runtime effect is the
7
+ * executions its fires create.
8
+ *
9
+ * @generated from service ai.stigmer.agentic.schedule.v1.ScheduleQueryController
10
+ */
11
+ export declare const ScheduleQueryController: {
12
+ readonly typeName: "ai.stigmer.agentic.schedule.v1.ScheduleQueryController";
13
+ readonly methods: {
14
+ /**
15
+ * Get a single schedule by ID.
16
+ *
17
+ * @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleQueryController.get
18
+ */
19
+ readonly get: {
20
+ readonly name: "get";
21
+ readonly I: any;
22
+ readonly O: any;
23
+ readonly kind: any;
24
+ };
25
+ /**
26
+ * Get a schedule by its organization-scoped reference (org/slug).
27
+ *
28
+ * @internal
29
+ * Custom authorization in handler — checks both direct resource access
30
+ * and organization-level visibility permissions (the AgentShare /
31
+ * AgentChannel pattern).
32
+ *
33
+ * @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleQueryController.getByReference
34
+ */
35
+ readonly getByReference: {
36
+ readonly name: "getByReference";
37
+ readonly I: any;
38
+ readonly O: any;
39
+ readonly kind: any;
40
+ };
41
+ /**
42
+ * Get all schedules of a specific agent.
43
+ * Returns only schedules the caller has access to.
44
+ *
45
+ * This is how the agent's operational surfaces and CLI resolve an
46
+ * agent's existing schedules regardless of slug.
47
+ *
48
+ * @internal
49
+ * Authorization in-handler: FGA-filtered in cloud, unrestricted in OSS
50
+ * (the getByAgent family convention — agent channels, agent shares,
51
+ * agent instances).
52
+ *
53
+ * @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleQueryController.getByAgent
54
+ */
55
+ readonly getByAgent: {
56
+ readonly name: "getByAgent";
57
+ readonly I: any;
58
+ readonly O: any;
59
+ readonly kind: any;
60
+ };
61
+ /**
62
+ * List schedules with optional label filtering.
63
+ *
64
+ * @internal
65
+ * Authorization in-handler via FGA-filtered queries (cloud) or
66
+ * unrestricted store queries (OSS).
67
+ *
68
+ * @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleQueryController.list
69
+ */
70
+ readonly list: {
71
+ readonly name: "list";
72
+ readonly I: any;
73
+ readonly O: any;
74
+ readonly kind: any;
75
+ };
76
+ };
77
+ };
@@ -0,0 +1,86 @@
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, ListSchedulesRequest, ScheduleId, ScheduleList } 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
+ };
86
+ //# 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,oBAAoB,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACvG,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;KACF;CACO,CAAC"}
@@ -0,0 +1,78 @@
1
+ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { ScheduleSchema } from "./api_pb.js";
3
+ import type { GetSchedulesByAgentRequestSchema, ListSchedulesRequestSchema, ScheduleIdSchema, ScheduleListSchema } 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
+ }>;
@@ -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("CiphaS9zdGlnbWVyL2FnZW50aWMvc2NoZWR1bGUvdjEvcXVlcnkucHJvdG8SHmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MTKUBAoXU2NoZWR1bGVRdWVyeUNvbnRyb2xsZXISigEKA2dldBIqLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZUlkGiguYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlIi3CuBgpCAEQOCIFdmFsdWUqHHVuYXV0aG9yaXplZCB0byBnZXQgc2NoZWR1bGUSdgoOZ2V0QnlSZWZlcmVuY2USNC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VSZWZlcmVuY2UaKC5haS5zdGlnbWVyLmFnZW50aWMuc2NoZWR1bGUudjEuU2NoZWR1bGUiBNC4GAESfAoKZ2V0QnlBZ2VudBI6LmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5HZXRTY2hlZHVsZXNCeUFnZW50UmVxdWVzdBosLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZUxpc3QiBNC4GAEScAoEbGlzdBI0LmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5MaXN0U2NoZWR1bGVzUmVxdWVzdBosLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZUxpc3QiBNC4GAEaBKD/KzhiBnByb3RvMw", [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,4zBAA4zB,EAAE,CAAC,uCAAuC,EAAE,sCAAsC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEziC;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,uBAAuB,GA2D/B,aAAa,CAChB,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC"}