@plori/cli 0.5.0 → 0.5.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 +8 -8
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -328,9 +328,10 @@ and starts the worker. It waits for the copy to be ready, for up to 600 seconds.
|
|
|
328
328
|
Use `--timeout` to change that limit. If the Workspace has no saved revision yet,
|
|
329
329
|
retry when its storage is ready.
|
|
330
330
|
|
|
331
|
-
`--max-tokens` sets
|
|
332
|
-
is 2,000,000.
|
|
333
|
-
|
|
331
|
+
`--max-tokens` sets a token figure that is recorded on the new group, in
|
|
332
|
+
cache-weighted tokens. The default is 2,000,000. The figure does not limit model
|
|
333
|
+
calls; the account's credit balance is the only spend limit. To add the worker to
|
|
334
|
+
an existing group, use `--task-group <id>` without `--max-tokens`.
|
|
334
335
|
|
|
335
336
|
The command prints the worker ID and a `worker status` command on stderr. It
|
|
336
337
|
also prints a generated idempotency key if you omit `--idempotency-key`.
|
|
@@ -375,10 +376,9 @@ plori advanced worker spawn "$WORKSPACE_ID" 'Update the selected files' --name w
|
|
|
375
376
|
plori worker status "$WORKSPACE_ID" "$REQUEST_ID" --wait --wait-seconds 600
|
|
376
377
|
```
|
|
377
378
|
|
|
378
|
-
`--max-tokens` is the group
|
|
379
|
-
be positive.
|
|
380
|
-
|
|
381
|
-
several workers share the group.
|
|
379
|
+
`--max-tokens` is a token figure recorded on the group, in cache-weighted tokens.
|
|
380
|
+
It must be positive. It does not limit model calls. A stopped group refuses new
|
|
381
|
+
model calls and starts no new workers.
|
|
382
382
|
Spawn returns a request. Status returns the run result when it is available,
|
|
383
383
|
with the worker's save and review state. A finished run does not mean its files
|
|
384
384
|
are saved. `--executor` is the id of an existing agent to run as the worker.
|
|
@@ -441,7 +441,7 @@ plori advanced workspace retention "$WORKSPACE_ID" --view pins
|
|
|
441
441
|
```
|
|
442
442
|
|
|
443
443
|
Cost output is the API JSON. A null or missing amount is unknown, not zero, and a
|
|
444
|
-
task group's token
|
|
444
|
+
task group's token figure is not a cost. `resources` is one page of observations. Continue
|
|
445
445
|
it with `--resource-cursor`. An expired retention state means the item can be
|
|
446
446
|
removed, not that it is already deleted. `advanced workspace pin` keeps a copy or changeset
|
|
447
447
|
until `--expires-at` and needs `--kind`, `--resource` and `--idempotency-key`.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plori/cli",
|
|
3
3
|
"description": "Plori runs AI agents in Workspaces.",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://plori.ai",
|
|
7
7
|
"repository": {
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"node": ">=18"
|
|
27
27
|
},
|
|
28
28
|
"optionalDependencies": {
|
|
29
|
-
"@plori/cli-darwin-arm64": "0.5.
|
|
30
|
-
"@plori/cli-darwin-x64": "0.5.
|
|
31
|
-
"@plori/cli-linux-x64": "0.5.
|
|
32
|
-
"@plori/cli-linux-arm64": "0.5.
|
|
33
|
-
"@plori/cli-win32-x64": "0.5.
|
|
29
|
+
"@plori/cli-darwin-arm64": "0.5.1",
|
|
30
|
+
"@plori/cli-darwin-x64": "0.5.1",
|
|
31
|
+
"@plori/cli-linux-x64": "0.5.1",
|
|
32
|
+
"@plori/cli-linux-arm64": "0.5.1",
|
|
33
|
+
"@plori/cli-win32-x64": "0.5.1"
|
|
34
34
|
}
|
|
35
35
|
}
|