@diafunc/cli 0.10.0 → 0.10.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/bin/diafunc.js +3 -3
- package/dist/{chunk-B3VUD7NV.js → chunk-4EDLP7DD.js} +2 -2
- package/dist/{chunk-B3VUD7NV.js.map → chunk-4EDLP7DD.js.map} +1 -1
- package/dist/{chunk-S2DMM6AA.js → chunk-RMW4OLRA.js} +2 -2
- package/dist/{chunk-LRRLBTWM.js → chunk-XRUDG6ZY.js} +4 -4
- package/dist/src/index.js +2 -2
- package/dist/update-check-XRMWJ753.js +8 -0
- package/package.json +1 -1
- package/dist/update-check-4RHYIJHZ.js +0 -8
- /package/dist/{chunk-S2DMM6AA.js.map → chunk-RMW4OLRA.js.map} +0 -0
- /package/dist/{chunk-LRRLBTWM.js.map → chunk-XRUDG6ZY.js.map} +0 -0
- /package/dist/{update-check-4RHYIJHZ.js.map → update-check-XRMWJ753.js.map} +0 -0
package/dist/bin/diafunc.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
createProgram
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-XRUDG6ZY.js";
|
|
5
5
|
import {
|
|
6
6
|
getUpdateNotice
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-RMW4OLRA.js";
|
|
8
8
|
import {
|
|
9
9
|
package_default
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-4EDLP7DD.js";
|
|
11
11
|
|
|
12
12
|
// bin/diafunc.ts
|
|
13
13
|
import chalk2 from "chalk";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@diafunc/cli",
|
|
4
|
-
version: "0.10.
|
|
4
|
+
version: "0.10.1",
|
|
5
5
|
description: "Diafunc CLI \u2014 command-line interface for the Diafunc platform",
|
|
6
6
|
type: "module",
|
|
7
7
|
bin: {
|
|
@@ -62,4 +62,4 @@ var package_default = {
|
|
|
62
62
|
export {
|
|
63
63
|
package_default
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=chunk-
|
|
65
|
+
//# sourceMappingURL=chunk-4EDLP7DD.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@diafunc/cli\",\n \"version\": \"0.10.
|
|
1
|
+
{"version":3,"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@diafunc/cli\",\n \"version\": \"0.10.1\",\n \"description\": \"Diafunc CLI — command-line interface for the Diafunc platform\",\n \"type\": \"module\",\n \"bin\": {\n \"diafunc\": \"./dist/bin/diafunc.js\"\n },\n \"homepage\": \"https://diafunc.com\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://gitlab.com/diafunc/cli.git\"\n },\n \"bugs\": {\n \"url\": \"https://gitlab.com/diafunc/cli/-/issues\"\n },\n \"author\": \"Markus Pollak <markus.pollak@diafunc.com>\",\n \"scripts\": {\n \"build\": \"tsup && node -e \\\"const fs=require('fs');const f='dist/bin/diafunc.js';fs.writeFileSync(f,'#!/usr/bin/env node\\\\n'+fs.readFileSync(f,'utf8'))\\\"\",\n \"dev\": \"tsup --watch\",\n \"test\": \"vitest run\",\n \"test:watch\": \"vitest\",\n \"lint\": \"tsc --noEmit\",\n \"start\": \"node dist/bin/diafunc.js\",\n \"prepublishOnly\": \"npm run lint && npm test && npm run build\"\n },\n \"files\": [\n \"dist\",\n \"LICENSE\",\n \"README.md\"\n ],\n \"keywords\": [\n \"diafunc\",\n \"cli\",\n \"data-science\",\n \"symbolic-regression\"\n ],\n \"license\": \"Apache-2.0\",\n \"publishConfig\": {\n \"access\": \"public\",\n \"registry\": \"https://registry.npmjs.org/\"\n },\n \"engines\": {\n \"node\": \">=20.0.0\"\n },\n \"dependencies\": {\n \"@inquirer/prompts\": \"^7.0.0\",\n \"chalk\": \"^5.4.0\",\n \"cli-table3\": \"^0.6.5\",\n \"commander\": \"^12.1.0\",\n \"ora\": \"^8.1.0\"\n },\n \"devDependencies\": {\n \"@types/node\": \"^22.0.0\",\n \"tsup\": \"^8.3.0\",\n \"typescript\": \"^5.6.0\",\n \"vitest\": \"^2.1.0\"\n }\n}\n"],"mappings":";AAAA;AAAA,EACE,MAAQ;AAAA,EACR,SAAW;AAAA,EACX,aAAe;AAAA,EACf,MAAQ;AAAA,EACR,KAAO;AAAA,IACL,SAAW;AAAA,EACb;AAAA,EACA,UAAY;AAAA,EACZ,YAAc;AAAA,IACZ,MAAQ;AAAA,IACR,KAAO;AAAA,EACT;AAAA,EACA,MAAQ;AAAA,IACN,KAAO;AAAA,EACT;AAAA,EACA,QAAU;AAAA,EACV,SAAW;AAAA,IACT,OAAS;AAAA,IACT,KAAO;AAAA,IACP,MAAQ;AAAA,IACR,cAAc;AAAA,IACd,MAAQ;AAAA,IACR,OAAS;AAAA,IACT,gBAAkB;AAAA,EACpB;AAAA,EACA,OAAS;AAAA,IACP;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,UAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,SAAW;AAAA,EACX,eAAiB;AAAA,IACf,QAAU;AAAA,IACV,UAAY;AAAA,EACd;AAAA,EACA,SAAW;AAAA,IACT,MAAQ;AAAA,EACV;AAAA,EACA,cAAgB;AAAA,IACd,qBAAqB;AAAA,IACrB,OAAS;AAAA,IACT,cAAc;AAAA,IACd,WAAa;AAAA,IACb,KAAO;AAAA,EACT;AAAA,EACA,iBAAmB;AAAA,IACjB,eAAe;AAAA,IACf,MAAQ;AAAA,IACR,YAAc;AAAA,IACd,QAAU;AAAA,EACZ;AACF;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
package_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4EDLP7DD.js";
|
|
4
4
|
|
|
5
5
|
// src/util/update-check.ts
|
|
6
6
|
import * as fs from "fs";
|
|
@@ -72,4 +72,4 @@ async function getUpdateNotice() {
|
|
|
72
72
|
export {
|
|
73
73
|
getUpdateNotice
|
|
74
74
|
};
|
|
75
|
-
//# sourceMappingURL=chunk-
|
|
75
|
+
//# sourceMappingURL=chunk-RMW4OLRA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
package_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4EDLP7DD.js";
|
|
4
4
|
|
|
5
5
|
// src/index.ts
|
|
6
6
|
import { Command } from "commander";
|
|
@@ -5851,7 +5851,7 @@ var HELP = [
|
|
|
5851
5851
|
];
|
|
5852
5852
|
async function runChatRepl(options) {
|
|
5853
5853
|
const { input: promptInput } = await import("@inquirer/prompts");
|
|
5854
|
-
const { getUpdateNotice } = await import("./update-check-
|
|
5854
|
+
const { getUpdateNotice } = await import("./update-check-XRMWJ753.js");
|
|
5855
5855
|
let sessionId = options.session;
|
|
5856
5856
|
let lastReportedSession;
|
|
5857
5857
|
console.log(chalk19.bold("Diafunc chat") + chalk19.dim(" \xB7 /help for commands, /quit to exit"));
|
|
@@ -8697,7 +8697,7 @@ function registerShellCommand(program) {
|
|
|
8697
8697
|
});
|
|
8698
8698
|
const api = createApiClient();
|
|
8699
8699
|
const { input: promptInput } = await import("@inquirer/prompts");
|
|
8700
|
-
const { getUpdateNotice } = await import("./update-check-
|
|
8700
|
+
const { getUpdateNotice } = await import("./update-check-XRMWJ753.js");
|
|
8701
8701
|
const resolvedLanguage = await resolveLanguage(api, fnRef.projectId, options.language);
|
|
8702
8702
|
console.log(chalk31.bold("Diafunc shell") + chalk31.dim(` \xB7 function ${fnRef.entityId} \xB7 ${resolvedLanguage}`));
|
|
8703
8703
|
console.log(chalk31.dim(`Endpoint: ${config.profiles[config.currentProfile]?.endpoint}`));
|
|
@@ -8983,4 +8983,4 @@ function createProgram() {
|
|
|
8983
8983
|
export {
|
|
8984
8984
|
createProgram
|
|
8985
8985
|
};
|
|
8986
|
-
//# sourceMappingURL=chunk-
|
|
8986
|
+
//# sourceMappingURL=chunk-XRUDG6ZY.js.map
|
package/dist/src/index.js
CHANGED
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|