intellitester 0.2.0 → 0.2.11

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
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkEPW5ZHXG_cjs = require('./chunk-EPW5ZHXG.cjs');
3
+ var chunkZWHIDROO_cjs = require('./chunk-ZWHIDROO.cjs');
4
4
  require('./chunk-ARJYJVRM.cjs');
5
5
  require('./chunk-QMYM2TCH.cjs');
6
6
  require('./chunk-PAKODOH4.cjs');
@@ -12,103 +12,111 @@ require('./chunk-35WJGNDA.cjs');
12
12
 
13
13
  Object.defineProperty(exports, "ActionSchema", {
14
14
  enumerable: true,
15
- get: function () { return chunkEPW5ZHXG_cjs.ActionSchema; }
15
+ get: function () { return chunkZWHIDROO_cjs.ActionSchema; }
16
16
  });
17
17
  Object.defineProperty(exports, "IntellitesterConfigSchema", {
18
18
  enumerable: true,
19
- get: function () { return chunkEPW5ZHXG_cjs.IntellitesterConfigSchema; }
19
+ get: function () { return chunkZWHIDROO_cjs.IntellitesterConfigSchema; }
20
20
  });
21
21
  Object.defineProperty(exports, "LocatorSchema", {
22
22
  enumerable: true,
23
- get: function () { return chunkEPW5ZHXG_cjs.LocatorSchema; }
23
+ get: function () { return chunkZWHIDROO_cjs.LocatorSchema; }
24
24
  });
25
25
  Object.defineProperty(exports, "TestConfigSchema", {
26
26
  enumerable: true,
27
- get: function () { return chunkEPW5ZHXG_cjs.TestConfigSchema; }
27
+ get: function () { return chunkZWHIDROO_cjs.TestConfigSchema; }
28
28
  });
29
29
  Object.defineProperty(exports, "TestDefinitionSchema", {
30
30
  enumerable: true,
31
- get: function () { return chunkEPW5ZHXG_cjs.TestDefinitionSchema; }
31
+ get: function () { return chunkZWHIDROO_cjs.TestDefinitionSchema; }
32
32
  });
33
33
  Object.defineProperty(exports, "cleanupConfigSchema", {
34
34
  enumerable: true,
35
- get: function () { return chunkEPW5ZHXG_cjs.cleanupConfigSchema; }
35
+ get: function () { return chunkZWHIDROO_cjs.cleanupConfigSchema; }
36
36
  });
37
37
  Object.defineProperty(exports, "cleanupDiscoverSchema", {
38
38
  enumerable: true,
39
- get: function () { return chunkEPW5ZHXG_cjs.cleanupDiscoverSchema; }
39
+ get: function () { return chunkZWHIDROO_cjs.cleanupDiscoverSchema; }
40
40
  });
41
41
  Object.defineProperty(exports, "collectMissingEnvVars", {
42
42
  enumerable: true,
43
- get: function () { return chunkEPW5ZHXG_cjs.collectMissingEnvVars; }
43
+ get: function () { return chunkZWHIDROO_cjs.collectMissingEnvVars; }
44
+ });
45
+ Object.defineProperty(exports, "isPipelineContent", {
46
+ enumerable: true,
47
+ get: function () { return chunkZWHIDROO_cjs.isPipelineContent; }
44
48
  });
45
49
  Object.defineProperty(exports, "isPipelineFile", {
46
50
  enumerable: true,
47
- get: function () { return chunkEPW5ZHXG_cjs.isPipelineFile; }
51
+ get: function () { return chunkZWHIDROO_cjs.isPipelineFile; }
52
+ });
53
+ Object.defineProperty(exports, "isWorkflowContent", {
54
+ enumerable: true,
55
+ get: function () { return chunkZWHIDROO_cjs.isWorkflowContent; }
48
56
  });
49
57
  Object.defineProperty(exports, "isWorkflowFile", {
50
58
  enumerable: true,
51
- get: function () { return chunkEPW5ZHXG_cjs.isWorkflowFile; }
59
+ get: function () { return chunkZWHIDROO_cjs.isWorkflowFile; }
52
60
  });
53
61
  Object.defineProperty(exports, "killServer", {
54
62
  enumerable: true,
55
- get: function () { return chunkEPW5ZHXG_cjs.killServer; }
63
+ get: function () { return chunkZWHIDROO_cjs.killServer; }
56
64
  });
57
65
  Object.defineProperty(exports, "loadIntellitesterConfig", {
58
66
  enumerable: true,
59
- get: function () { return chunkEPW5ZHXG_cjs.loadIntellitesterConfig; }
67
+ get: function () { return chunkZWHIDROO_cjs.loadIntellitesterConfig; }
60
68
  });
61
69
  Object.defineProperty(exports, "loadPipelineDefinition", {
62
70
  enumerable: true,
63
- get: function () { return chunkEPW5ZHXG_cjs.loadPipelineDefinition; }
71
+ get: function () { return chunkZWHIDROO_cjs.loadPipelineDefinition; }
64
72
  });
65
73
  Object.defineProperty(exports, "loadTestDefinition", {
66
74
  enumerable: true,
67
- get: function () { return chunkEPW5ZHXG_cjs.loadTestDefinition; }
75
+ get: function () { return chunkZWHIDROO_cjs.loadTestDefinition; }
68
76
  });
69
77
  Object.defineProperty(exports, "loadWorkflowDefinition", {
70
78
  enumerable: true,
71
- get: function () { return chunkEPW5ZHXG_cjs.loadWorkflowDefinition; }
79
+ get: function () { return chunkZWHIDROO_cjs.loadWorkflowDefinition; }
72
80
  });
73
81
  Object.defineProperty(exports, "parseIntellitesterConfig", {
74
82
  enumerable: true,
75
- get: function () { return chunkEPW5ZHXG_cjs.parseIntellitesterConfig; }
83
+ get: function () { return chunkZWHIDROO_cjs.parseIntellitesterConfig; }
76
84
  });
77
85
  Object.defineProperty(exports, "parsePipelineDefinition", {
78
86
  enumerable: true,
79
- get: function () { return chunkEPW5ZHXG_cjs.parsePipelineDefinition; }
87
+ get: function () { return chunkZWHIDROO_cjs.parsePipelineDefinition; }
80
88
  });
81
89
  Object.defineProperty(exports, "parseTestDefinition", {
82
90
  enumerable: true,
83
- get: function () { return chunkEPW5ZHXG_cjs.parseTestDefinition; }
91
+ get: function () { return chunkZWHIDROO_cjs.parseTestDefinition; }
84
92
  });
85
93
  Object.defineProperty(exports, "parseWorkflowDefinition", {
86
94
  enumerable: true,
87
- get: function () { return chunkEPW5ZHXG_cjs.parseWorkflowDefinition; }
95
+ get: function () { return chunkZWHIDROO_cjs.parseWorkflowDefinition; }
88
96
  });
89
97
  Object.defineProperty(exports, "previewConfigSchema", {
90
98
  enumerable: true,
91
- get: function () { return chunkEPW5ZHXG_cjs.previewConfigSchema; }
99
+ get: function () { return chunkZWHIDROO_cjs.previewConfigSchema; }
92
100
  });
93
101
  Object.defineProperty(exports, "runWebTest", {
94
102
  enumerable: true,
95
- get: function () { return chunkEPW5ZHXG_cjs.runWebTest; }
103
+ get: function () { return chunkZWHIDROO_cjs.runWebTest; }
96
104
  });
97
105
  Object.defineProperty(exports, "runWorkflow", {
98
106
  enumerable: true,
99
- get: function () { return chunkEPW5ZHXG_cjs.runWorkflow; }
107
+ get: function () { return chunkZWHIDROO_cjs.runWorkflow; }
100
108
  });
101
109
  Object.defineProperty(exports, "runWorkflowWithContext", {
102
110
  enumerable: true,
103
- get: function () { return chunkEPW5ZHXG_cjs.runWorkflowWithContext; }
111
+ get: function () { return chunkZWHIDROO_cjs.runWorkflowWithContext; }
104
112
  });
105
113
  Object.defineProperty(exports, "setupAppwriteTracking", {
106
114
  enumerable: true,
107
- get: function () { return chunkEPW5ZHXG_cjs.setupAppwriteTracking; }
115
+ get: function () { return chunkZWHIDROO_cjs.setupAppwriteTracking; }
108
116
  });
109
117
  Object.defineProperty(exports, "startWebServer", {
110
118
  enumerable: true,
111
- get: function () { return chunkEPW5ZHXG_cjs.startWebServer; }
119
+ get: function () { return chunkZWHIDROO_cjs.startWebServer; }
112
120
  });
113
121
  //# sourceMappingURL=index.cjs.map
114
122
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.cts CHANGED
@@ -869,5 +869,13 @@ declare const loadPipelineDefinition: (filePath: string) => Promise<PipelineDefi
869
869
  * but not defined in the process environment.
870
870
  */
871
871
  declare const collectMissingEnvVars: (obj: unknown) => string[];
872
+ /**
873
+ * Detect if YAML content is a workflow by checking for 'tests' array.
874
+ */
875
+ declare const isWorkflowContent: (content: string) => boolean;
876
+ /**
877
+ * Detect if YAML content is a pipeline by checking for 'workflows' array.
878
+ */
879
+ declare const isPipelineContent: (content: string) => boolean;
872
880
 
873
- export { type Action, ActionSchema, type BrowserName, type CleanupConfig, type ExecutionContext, type IntellitesterConfig, IntellitesterConfigSchema, type Locator, LocatorSchema, type PipelineAppwriteConfig, type PipelineCleanupConfig, type PipelineConfig, type PipelineDefinition, type PipelineResult, type PipelineWebConfig, type PipelineWebServerConfig, type PipelineWorkflowResult, type PreviewConfig, type StepResult, type TestConfig, TestConfigSchema, type TestDefinition, TestDefinitionSchema, type WebRunOptions, type WebRunResult, type WebServer, type WebServerConfig, type WorkflowDefinition, type WorkflowOptions, type WorkflowReference, type WorkflowResult, type WorkflowTestResult, type WorkflowWithContextOptions, type WorkflowWithContextResult, cleanupConfigSchema, cleanupDiscoverSchema, collectMissingEnvVars, isPipelineFile, isWorkflowFile, killServer, loadIntellitesterConfig, loadPipelineDefinition, loadTestDefinition, loadWorkflowDefinition, parseIntellitesterConfig, parsePipelineDefinition, parseTestDefinition, parseWorkflowDefinition, previewConfigSchema, runWebTest, runWorkflow, runWorkflowWithContext, setupAppwriteTracking, startWebServer };
881
+ export { type Action, ActionSchema, type BrowserName, type CleanupConfig, type ExecutionContext, type IntellitesterConfig, IntellitesterConfigSchema, type Locator, LocatorSchema, type PipelineAppwriteConfig, type PipelineCleanupConfig, type PipelineConfig, type PipelineDefinition, type PipelineResult, type PipelineWebConfig, type PipelineWebServerConfig, type PipelineWorkflowResult, type PreviewConfig, type StepResult, type TestConfig, TestConfigSchema, type TestDefinition, TestDefinitionSchema, type WebRunOptions, type WebRunResult, type WebServer, type WebServerConfig, type WorkflowDefinition, type WorkflowOptions, type WorkflowReference, type WorkflowResult, type WorkflowTestResult, type WorkflowWithContextOptions, type WorkflowWithContextResult, cleanupConfigSchema, cleanupDiscoverSchema, collectMissingEnvVars, isPipelineContent, isPipelineFile, isWorkflowContent, isWorkflowFile, killServer, loadIntellitesterConfig, loadPipelineDefinition, loadTestDefinition, loadWorkflowDefinition, parseIntellitesterConfig, parsePipelineDefinition, parseTestDefinition, parseWorkflowDefinition, previewConfigSchema, runWebTest, runWorkflow, runWorkflowWithContext, setupAppwriteTracking, startWebServer };
package/dist/index.d.ts CHANGED
@@ -869,5 +869,13 @@ declare const loadPipelineDefinition: (filePath: string) => Promise<PipelineDefi
869
869
  * but not defined in the process environment.
870
870
  */
871
871
  declare const collectMissingEnvVars: (obj: unknown) => string[];
872
+ /**
873
+ * Detect if YAML content is a workflow by checking for 'tests' array.
874
+ */
875
+ declare const isWorkflowContent: (content: string) => boolean;
876
+ /**
877
+ * Detect if YAML content is a pipeline by checking for 'workflows' array.
878
+ */
879
+ declare const isPipelineContent: (content: string) => boolean;
872
880
 
873
- export { type Action, ActionSchema, type BrowserName, type CleanupConfig, type ExecutionContext, type IntellitesterConfig, IntellitesterConfigSchema, type Locator, LocatorSchema, type PipelineAppwriteConfig, type PipelineCleanupConfig, type PipelineConfig, type PipelineDefinition, type PipelineResult, type PipelineWebConfig, type PipelineWebServerConfig, type PipelineWorkflowResult, type PreviewConfig, type StepResult, type TestConfig, TestConfigSchema, type TestDefinition, TestDefinitionSchema, type WebRunOptions, type WebRunResult, type WebServer, type WebServerConfig, type WorkflowDefinition, type WorkflowOptions, type WorkflowReference, type WorkflowResult, type WorkflowTestResult, type WorkflowWithContextOptions, type WorkflowWithContextResult, cleanupConfigSchema, cleanupDiscoverSchema, collectMissingEnvVars, isPipelineFile, isWorkflowFile, killServer, loadIntellitesterConfig, loadPipelineDefinition, loadTestDefinition, loadWorkflowDefinition, parseIntellitesterConfig, parsePipelineDefinition, parseTestDefinition, parseWorkflowDefinition, previewConfigSchema, runWebTest, runWorkflow, runWorkflowWithContext, setupAppwriteTracking, startWebServer };
881
+ export { type Action, ActionSchema, type BrowserName, type CleanupConfig, type ExecutionContext, type IntellitesterConfig, IntellitesterConfigSchema, type Locator, LocatorSchema, type PipelineAppwriteConfig, type PipelineCleanupConfig, type PipelineConfig, type PipelineDefinition, type PipelineResult, type PipelineWebConfig, type PipelineWebServerConfig, type PipelineWorkflowResult, type PreviewConfig, type StepResult, type TestConfig, TestConfigSchema, type TestDefinition, TestDefinitionSchema, type WebRunOptions, type WebRunResult, type WebServer, type WebServerConfig, type WorkflowDefinition, type WorkflowOptions, type WorkflowReference, type WorkflowResult, type WorkflowTestResult, type WorkflowWithContextOptions, type WorkflowWithContextResult, cleanupConfigSchema, cleanupDiscoverSchema, collectMissingEnvVars, isPipelineContent, isPipelineFile, isWorkflowContent, isWorkflowFile, killServer, loadIntellitesterConfig, loadPipelineDefinition, loadTestDefinition, loadWorkflowDefinition, parseIntellitesterConfig, parsePipelineDefinition, parseTestDefinition, parseWorkflowDefinition, previewConfigSchema, runWebTest, runWorkflow, runWorkflowWithContext, setupAppwriteTracking, startWebServer };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { ActionSchema, IntellitesterConfigSchema, LocatorSchema, TestConfigSchema, TestDefinitionSchema, cleanupConfigSchema, cleanupDiscoverSchema, collectMissingEnvVars, isPipelineFile, isWorkflowFile, killServer, loadIntellitesterConfig, loadPipelineDefinition, loadTestDefinition, loadWorkflowDefinition, parseIntellitesterConfig, parsePipelineDefinition, parseTestDefinition, parseWorkflowDefinition, previewConfigSchema, runWebTest, runWorkflow, runWorkflowWithContext, setupAppwriteTracking, startWebServer } from './chunk-2BKGKVFM.js';
1
+ export { ActionSchema, IntellitesterConfigSchema, LocatorSchema, TestConfigSchema, TestDefinitionSchema, cleanupConfigSchema, cleanupDiscoverSchema, collectMissingEnvVars, isPipelineContent, isPipelineFile, isWorkflowContent, isWorkflowFile, killServer, loadIntellitesterConfig, loadPipelineDefinition, loadTestDefinition, loadWorkflowDefinition, parseIntellitesterConfig, parsePipelineDefinition, parseTestDefinition, parseWorkflowDefinition, previewConfigSchema, runWebTest, runWorkflow, runWorkflowWithContext, setupAppwriteTracking, startWebServer } from './chunk-VOGZ7IFW.js';
2
2
  import './chunk-ECBA4GJ3.js';
3
3
  import './chunk-DE5UFTTG.js';
4
4
  import './chunk-6PYKWWH5.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intellitester",
3
- "version": "0.2.0",
3
+ "version": "0.2.11",
4
4
  "description": "Uses AI + iOS or Android emulators / web browsers to create automated test suites using simple instructions",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -82,11 +82,13 @@
82
82
  "glob": "^13.0.0",
83
83
  "llamaindex": "^0.12.1",
84
84
  "node-appwrite": "^21.0.0",
85
- "playwright": "^1.57.0",
86
85
  "prompts": "^2.4.2",
87
86
  "yaml": "^2.8.2",
88
87
  "zod": "^4.1.13"
89
88
  },
89
+ "peerDependencies": {
90
+ "playwright": "*"
91
+ },
90
92
  "devDependencies": {
91
93
  "@types/node": "^25.0.2",
92
94
  "@types/prompts": "^2.4.9",