@alva-ai/toolkit 0.18.0 → 0.20.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.cjs CHANGED
@@ -279,6 +279,7 @@ var DeployResource = class {
279
279
  args: params.args,
280
280
  push_notify: params.push_notify,
281
281
  max_heap_size_mb: params.max_heap_size_mb,
282
+ execution_timeout_seconds: params.execution_timeout_seconds,
282
283
  run_as_user_id: params.run_as_user_id,
283
284
  start_at: params.start_at,
284
285
  end_at: params.end_at,
@@ -326,6 +327,8 @@ var DeployResource = class {
326
327
  }
327
328
  /**
328
329
  * Fire the cronjob workflow once, immediately, bypassing the schedule.
330
+ * This is not a dry run: when publisher push and subscriber alert bindings
331
+ * are enabled, a successful Feed execution may send real notifications.
329
332
  * Async — returns the Hatchet workflow run id at enqueue. The
330
333
  * `cronjob_runs` row can appear as DISPATCHED/RUNNING before it reaches a
331
334
  * terminal status; callers verify completion by polling
@@ -1543,40 +1546,40 @@ var SKILL_ENDPOINT_METADATA = [
1543
1546
  file: "contracts",
1544
1547
  method: "GET",
1545
1548
  path: "/api/v1/options/contracts",
1546
- tier: "alternative",
1547
- required_subscription_tier: "pro",
1548
- access: "pro_only",
1549
- pro_required: true
1549
+ tier: "public",
1550
+ required_subscription_tier: "free",
1551
+ access: "free_and_pro",
1552
+ pro_required: false
1550
1553
  },
1551
1554
  {
1552
1555
  skill: "arrays-data-api-options",
1553
1556
  file: "kline",
1554
1557
  method: "GET",
1555
1558
  path: "/api/v1/options/kline",
1556
- tier: "alternative",
1557
- required_subscription_tier: "pro",
1558
- access: "pro_only",
1559
- pro_required: true
1559
+ tier: "public",
1560
+ required_subscription_tier: "free",
1561
+ access: "free_and_pro",
1562
+ pro_required: false
1560
1563
  },
1561
1564
  {
1562
1565
  skill: "arrays-data-api-options",
1563
1566
  file: "greeks",
1564
1567
  method: "GET",
1565
1568
  path: "/api/v1/options/greeks",
1566
- tier: "alternative",
1567
- required_subscription_tier: "pro",
1568
- access: "pro_only",
1569
- pro_required: true
1569
+ tier: "public",
1570
+ required_subscription_tier: "free",
1571
+ access: "free_and_pro",
1572
+ pro_required: false
1570
1573
  },
1571
1574
  {
1572
1575
  skill: "arrays-data-api-options",
1573
1576
  file: "chain",
1574
1577
  method: "GET",
1575
1578
  path: "/api/v1/options/chain",
1576
- tier: "alternative",
1577
- required_subscription_tier: "pro",
1578
- access: "pro_only",
1579
- pro_required: true
1579
+ tier: "public",
1580
+ required_subscription_tier: "free",
1581
+ access: "free_and_pro",
1582
+ pro_required: false
1580
1583
  },
1581
1584
  {
1582
1585
  skill: "arrays-data-api-equity-fundamentals",
@@ -2493,7 +2496,15 @@ var SubscriptionsResource = class {
2493
2496
  async subscribeFeed(params) {
2494
2497
  this.client._requireAuth();
2495
2498
  const path = `/api/v1/subscriptions/feed/${encodeURIComponent(params.username)}/${encodeURIComponent(params.name)}`;
2496
- return this.client._request("POST", path);
2499
+ if (params.channelId === void 0) {
2500
+ return this.client._request(
2501
+ "POST",
2502
+ path
2503
+ );
2504
+ }
2505
+ return this.client._request("POST", path, {
2506
+ body: { channel_id: params.channelId }
2507
+ });
2497
2508
  }
2498
2509
  /**
2499
2510
  * Unsubscribe from one feed `(username, name)` — disable that automation's
@@ -3770,7 +3781,7 @@ var installPlaybookRuntime = (targetWindow) => {
3770
3781
  };
3771
3782
 
3772
3783
  // src/index.ts
3773
- var VERSION = true ? "0.18.0" : "dev";
3784
+ var VERSION = true ? "0.20.0" : "dev";
3774
3785
  // Annotate the CommonJS export names for ESM import in node:
3775
3786
  0 && (module.exports = {
3776
3787
  AlertsResource,