@asteroidai/cli 1.9.576 → 1.9.577

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/asteroid.js CHANGED
@@ -3243,7 +3243,7 @@ var COMMANDS = [
3243
3243
  command: "insight-rule update",
3244
3244
  tool: "insight_rule_update",
3245
3245
  title: "Update insight rule",
3246
- description: "Change an insight rule. Send only the fields to change. A rule with `presetKey` keeps its `match`, its `fire` and its params' names and types. `workflows` replaces every workflow's values, so send the full map. Run `insight_rule_validate` before you change an expression.",
3246
+ description: "Change an insight rule. Send only the fields to change. A rule with `presetKey` keeps its `match`, its `fire` and its params' names and types. `workflows` replaces every workflow's values, so send the full map. Run `insight_rule_validate` with this rule's id as `ruleId` before you change an expression.",
3247
3247
  method: "PATCH",
3248
3248
  path: "/astro/v2/insight-rules/{ruleId}",
3249
3249
  args: [
@@ -3353,6 +3353,13 @@ var COMMANDS = [
3353
3353
  required: true,
3354
3354
  contentType: "application/json",
3355
3355
  fields: [
3356
+ {
3357
+ name: "ruleId",
3358
+ flag: "rule-id",
3359
+ type: "string",
3360
+ required: false,
3361
+ description: "The rule this checks a change to. Omit it for a new rule. A client that shows the draft opens this rule to apply it."
3362
+ },
3356
3363
  {
3357
3364
  name: "workflowId",
3358
3365
  flag: "workflow-id",
@@ -9428,7 +9435,7 @@ var ApiError = class extends Error {
9428
9435
  status;
9429
9436
  body;
9430
9437
  };
9431
- var VERSION = "1.9.576";
9438
+ var VERSION = "1.9.577";
9432
9439
  function problem(status, body, fallback) {
9433
9440
  if (body && typeof body === "object") {
9434
9441
  const record2 = body;
package/dist/core.js CHANGED
@@ -3264,7 +3264,7 @@ var COMMANDS = [
3264
3264
  command: "insight-rule update",
3265
3265
  tool: "insight_rule_update",
3266
3266
  title: "Update insight rule",
3267
- description: "Change an insight rule. Send only the fields to change. A rule with `presetKey` keeps its `match`, its `fire` and its params' names and types. `workflows` replaces every workflow's values, so send the full map. Run `insight_rule_validate` before you change an expression.",
3267
+ description: "Change an insight rule. Send only the fields to change. A rule with `presetKey` keeps its `match`, its `fire` and its params' names and types. `workflows` replaces every workflow's values, so send the full map. Run `insight_rule_validate` with this rule's id as `ruleId` before you change an expression.",
3268
3268
  method: "PATCH",
3269
3269
  path: "/astro/v2/insight-rules/{ruleId}",
3270
3270
  args: [
@@ -3374,6 +3374,13 @@ var COMMANDS = [
3374
3374
  required: true,
3375
3375
  contentType: "application/json",
3376
3376
  fields: [
3377
+ {
3378
+ name: "ruleId",
3379
+ flag: "rule-id",
3380
+ type: "string",
3381
+ required: false,
3382
+ description: "The rule this checks a change to. Omit it for a new rule. A client that shows the draft opens this rule to apply it."
3383
+ },
3377
3384
  {
3378
3385
  name: "workflowId",
3379
3386
  flag: "workflow-id",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asteroidai/cli",
3
- "version": "1.9.576",
3
+ "version": "1.9.577",
4
4
  "description": "The asteroid command-line interface for the Asteroid platform.",
5
5
  "type": "module",
6
6
  "license": "MIT",