@diafunc/cli 0.25.0 → 0.27.0

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/README.md CHANGED
@@ -97,6 +97,12 @@ token at the identity provider for device-code sessions.
97
97
 
98
98
  `diafunc auth status` shows the active profile, endpoint, and user.
99
99
 
100
+ Several `diafunc` processes can use one profile at the same time, for example a few
101
+ `diafunc analyze` runs being followed side by side: they renew the sign-in once between
102
+ them. When the server no longer accepts the sign-in, every command stops with a message
103
+ that says so; `diafunc auth login` signs in again. Details in
104
+ [doc/authentication.md](doc/authentication.md).
105
+
100
106
  ## Configuration
101
107
 
102
108
  Config is stored at `~/.diafunc/config.json` with 0600 permissions.
@@ -183,9 +189,9 @@ Nothing is asked when stdin or stdout is not a terminal, with `--output json`, o
183
189
  | `diafunc auth` | Login (OIDC device-code or API token), logout, status, API token management |
184
190
  | `diafunc whoami` | Show the currently authenticated user |
185
191
  | `diafunc config` | Configuration and profile management |
186
- | `diafunc project` | Project CRUD, `recent`, `update`, lock/unlock, member management |
192
+ | `diafunc project` | Project CRUD (`create`/`update` take `--licence` for a public project), `recent`, `update`, lock/unlock, member management, and `tags get/add/remove/set` for the tags Explore and the search filter by (see [doc/tags.md](./doc/tags.md)) |
187
193
  | `diafunc team` | Team management: `list`/`get`/`use`, `usage`, `create`, `portal`, `cancel`, `leave`, plus `members`, `invitations`, `seats`, `packs`, and `transfer` |
188
- | `diafunc entity` | Entity CRUD, content upload/download, history, revert |
194
+ | `diafunc entity` | Entity CRUD, content upload/download, history, revert, and `tags get/add/remove/set` (see [doc/tags.md](./doc/tags.md)) |
189
195
  | `diafunc entity-branch` | List and create parallel branches of a single entity |
190
196
  | `diafunc link` | Create and manage links between entities |
191
197
  | `diafunc event` | Create and manage events |
@@ -197,13 +203,14 @@ Nothing is asked when stdin or stdout is not a terminal, with `--output json`, o
197
203
  | `diafunc schedule` | Schedule function execution and list/stop scheduled runs |
198
204
  | `diafunc chat` | AI chat REPL (default), plus `send` / `stream` / `upload`, `usage`, and `session list/show/rename/delete` |
199
205
  | `diafunc search` | Search entities across projects; equally relevant results lead with the project whose model has the better quality, or the newest with `--sort newest` |
200
- | `diafunc analyze` | Run an automatic analysis on a data file and follow it live (interactive when run from a terminal), plus `list`, `get`, `watch`, `open`, `runs`, `cancel`, `upload`, `stop-import`, `presets`, `triggers` (see [doc/analyze.md](./doc/analyze.md)) |
201
- | `diafunc public` | Read the analyses their owners made public, without signing in: `list` (paged, `--all`, `--changed-since`) and `show` (see [doc/public.md](./doc/public.md)) |
206
+ | `diafunc analyze` | Run an automatic analysis on a data file and follow it live (interactive when run from a terminal), plus `list`, `get`, `watch`, `open`, `runs`, `cancel`, `upload`, `stop-import`, `visibility` (`--licence` to publish), `presets`, `triggers` (see [doc/analyze.md](./doc/analyze.md)) |
207
+ | `diafunc public` | Read the analyses their owners made public, without signing in: `list` (paged, `--all`, `--changed-since`, with each one's licence) and `show` (see [doc/public.md](./doc/public.md)) |
208
+ | `diafunc licence` | The licences a public project can be published under, without signing in: `list` and `show`; `project create`, `analyze` and `analyze visibility` take `--licence <id>` (see [doc/licences.md](./doc/licences.md)) |
202
209
  | `diafunc subscription` | View your current and upcoming subscription, plus available plans |
203
210
  | `diafunc invoice` | List and download invoices |
204
211
  | `diafunc utilization` | Show current credit utilization, and with `history` what each day of the billing cycle cost |
205
212
  | `diafunc status` | Platform health: summary, per-component status, incidents |
206
- | `diafunc admin` | User management, subscription, settings, platform settings, backups, index rebuild, permission inspection |
213
+ | `diafunc admin` | User management, subscription, settings, platform settings, backups, index rebuild, permission inspection, and `curated-tags list/create/update/delete` for Explore's data-domain filter (see [doc/tags.md](./doc/tags.md)) |
207
214
  | `diafunc completion` | Generate shell completions |
208
215
 
209
216
  Run `diafunc <command> --help` for detailed usage of any command.
@@ -4,13 +4,13 @@ import {
4
4
  PromptCancelled,
5
5
  createProgram,
6
6
  handleError
7
- } from "../chunk-RJM7OBRF.js";
7
+ } from "../chunk-HYUMMSA2.js";
8
8
  import {
9
9
  getUpdateNotice
10
- } from "../chunk-2RII4SNX.js";
10
+ } from "../chunk-ZM4QVYYB.js";
11
11
  import {
12
12
  package_default
13
- } from "../chunk-DOVJKPLM.js";
13
+ } from "../chunk-GNSV63PW.js";
14
14
 
15
15
  // bin/diafunc.ts
16
16
  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.25.0",
4
+ version: "0.27.0",
5
5
  description: "Diafunc CLI: the 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-DOVJKPLM.js.map
65
+ //# sourceMappingURL=chunk-GNSV63PW.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@diafunc/cli\",\n \"version\": \"0.25.0\",\n \"description\": \"Diafunc CLI: the 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
+ {"version":3,"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@diafunc/cli\",\n \"version\": \"0.27.0\",\n \"description\": \"Diafunc CLI: the 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":[]}