@stigmer/protos 3.6.0 → 3.8.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 +658 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js +222 -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 +103 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.js +110 -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 +103 -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/outbound_pb.d.ts +61 -4
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js +38 -4
- 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/spec_pb.d.ts +84 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +7 -2
- 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/schedule/v1/command_connect.d.ts +35 -21
- package/ai/stigmer/agentic/schedule/v1/command_connect.js +37 -23
- package/ai/stigmer/agentic/schedule/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/schedule/v1/command_pb.d.ts +37 -23
- package/ai/stigmer/agentic/schedule/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/schedule/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/schedule/v1/io_pb.d.ts +266 -1
- package/ai/stigmer/agentic/schedule/v1/io_pb.js +120 -2
- package/ai/stigmer/agentic/schedule/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/schedule/v1/query_connect.d.ts +26 -0
- package/ai/stigmer/agentic/schedule/v1/query_connect.js +27 -1
- package/ai/stigmer/agentic/schedule/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/schedule/v1/query_pb.d.ts +26 -1
- package/ai/stigmer/agentic/schedule/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/schedule/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/schedule/v1/spec_pb.d.ts +30 -49
- package/ai/stigmer/agentic/schedule/v1/spec_pb.js +2 -8
- package/ai/stigmer/agentic/schedule/v1/spec_pb.js.map +1 -1
- 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/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +1 -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
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/agentic/agentshare/v1/spec.proto (package ai.stigmer.agentic.agentshare.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_agentexecution_v1_invocation } from "../../agentexecution/v1/invocation_pb.js";
|
|
5
6
|
import { file_ai_stigmer_commons_apiresource_field_options } from "../../../commons/apiresource/field_options_pb.js";
|
|
6
7
|
import { file_ai_stigmer_commons_apiresource_io } from "../../../commons/apiresource/io_pb.js";
|
|
7
8
|
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
|
|
8
9
|
/**
|
|
9
10
|
* Describes the file ai/stigmer/agentic/agentshare/v1/spec.proto.
|
|
10
11
|
*/
|
|
11
|
-
export const file_ai_stigmer_agentic_agentshare_v1_spec = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_ai_stigmer_agentic_agentshare_v1_spec = /*@__PURE__*/ fileDesc("CithaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRzaGFyZS92MS9zcGVjLnByb3RvEiBhaS5zdGlnbWVyLmFnZW50aWMuYWdlbnRzaGFyZS52MSLWCQoOQWdlbnRTaGFyZVNwZWMSrAEKCWFnZW50X3JlZhgBIAEoCzI0LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZVJlZmVyZW5jZUJjukhcugFWCg5hZ2VudF9yZWYua2luZBIzYWdlbnRfcmVmIG11c3QgcmVmZXJlbmNlIGEgcmVzb3VyY2Ugd2l0aCBraW5kPWFnZW50Gg90aGlzLmtpbmQgPT0gNDDIAQHghSwoEg8KB2VuYWJsZWQYAiABKAgSRgoIYXVkaWVuY2UYAyABKA4yNC5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRzaGFyZS52MS5BZ2VudFNoYXJlQXVkaWVuY2USsAIKD2FsbG93ZWRfb3JpZ2lucxgEIAMoCUKWArpIkgKSAY4CECAiiQK6AYUCChZhbGxvd2VkX29yaWdpbnMuZm9ybWF0Em5hbGxvd2VkX29yaWdpbnMgZW50cmllcyBtdXN0IGJlIGV4YWN0IHdlYiBvcmlnaW5zIGxpa2UgaHR0cHM6Ly9leGFtcGxlLmNvbSAobm8gcGF0aCwgcXVlcnksIG9yIHRyYWlsaW5nIHNsYXNoKRp7dGhpcy5tYXRjaGVzKCdeaHR0cHM/Oi8vW0EtWmEtejAtOV0oW0EtWmEtejAtOS1dKltBLVphLXowLTldKT8oXFwuW0EtWmEtejAtOV0oW0EtWmEtejAtOS1dKltBLVphLXowLTldKT8pKig6WzAtOV17MSw1fSk/JCcpEkYKCG1lc3NhZ2VzGAUgASgLMjQuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50c2hhcmUudjEuQWdlbnRTaGFyZU1lc3NhZ2VzEsgBChBlbnZpcm9ubWVudF9yZWZzGAYgAygLMjQuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlUmVmZXJlbmNlQni6SHGSAW4ibLoBaQoVZW52aXJvbm1lbnRfcmVmcy5raW5kEj9lbnZpcm9ubWVudF9yZWZzIG11c3QgcmVmZXJlbmNlIHJlc291cmNlcyB3aXRoIGtpbmQ9ZW52aXJvbm1lbnQaD3RoaXMua2luZCA9PSA1M+CFLDUSQwoKcnVuX2NvbmZpZxgHIAEoCzIvLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5SdW5Db25maWc6sAK6SKwCGp8BCihhZ2VudF9zaGFyZS5lbnZpcm9ubWVudF9yZWZzX3B1YmxpY19vbmx5EjplbnZpcm9ubWVudF9yZWZzIGNhbiBvbmx5IGJlIHNldCBvbiBwdWJsaWMtYXVkaWVuY2Ugc2hhcmVzGjd0aGlzLmF1ZGllbmNlICE9IDIgfHwgdGhpcy5lbnZpcm9ubWVudF9yZWZzLnNpemUoKSA9PSAwGocBCiJhZ2VudF9zaGFyZS5ydW5fY29uZmlnX3B1YmxpY19vbmx5EjRydW5fY29uZmlnIGNhbiBvbmx5IGJlIHNldCBvbiBwdWJsaWMtYXVkaWVuY2Ugc2hhcmVzGit0aGlzLmF1ZGllbmNlICE9IDIgfHwgIWhhcyh0aGlzLnJ1bl9jb25maWcpInkKEkFnZW50U2hhcmVNZXNzYWdlcxIeCgxyYXRlX2xpbWl0ZWQYASABKAlCCLpIBXIDGKwCEh0KC3VuYXZhaWxhYmxlGAIgASgJQgi6SAVyAxisAhIkChJjb252ZXJzYXRpb25fZW5kZWQYAyABKAlCCLpIBXIDGKwCKnkKEkFnZW50U2hhcmVBdWRpZW5jZRIkCiBhZ2VudF9zaGFyZV9hdWRpZW5jZV91bnNwZWNpZmllZBAAEh8KG2FnZW50X3NoYXJlX2F1ZGllbmNlX3B1YmxpYxABEhwKGGFnZW50X3NoYXJlX2F1ZGllbmNlX29yZxACYgZwcm90bzM", [file_ai_stigmer_agentic_agentexecution_v1_invocation, file_ai_stigmer_commons_apiresource_field_options, file_ai_stigmer_commons_apiresource_io, file_buf_validate_validate]);
|
|
12
13
|
/**
|
|
13
14
|
* Describes the message ai.stigmer.agentic.agentshare.v1.AgentShareSpec.
|
|
14
15
|
* Use `create(AgentShareSpecSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentshare/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentshare/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,oDAAoD,EAAE,MAAM,0CAA0C,CAAC;AAChH,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,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,qjEAAqjE,EAAE,CAAC,oDAAoD,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA6KjvE;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAmC7D;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAE7D;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,kBA0BX;AA1BD,WAAY,kBAAkB;IAC5B;;;;OAIG;IACH,yEAAe,CAAA;IAEf;;;;;;OAMG;IACH,+DAAU,CAAA;IAEV;;;;;;;OAOG;IACH,yDAAO,CAAA;AACT,CAAC,EA1BW,kBAAkB,KAAlB,kBAAkB,QA0B7B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAgC,aAAa,CAChF,QAAQ,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -137,30 +137,44 @@ export declare const ScheduleCommandController: {
|
|
|
137
137
|
readonly kind: any;
|
|
138
138
|
};
|
|
139
139
|
/**
|
|
140
|
-
* Trigger a schedule to fire once, immediately
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
140
|
+
* Trigger a schedule to fire once, immediately, and answer with the
|
|
141
|
+
* run's real outcome.
|
|
142
|
+
*
|
|
143
|
+
* The manual fire runs synchronously through the standard execution
|
|
144
|
+
* create pipeline — every launch gate runs — and the result names what
|
|
145
|
+
* happened: the created execution's id, or the refusing gate's own
|
|
146
|
+
* copy verbatim. status.last_fire_at and status.last_execution_id
|
|
147
|
+
* record a started run. Manual fires do NOT feed the failure streak —
|
|
148
|
+
* the streak is the unattended (cron) health signal, and a test fire
|
|
149
|
+
* of a broken schedule must not race its owner to the pause threshold.
|
|
150
|
+
*
|
|
151
|
+
* A disabled schedule refuses (enable it first). A platform-paused
|
|
152
|
+
* schedule MAY be triggered — a test fire is exactly how an owner
|
|
153
|
+
* verifies a fix before resuming; resume remains the one path that
|
|
154
|
+
* clears the pause.
|
|
149
155
|
*
|
|
150
156
|
* @internal
|
|
151
157
|
* Authorization: requires can_edit permission on the schedule — the
|
|
152
|
-
* update bar (DD-014 D-A
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
158
|
+
* update bar (DD-014 D-A). Project DD-017 D-5/D-6 amends DD-014: the
|
|
159
|
+
* artifact round-trip is gone for manual fires (it made the fire
|
|
160
|
+
* asynchronous, so the RPC answered before the launch gates ran — a
|
|
161
|
+
* false "run started" beside a climbing failure counter). Cron fires
|
|
162
|
+
* keep the tracked artifact tick unchanged. The disabled refusal
|
|
163
|
+
* SURVIVES for a different reason than DD-014 D-B recorded:
|
|
164
|
+
* ScheduleBlueprintAccess requires spec.enabled at the create gate AND
|
|
165
|
+
* the mid-run sandbox read predicate, so a disabled-schedule run would
|
|
166
|
+
* die mid-execution after billing side effects (consoles offer
|
|
167
|
+
* "Enable & run now" instead; the fire-legitimacy model that would
|
|
168
|
+
* lift this is DD-017's named follow-up). Two-level contract: a gRPC
|
|
169
|
+
* error means the trigger itself was refused (disabled →
|
|
170
|
+
* FAILED_PRECONDITION with the byte-pinned copy, missing → NOT_FOUND
|
|
171
|
+
* before authorize, #224); a gRPC success means the fire happened and
|
|
172
|
+
* ScheduleTriggerResult names the run's outcome — a deterministically
|
|
173
|
+
* refused run is a successful trigger honestly reported, never an
|
|
174
|
+
* exception. The handler stamps last_fire_at/last_execution_id and
|
|
175
|
+
* writes the fire-ledger row (origin=manual) because the tick is not
|
|
176
|
+
* in the path to do it; status writes ride updateFields, never save()
|
|
177
|
+
* (DD-010 D-B). OSS mirrors the semantics; it excludes the
|
|
164
178
|
* authorization step per its recorded single-user posture.
|
|
165
179
|
*
|
|
166
180
|
* @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleCommandController.trigger
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Schedule } from "./api_pbjs";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
-
import { ScheduleId } from "./io_pbjs";
|
|
7
|
+
import { ScheduleId, ScheduleTriggerResult } from "./io_pbjs";
|
|
8
8
|
/**
|
|
9
9
|
* ScheduleCommandController handles write operations for schedules.
|
|
10
10
|
*
|
|
@@ -144,30 +144,44 @@ export const ScheduleCommandController = {
|
|
|
144
144
|
kind: MethodKind.Unary,
|
|
145
145
|
},
|
|
146
146
|
/**
|
|
147
|
-
* Trigger a schedule to fire once, immediately
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
147
|
+
* Trigger a schedule to fire once, immediately, and answer with the
|
|
148
|
+
* run's real outcome.
|
|
149
|
+
*
|
|
150
|
+
* The manual fire runs synchronously through the standard execution
|
|
151
|
+
* create pipeline — every launch gate runs — and the result names what
|
|
152
|
+
* happened: the created execution's id, or the refusing gate's own
|
|
153
|
+
* copy verbatim. status.last_fire_at and status.last_execution_id
|
|
154
|
+
* record a started run. Manual fires do NOT feed the failure streak —
|
|
155
|
+
* the streak is the unattended (cron) health signal, and a test fire
|
|
156
|
+
* of a broken schedule must not race its owner to the pause threshold.
|
|
157
|
+
*
|
|
158
|
+
* A disabled schedule refuses (enable it first). A platform-paused
|
|
159
|
+
* schedule MAY be triggered — a test fire is exactly how an owner
|
|
160
|
+
* verifies a fix before resuming; resume remains the one path that
|
|
161
|
+
* clears the pause.
|
|
156
162
|
*
|
|
157
163
|
* @internal
|
|
158
164
|
* Authorization: requires can_edit permission on the schedule — the
|
|
159
|
-
* update bar (DD-014 D-A
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
165
|
+
* update bar (DD-014 D-A). Project DD-017 D-5/D-6 amends DD-014: the
|
|
166
|
+
* artifact round-trip is gone for manual fires (it made the fire
|
|
167
|
+
* asynchronous, so the RPC answered before the launch gates ran — a
|
|
168
|
+
* false "run started" beside a climbing failure counter). Cron fires
|
|
169
|
+
* keep the tracked artifact tick unchanged. The disabled refusal
|
|
170
|
+
* SURVIVES for a different reason than DD-014 D-B recorded:
|
|
171
|
+
* ScheduleBlueprintAccess requires spec.enabled at the create gate AND
|
|
172
|
+
* the mid-run sandbox read predicate, so a disabled-schedule run would
|
|
173
|
+
* die mid-execution after billing side effects (consoles offer
|
|
174
|
+
* "Enable & run now" instead; the fire-legitimacy model that would
|
|
175
|
+
* lift this is DD-017's named follow-up). Two-level contract: a gRPC
|
|
176
|
+
* error means the trigger itself was refused (disabled →
|
|
177
|
+
* FAILED_PRECONDITION with the byte-pinned copy, missing → NOT_FOUND
|
|
178
|
+
* before authorize, #224); a gRPC success means the fire happened and
|
|
179
|
+
* ScheduleTriggerResult names the run's outcome — a deterministically
|
|
180
|
+
* refused run is a successful trigger honestly reported, never an
|
|
181
|
+
* exception. The handler stamps last_fire_at/last_execution_id and
|
|
182
|
+
* writes the fire-ledger row (origin=manual) because the tick is not
|
|
183
|
+
* in the path to do it; status writes ride updateFields, never save()
|
|
184
|
+
* (DD-010 D-B). OSS mirrors the semantics; it excludes the
|
|
171
185
|
* authorization step per its recorded single-user posture.
|
|
172
186
|
*
|
|
173
187
|
* @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleCommandController.trigger
|
|
@@ -175,7 +189,7 @@ export const ScheduleCommandController = {
|
|
|
175
189
|
trigger: {
|
|
176
190
|
name: "trigger",
|
|
177
191
|
I: ScheduleId,
|
|
178
|
-
O:
|
|
192
|
+
O: ScheduleTriggerResult,
|
|
179
193
|
kind: MethodKind.Unary,
|
|
180
194
|
},
|
|
181
195
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/schedule/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,4HAA4H;AAC5H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/schedule/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,4HAA4H;AAC5H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAE9D;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,QAAQ,EAAE,0DAA0D;IACpE,OAAO,EAAE;QACP;;;;;;;;;;;;;;WAcG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,QAAQ;YACX,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;WAkBG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,QAAQ;YACX,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;WAyBG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,QAAQ;YACX,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;WAeG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,UAAU;YACb,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;WAuBG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,UAAU;YACb,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA0CG;QACH,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,CAAC,EAAE,UAAU;YACb,CAAC,EAAE,qBAAqB;YACxB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { ScheduleSchema } from "./api_pb.js";
|
|
3
|
-
import type { ScheduleIdSchema } from "./io_pb.js";
|
|
3
|
+
import type { ScheduleIdSchema, ScheduleTriggerResultSchema } from "./io_pb.js";
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file ai/stigmer/agentic/schedule/v1/command.proto.
|
|
6
6
|
*/
|
|
@@ -137,30 +137,44 @@ export declare const ScheduleCommandController: GenService<{
|
|
|
137
137
|
output: typeof ScheduleSchema;
|
|
138
138
|
};
|
|
139
139
|
/**
|
|
140
|
-
* Trigger a schedule to fire once, immediately
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
140
|
+
* Trigger a schedule to fire once, immediately, and answer with the
|
|
141
|
+
* run's real outcome.
|
|
142
|
+
*
|
|
143
|
+
* The manual fire runs synchronously through the standard execution
|
|
144
|
+
* create pipeline — every launch gate runs — and the result names what
|
|
145
|
+
* happened: the created execution's id, or the refusing gate's own
|
|
146
|
+
* copy verbatim. status.last_fire_at and status.last_execution_id
|
|
147
|
+
* record a started run. Manual fires do NOT feed the failure streak —
|
|
148
|
+
* the streak is the unattended (cron) health signal, and a test fire
|
|
149
|
+
* of a broken schedule must not race its owner to the pause threshold.
|
|
150
|
+
*
|
|
151
|
+
* A disabled schedule refuses (enable it first). A platform-paused
|
|
152
|
+
* schedule MAY be triggered — a test fire is exactly how an owner
|
|
153
|
+
* verifies a fix before resuming; resume remains the one path that
|
|
154
|
+
* clears the pause.
|
|
149
155
|
*
|
|
150
156
|
* @internal
|
|
151
157
|
* Authorization: requires can_edit permission on the schedule — the
|
|
152
|
-
* update bar (DD-014 D-A
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
158
|
+
* update bar (DD-014 D-A). Project DD-017 D-5/D-6 amends DD-014: the
|
|
159
|
+
* artifact round-trip is gone for manual fires (it made the fire
|
|
160
|
+
* asynchronous, so the RPC answered before the launch gates ran — a
|
|
161
|
+
* false "run started" beside a climbing failure counter). Cron fires
|
|
162
|
+
* keep the tracked artifact tick unchanged. The disabled refusal
|
|
163
|
+
* SURVIVES for a different reason than DD-014 D-B recorded:
|
|
164
|
+
* ScheduleBlueprintAccess requires spec.enabled at the create gate AND
|
|
165
|
+
* the mid-run sandbox read predicate, so a disabled-schedule run would
|
|
166
|
+
* die mid-execution after billing side effects (consoles offer
|
|
167
|
+
* "Enable & run now" instead; the fire-legitimacy model that would
|
|
168
|
+
* lift this is DD-017's named follow-up). Two-level contract: a gRPC
|
|
169
|
+
* error means the trigger itself was refused (disabled →
|
|
170
|
+
* FAILED_PRECONDITION with the byte-pinned copy, missing → NOT_FOUND
|
|
171
|
+
* before authorize, #224); a gRPC success means the fire happened and
|
|
172
|
+
* ScheduleTriggerResult names the run's outcome — a deterministically
|
|
173
|
+
* refused run is a successful trigger honestly reported, never an
|
|
174
|
+
* exception. The handler stamps last_fire_at/last_execution_id and
|
|
175
|
+
* writes the fire-ledger row (origin=manual) because the tick is not
|
|
176
|
+
* in the path to do it; status writes ride updateFields, never save()
|
|
177
|
+
* (DD-010 D-B). OSS mirrors the semantics; it excludes the
|
|
164
178
|
* authorization step per its recorded single-user posture.
|
|
165
179
|
*
|
|
166
180
|
* @generated from rpc ai.stigmer.agentic.schedule.v1.ScheduleCommandController.trigger
|
|
@@ -168,6 +182,6 @@ export declare const ScheduleCommandController: GenService<{
|
|
|
168
182
|
trigger: {
|
|
169
183
|
methodKind: "unary";
|
|
170
184
|
input: typeof ScheduleIdSchema;
|
|
171
|
-
output: typeof
|
|
185
|
+
output: typeof ScheduleTriggerResultSchema;
|
|
172
186
|
};
|
|
173
187
|
}>;
|
|
@@ -9,7 +9,7 @@ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc
|
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file ai/stigmer/agentic/schedule/v1/command.proto.
|
|
11
11
|
*/
|
|
12
|
-
export const file_ai_stigmer_agentic_schedule_v1_command = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_ai_stigmer_agentic_schedule_v1_command = /*@__PURE__*/ fileDesc("CixhaS9zdGlnbWVyL2FnZW50aWMvc2NoZWR1bGUvdjEvY29tbWFuZC5wcm90bxIeYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxMsEGChlTY2hlZHVsZUNvbW1hbmRDb250cm9sbGVyElsKBWFwcGx5EiguYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlGiguYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlEmIKBmNyZWF0ZRIoLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZRooLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZSIE0LgYARKUAQoGdXBkYXRlEiguYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlGiguYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlIjbCuBgyCAIQOCILbWV0YWRhdGEuaWQqH3VuYXV0aG9yaXplZCB0byB1cGRhdGUgc2NoZWR1bGUSkAEKBmRlbGV0ZRIqLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZUlkGiguYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlIjDCuBgsCAMQOCIFdmFsdWUqH3VuYXV0aG9yaXplZCB0byBkZWxldGUgc2NoZWR1bGUSkAEKBnJlc3VtZRIqLmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZUlkGiguYWkuc3RpZ21lci5hZ2VudGljLnNjaGVkdWxlLnYxLlNjaGVkdWxlIjDCuBgsCAIQOCIFdmFsdWUqH3VuYXV0aG9yaXplZCB0byByZXN1bWUgc2NoZWR1bGUSnwEKB3RyaWdnZXISKi5haS5zdGlnbWVyLmFnZW50aWMuc2NoZWR1bGUudjEuU2NoZWR1bGVJZBo1LmFpLnN0aWdtZXIuYWdlbnRpYy5zY2hlZHVsZS52MS5TY2hlZHVsZVRyaWdnZXJSZXN1bHQiMcK4GC0IAhA4IgV2YWx1ZSogdW5hdXRob3JpemVkIHRvIHRyaWdnZXIgc2NoZWR1bGUaBKD/KzhiBnByb3RvMw", [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
13
|
/**
|
|
14
14
|
* ScheduleCommandController handles write operations for schedules.
|
|
15
15
|
*
|
|
@@ -1 +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,
|
|
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,gtCAAgtC,EAAE,CAAC,uCAAuC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEr5C;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GA8KjC,aAAa,CAChB,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { Schedule } from "./api_pb.js";
|
|
3
3
|
import type { PageInfo } from "../../../commons/rpc/pagination_pb.js";
|
|
4
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
5
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
6
|
/**
|
|
6
7
|
* Describes the file ai/stigmer/agentic/schedule/v1/io.proto.
|
|
@@ -120,3 +121,267 @@ export type ListSchedulesRequest = Message<"ai.stigmer.agentic.schedule.v1.ListS
|
|
|
120
121
|
* Use `create(ListSchedulesRequestSchema)` to create a new message.
|
|
121
122
|
*/
|
|
122
123
|
export declare const ListSchedulesRequestSchema: GenMessage<ListSchedulesRequest>;
|
|
124
|
+
/**
|
|
125
|
+
* Result of manually triggering a schedule.
|
|
126
|
+
*
|
|
127
|
+
* A gRPC error means the trigger itself was refused (disabled schedule,
|
|
128
|
+
* missing schedule, unauthorized). A successful response means the fire
|
|
129
|
+
* happened, and this message names the run's real outcome.
|
|
130
|
+
*
|
|
131
|
+
* @generated from message ai.stigmer.agentic.schedule.v1.ScheduleTriggerResult
|
|
132
|
+
*/
|
|
133
|
+
export type ScheduleTriggerResult = Message<"ai.stigmer.agentic.schedule.v1.ScheduleTriggerResult"> & {
|
|
134
|
+
/**
|
|
135
|
+
* The schedule after the fire, status freshly stamped.
|
|
136
|
+
*
|
|
137
|
+
* @generated from field: ai.stigmer.agentic.schedule.v1.Schedule schedule = 1;
|
|
138
|
+
*/
|
|
139
|
+
schedule?: Schedule;
|
|
140
|
+
/**
|
|
141
|
+
* What the fire produced: STARTED, REFUSED, or TARGET_MISSING (the
|
|
142
|
+
* terminal outcomes belong to run history — a manual fire answers at
|
|
143
|
+
* run start).
|
|
144
|
+
*
|
|
145
|
+
* @generated from field: ai.stigmer.agentic.schedule.v1.ScheduleRunOutcome outcome = 2;
|
|
146
|
+
*/
|
|
147
|
+
outcome: ScheduleRunOutcome;
|
|
148
|
+
/**
|
|
149
|
+
* ID of the created execution. Set only when outcome is STARTED.
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: string execution_id = 3;
|
|
152
|
+
*/
|
|
153
|
+
executionId: string;
|
|
154
|
+
/**
|
|
155
|
+
* The refusing launch gate's copy, verbatim. Set only when outcome is
|
|
156
|
+
* REFUSED or TARGET_MISSING.
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: string refusal_reason = 4;
|
|
159
|
+
*/
|
|
160
|
+
refusalReason: string;
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* Describes the message ai.stigmer.agentic.schedule.v1.ScheduleTriggerResult.
|
|
164
|
+
* Use `create(ScheduleTriggerResultSchema)` to create a new message.
|
|
165
|
+
*/
|
|
166
|
+
export declare const ScheduleTriggerResultSchema: GenMessage<ScheduleTriggerResult>;
|
|
167
|
+
/**
|
|
168
|
+
* One recorded schedule fire — a run-history row.
|
|
169
|
+
*
|
|
170
|
+
* @internal
|
|
171
|
+
* Backed by the fire ledger (project DD-017 D-7): every fire leaves a
|
|
172
|
+
* row, INCLUDING fires that created no execution — the ledger is the
|
|
173
|
+
* one place a refused fire's reason survives below the pause threshold.
|
|
174
|
+
* Rows carrying an execution id but no terminal outcome are enriched
|
|
175
|
+
* with the execution's live phase at read time, so outcome never lies
|
|
176
|
+
* while a run is in flight.
|
|
177
|
+
*
|
|
178
|
+
* @generated from message ai.stigmer.agentic.schedule.v1.ScheduleRun
|
|
179
|
+
*/
|
|
180
|
+
export type ScheduleRun = Message<"ai.stigmer.agentic.schedule.v1.ScheduleRun"> & {
|
|
181
|
+
/**
|
|
182
|
+
* Schedule this fire belongs to.
|
|
183
|
+
*
|
|
184
|
+
* @generated from field: string schedule_id = 1;
|
|
185
|
+
*/
|
|
186
|
+
scheduleId: string;
|
|
187
|
+
/**
|
|
188
|
+
* Organization that owns the schedule.
|
|
189
|
+
*
|
|
190
|
+
* @generated from field: string org = 2;
|
|
191
|
+
*/
|
|
192
|
+
org: string;
|
|
193
|
+
/**
|
|
194
|
+
* The fire's nominal time (cron: the scheduled instant; manual: the
|
|
195
|
+
* trigger instant).
|
|
196
|
+
*
|
|
197
|
+
* @generated from field: google.protobuf.Timestamp nominal_fire_time = 3;
|
|
198
|
+
*/
|
|
199
|
+
nominalFireTime?: Timestamp;
|
|
200
|
+
/**
|
|
201
|
+
* How the fire was initiated.
|
|
202
|
+
*
|
|
203
|
+
* @generated from field: ai.stigmer.agentic.schedule.v1.ScheduleRunOrigin origin = 4;
|
|
204
|
+
*/
|
|
205
|
+
origin: ScheduleRunOrigin;
|
|
206
|
+
/**
|
|
207
|
+
* What the fire produced.
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: ai.stigmer.agentic.schedule.v1.ScheduleRunOutcome outcome = 5;
|
|
210
|
+
*/
|
|
211
|
+
outcome: ScheduleRunOutcome;
|
|
212
|
+
/**
|
|
213
|
+
* The refusing gate's or terminal verdict's copy, verbatim. Empty for
|
|
214
|
+
* healthy outcomes.
|
|
215
|
+
*
|
|
216
|
+
* @generated from field: string reason = 6;
|
|
217
|
+
*/
|
|
218
|
+
reason: string;
|
|
219
|
+
/**
|
|
220
|
+
* ID of the created execution. Empty when no execution was created
|
|
221
|
+
* (refused, target missing, skipped).
|
|
222
|
+
*
|
|
223
|
+
* @generated from field: string execution_id = 7;
|
|
224
|
+
*/
|
|
225
|
+
executionId: string;
|
|
226
|
+
/**
|
|
227
|
+
* When the fire was recorded.
|
|
228
|
+
*
|
|
229
|
+
* @generated from field: google.protobuf.Timestamp recorded_at = 8;
|
|
230
|
+
*/
|
|
231
|
+
recordedAt?: Timestamp;
|
|
232
|
+
/**
|
|
233
|
+
* When the terminal outcome was recorded. Absent while the run is in
|
|
234
|
+
* flight or when no run was created.
|
|
235
|
+
*
|
|
236
|
+
* @generated from field: google.protobuf.Timestamp completed_at = 9;
|
|
237
|
+
*/
|
|
238
|
+
completedAt?: Timestamp;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Describes the message ai.stigmer.agentic.schedule.v1.ScheduleRun.
|
|
242
|
+
* Use `create(ScheduleRunSchema)` to create a new message.
|
|
243
|
+
*/
|
|
244
|
+
export declare const ScheduleRunSchema: GenMessage<ScheduleRun>;
|
|
245
|
+
/**
|
|
246
|
+
* Input for listing a schedule's run history.
|
|
247
|
+
*
|
|
248
|
+
* @generated from message ai.stigmer.agentic.schedule.v1.ListScheduleRunsRequest
|
|
249
|
+
*/
|
|
250
|
+
export type ListScheduleRunsRequest = Message<"ai.stigmer.agentic.schedule.v1.ListScheduleRunsRequest"> & {
|
|
251
|
+
/**
|
|
252
|
+
* Schedule whose runs to list.
|
|
253
|
+
*
|
|
254
|
+
* @generated from field: string schedule_id = 1;
|
|
255
|
+
*/
|
|
256
|
+
scheduleId: string;
|
|
257
|
+
/**
|
|
258
|
+
* Pagination options. Runs are returned newest first.
|
|
259
|
+
*
|
|
260
|
+
* @generated from field: ai.stigmer.commons.rpc.PageInfo page_info = 2;
|
|
261
|
+
*/
|
|
262
|
+
pageInfo?: PageInfo;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* Describes the message ai.stigmer.agentic.schedule.v1.ListScheduleRunsRequest.
|
|
266
|
+
* Use `create(ListScheduleRunsRequestSchema)` to create a new message.
|
|
267
|
+
*/
|
|
268
|
+
export declare const ListScheduleRunsRequestSchema: GenMessage<ListScheduleRunsRequest>;
|
|
269
|
+
/**
|
|
270
|
+
* Response containing a paginated list of schedule runs, newest first.
|
|
271
|
+
*
|
|
272
|
+
* @generated from message ai.stigmer.agentic.schedule.v1.ScheduleRunList
|
|
273
|
+
*/
|
|
274
|
+
export type ScheduleRunList = Message<"ai.stigmer.agentic.schedule.v1.ScheduleRunList"> & {
|
|
275
|
+
/**
|
|
276
|
+
* Total number of recorded runs for the schedule.
|
|
277
|
+
*
|
|
278
|
+
* @generated from field: int32 total_count = 1;
|
|
279
|
+
*/
|
|
280
|
+
totalCount: number;
|
|
281
|
+
/**
|
|
282
|
+
* Runs in the current page.
|
|
283
|
+
*
|
|
284
|
+
* @generated from field: repeated ai.stigmer.agentic.schedule.v1.ScheduleRun items = 2;
|
|
285
|
+
*/
|
|
286
|
+
items: ScheduleRun[];
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* Describes the message ai.stigmer.agentic.schedule.v1.ScheduleRunList.
|
|
290
|
+
* Use `create(ScheduleRunListSchema)` to create a new message.
|
|
291
|
+
*/
|
|
292
|
+
export declare const ScheduleRunListSchema: GenMessage<ScheduleRunList>;
|
|
293
|
+
/**
|
|
294
|
+
* How a schedule fire was initiated.
|
|
295
|
+
*
|
|
296
|
+
* @generated from enum ai.stigmer.agentic.schedule.v1.ScheduleRunOrigin
|
|
297
|
+
*/
|
|
298
|
+
export declare enum ScheduleRunOrigin {
|
|
299
|
+
/**
|
|
300
|
+
* @generated from enum value: SCHEDULE_RUN_ORIGIN_UNSPECIFIED = 0;
|
|
301
|
+
*/
|
|
302
|
+
UNSPECIFIED = 0,
|
|
303
|
+
/**
|
|
304
|
+
* The clock fired the schedule on its cron cadence.
|
|
305
|
+
*
|
|
306
|
+
* @generated from enum value: SCHEDULE_RUN_ORIGIN_CRON = 1;
|
|
307
|
+
*/
|
|
308
|
+
CRON = 1,
|
|
309
|
+
/**
|
|
310
|
+
* A caller fired the schedule through the trigger command.
|
|
311
|
+
*
|
|
312
|
+
* @generated from enum value: SCHEDULE_RUN_ORIGIN_MANUAL = 2;
|
|
313
|
+
*/
|
|
314
|
+
MANUAL = 2
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* Describes the enum ai.stigmer.agentic.schedule.v1.ScheduleRunOrigin.
|
|
318
|
+
*/
|
|
319
|
+
export declare const ScheduleRunOriginSchema: GenEnum<ScheduleRunOrigin>;
|
|
320
|
+
/**
|
|
321
|
+
* What one schedule fire produced.
|
|
322
|
+
*
|
|
323
|
+
* @internal
|
|
324
|
+
* One vocabulary for two surfaces (project DD-017 D-6/D-7): the trigger
|
|
325
|
+
* result reports the START outcomes (STARTED / REFUSED /
|
|
326
|
+
* TARGET_MISSING), and the run-history rows additionally reach the
|
|
327
|
+
* terminal outcomes (COMPLETED / FAILED / TIMED_OUT) written by the cron
|
|
328
|
+
* tick's tracking. SKIPPED records a cron fire that revalidated against
|
|
329
|
+
* a row deleted/disabled/paused between recording and starting.
|
|
330
|
+
*
|
|
331
|
+
* @generated from enum ai.stigmer.agentic.schedule.v1.ScheduleRunOutcome
|
|
332
|
+
*/
|
|
333
|
+
export declare enum ScheduleRunOutcome {
|
|
334
|
+
/**
|
|
335
|
+
* @generated from enum value: SCHEDULE_RUN_OUTCOME_UNSPECIFIED = 0;
|
|
336
|
+
*/
|
|
337
|
+
UNSPECIFIED = 0,
|
|
338
|
+
/**
|
|
339
|
+
* An execution was created (or idempotently re-found) and is running.
|
|
340
|
+
*
|
|
341
|
+
* @generated from enum value: SCHEDULE_RUN_OUTCOME_STARTED = 1;
|
|
342
|
+
*/
|
|
343
|
+
STARTED = 1,
|
|
344
|
+
/**
|
|
345
|
+
* A launch gate refused the run deterministically; reason carries the
|
|
346
|
+
* gate's copy verbatim.
|
|
347
|
+
*
|
|
348
|
+
* @generated from enum value: SCHEDULE_RUN_OUTCOME_REFUSED = 2;
|
|
349
|
+
*/
|
|
350
|
+
REFUSED = 2,
|
|
351
|
+
/**
|
|
352
|
+
* The schedule's agent_ref no longer resolves.
|
|
353
|
+
*
|
|
354
|
+
* @generated from enum value: SCHEDULE_RUN_OUTCOME_TARGET_MISSING = 3;
|
|
355
|
+
*/
|
|
356
|
+
TARGET_MISSING = 3,
|
|
357
|
+
/**
|
|
358
|
+
* The fire no-opped: the row was deleted, disabled, or paused between
|
|
359
|
+
* the fire being recorded and the run starting.
|
|
360
|
+
*
|
|
361
|
+
* @generated from enum value: SCHEDULE_RUN_OUTCOME_SKIPPED = 4;
|
|
362
|
+
*/
|
|
363
|
+
SKIPPED = 4,
|
|
364
|
+
/**
|
|
365
|
+
* The tracked run reached EXECUTION_COMPLETED.
|
|
366
|
+
*
|
|
367
|
+
* @generated from enum value: SCHEDULE_RUN_OUTCOME_COMPLETED = 5;
|
|
368
|
+
*/
|
|
369
|
+
COMPLETED = 5,
|
|
370
|
+
/**
|
|
371
|
+
* The tracked run ended terminal-but-not-completed (failed, cancelled,
|
|
372
|
+
* or terminated); reason names the terminal phase.
|
|
373
|
+
*
|
|
374
|
+
* @generated from enum value: SCHEDULE_RUN_OUTCOME_FAILED = 6;
|
|
375
|
+
*/
|
|
376
|
+
FAILED = 6,
|
|
377
|
+
/**
|
|
378
|
+
* The tracked run outlived the fire's tracking budget.
|
|
379
|
+
*
|
|
380
|
+
* @generated from enum value: SCHEDULE_RUN_OUTCOME_TIMED_OUT = 7;
|
|
381
|
+
*/
|
|
382
|
+
TIMED_OUT = 7
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* Describes the enum ai.stigmer.agentic.schedule.v1.ScheduleRunOutcome.
|
|
386
|
+
*/
|
|
387
|
+
export declare const ScheduleRunOutcomeSchema: GenEnum<ScheduleRunOutcome>;
|