@aipermission/mcp 0.2.22 → 0.2.24

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 CHANGED
@@ -148,8 +148,10 @@ disclose secrets. Never automatically retry `submission_unknown`.
148
148
 
149
149
  Connector responses can include `approval_pending` or `running`. Poll
150
150
  `get_connector_action_request(request_id)` until the request reaches a terminal
151
- status. MCP tool responses never include file contents, gateway temporary paths,
152
- archive staging paths, or local upload contents.
151
+ status. `outcome_unknown` is terminal and means the gateway could not prove the
152
+ remote outcome after interruption; inspect target state or ask the operator
153
+ before retrying. MCP tool responses never include file contents, gateway
154
+ temporary paths, archive staging paths, or local upload contents.
153
155
 
154
156
  ## Operator Skill
155
157
 
@@ -172,8 +174,9 @@ Supported clients:
172
174
 
173
175
  These instructions teach the agent how to discover connector targets, poll
174
176
  `approval_pending` and `running` connector action requests, handle `stale`
175
- approvals by sending a fresh request, write short reasons, use explicit file
176
- transfer paths, and avoid printing secrets. The default installer uses the
177
+ approvals by sending a fresh request, avoid blind retries for `outcome_unknown`,
178
+ write short reasons, use explicit file transfer paths, and avoid printing
179
+ secrets. The default installer uses the
177
180
  operator instruction bundled in the npm package; `--source` accepts local file
178
181
  paths only and rejects HTTP(S) sources.
179
182
 
@@ -104,6 +104,7 @@ declined
104
104
  blocked
105
105
  error
106
106
  stale
107
+ outcome_unknown
107
108
  ```
108
109
 
109
110
  If the request is `declined`, read the note/error and follow the user's
@@ -111,6 +112,11 @@ correction. If the request is `stale`, the approval context changed before
111
112
  execution; send a fresh `call_connector_action` request with the current target,
112
113
  action, input, and reason.
113
114
 
115
+ If the request is `outcome_unknown`, do not automatically retry it. The gateway
116
+ lost definitive lifecycle state after execution may have started. Inspect the
117
+ target with a safe read action when possible, or ask the operator to decide
118
+ whether retrying is safe.
119
+
114
120
  ## Running Flow
115
121
 
116
122
  When `call_connector_action` or `get_connector_action_request` returns
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aipermission/mcp",
3
- "version": "0.2.22",
3
+ "version": "0.2.24",
4
4
  "mcpName": "io.github.aipermission/aipermission-mcp",
5
5
  "description": "Local-first MCP bridge for the aipermission gateway.",
6
6
  "license": "AGPL-3.0-only",
package/server.json CHANGED
@@ -3,12 +3,12 @@
3
3
  "name": "io.github.aipermission/aipermission-mcp",
4
4
  "title": "AIPermission",
5
5
  "description": "Local-first MCP bridge for the AIPermission gateway.",
6
- "version": "0.2.22",
6
+ "version": "0.2.24",
7
7
  "packages": [
8
8
  {
9
9
  "registryType": "npm",
10
10
  "identifier": "@aipermission/mcp",
11
- "version": "0.2.22",
11
+ "version": "0.2.24",
12
12
  "transport": {
13
13
  "type": "stdio"
14
14
  }