@diafunc/cli 0.31.2 → 0.32.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/README.md +3 -0
- package/dist/bin/diafunc.js +3 -3
- package/dist/{chunk-U554YXJR.js → chunk-J3ZSLT24.js} +2 -2
- package/dist/{chunk-FP3ZMLXZ.js → chunk-MRKZZ4XD.js} +1339 -428
- package/dist/chunk-MRKZZ4XD.js.map +1 -0
- package/dist/{chunk-2BL23GQZ.js → chunk-QALKS4CY.js} +2 -2
- package/dist/{chunk-2BL23GQZ.js.map → chunk-QALKS4CY.js.map} +1 -1
- package/dist/src/index.js +2 -2
- package/dist/update-check-R7B2D7VX.js +8 -0
- package/package.json +1 -1
- package/dist/chunk-FP3ZMLXZ.js.map +0 -1
- package/dist/update-check-WNT76O6I.js +0 -8
- /package/dist/{chunk-U554YXJR.js.map → chunk-J3ZSLT24.js.map} +0 -0
- /package/dist/{update-check-WNT76O6I.js.map → update-check-R7B2D7VX.js.map} +0 -0
package/README.md
CHANGED
|
@@ -214,6 +214,7 @@ Nothing is asked when stdin or stdout is not a terminal, with `--output json`, o
|
|
|
214
214
|
| `diafunc chat` | AI chat REPL (default), plus `send` / `stream` / `upload`, `usage`, and `session list/show/rename/delete` |
|
|
215
215
|
| `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` |
|
|
216
216
|
| `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`, `report` (the report as Markdown), `export-model` (the model as code or a formula), `runs`, `cancel`, `upload`, `stop-import`, `visibility` (`--license` to publish), `presets`, `triggers`, and your private notes with `intent` (read into proposals that apply only when you confirm them), `expectations`, `charts` and `focus` (see [doc/analyze.md](./doc/analyze.md)) |
|
|
217
|
+
| `diafunc deployment` | Serve a finished analysis's model as a predict endpoint: `list`, `get`, `create`, `delete`, `predict` (one row with `--input`, or a CSV file with `--file`; every prediction costs 0.001 credits), `outcomes` (record the values that came true), `monitor`, `set`, `serve-newest` and `delete-prediction` (see [doc/deployments.md](./doc/deployments.md)) |
|
|
217
218
|
| `diafunc public` | Read the analyses their owners made public, without signing in: `list` (paged, `--all`, `--changed-since`, with each one's license) and `show` (see [doc/public.md](./doc/public.md)) |
|
|
218
219
|
| `diafunc license` | The licenses a public project can be published under, without signing in: `list` and `show`; `project create`, `analyze` and `analyze visibility` take `--license <id>` (see [doc/licenses.md](./doc/licenses.md)) |
|
|
219
220
|
| `diafunc subscription` | View your current and upcoming subscription, plus available plans |
|
|
@@ -266,6 +267,8 @@ Configure the `@diafunc/cli` package as a trusted publisher on npm:
|
|
|
266
267
|
|
|
267
268
|
The first publish must be done manually (run `npm publish` locally) to create the package on npm; after that, all subsequent publishes happen via CI.
|
|
268
269
|
|
|
270
|
+
The `publish` job runs on a GitLab.com shared runner (`saas-linux-small-amd64`), never on the self-hosted T420 runner. npm accepts trusted publishing from GitLab.com shared runners only, and refuses a self-hosted runner's token with `ENEEDAUTH`.
|
|
271
|
+
|
|
269
272
|
### Cutting a release
|
|
270
273
|
|
|
271
274
|
**Option A, from the terminal:**
|
package/dist/bin/diafunc.js
CHANGED
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
PromptCanceled,
|
|
5
5
|
createProgram,
|
|
6
6
|
handleError
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-MRKZZ4XD.js";
|
|
8
8
|
import {
|
|
9
9
|
getUpdateNotice
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-J3ZSLT24.js";
|
|
11
11
|
import {
|
|
12
12
|
package_default
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-QALKS4CY.js";
|
|
14
14
|
|
|
15
15
|
// bin/diafunc.ts
|
|
16
16
|
import chalk2 from "chalk";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
package_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QALKS4CY.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-J3ZSLT24.js.map
|