@plori/cli 0.2.3 → 0.2.5

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.
Files changed (2) hide show
  1. package/README.md +8 -2
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -42,6 +42,7 @@ echo "summarize this" | plori run mate - # message from stdin
42
42
  plori schedule mate "daily report" --in 86400
43
43
  plori inputs mate # runs paused on a human question
44
44
  plori answer <run-id> <tool-call-id> --approve
45
+ plori answer <run-id> <tool-call-id> --approve --always-allow # + stop asking for this tool
45
46
  plori credits && plori disk
46
47
 
47
48
  plori workflows list # your workflows
@@ -60,7 +61,12 @@ failure, 2 usage error.
60
61
  The reply text of `plori run` is the only thing written to stdout (tool
61
62
  narration streams to stderr), so a calling agent can pipe it directly. A run
62
63
  that pauses on a human approval reports `status: "awaiting_input"`; surface
63
- it and answer with `plori answer`. Prefer one long-lived agent (`create`
64
- returns the existing agent for a reused name) over creating new ones.
64
+ it and answer with `plori answer`. An approval that gates an outward-facing
65
+ write carries a `consent_tool` (visible in `plori inputs --json`); answering it
66
+ with `--always-allow` also grants a standing consent so the agent stops asking
67
+ for that tool. That is the human's call to make, not the calling agent's; on a
68
+ row without a `consent_tool` the flag grants nothing. Prefer one long-lived
69
+ agent (`create` returns the existing agent for a reused name) over creating
70
+ new ones.
65
71
 
66
72
  Wire-level acceptance cases live in [UAT.md](UAT.md).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plori/cli",
3
3
  "description": "plori (plori.ai): a cloud AI agent with its own computer - persistent disk, real CLI tools, and memory. The official plori CLI.",
4
- "version": "0.2.3",
4
+ "version": "0.2.5",
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.2.3",
30
- "@plori/cli-darwin-x64": "0.2.3",
31
- "@plori/cli-linux-x64": "0.2.3",
32
- "@plori/cli-linux-arm64": "0.2.3",
33
- "@plori/cli-win32-x64": "0.2.3"
29
+ "@plori/cli-darwin-arm64": "0.2.5",
30
+ "@plori/cli-darwin-x64": "0.2.5",
31
+ "@plori/cli-linux-x64": "0.2.5",
32
+ "@plori/cli-linux-arm64": "0.2.5",
33
+ "@plori/cli-win32-x64": "0.2.5"
34
34
  }
35
35
  }