@powerformer/refly-cli 0.1.5 → 0.1.7

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.ts CHANGED
@@ -51,13 +51,13 @@ declare const WorkflowDraftSchema: z.ZodObject<{
51
51
  owner?: string | undefined;
52
52
  }>>;
53
53
  }, "strip", z.ZodTypeAny, {
54
- name: string;
55
54
  nodes: {
56
55
  id: string;
57
56
  type: string;
58
57
  dependsOn: string[];
59
58
  input: Record<string, unknown>;
60
59
  }[];
60
+ name: string;
61
61
  description?: string | undefined;
62
62
  metadata?: {
63
63
  tags?: string[] | undefined;
@@ -158,13 +158,13 @@ declare const BuilderSessionSchema: z.ZodObject<{
158
158
  owner?: string | undefined;
159
159
  }>>;
160
160
  }, "strip", z.ZodTypeAny, {
161
- name: string;
162
161
  nodes: {
163
162
  id: string;
164
163
  type: string;
165
164
  dependsOn: string[];
166
165
  input: Record<string, unknown>;
167
166
  }[];
167
+ name: string;
168
168
  description?: string | undefined;
169
169
  metadata?: {
170
170
  tags?: string[] | undefined;
@@ -245,13 +245,13 @@ declare const BuilderSessionSchema: z.ZodObject<{
245
245
  };
246
246
  state: "IDLE" | "DRAFT" | "VALIDATED" | "COMMITTED" | "ABORTED";
247
247
  workflowDraft: {
248
- name: string;
249
248
  nodes: {
250
249
  id: string;
251
250
  type: string;
252
251
  dependsOn: string[];
253
252
  input: Record<string, unknown>;
254
253
  }[];
254
+ name: string;
255
255
  description?: string | undefined;
256
256
  metadata?: {
257
257
  tags?: string[] | undefined;
@@ -357,6 +357,7 @@ declare const ErrorCodes: {
357
357
  readonly RUN_NOT_FOUND: "RUN_NOT_FOUND";
358
358
  readonly INVALID_NODE_TYPE: "INVALID_NODE_TYPE";
359
359
  readonly INVALID_NODE_INPUT: "INVALID_NODE_INPUT";
360
+ readonly EXECUTION_FAILED: "EXECUTION_FAILED";
360
361
  readonly NETWORK_ERROR: "NETWORK_ERROR";
361
362
  readonly TIMEOUT: "TIMEOUT";
362
363
  readonly API_ERROR: "API_ERROR";
@@ -478,11 +479,11 @@ declare const ConfigSchema: z.ZodObject<{
478
479
  uid: string;
479
480
  name?: string | undefined;
480
481
  } | undefined;
481
- provider?: "google" | "github" | undefined;
482
482
  method?: "oauth" | "apikey" | undefined;
483
483
  accessToken?: string | undefined;
484
484
  refreshToken?: string | undefined;
485
485
  expiresAt?: string | undefined;
486
+ provider?: "google" | "github" | undefined;
486
487
  apiKey?: string | undefined;
487
488
  apiKeyId?: string | undefined;
488
489
  apiKeyName?: string | undefined;
@@ -492,11 +493,11 @@ declare const ConfigSchema: z.ZodObject<{
492
493
  uid: string;
493
494
  name?: string | undefined;
494
495
  } | undefined;
495
- provider?: "google" | "github" | undefined;
496
496
  method?: "oauth" | "apikey" | undefined;
497
497
  accessToken?: string | undefined;
498
498
  refreshToken?: string | undefined;
499
499
  expiresAt?: string | undefined;
500
+ provider?: "google" | "github" | undefined;
500
501
  apiKey?: string | undefined;
501
502
  apiKeyId?: string | undefined;
502
503
  apiKeyName?: string | undefined;
@@ -530,11 +531,11 @@ declare const ConfigSchema: z.ZodObject<{
530
531
  uid: string;
531
532
  name?: string | undefined;
532
533
  } | undefined;
533
- provider?: "google" | "github" | undefined;
534
534
  method?: "oauth" | "apikey" | undefined;
535
535
  accessToken?: string | undefined;
536
536
  refreshToken?: string | undefined;
537
537
  expiresAt?: string | undefined;
538
+ provider?: "google" | "github" | undefined;
538
539
  apiKey?: string | undefined;
539
540
  apiKeyId?: string | undefined;
540
541
  apiKeyName?: string | undefined;
@@ -554,11 +555,11 @@ declare const ConfigSchema: z.ZodObject<{
554
555
  uid: string;
555
556
  name?: string | undefined;
556
557
  } | undefined;
557
- provider?: "google" | "github" | undefined;
558
558
  method?: "oauth" | "apikey" | undefined;
559
559
  accessToken?: string | undefined;
560
560
  refreshToken?: string | undefined;
561
561
  expiresAt?: string | undefined;
562
+ provider?: "google" | "github" | undefined;
562
563
  apiKey?: string | undefined;
563
564
  apiKeyId?: string | undefined;
564
565
  apiKeyName?: string | undefined;
package/dist/index.js CHANGED
@@ -139,6 +139,7 @@ var ErrorCodes = {
139
139
  // Node
140
140
  INVALID_NODE_TYPE: "INVALID_NODE_TYPE",
141
141
  INVALID_NODE_INPUT: "INVALID_NODE_INPUT",
142
+ EXECUTION_FAILED: "EXECUTION_FAILED",
142
143
  // Network
143
144
  NETWORK_ERROR: "NETWORK_ERROR",
144
145
  TIMEOUT: "TIMEOUT",
@@ -4559,7 +4560,7 @@ var ConfigSchema = external_exports.object({
4559
4560
  installedAt: external_exports.string().optional()
4560
4561
  }).optional()
4561
4562
  });
4562
- var DEFAULT_API_ENDPOINT = "https://api.refly.ai";
4563
+ var DEFAULT_API_ENDPOINT = "https://refly-api.powerformer.net";
4563
4564
  var DEFAULT_CONFIG = {
4564
4565
  version: 1,
4565
4566
  api: {