@alva-ai/toolkit 0.9.3 → 0.9.4

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/cli.js CHANGED
@@ -9575,7 +9575,8 @@ var DeployResource = class {
9575
9575
  path: params.path,
9576
9576
  cron_expression: params.cron_expression,
9577
9577
  args: params.args,
9578
- push_notify: params.push_notify
9578
+ push_notify: params.push_notify,
9579
+ max_heap_size_mb: params.max_heap_size_mb
9579
9580
  }
9580
9581
  });
9581
9582
  }
@@ -12485,7 +12486,7 @@ function formatPlaybookSkillFile(file) {
12485
12486
  import * as fs2 from "fs";
12486
12487
  import * as os2 from "os";
12487
12488
  import * as fsPromises2 from "fs/promises";
12488
- var CLI_VERSION = true ? "0.9.3" : "dev";
12489
+ var CLI_VERSION = true ? "0.9.4" : "dev";
12489
12490
  function isVersionOlderThan(a, b) {
12490
12491
  const parse4 = (v) => {
12491
12492
  if (!v) return null;
@@ -12756,13 +12757,14 @@ Subcommands:
12756
12757
  runs List runs for a cronjob (cursor-paginated)
12757
12758
  run-logs Get stdout/stderr logs for a single cronjob run
12758
12759
 
12759
- Create flags:
12760
- --name <name> Cronjob name (required, 1-63 lowercase alphanumeric/hyphens)
12761
- --path <path> Path to script on ALFS (required, must exist)
12762
- --cron <expression> Cron expression (required, e.g. "0 */4 * * *")
12760
+ Create/Update flags:
12761
+ --name <name> Cronjob name (required on create, 1-63 lowercase alphanumeric/hyphens)
12762
+ --path <path> Path to script on ALFS (required on create, must exist)
12763
+ --cron <expression> Cron expression (required on create, e.g. "0 */4 * * *")
12763
12764
  --args <json> JSON object passed to require("env").args
12764
12765
  --push-notify Enable Telegram push notifications on completion
12765
12766
  --no-push-notify Disable push notifications
12767
+ --max-heap-size-mb <mb> Override per-cronjob V8 heap limit (1-2046, default uses server config)
12766
12768
 
12767
12769
  List flags:
12768
12770
  --limit <n> Max results per page (default: 20)
@@ -13636,7 +13638,14 @@ async function dispatch(client, args, meta) {
13636
13638
  path: requireFlag(flags, "path", "deploy create"),
13637
13639
  cron_expression: requireFlag(flags, "cron", "deploy create"),
13638
13640
  args: jsonParse(flags["args"]),
13639
- push_notify: boolFlag(flags["push-notify"])
13641
+ push_notify: boolFlag(flags["push-notify"]),
13642
+ max_heap_size_mb: optionalBoundedIntegerFlag(
13643
+ flags,
13644
+ "max-heap-size-mb",
13645
+ "deploy create",
13646
+ 1,
13647
+ 2046
13648
+ )
13640
13649
  });
13641
13650
  case "list":
13642
13651
  return client.deploy.list({
@@ -13653,7 +13662,14 @@ async function dispatch(client, args, meta) {
13653
13662
  name: flags["name"],
13654
13663
  cron_expression: flags["cron"],
13655
13664
  args: jsonParse(flags["args"]),
13656
- push_notify: boolFlag(flags["push-notify"])
13665
+ push_notify: boolFlag(flags["push-notify"]),
13666
+ max_heap_size_mb: optionalBoundedIntegerFlag(
13667
+ flags,
13668
+ "max-heap-size-mb",
13669
+ "deploy update",
13670
+ 1,
13671
+ 2046
13672
+ )
13657
13673
  });
13658
13674
  case "delete":
13659
13675
  return client.deploy.delete({