eitri-cli 1.27.1 → 1.28.0-beta.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/.vscode/settings.json +1 -0
- package/eitri-cli-v2/Cargo.toml +1 -0
- package/eitri-cli-v2/config/config.dev.toml +4 -0
- package/eitri-cli-v2/config/config.loc.toml +4 -0
- package/eitri-cli-v2/config/config.prod.toml +4 -0
- package/eitri-cli-v2/config/config.test.toml +4 -0
- package/eitri-cli-v2/eitri-cli-v2.darwin-arm64.node +0 -0
- package/eitri-cli-v2/eitri-cli-v2.darwin-x64.node +0 -0
- package/eitri-cli-v2/eitri-cli-v2.linux-x64-gnu.node +0 -0
- package/eitri-cli-v2/eitri-cli-v2.win32-x64-msvc.node +0 -0
- package/eitri-cli-v2/index.d.ts +1 -0
- package/eitri-cli-v2/index.js +2 -1
- package/index.js +10 -0
- package/package.json +1 -1
package/.vscode/settings.json
CHANGED
package/eitri-cli-v2/Cargo.toml
CHANGED
|
@@ -78,3 +78,7 @@ commons_get_version = "/eitri-commons/versions/index.json"
|
|
|
78
78
|
url = "https://cdn.83io.com.br/library"
|
|
79
79
|
bifrost_versions = "/eitri-bifrost/versions/index.json"
|
|
80
80
|
luminus_ui_versions = "/luminus-ui/versions/index.json"
|
|
81
|
+
|
|
82
|
+
[eitri_gpt]
|
|
83
|
+
url = "https://api.eitri.tech"
|
|
84
|
+
gpt_path = "/eitri-gpt-api/gpt"
|
|
@@ -79,3 +79,7 @@ commons_get_version = "/eitri-commons/versions/index.json"
|
|
|
79
79
|
url = "https://cdn.83io.com.br/library"
|
|
80
80
|
bifrost_versions = "/eitri-bifrost/versions/index.json"
|
|
81
81
|
luminus_ui_versions = "/luminus-ui/versions/index.json"
|
|
82
|
+
|
|
83
|
+
[eitri_gpt]
|
|
84
|
+
url = "https://api.eitri.tech"
|
|
85
|
+
gpt_path = "/eitri-gpt-api/gpt"
|
|
@@ -74,3 +74,7 @@ commons_get_version = "/eitri-commons/versions/index.json"
|
|
|
74
74
|
url = "https://cdn.83io.com.br/library"
|
|
75
75
|
bifrost_versions = "/eitri-bifrost/versions/index.json"
|
|
76
76
|
luminus_ui_versions = "/luminus-ui/versions/index.json"
|
|
77
|
+
|
|
78
|
+
[eitri_gpt]
|
|
79
|
+
url = "https://api.eitri.tech"
|
|
80
|
+
gpt_path = "/eitri-gpt-api/gpt"
|
|
@@ -79,3 +79,7 @@ url = "https://cdn.83io.com.br/library"
|
|
|
79
79
|
bifrost_versions = "/eitri-bifrost/versions/index.json"
|
|
80
80
|
luminus_ui_versions = "/luminus-ui/versions/index.json"
|
|
81
81
|
commons_get_version = "/eitri-commons/versions/index.json"
|
|
82
|
+
|
|
83
|
+
[eitri_gpt]
|
|
84
|
+
url = "https://api.eitri.tech"
|
|
85
|
+
gpt_path = "/eitri-gpt-api/gpt"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/eitri-cli-v2/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export declare function doctor(): Promise<void>
|
|
|
25
25
|
export declare function start(args: StartArguments): Promise<void>
|
|
26
26
|
export declare function create(args: CreateArguments): Promise<void>
|
|
27
27
|
export declare function updateChecker(): void
|
|
28
|
+
export declare function gpt(): Promise<void>
|
|
28
29
|
export declare function connectionCheck(): Promise<void>
|
|
29
30
|
export declare namespace app {
|
|
30
31
|
export function start(args: StartArguments): Promise<void>
|
package/eitri-cli-v2/index.js
CHANGED
|
@@ -310,7 +310,7 @@ if (!nativeBinding) {
|
|
|
310
310
|
throw new Error(`Failed to load native binding`)
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
const { publish, runTest, eitriLibs, doctor, start, create, updateChecker, connectionCheck, app, workspace } = nativeBinding
|
|
313
|
+
const { publish, runTest, eitriLibs, doctor, start, create, updateChecker, gpt, connectionCheck, app, workspace } = nativeBinding
|
|
314
314
|
|
|
315
315
|
module.exports.publish = publish
|
|
316
316
|
module.exports.runTest = runTest
|
|
@@ -319,6 +319,7 @@ module.exports.doctor = doctor
|
|
|
319
319
|
module.exports.start = start
|
|
320
320
|
module.exports.create = create
|
|
321
321
|
module.exports.updateChecker = updateChecker
|
|
322
|
+
module.exports.gpt = gpt
|
|
322
323
|
module.exports.connectionCheck = connectionCheck
|
|
323
324
|
module.exports.app = app
|
|
324
325
|
module.exports.workspace = workspace
|
package/index.js
CHANGED
|
@@ -218,6 +218,16 @@ const run = async () => {
|
|
|
218
218
|
return require("./src/cmd/runTests")(cmdObj);
|
|
219
219
|
});
|
|
220
220
|
|
|
221
|
+
program
|
|
222
|
+
.command("gpt")
|
|
223
|
+
.description(
|
|
224
|
+
"Fornece um prompt para geração de Views com o Eitri-GPT."
|
|
225
|
+
)
|
|
226
|
+
.action(async (cmdObj) => {
|
|
227
|
+
const eitriCLIV2 = require("./eitri-cli-v2/index.js");
|
|
228
|
+
return await eitriCLIV2.gpt();
|
|
229
|
+
});
|
|
230
|
+
|
|
221
231
|
program.addCommand(VegvisirCommand());
|
|
222
232
|
program.addCommand(AppCommand());
|
|
223
233
|
|