@veolab/discoverylab 1.1.1 → 1.2.1
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/chunk-24VARQVO.js +7818 -0
- package/dist/chunk-2OGZX6C4.js +588 -0
- package/dist/chunk-43U6UYV7.js +590 -0
- package/dist/chunk-4H2E3K2G.js +7638 -0
- package/dist/chunk-4KLG6DDE.js +334 -0
- package/dist/chunk-4NNTRJOI.js +7791 -0
- package/dist/chunk-5F76VWME.js +6397 -0
- package/dist/chunk-5NEFN42O.js +7791 -0
- package/dist/chunk-63MEQ6UH.js +7673 -0
- package/dist/chunk-C7QUR7XX.js +6397 -0
- package/dist/chunk-GGJJUCFK.js +7160 -0
- package/dist/chunk-GLHOY3NN.js +7805 -0
- package/dist/chunk-GSWHWEYC.js +1346 -0
- package/dist/chunk-HDKEQOF5.js +7788 -0
- package/dist/chunk-HZGSWVVS.js +7111 -0
- package/dist/chunk-I6YD3QFM.js +500 -0
- package/dist/chunk-KV7KDJ43.js +7639 -0
- package/dist/chunk-L4SA5F5W.js +6397 -0
- package/dist/chunk-MJS2YKNR.js +6397 -0
- package/dist/chunk-NDBW6ELQ.js +7638 -0
- package/dist/chunk-P4S7ZY6G.js +7638 -0
- package/dist/chunk-PMTGGZ7R.js +6397 -0
- package/dist/chunk-PYUCY3U6.js +1340 -0
- package/dist/chunk-RDZDSOAL.js +7750 -0
- package/dist/chunk-SLNJEF32.js +91 -0
- package/dist/chunk-SR67SRIT.js +1336 -0
- package/dist/chunk-TAODYZ52.js +1393 -0
- package/dist/chunk-TBG76CYG.js +6395 -0
- package/dist/chunk-TJ3H23LL.js +362 -0
- package/dist/chunk-XIBF5LBD.js +6395 -0
- package/dist/chunk-XUKWS2CE.js +7805 -0
- package/dist/cli.js +6 -6
- package/dist/db-ADBEBNH6.js +35 -0
- package/dist/index.d.ts +170 -1
- package/dist/index.html +1019 -84
- package/dist/index.js +9 -7
- package/dist/playwright-ATDC4NYW.js +38 -0
- package/dist/playwright-E6EUFIJG.js +38 -0
- package/dist/playwright-R7Y5HREH.js +39 -0
- package/dist/server-2VKO76UK.js +14 -0
- package/dist/server-3BK2VFU7.js +13 -0
- package/dist/server-6IPHVUYT.js +14 -0
- package/dist/server-73P7M3QB.js +14 -0
- package/dist/server-BPVRW5LJ.js +14 -0
- package/dist/server-IOOZK4NP.js +14 -0
- package/dist/server-JG7UKFGK.js +14 -0
- package/dist/server-NPZN3FWO.js +14 -0
- package/dist/server-O5FIAHSY.js +14 -0
- package/dist/server-P27BZXBL.js +14 -0
- package/dist/server-S6B5WUBT.js +14 -0
- package/dist/server-SRYNSGSP.js +14 -0
- package/dist/server-X3TLP6DX.js +14 -0
- package/dist/server-ZBPQ33V6.js +14 -0
- package/dist/setup-AQX4JQVR.js +17 -0
- package/dist/tools-2KPB37GK.js +178 -0
- package/dist/tools-3H6IOWXV.js +178 -0
- package/dist/tools-BUVCUCRL.js +178 -0
- package/dist/tools-HDNODRS6.js +178 -0
- package/dist/tools-L6PKKQPY.js +179 -0
- package/dist/tools-N5N2IO7V.js +178 -0
- package/dist/tools-TLCKABUW.js +178 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -11,7 +11,7 @@ program.command("serve").description("Start the DiscoveryLab web UI server").opt
|
|
|
11
11
|
console.log(chalk.cyan("\n DiscoveryLab"));
|
|
12
12
|
console.log(chalk.gray(" AI-powered app testing & evidence generator\n"));
|
|
13
13
|
try {
|
|
14
|
-
const { startServer } = await import("./server-
|
|
14
|
+
const { startServer } = await import("./server-JG7UKFGK.js");
|
|
15
15
|
await startServer(port);
|
|
16
16
|
console.log(chalk.green(` Server running at http://localhost:${port}`));
|
|
17
17
|
console.log(chalk.gray(" Press Ctrl+C to stop\n"));
|
|
@@ -26,7 +26,7 @@ program.command("serve").description("Start the DiscoveryLab web UI server").opt
|
|
|
26
26
|
program.command("setup").description("Check and configure DiscoveryLab dependencies").action(async () => {
|
|
27
27
|
console.log(chalk.cyan("\n DiscoveryLab Setup\n"));
|
|
28
28
|
try {
|
|
29
|
-
const { setupStatusTool } = await import("./setup-
|
|
29
|
+
const { setupStatusTool } = await import("./setup-AQX4JQVR.js");
|
|
30
30
|
const result = await setupStatusTool.handler({});
|
|
31
31
|
if (result.isError) {
|
|
32
32
|
console.error(chalk.red(" Setup check failed"));
|
|
@@ -62,7 +62,7 @@ program.command("setup").description("Check and configure DiscoveryLab dependenc
|
|
|
62
62
|
program.command("init").description("Initialize DiscoveryLab data directories").action(async () => {
|
|
63
63
|
console.log(chalk.cyan("\n Initializing DiscoveryLab...\n"));
|
|
64
64
|
try {
|
|
65
|
-
const { getDatabase, DATA_DIR, PROJECTS_DIR, EXPORTS_DIR } = await import("./db-
|
|
65
|
+
const { getDatabase, DATA_DIR, PROJECTS_DIR, EXPORTS_DIR } = await import("./db-ADBEBNH6.js");
|
|
66
66
|
getDatabase();
|
|
67
67
|
console.log(chalk.green(" Created directories:"));
|
|
68
68
|
console.log(chalk.gray(` ${DATA_DIR}`));
|
|
@@ -108,10 +108,10 @@ program.command("install").description("Install DiscoveryLab as Claude Code MCP
|
|
|
108
108
|
});
|
|
109
109
|
program.command("mcp").description("Run as MCP server (for Claude Code integration)").action(async () => {
|
|
110
110
|
try {
|
|
111
|
-
const { getDatabase } = await import("./db-
|
|
111
|
+
const { getDatabase } = await import("./db-ADBEBNH6.js");
|
|
112
112
|
getDatabase();
|
|
113
113
|
const { mcpServer } = await import("./server-3FBHBA7L.js");
|
|
114
|
-
const { uiTools, projectTools, setupTools, captureTools, analyzeTools, canvasTools, exportTools, testingTools, integrationTools } = await import("./tools-
|
|
114
|
+
const { uiTools, projectTools, setupTools, captureTools, analyzeTools, canvasTools, exportTools, testingTools, integrationTools } = await import("./tools-N5N2IO7V.js");
|
|
115
115
|
mcpServer.registerTools([
|
|
116
116
|
...uiTools,
|
|
117
117
|
...projectTools,
|
|
@@ -134,7 +134,7 @@ program.command("info").description("Show version and configuration info").actio
|
|
|
134
134
|
console.log(chalk.gray(" AI-powered app testing & evidence generator"));
|
|
135
135
|
console.log(chalk.gray(" Claude Code Plugin\n"));
|
|
136
136
|
try {
|
|
137
|
-
const { DATA_DIR, DB_PATH } = await import("./db-
|
|
137
|
+
const { DATA_DIR, DB_PATH } = await import("./db-ADBEBNH6.js");
|
|
138
138
|
console.log(chalk.white(" Paths:"));
|
|
139
139
|
console.log(chalk.gray(` Data: ${DATA_DIR}`));
|
|
140
140
|
console.log(chalk.gray(` Database: ${DB_PATH}`));
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DATA_DIR,
|
|
3
|
+
DB_PATH,
|
|
4
|
+
EXPORTS_DIR,
|
|
5
|
+
FRAMES_DIR,
|
|
6
|
+
PROJECTS_DIR,
|
|
7
|
+
closeDatabase,
|
|
8
|
+
exportDestinations,
|
|
9
|
+
exportRules,
|
|
10
|
+
frames,
|
|
11
|
+
getDatabase,
|
|
12
|
+
getSqlite,
|
|
13
|
+
projectExports,
|
|
14
|
+
projects,
|
|
15
|
+
settings,
|
|
16
|
+
testVariables
|
|
17
|
+
} from "./chunk-TJ3H23LL.js";
|
|
18
|
+
import "./chunk-MLKGABMK.js";
|
|
19
|
+
export {
|
|
20
|
+
DATA_DIR,
|
|
21
|
+
DB_PATH,
|
|
22
|
+
EXPORTS_DIR,
|
|
23
|
+
FRAMES_DIR,
|
|
24
|
+
PROJECTS_DIR,
|
|
25
|
+
closeDatabase,
|
|
26
|
+
exportDestinations,
|
|
27
|
+
exportRules,
|
|
28
|
+
frames,
|
|
29
|
+
getDatabase,
|
|
30
|
+
getSqlite,
|
|
31
|
+
projectExports,
|
|
32
|
+
projects,
|
|
33
|
+
settings,
|
|
34
|
+
testVariables
|
|
35
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -790,6 +790,173 @@ declare const settings: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
790
790
|
};
|
|
791
791
|
dialect: "sqlite";
|
|
792
792
|
}>;
|
|
793
|
+
declare const testVariables: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
794
|
+
name: "test_variables";
|
|
795
|
+
schema: undefined;
|
|
796
|
+
columns: {
|
|
797
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
798
|
+
name: "id";
|
|
799
|
+
tableName: "test_variables";
|
|
800
|
+
dataType: "string";
|
|
801
|
+
columnType: "SQLiteText";
|
|
802
|
+
data: string;
|
|
803
|
+
driverParam: string;
|
|
804
|
+
notNull: true;
|
|
805
|
+
hasDefault: false;
|
|
806
|
+
isPrimaryKey: true;
|
|
807
|
+
isAutoincrement: false;
|
|
808
|
+
hasRuntimeDefault: false;
|
|
809
|
+
enumValues: [string, ...string[]];
|
|
810
|
+
baseColumn: never;
|
|
811
|
+
generated: undefined;
|
|
812
|
+
}, object>;
|
|
813
|
+
ownerId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
814
|
+
name: "owner_id";
|
|
815
|
+
tableName: "test_variables";
|
|
816
|
+
dataType: "string";
|
|
817
|
+
columnType: "SQLiteText";
|
|
818
|
+
data: string;
|
|
819
|
+
driverParam: string;
|
|
820
|
+
notNull: true;
|
|
821
|
+
hasDefault: false;
|
|
822
|
+
isPrimaryKey: false;
|
|
823
|
+
isAutoincrement: false;
|
|
824
|
+
hasRuntimeDefault: false;
|
|
825
|
+
enumValues: [string, ...string[]];
|
|
826
|
+
baseColumn: never;
|
|
827
|
+
generated: undefined;
|
|
828
|
+
}, object>;
|
|
829
|
+
ownerType: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
830
|
+
name: "owner_type";
|
|
831
|
+
tableName: "test_variables";
|
|
832
|
+
dataType: "string";
|
|
833
|
+
columnType: "SQLiteText";
|
|
834
|
+
data: string;
|
|
835
|
+
driverParam: string;
|
|
836
|
+
notNull: true;
|
|
837
|
+
hasDefault: false;
|
|
838
|
+
isPrimaryKey: false;
|
|
839
|
+
isAutoincrement: false;
|
|
840
|
+
hasRuntimeDefault: false;
|
|
841
|
+
enumValues: [string, ...string[]];
|
|
842
|
+
baseColumn: never;
|
|
843
|
+
generated: undefined;
|
|
844
|
+
}, object>;
|
|
845
|
+
key: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
846
|
+
name: "key";
|
|
847
|
+
tableName: "test_variables";
|
|
848
|
+
dataType: "string";
|
|
849
|
+
columnType: "SQLiteText";
|
|
850
|
+
data: string;
|
|
851
|
+
driverParam: string;
|
|
852
|
+
notNull: true;
|
|
853
|
+
hasDefault: false;
|
|
854
|
+
isPrimaryKey: false;
|
|
855
|
+
isAutoincrement: false;
|
|
856
|
+
hasRuntimeDefault: false;
|
|
857
|
+
enumValues: [string, ...string[]];
|
|
858
|
+
baseColumn: never;
|
|
859
|
+
generated: undefined;
|
|
860
|
+
}, object>;
|
|
861
|
+
valueEncrypted: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
862
|
+
name: "value_encrypted";
|
|
863
|
+
tableName: "test_variables";
|
|
864
|
+
dataType: "string";
|
|
865
|
+
columnType: "SQLiteText";
|
|
866
|
+
data: string;
|
|
867
|
+
driverParam: string;
|
|
868
|
+
notNull: true;
|
|
869
|
+
hasDefault: false;
|
|
870
|
+
isPrimaryKey: false;
|
|
871
|
+
isAutoincrement: false;
|
|
872
|
+
hasRuntimeDefault: false;
|
|
873
|
+
enumValues: [string, ...string[]];
|
|
874
|
+
baseColumn: never;
|
|
875
|
+
generated: undefined;
|
|
876
|
+
}, object>;
|
|
877
|
+
isSecret: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
878
|
+
name: "is_secret";
|
|
879
|
+
tableName: "test_variables";
|
|
880
|
+
dataType: "boolean";
|
|
881
|
+
columnType: "SQLiteBoolean";
|
|
882
|
+
data: boolean;
|
|
883
|
+
driverParam: number;
|
|
884
|
+
notNull: false;
|
|
885
|
+
hasDefault: true;
|
|
886
|
+
isPrimaryKey: false;
|
|
887
|
+
isAutoincrement: false;
|
|
888
|
+
hasRuntimeDefault: false;
|
|
889
|
+
enumValues: undefined;
|
|
890
|
+
baseColumn: never;
|
|
891
|
+
generated: undefined;
|
|
892
|
+
}, object>;
|
|
893
|
+
platform: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
894
|
+
name: "platform";
|
|
895
|
+
tableName: "test_variables";
|
|
896
|
+
dataType: "string";
|
|
897
|
+
columnType: "SQLiteText";
|
|
898
|
+
data: string;
|
|
899
|
+
driverParam: string;
|
|
900
|
+
notNull: false;
|
|
901
|
+
hasDefault: true;
|
|
902
|
+
isPrimaryKey: false;
|
|
903
|
+
isAutoincrement: false;
|
|
904
|
+
hasRuntimeDefault: false;
|
|
905
|
+
enumValues: [string, ...string[]];
|
|
906
|
+
baseColumn: never;
|
|
907
|
+
generated: undefined;
|
|
908
|
+
}, object>;
|
|
909
|
+
notes: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
910
|
+
name: "notes";
|
|
911
|
+
tableName: "test_variables";
|
|
912
|
+
dataType: "string";
|
|
913
|
+
columnType: "SQLiteText";
|
|
914
|
+
data: string;
|
|
915
|
+
driverParam: string;
|
|
916
|
+
notNull: false;
|
|
917
|
+
hasDefault: false;
|
|
918
|
+
isPrimaryKey: false;
|
|
919
|
+
isAutoincrement: false;
|
|
920
|
+
hasRuntimeDefault: false;
|
|
921
|
+
enumValues: [string, ...string[]];
|
|
922
|
+
baseColumn: never;
|
|
923
|
+
generated: undefined;
|
|
924
|
+
}, object>;
|
|
925
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
926
|
+
name: "created_at";
|
|
927
|
+
tableName: "test_variables";
|
|
928
|
+
dataType: "date";
|
|
929
|
+
columnType: "SQLiteTimestamp";
|
|
930
|
+
data: Date;
|
|
931
|
+
driverParam: number;
|
|
932
|
+
notNull: true;
|
|
933
|
+
hasDefault: false;
|
|
934
|
+
isPrimaryKey: false;
|
|
935
|
+
isAutoincrement: false;
|
|
936
|
+
hasRuntimeDefault: false;
|
|
937
|
+
enumValues: undefined;
|
|
938
|
+
baseColumn: never;
|
|
939
|
+
generated: undefined;
|
|
940
|
+
}, object>;
|
|
941
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
942
|
+
name: "updated_at";
|
|
943
|
+
tableName: "test_variables";
|
|
944
|
+
dataType: "date";
|
|
945
|
+
columnType: "SQLiteTimestamp";
|
|
946
|
+
data: Date;
|
|
947
|
+
driverParam: number;
|
|
948
|
+
notNull: true;
|
|
949
|
+
hasDefault: false;
|
|
950
|
+
isPrimaryKey: false;
|
|
951
|
+
isAutoincrement: false;
|
|
952
|
+
hasRuntimeDefault: false;
|
|
953
|
+
enumValues: undefined;
|
|
954
|
+
baseColumn: never;
|
|
955
|
+
generated: undefined;
|
|
956
|
+
}, object>;
|
|
957
|
+
};
|
|
958
|
+
dialect: "sqlite";
|
|
959
|
+
}>;
|
|
793
960
|
declare const exportDestinations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
794
961
|
name: "export_destinations";
|
|
795
962
|
schema: undefined;
|
|
@@ -1068,6 +1235,8 @@ type Frame = typeof frames.$inferSelect;
|
|
|
1068
1235
|
type NewFrame = typeof frames.$inferInsert;
|
|
1069
1236
|
type Setting = typeof settings.$inferSelect;
|
|
1070
1237
|
type NewSetting = typeof settings.$inferInsert;
|
|
1238
|
+
type TestVariable = typeof testVariables.$inferSelect;
|
|
1239
|
+
type NewTestVariable = typeof testVariables.$inferInsert;
|
|
1071
1240
|
type ExportDestination = typeof exportDestinations.$inferSelect;
|
|
1072
1241
|
type NewExportDestination = typeof exportDestinations.$inferInsert;
|
|
1073
1242
|
type ExportRule = typeof exportRules.$inferSelect;
|
|
@@ -1645,4 +1814,4 @@ declare function formatSkillInfo(skill: Skill): string;
|
|
|
1645
1814
|
*/
|
|
1646
1815
|
declare function formatSkillList(skills: Skill[]): string;
|
|
1647
1816
|
|
|
1648
|
-
export { type ActionEventPayload, type ConnectedEventPayload, type ErrorEventPayload, type ExportDestination, type ExportRule, type Frame, type GatingResult, type LiveFrameEventPayload, type LiveStreamStartParams, type LiveStreamStartResponse, type LiveStreamStopParams, type LiveStreamStopResponse, type LiveStreamTapParams, type NewExportDestination, type NewExportRule, type NewFrame, type NewProject, type NewProjectExport, type NewSetting, type ParsedSkillMd, type PingParams, type PingResponse, type Project, type ProjectCreateParams, type ProjectDeleteParams, type ProjectExport, type ProjectGetParams, type ProjectListParams, type RecorderStartParams, type RecorderStartResponse, type RecorderStatusParams, type RecorderStopParams, type RecorderStopResponse, type ScreenshotEventPayload, type SessionEventPayload, type Setting, type Skill, type SkillCategory, type SkillInstallInfo, type SkillLoadResult, type SkillMetadata, type SkillRegistry, type SkillRequirements, type StatusEventPayload, type SupportedOS, type ValidationError, type ValidationResult, type WSEvent, type WSEventMap, type WSEventType, type WSMessage, type WSMethod, type WSMethodMap, type WSRequest, type WSResponse, availableEvents, availableMethods, checkBinaries, checkBinary, checkEnvVar, checkEnvVars, checkOS, checkSkillRequirements, closeDatabase, createEvent, createRequest, createResponse, createSkillRegistry, exportDestinations, exportRules, formatSkillInfo, formatSkillList, formatValidationErrors, frames, generateSkillMd, getCurrentOS, getDatabase, getInstallInstructions, getSkillRegistry, isWSEvent, isWSMessage, isWSRequest, isWSResponse, loadSkills, mcpServer, nextEventSeq, parseSkillMd, projectExports, projects, readSkillMd, reloadSkillRegistry, resetEventSeq, schemas, settings, startServer, stopServer, validateEvent, validateMethodParams, validateRequest, validateResponse };
|
|
1817
|
+
export { type ActionEventPayload, type ConnectedEventPayload, type ErrorEventPayload, type ExportDestination, type ExportRule, type Frame, type GatingResult, type LiveFrameEventPayload, type LiveStreamStartParams, type LiveStreamStartResponse, type LiveStreamStopParams, type LiveStreamStopResponse, type LiveStreamTapParams, type NewExportDestination, type NewExportRule, type NewFrame, type NewProject, type NewProjectExport, type NewSetting, type NewTestVariable, type ParsedSkillMd, type PingParams, type PingResponse, type Project, type ProjectCreateParams, type ProjectDeleteParams, type ProjectExport, type ProjectGetParams, type ProjectListParams, type RecorderStartParams, type RecorderStartResponse, type RecorderStatusParams, type RecorderStopParams, type RecorderStopResponse, type ScreenshotEventPayload, type SessionEventPayload, type Setting, type Skill, type SkillCategory, type SkillInstallInfo, type SkillLoadResult, type SkillMetadata, type SkillRegistry, type SkillRequirements, type StatusEventPayload, type SupportedOS, type TestVariable, type ValidationError, type ValidationResult, type WSEvent, type WSEventMap, type WSEventType, type WSMessage, type WSMethod, type WSMethodMap, type WSRequest, type WSResponse, availableEvents, availableMethods, checkBinaries, checkBinary, checkEnvVar, checkEnvVars, checkOS, checkSkillRequirements, closeDatabase, createEvent, createRequest, createResponse, createSkillRegistry, exportDestinations, exportRules, formatSkillInfo, formatSkillList, formatValidationErrors, frames, generateSkillMd, getCurrentOS, getDatabase, getInstallInstructions, getSkillRegistry, isWSEvent, isWSMessage, isWSRequest, isWSResponse, loadSkills, mcpServer, nextEventSeq, parseSkillMd, projectExports, projects, readSkillMd, reloadSkillRegistry, resetEventSeq, schemas, settings, startServer, stopServer, testVariables, validateEvent, validateMethodParams, validateRequest, validateResponse };
|