@agimon-ai/po-approval 0.0.0-alpha.76 → 0.0.0-alpha.77
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 +14 -4
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -8,6 +8,9 @@ The session service `po/approval` (`PO_APPROVAL_CONTRACT` from `@agimon-ai/po-co
|
|
|
8
8
|
direct tool or code-mode namespace member that declares `approval: { requirement, describe }`. Without this package
|
|
9
9
|
bound, `ask` calls run without asking and `human` calls are refused.
|
|
10
10
|
|
|
11
|
+
Consumers declare approval through the generic core contract. The shared tool/code-mode gate consumes the Cordis
|
|
12
|
+
`po/approval` service on their behalf; this provider does not inspect plugin names or provenance to admit requests.
|
|
13
|
+
|
|
11
14
|
## How a call is asked
|
|
12
15
|
|
|
13
16
|
Asking does not block the agent. A gated call is queued and returns at once with `pending approval` and its approval id
|
|
@@ -43,13 +46,20 @@ leaves the original queue intact. Older Approval builds cannot read the migrated
|
|
|
43
46
|
When a session has exactly one pending request and it is `ask`, Live Voice can read it out and accept a spoken
|
|
44
47
|
`approve` or `deny`. `human` requests are answered in the app only.
|
|
45
48
|
|
|
46
|
-
##
|
|
49
|
+
## Unattended sessions
|
|
50
|
+
|
|
51
|
+
Host-set `interaction: 'unattended'` does not prevent a foreground main-agent call from queuing a `human` request
|
|
52
|
+
through the approval service. This includes workflow and scheduled sessions. The person answers in the originating
|
|
53
|
+
session's Approval card; an approved call executes in that same session and its outcome arrives there as a message.
|
|
54
|
+
Approval replays only the saved operation, not the original script or its continuation. Chat permission does not replace
|
|
55
|
+
the app decision for the queued request.
|
|
47
56
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
57
|
+
Subagents and background `exec` scripts still cannot request `human` approval. Their approved replay would run as the
|
|
58
|
+
main agent, so those calls remain hidden or refused. `ask` calls still run without asking in all unattended contexts.
|
|
59
|
+
Without a bound approval service, a `human` call is refused and nothing runs.
|
|
51
60
|
|
|
52
61
|
Absent `interaction` means interactive. Provenance labels stay opaque, and tool arguments cannot change presence.
|
|
62
|
+
Queuing approval does not change the session's interaction setting or relax the operation's own safety checks.
|
|
53
63
|
|
|
54
64
|
## Limits
|
|
55
65
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/po-approval",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.77",
|
|
4
4
|
"description": "Asks the person before a tool or code-mode method that declares approval runs in a Po session.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-safety",
|
|
@@ -62,15 +62,15 @@
|
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@agimon-ai/po-core": "0.0.0-alpha.
|
|
66
|
-
"@agimon-ai/po-web-components": "0.0.0-alpha.
|
|
65
|
+
"@agimon-ai/po-core": "0.0.0-alpha.77",
|
|
66
|
+
"@agimon-ai/po-web-components": "0.0.0-alpha.77",
|
|
67
67
|
"@deepseek-ai/cordis": "4.0.5",
|
|
68
68
|
"typebox": "1.4.2"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@agimon-ai/po-build": "0.0.0-alpha.
|
|
72
|
-
"@agimon-ai/po-native-components": "0.0.0-alpha.
|
|
73
|
-
"@agimon-ai/vibe-lint-plugin-po-extension": "0.0.0-alpha.
|
|
71
|
+
"@agimon-ai/po-build": "0.0.0-alpha.77",
|
|
72
|
+
"@agimon-ai/po-native-components": "0.0.0-alpha.77",
|
|
73
|
+
"@agimon-ai/vibe-lint-plugin-po-extension": "0.0.0-alpha.77",
|
|
74
74
|
"@types/node": "26.6.5",
|
|
75
75
|
"@types/react": "19.3.0",
|
|
76
76
|
"@types/react-dom": "19.3.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"vitest": "5.0.4"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"@agimon-ai/po-native-components": "0.0.0-alpha.
|
|
88
|
+
"@agimon-ai/po-native-components": "0.0.0-alpha.77",
|
|
89
89
|
"react-native": "0.88.0",
|
|
90
90
|
"react-native-unistyles": "^3.5.3"
|
|
91
91
|
},
|