@eigenpal/sdk 0.7.1 → 0.7.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @eigenpal/sdk
2
2
 
3
+ ## 0.7.2
4
+
5
+ ### Minor Changes
6
+
7
+ - c5a709c: Public workflow list/detail responses include `apiEnabled` and `triggers`; run definition docs note workflow-only scope.
8
+
3
9
  ## 0.7.1
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eigenpal/sdk",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Official TypeScript SDK for the EigenPal API",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -291,7 +291,7 @@ export const runsConnect = <ThrowOnError extends boolean = false>(options: Optio
291
291
  /**
292
292
  * Get run definition snapshot
293
293
  *
294
- * Workflow definition snapshot captured when the run was created.
294
+ * Workflow definition snapshot captured when the run was created. Workflow runs only; agent runs return not_found.
295
295
  */
296
296
  export const runsDefinitionGet = <ThrowOnError extends boolean = false>(options: Options<RunsDefinitionGetData, ThrowOnError>) => (options.client ?? client).get<RunsDefinitionGetResponses, RunsDefinitionGetErrors, ThrowOnError>({
297
297
  security: [{ scheme: 'bearer', type: 'http' }],
@@ -705,6 +705,19 @@ export type WorkflowDetail = {
705
705
  * Current release tag (e.g. "1.2.4"). Null until a version is published.
706
706
  */
707
707
  version?: string | null;
708
+ /**
709
+ * Whether API trigger is enabled (runtime projection)
710
+ */
711
+ apiEnabled?: boolean;
712
+ /**
713
+ * Runtime trigger projection by type.
714
+ */
715
+ triggers?: {
716
+ api: boolean;
717
+ email: boolean;
718
+ manual: boolean;
719
+ cron: boolean;
720
+ };
708
721
  createdAt: string;
709
722
  updatedAt?: string;
710
723
  /**
@@ -761,6 +774,19 @@ export type WorkflowSummary = {
761
774
  * Current release tag (e.g. "1.2.4"). Null until a version is published.
762
775
  */
763
776
  version?: string | null;
777
+ /**
778
+ * Whether API trigger is enabled (runtime projection)
779
+ */
780
+ apiEnabled?: boolean;
781
+ /**
782
+ * Runtime trigger projection by type.
783
+ */
784
+ triggers?: {
785
+ api: boolean;
786
+ email: boolean;
787
+ manual: boolean;
788
+ cron: boolean;
789
+ };
764
790
  createdAt: string;
765
791
  updatedAt?: string;
766
792
  };
@@ -3150,6 +3176,10 @@ export type WorkflowsListData = {
3150
3176
  * Filter by workflow kind
3151
3177
  */
3152
3178
  kind?: 'workflow' | 'block';
3179
+ /**
3180
+ * Filter by folder: omit for all workflows, 'null' for root/unfiled only, or a folder id
3181
+ */
3182
+ folderId?: string | null;
3153
3183
  /**
3154
3184
  * Page size (max 100, default 50)
3155
3185
  */
package/src/telemetry.ts CHANGED
@@ -19,7 +19,7 @@
19
19
  export const SDK_LANGUAGE = 'typescript';
20
20
  // Rewritten at publish time by scripts/render-sdk-versions.sh.
21
21
  // Keep this string literal exactly stable — sed matches on it.
22
- export const SDK_VERSION = '0.7.1';
22
+ export const SDK_VERSION = '0.7.2';
23
23
 
24
24
  function detectRuntime(): string {
25
25
  const g = globalThis as unknown as {