@lace-cloud/host 0.9.1 → 0.10.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/dist/index.d.mts CHANGED
@@ -274,12 +274,10 @@ declare const Position$1: MessageFns$1<Position$1>;
274
274
  * and by the PreviewPolicyResolution RPC for counterfactual queries.
275
275
  *
276
276
  * `mode` is one of: auto_apply, lightweight_audit, awaiting_approval,
277
- * policy_blocked. `runner_location` is local|managed (empty for
278
- * awaiting_approval / policy_blocked, where no run will be dispatched).
277
+ * policy_blocked.
279
278
  */
280
279
  interface PolicyResolution {
281
280
  mode: string;
282
- runner_location: string;
283
281
  policy_id: string;
284
282
  rules_fired: string[];
285
283
  reason: string;
package/dist/index.d.ts CHANGED
@@ -274,12 +274,10 @@ declare const Position$1: MessageFns$1<Position$1>;
274
274
  * and by the PreviewPolicyResolution RPC for counterfactual queries.
275
275
  *
276
276
  * `mode` is one of: auto_apply, lightweight_audit, awaiting_approval,
277
- * policy_blocked. `runner_location` is local|managed (empty for
278
- * awaiting_approval / policy_blocked, where no run will be dispatched).
277
+ * policy_blocked.
279
278
  */
280
279
  interface PolicyResolution {
281
280
  mode: string;
282
- runner_location: string;
283
281
  policy_id: string;
284
282
  rules_fired: string[];
285
283
  reason: string;
package/dist/index.mjs CHANGED
@@ -4059,7 +4059,6 @@ var Position = {
4059
4059
  function createBasePolicyResolution() {
4060
4060
  return {
4061
4061
  mode: "",
4062
- runner_location: "",
4063
4062
  policy_id: "",
4064
4063
  rules_fired: [],
4065
4064
  reason: "",
@@ -4073,9 +4072,6 @@ var PolicyResolution = {
4073
4072
  if (message.mode !== "") {
4074
4073
  writer.uint32(10).string(message.mode);
4075
4074
  }
4076
- if (message.runner_location !== "") {
4077
- writer.uint32(18).string(message.runner_location);
4078
- }
4079
4075
  if (message.policy_id !== "") {
4080
4076
  writer.uint32(26).string(message.policy_id);
4081
4077
  }
@@ -4110,13 +4106,6 @@ var PolicyResolution = {
4110
4106
  message.mode = reader.string();
4111
4107
  continue;
4112
4108
  }
4113
- case 2: {
4114
- if (tag !== 18) {
4115
- break;
4116
- }
4117
- message.runner_location = reader.string();
4118
- continue;
4119
- }
4120
4109
  case 3: {
4121
4110
  if (tag !== 26) {
4122
4111
  break;
@@ -4170,7 +4159,6 @@ var PolicyResolution = {
4170
4159
  fromJSON(object) {
4171
4160
  return {
4172
4161
  mode: isSet2(object.mode) ? globalThis.String(object.mode) : "",
4173
- runner_location: isSet2(object.runnerLocation) ? globalThis.String(object.runnerLocation) : isSet2(object.runner_location) ? globalThis.String(object.runner_location) : "",
4174
4162
  policy_id: isSet2(object.policyId) ? globalThis.String(object.policyId) : isSet2(object.policy_id) ? globalThis.String(object.policy_id) : "",
4175
4163
  rules_fired: globalThis.Array.isArray(object?.rulesFired) ? object.rulesFired.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.rules_fired) ? object.rules_fired.map((e) => globalThis.String(e)) : [],
4176
4164
  reason: isSet2(object.reason) ? globalThis.String(object.reason) : "",
@@ -4184,9 +4172,6 @@ var PolicyResolution = {
4184
4172
  if (message.mode !== "") {
4185
4173
  obj.mode = message.mode;
4186
4174
  }
4187
- if (message.runner_location !== "") {
4188
- obj.runnerLocation = message.runner_location;
4189
- }
4190
4175
  if (message.policy_id !== "") {
4191
4176
  obj.policyId = message.policy_id;
4192
4177
  }
@@ -4213,7 +4198,6 @@ var PolicyResolution = {
4213
4198
  fromPartial(object) {
4214
4199
  const message = createBasePolicyResolution();
4215
4200
  message.mode = object.mode ?? "";
4216
- message.runner_location = object.runner_location ?? "";
4217
4201
  message.policy_id = object.policy_id ?? "";
4218
4202
  message.rules_fired = object.rules_fired?.map((e) => e) || [];
4219
4203
  message.reason = object.reason ?? "";