tines 0.0.279 → 0.0.281
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 +12 -8
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,7 +27,9 @@ tines config # what is in effect, and fro
|
|
|
27
27
|
|
|
28
28
|
The URL defaults to `https://tines.tbuckley.dev`. Or set `TINES_API_URL` and `TINES_API_KEY`
|
|
29
29
|
in the environment — that is how agent runs are configured, and the env vars win over the
|
|
30
|
-
stored config. `--url` and `--api-key`
|
|
30
|
+
stored config. On commands that talk to the API, `--url` and `--api-key` win over both. The
|
|
31
|
+
local-only `logout`, `runner restart`, `runner uninstall`, `runner workspaces`, and
|
|
32
|
+
`runner workspaces prune` commands take no `--url`.
|
|
31
33
|
|
|
32
34
|
## Everyday commands
|
|
33
35
|
|
|
@@ -58,13 +60,15 @@ tines issues list --all --show-duplicates --all-pages --json
|
|
|
58
60
|
```
|
|
59
61
|
|
|
60
62
|
Issues are addressed as `<project>/<number>`; schedules as `<project>/<name>`; workflow
|
|
61
|
-
states as `<workflow>/<state>`.
|
|
62
|
-
for the whole list
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
63
|
+
states as `<workflow>/<state>`. Paginated `list` commands return one page — add
|
|
64
|
+
`--all-pages` for the whole list. Four lists instead return the whole collection and take no
|
|
65
|
+
pagination flags: `labels list`, `runners list`, `routing list`, and
|
|
66
|
+
`issues artifacts list`. Every leaf command except `login` and `logout` takes `--json` for
|
|
67
|
+
machine-readable output. Complete list walks have a default 10,000-item safety ceiling. Use
|
|
68
|
+
`--max-items <n>` with `--all-pages` to choose a different positive finite bound; exceeding
|
|
69
|
+
it fails without printing a partial result. `--limit` remains the per-request page size. A
|
|
70
|
+
larger bound keeps more output in memory and makes more requests, so increase it deliberately
|
|
71
|
+
or narrow the list's filters.
|
|
68
72
|
`tines <noun> --help` lists the rest: `workflows`, `context`, `journal`, `schedules`,
|
|
69
73
|
`runners`, `runs`, `routing`, `supervisor`.
|
|
70
74
|
|
package/dist/index.js
CHANGED
|
@@ -3415,7 +3415,10 @@ function runRefLabel(run3) {
|
|
|
3415
3415
|
}
|
|
3416
3416
|
function actorLabel(actor) {
|
|
3417
3417
|
if (actor.run) {
|
|
3418
|
-
|
|
3418
|
+
const legacyName = `run ${actor.run.run_id}`;
|
|
3419
|
+
const hasDescriptiveName = Boolean(actor.api_key_name?.trim()) && actor.api_key_name !== legacyName;
|
|
3420
|
+
const via = hasDescriptiveName ? actor.api_key_name : actor.run.runner_name;
|
|
3421
|
+
return `${actor.user_name} via ${via} \xB7 ${runRefLabel(actor.run)}`;
|
|
3419
3422
|
}
|
|
3420
3423
|
return actor.api_key_name ? `${actor.user_name} via ${actor.api_key_name}` : actor.user_name;
|
|
3421
3424
|
}
|