@vertesia/cli 0.78.0-dev-28b447d → 0.78.0-dev.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.
Files changed (161) hide show
  1. package/lib/agent/commands.d.ts +11 -0
  2. package/lib/agent/commands.d.ts.map +1 -0
  3. package/lib/agent/commands.js +173 -0
  4. package/lib/agent/commands.js.map +1 -0
  5. package/lib/agent/connect.d.ts +7 -0
  6. package/lib/agent/connect.d.ts.map +1 -0
  7. package/lib/agent/connect.js +68 -0
  8. package/lib/agent/connect.js.map +1 -0
  9. package/lib/agent/docker-credential.d.ts +2 -0
  10. package/lib/agent/docker-credential.d.ts.map +1 -0
  11. package/lib/agent/docker-credential.js +50 -0
  12. package/lib/agent/docker-credential.js.map +1 -0
  13. package/lib/agent/docker.d.ts +10 -0
  14. package/lib/agent/docker.d.ts.map +1 -0
  15. package/lib/agent/docker.js +93 -0
  16. package/lib/agent/docker.js.map +1 -0
  17. package/lib/agent/index.d.ts +3 -0
  18. package/lib/agent/index.d.ts.map +1 -0
  19. package/lib/agent/index.js +89 -0
  20. package/lib/agent/index.js.map +1 -0
  21. package/lib/agent/project.d.ts +58 -0
  22. package/lib/agent/project.d.ts.map +1 -0
  23. package/lib/agent/project.js +148 -0
  24. package/lib/agent/project.js.map +1 -0
  25. package/lib/agent/refresh.d.ts +6 -0
  26. package/lib/agent/refresh.d.ts.map +1 -0
  27. package/lib/agent/refresh.js +47 -0
  28. package/lib/agent/refresh.js.map +1 -0
  29. package/lib/agent/registry.d.ts +7 -0
  30. package/lib/agent/registry.d.ts.map +1 -0
  31. package/lib/agent/registry.js +47 -0
  32. package/lib/agent/registry.js.map +1 -0
  33. package/lib/agent/version.d.ts +2 -0
  34. package/lib/agent/version.d.ts.map +1 -0
  35. package/lib/agent/version.js +4 -0
  36. package/lib/agent/version.js.map +1 -0
  37. package/lib/client.d.ts +4 -0
  38. package/lib/client.d.ts.map +1 -0
  39. package/lib/client.js +22 -0
  40. package/lib/client.js.map +1 -0
  41. package/lib/codegen/CodeBuilder.d.ts +16 -0
  42. package/lib/codegen/CodeBuilder.d.ts.map +1 -0
  43. package/lib/codegen/CodeBuilder.js +115 -0
  44. package/lib/codegen/CodeBuilder.js.map +1 -0
  45. package/lib/codegen/InteractionVersion.d.ts +29 -0
  46. package/lib/codegen/InteractionVersion.d.ts.map +1 -0
  47. package/lib/codegen/InteractionVersion.js +94 -0
  48. package/lib/codegen/InteractionVersion.js.map +1 -0
  49. package/lib/codegen/index.d.ts +3 -0
  50. package/lib/codegen/index.d.ts.map +1 -0
  51. package/lib/codegen/index.js +30 -0
  52. package/lib/codegen/index.js.map +1 -0
  53. package/lib/codegen/template.d.ts +3 -0
  54. package/lib/codegen/template.d.ts.map +1 -0
  55. package/lib/codegen/template.js +28 -0
  56. package/lib/codegen/template.js.map +1 -0
  57. package/lib/codegen/utils.d.ts +2 -0
  58. package/lib/codegen/utils.d.ts.map +1 -0
  59. package/lib/codegen/utils.js +4 -0
  60. package/lib/codegen/utils.js.map +1 -0
  61. package/lib/datagen/index.d.ts +3 -0
  62. package/lib/datagen/index.d.ts.map +1 -0
  63. package/lib/datagen/index.js +80 -0
  64. package/lib/datagen/index.js.map +1 -0
  65. package/lib/envs/index.d.ts +3 -0
  66. package/lib/envs/index.d.ts.map +1 -0
  67. package/lib/envs/index.js +24 -0
  68. package/lib/envs/index.js.map +1 -0
  69. package/lib/index.d.ts +2 -0
  70. package/lib/index.d.ts.map +1 -0
  71. package/lib/index.js +177 -0
  72. package/lib/index.js.map +1 -0
  73. package/lib/interactions/index.d.ts +3 -0
  74. package/lib/interactions/index.d.ts.map +1 -0
  75. package/lib/interactions/index.js +37 -0
  76. package/lib/interactions/index.js.map +1 -0
  77. package/lib/memory/index.d.ts +3 -0
  78. package/lib/memory/index.d.ts.map +1 -0
  79. package/lib/memory/index.js +15 -0
  80. package/lib/memory/index.js.map +1 -0
  81. package/lib/objects/commands.d.ts +14 -0
  82. package/lib/objects/commands.d.ts.map +1 -0
  83. package/lib/objects/commands.js +240 -0
  84. package/lib/objects/commands.js.map +1 -0
  85. package/lib/objects/index.d.ts +3 -0
  86. package/lib/objects/index.d.ts.map +1 -0
  87. package/lib/objects/index.js +37 -0
  88. package/lib/objects/index.js.map +1 -0
  89. package/lib/package.d.ts +8 -0
  90. package/lib/package.d.ts.map +1 -0
  91. package/lib/package.js +63 -0
  92. package/lib/package.js.map +1 -0
  93. package/lib/profiles/commands.d.ts +20 -0
  94. package/lib/profiles/commands.d.ts.map +1 -0
  95. package/lib/profiles/commands.js +191 -0
  96. package/lib/profiles/commands.js.map +1 -0
  97. package/lib/profiles/index.d.ts +65 -0
  98. package/lib/profiles/index.d.ts.map +1 -0
  99. package/lib/profiles/index.js +324 -0
  100. package/lib/profiles/index.js.map +1 -0
  101. package/lib/profiles/server/cors.d.ts +3 -0
  102. package/lib/profiles/server/cors.d.ts.map +1 -0
  103. package/lib/profiles/server/cors.js +18 -0
  104. package/lib/profiles/server/cors.js.map +1 -0
  105. package/lib/profiles/server/index.d.ts +12 -0
  106. package/lib/profiles/server/index.d.ts.map +1 -0
  107. package/lib/profiles/server/index.js +134 -0
  108. package/lib/profiles/server/index.js.map +1 -0
  109. package/lib/profiles/server/server.d.ts +4 -0
  110. package/lib/profiles/server/server.d.ts.map +1 -0
  111. package/lib/profiles/server/server.js +32 -0
  112. package/lib/profiles/server/server.js.map +1 -0
  113. package/lib/projects/index.d.ts +3 -0
  114. package/lib/projects/index.d.ts.map +1 -0
  115. package/lib/projects/index.js +17 -0
  116. package/lib/projects/index.js.map +1 -0
  117. package/lib/run/executor.d.ts +22 -0
  118. package/lib/run/executor.d.ts.map +1 -0
  119. package/lib/run/executor.js +182 -0
  120. package/lib/run/executor.js.map +1 -0
  121. package/lib/run/index.d.ts +3 -0
  122. package/lib/run/index.d.ts.map +1 -0
  123. package/lib/run/index.js +192 -0
  124. package/lib/run/index.js.map +1 -0
  125. package/lib/runs/index.d.ts +3 -0
  126. package/lib/runs/index.d.ts.map +1 -0
  127. package/lib/runs/index.js +48 -0
  128. package/lib/runs/index.js.map +1 -0
  129. package/lib/utils/console.d.ts +42 -0
  130. package/lib/utils/console.d.ts.map +1 -0
  131. package/lib/utils/console.js +256 -0
  132. package/lib/utils/console.js.map +1 -0
  133. package/lib/utils/stdio.d.ts +7 -0
  134. package/lib/utils/stdio.d.ts.map +1 -0
  135. package/lib/utils/stdio.js +35 -0
  136. package/lib/utils/stdio.js.map +1 -0
  137. package/lib/workflows/commands.d.ts +14 -0
  138. package/lib/workflows/commands.d.ts.map +1 -0
  139. package/lib/workflows/commands.js +232 -0
  140. package/lib/workflows/commands.js.map +1 -0
  141. package/lib/workflows/index.d.ts +3 -0
  142. package/lib/workflows/index.d.ts.map +1 -0
  143. package/lib/workflows/index.js +117 -0
  144. package/lib/workflows/index.js.map +1 -0
  145. package/lib/workflows/json-loader.d.ts +3 -0
  146. package/lib/workflows/json-loader.d.ts.map +1 -0
  147. package/lib/workflows/json-loader.js +16 -0
  148. package/lib/workflows/json-loader.js.map +1 -0
  149. package/lib/workflows/streams.d.ts +2 -0
  150. package/lib/workflows/streams.d.ts.map +1 -0
  151. package/lib/workflows/streams.js +419 -0
  152. package/lib/workflows/streams.js.map +1 -0
  153. package/lib/workflows/ts-loader.d.ts +3 -0
  154. package/lib/workflows/ts-loader.d.ts.map +1 -0
  155. package/lib/workflows/ts-loader.js +94 -0
  156. package/lib/workflows/ts-loader.js.map +1 -0
  157. package/lib/workflows/validation.d.ts +6 -0
  158. package/lib/workflows/validation.d.ts.map +1 -0
  159. package/lib/workflows/validation.js +22 -0
  160. package/lib/workflows/validation.js.map +1 -0
  161. package/package.json +71 -71
@@ -0,0 +1,94 @@
1
+ import { readFileSync, rmSync, writeFileSync } from "fs";
2
+ import { basename, resolve } from "path";
3
+ import * as ts from "typescript";
4
+ import { ValidationError, validateWorkflow } from "./validation.js";
5
+ function compile(fileNames, options) {
6
+ let program = ts.createProgram(fileNames, {
7
+ ...options,
8
+ listEmittedFiles: true,
9
+ });
10
+ let emitResult = program.emit();
11
+ let allDiagnostics = ts
12
+ .getPreEmitDiagnostics(program)
13
+ .concat(emitResult.diagnostics);
14
+ let errors = 0;
15
+ allDiagnostics.forEach(diagnostic => {
16
+ let prefix = '';
17
+ const categories = new Set();
18
+ if (diagnostic.relatedInformation && diagnostic.relatedInformation.length > 0) {
19
+ for (const ri of diagnostic.relatedInformation) {
20
+ categories.add(ri.category);
21
+ }
22
+ if (categories.has(ts.DiagnosticCategory.Error)) {
23
+ prefix: 'Error: ';
24
+ errors++;
25
+ }
26
+ else if (categories.has(ts.DiagnosticCategory.Warning)) {
27
+ prefix: 'Warning: ';
28
+ }
29
+ else if (categories.has(ts.DiagnosticCategory.Suggestion)) {
30
+ prefix: 'Suggestion: ';
31
+ }
32
+ }
33
+ if (diagnostic.file) {
34
+ let { line, character } = ts.getLineAndCharacterOfPosition(diagnostic.file, diagnostic.start);
35
+ let message = ts.flattenDiagnosticMessageText(diagnostic.messageText, "\n");
36
+ console.log(`${prefix}${diagnostic.file.fileName} (${line + 1},${character + 1}): ${message}`);
37
+ }
38
+ else {
39
+ console.log(prefix + ts.flattenDiagnosticMessageText(diagnostic.messageText, "\n"));
40
+ }
41
+ });
42
+ return {
43
+ errors,
44
+ emittedFiles: emitResult.emittedFiles
45
+ };
46
+ }
47
+ function transpileFile(source, target, options) {
48
+ const input = readFileSync(source, "utf-8");
49
+ // now simply transpile the module to javascript
50
+ const output = ts.transpileModule(input, {
51
+ compilerOptions: options
52
+ });
53
+ writeFileSync(target, output.outputText, "utf-8");
54
+ }
55
+ function tryDeleteFile(file) {
56
+ try {
57
+ rmSync(file);
58
+ }
59
+ catch (_er) {
60
+ // ignore
61
+ }
62
+ }
63
+ export function loadTsWorkflowDefinition(file, skipValidation = false) {
64
+ if (!file.endsWith('.ts')) {
65
+ throw new Error("Not a type script file: " + file);
66
+ }
67
+ file = resolve(file);
68
+ const baseOptions = {
69
+ skipLibCheck: true,
70
+ moduleResolution: ts.ModuleResolutionKind.Bundler,
71
+ module: ts.ModuleKind.ESNext,
72
+ target: ts.ScriptTarget.ESNext,
73
+ };
74
+ // we nly use compile to find errors. To generate the code we use transpileModule
75
+ // since the compile will generate js files for all the dependencies.
76
+ const result = compile([file], {
77
+ ...baseOptions,
78
+ noEmit: true
79
+ });
80
+ if (result.errors > 0) {
81
+ console.log(`Found ${result.errors} in typescript compilation. Aborting.`);
82
+ process.exit(1);
83
+ }
84
+ const fname = basename(file).slice(0, -3);
85
+ const emittedFile = resolve(`__${fname}.mjs`);
86
+ transpileFile(file, emittedFile, baseOptions);
87
+ return import(emittedFile).then(module => {
88
+ if (!module.default || typeof module.default !== "object") {
89
+ throw new ValidationError("Workflow module does not export a default object");
90
+ }
91
+ return skipValidation ? module.default : validateWorkflow(module.default);
92
+ }).finally(() => tryDeleteFile(emittedFile));
93
+ }
94
+ //# sourceMappingURL=ts-loader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ts-loader.js","sourceRoot":"","sources":["../../src/workflows/ts-loader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEpE,SAAS,OAAO,CAAC,SAAmB,EAAE,OAA2B;IAC7D,IAAI,OAAO,GAAG,EAAE,CAAC,aAAa,CAAC,SAAS,EAAE;QACtC,GAAG,OAAO;QACV,gBAAgB,EAAE,IAAI;KACI,CAAC,CAAC;IAChC,IAAI,UAAU,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;IAEhC,IAAI,cAAc,GAAG,EAAE;SAClB,qBAAqB,CAAC,OAAO,CAAC;SAC9B,MAAM,CAAC,UAAU,CAAC,WAAW,CAA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AC/B,iFAAiF;IACjF,qEAAqE;IACrE,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,IAAI,CAAC,EAAE;QAC3B,GAAG,WAAW;QACd,MAAM,EAAE,IAAI;KACf,CAAC,CAAC;IACH,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACpB,OAAO,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,MAAM,uCAAuC,CAAC,CAAC;QAC3E,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;IACD,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC1C,MAAM,WAAW,GAAG,OAAO,CAAC,KAAK,KAAK,MAAM,CAAC,CAAC;IAC9C,aAAa,CAAC,IAAI,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;IAE9C,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;QACrC,IAAI,CAAC,MAAM,CAAC,OAAO,IAAI,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ,EAAE,CAAC;YACxD,MAAM,IAAI,eAAe,CAAC,kDAAkD,CAAC,CAAC;QAClF,CAAC;QACD,OAAO,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC9E,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC;AACjD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { DSLWorkflowSpec } from "@vertesia/common";
2
+ export declare class ValidationError extends Error {
3
+ constructor(message: string);
4
+ }
5
+ export declare function validateWorkflow(spec: DSLWorkflowSpec): DSLWorkflowSpec;
6
+ //# sourceMappingURL=validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../src/workflows/validation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,qBAAa,eAAgB,SAAQ,KAAK;gBAC1B,OAAO,EAAE,MAAM;CAI9B;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,eAAe,GAAG,eAAe,CAavE"}
@@ -0,0 +1,22 @@
1
+ import { validateWorkflow as validate } from "@vertesia/workflow/vars";
2
+ export class ValidationError extends Error {
3
+ constructor(message) {
4
+ super("Invalid workflow definition: " + message);
5
+ this.name = "ValidationError";
6
+ }
7
+ }
8
+ export function validateWorkflow(spec) {
9
+ const errors = validate(spec);
10
+ if (errors && errors.length > 0) {
11
+ console.log("");
12
+ console.log("# ");
13
+ console.log("# The workflow has validation errors:");
14
+ console.log("# ");
15
+ console.log("");
16
+ console.log(errors.map((v, i) => `${i + 1}. ${v}`).join("\n"));
17
+ console.log("");
18
+ throw new ValidationError("Exiting because of validation errors.");
19
+ }
20
+ return spec;
21
+ }
22
+ //# sourceMappingURL=validation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation.js","sourceRoot":"","sources":["../../src/workflows/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,IAAI,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEvE,MAAM,OAAO,eAAgB,SAAQ,KAAK;IACtC,YAAY,OAAe;QACvB,KAAK,CAAC,+BAA+B,GAAG,OAAO,CAAC,CAAC;QACjD,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;IAClC,CAAC;CACJ;AAED,MAAM,UAAU,gBAAgB,CAAC,IAAqB;IAClD,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC9B,IAAI,MAAM,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC9B,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAChB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAClB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,CAAC;QACrD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAClB,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAChB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAC/D,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAChB,MAAM,IAAI,eAAe,CAAC,uCAAuC,CAAC,CAAC;IACvE,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC"}
package/package.json CHANGED
@@ -1,72 +1,72 @@
1
1
  {
2
- "name": "@vertesia/cli",
3
- "version": "0.78.0-dev-28b447d",
4
- "description": "The Vertesia command-line interface (CLI) provides a set of commands to manage and interact with the Vertesia Platform.",
5
- "type": "module",
6
- "bin": {
7
- "vertesia": "./bin/app.js",
8
- "docker-credential-vertesia": "./bin/docker-credential-vertesia.js"
9
- },
10
- "main": "./lib/index.js",
11
- "types": "./lib/index.d.ts",
12
- "files": [
13
- "templates",
14
- "lib",
15
- "bin"
16
- ],
17
- "license": "MIT",
18
- "homepage": "https://docs.vertesiahq.com/cli",
19
- "keywords": [
20
- "llm",
21
- "code",
22
- "generation",
23
- "interaction",
24
- "vertesia",
25
- "prompt",
26
- "ai"
27
- ],
28
- "scripts": {
29
- "eslint": "eslint './src/**/*.{jsx,js,tsx,ts}'",
30
- "build": "rm -rf ./lib ./tsconfig.tsbuildinfo && tsc --build",
31
- "clean": "rimraf ./node_modules ./lib ./tsconfig.tsbuildinfo"
32
- },
33
- "dependencies": {
34
- "@llumiverse/common": "workspace:*",
35
- "@vertesia/client": "workspace:*",
36
- "@vertesia/common": "workspace:*",
37
- "@vertesia/memory-cli": "workspace:*",
38
- "@vertesia/memory-commands": "workspace:*",
39
- "@vertesia/workflow": "workspace:*",
40
- "ansi-colors": "^4.1.3",
41
- "ansi-escapes": "^6.2.0",
42
- "boxen": "^8.0.1",
43
- "chalk": "^5.4.1",
44
- "cli-spinners": "^2.9.1",
45
- "cli-table3": "^0.6.5",
46
- "commander": "^12.1.0",
47
- "enquirer": "^2.4.1",
48
- "figures": "^6.1.0",
49
- "glob": "^11.0.0",
50
- "gradient-string": "^3.0.0",
51
- "json-schema": "^0.4.0",
52
- "json-schema-to-typescript": "^13.1.1",
53
- "jsonwebtoken": "^9.0.2",
54
- "log-symbols": "^7.0.0",
55
- "log-update": "^6.1.0",
56
- "mime": "^4.0.4",
57
- "open": "^10.1.0",
58
- "ora": "^8.2.0",
59
- "readline": "^1.3.0",
60
- "seedrandom": "^3.0.5",
61
- "signal-exit": "^4.1.0",
62
- "typescript": "^5.5.3"
63
- },
64
- "devDependencies": {
65
- "@types/jsonwebtoken": "^9.0.6"
66
- },
67
- "repository": {
68
- "type": "git",
69
- "url": "https://github.com/vertesia/composableai.git",
70
- "directory": "packages/cli"
71
- }
72
- }
2
+ "name": "@vertesia/cli",
3
+ "version": "0.78.0-dev.1",
4
+ "description": "The Vertesia command-line interface (CLI) provides a set of commands to manage and interact with the Vertesia Platform.",
5
+ "type": "module",
6
+ "bin": {
7
+ "vertesia": "./bin/app.js",
8
+ "docker-credential-vertesia": "./bin/docker-credential-vertesia.js"
9
+ },
10
+ "main": "./lib/index.js",
11
+ "types": "./lib/index.d.ts",
12
+ "files": [
13
+ "templates",
14
+ "lib",
15
+ "bin"
16
+ ],
17
+ "license": "MIT",
18
+ "homepage": "https://docs.vertesiahq.com/cli",
19
+ "keywords": [
20
+ "llm",
21
+ "code",
22
+ "generation",
23
+ "interaction",
24
+ "vertesia",
25
+ "prompt",
26
+ "ai"
27
+ ],
28
+ "dependencies": {
29
+ "ansi-colors": "^4.1.3",
30
+ "ansi-escapes": "^6.2.0",
31
+ "boxen": "^8.0.1",
32
+ "chalk": "^5.4.1",
33
+ "cli-spinners": "^2.9.1",
34
+ "cli-table3": "^0.6.5",
35
+ "commander": "^12.1.0",
36
+ "enquirer": "^2.4.1",
37
+ "figures": "^6.1.0",
38
+ "glob": "^11.0.0",
39
+ "gradient-string": "^3.0.0",
40
+ "json-schema": "^0.4.0",
41
+ "json-schema-to-typescript": "^13.1.1",
42
+ "jsonwebtoken": "^9.0.2",
43
+ "log-symbols": "^7.0.0",
44
+ "log-update": "^6.1.0",
45
+ "mime": "^4.0.4",
46
+ "open": "^10.1.0",
47
+ "ora": "^8.2.0",
48
+ "readline": "^1.3.0",
49
+ "seedrandom": "^3.0.5",
50
+ "signal-exit": "^4.1.0",
51
+ "typescript": "^5.5.3",
52
+ "@llumiverse/common": "0.22.0-dev.1",
53
+ "@vertesia/common": "0.78.0-dev.1",
54
+ "@vertesia/memory-commands": "0.78.0-dev.1",
55
+ "@vertesia/client": "0.78.0-dev.1",
56
+ "@vertesia/memory-cli": "0.78.0-dev.1",
57
+ "@vertesia/workflow": "0.78.0-dev.1"
58
+ },
59
+ "devDependencies": {
60
+ "@types/jsonwebtoken": "^9.0.6"
61
+ },
62
+ "repository": {
63
+ "type": "git",
64
+ "url": "https://github.com/vertesia/composableai.git",
65
+ "directory": "packages/cli"
66
+ },
67
+ "scripts": {
68
+ "eslint": "eslint './src/**/*.{jsx,js,tsx,ts}'",
69
+ "build": "rm -rf ./lib ./tsconfig.tsbuildinfo && tsc --build",
70
+ "clean": "rimraf ./node_modules ./lib ./tsconfig.tsbuildinfo"
71
+ }
72
+ }