@integrity-labs/agt-cli 0.28.214 → 0.28.216
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/dist/bin/agt.js +3 -3
- package/dist/{chunk-F6UP2BTL.js → chunk-6DMZIXM6.js} +2 -2
- package/dist/lib/manager-worker.js +64 -18
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-F6UP2BTL.js.map → chunk-6DMZIXM6.js.map} +0 -0
package/dist/mcp/index.js
CHANGED
|
@@ -21306,7 +21306,7 @@ function registerApprovalTools(server2, deps) {
|
|
|
21306
21306
|
ttl_seconds: params.ttl_seconds
|
|
21307
21307
|
});
|
|
21308
21308
|
const outcome = resp.outcome ?? statusToOutcome(resp.status);
|
|
21309
|
-
const note = resp.duplicate ? `An open request for this idempotency_key already exists \u2014 re-attached to it (request_id ${resp.request_id}). Poll it with check_approval.` : resp.notification_status === "failed" ? `Approval filed (request_id ${resp.request_id}) but the Manager notification failed (${resp.notification_failure_reason ?? "unknown"})
|
|
21309
|
+
const note = resp.duplicate ? `An open request for this idempotency_key already exists \u2014 re-attached to it (request_id ${resp.request_id}). Poll it with check_approval.` : resp.notification_status === "failed" ? `Approval filed (request_id ${resp.request_id}) but the Manager notification failed (${resp.notification_failure_reason ?? "unknown"}). ${resp.escalated ? "Your org admins were alerted that it is waiting for a decision." : "No human was pinged; tell your operator."} Poll with check_approval.` : `Approval requested (request_id ${resp.request_id}). Your Manager was notified. End your turn; poll with check_approval later.`;
|
|
21310
21310
|
return render({ request_id: resp.request_id, outcome, expires_at: resp.expires_at ?? null, note });
|
|
21311
21311
|
} catch (err) {
|
|
21312
21312
|
const msg = err instanceof Error ? err.message : String(err);
|
package/package.json
CHANGED
|
File without changes
|