@integrity-labs/agt-cli 0.28.440 → 0.28.442
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 +4 -4
- package/dist/{chunk-V3G7G4QM.js → chunk-JIZ6Z6EX.js} +3 -3
- package/dist/{chunk-R6GVWACQ.js → chunk-XMJ5VMWV.js} +70 -93
- package/dist/chunk-XMJ5VMWV.js.map +1 -0
- package/dist/{claude-pair-runtime-Z4DP2IQA.js → claude-pair-runtime-G4M27XXA.js} +2 -2
- package/dist/lib/manager-worker.js +327 -265
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +25 -2
- package/dist/mcp/origami.js +25 -2
- package/dist/mcp/slack-channel.js +25 -2
- package/dist/mcp/telegram-channel.js +25 -2
- package/dist/{persistent-session-4MIMM3TN.js → persistent-session-VMWQYV5B.js} +2 -2
- package/dist/{responsiveness-probe-5SRDBI4B.js → responsiveness-probe-WMJEL7IZ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-R6GVWACQ.js.map +0 -1
- /package/dist/{chunk-V3G7G4QM.js.map → chunk-JIZ6Z6EX.js.map} +0 -0
- /package/dist/{claude-pair-runtime-Z4DP2IQA.js.map → claude-pair-runtime-G4M27XXA.js.map} +0 -0
- /package/dist/{persistent-session-4MIMM3TN.js.map → persistent-session-VMWQYV5B.js.map} +0 -0
- /package/dist/{responsiveness-probe-5SRDBI4B.js.map → responsiveness-probe-WMJEL7IZ.js.map} +0 -0
|
@@ -31989,8 +31989,31 @@ var DEFAULT_SCOPES = [
|
|
|
31989
31989
|
// links an inbound Slack sender to their organization_people record (inbound
|
|
31990
31990
|
// identity reconcile). Existing installs without it degrade gracefully - the
|
|
31991
31991
|
// reconcile no-ops until the bot is re-authorised with the wider scope set.
|
|
31992
|
-
"users:read.email"
|
|
31993
|
-
|
|
31992
|
+
"users:read.email"
|
|
31993
|
+
// ENG-8203: 'users.profile:write' is deliberately NOT here.
|
|
31994
|
+
//
|
|
31995
|
+
// It is registered with `token_type: 'user'` (ENG-4812 — Slack rejects it
|
|
31996
|
+
// under oauth_config.scopes.bot with `illegal_bot_scopes`). The MANIFEST
|
|
31997
|
+
// generator partitions on that flag; the OAuth install-URL builder does not —
|
|
31998
|
+
// `buildSlackAuthorizeUrl` puts every stored scope into `scope=` — so a
|
|
31999
|
+
// default-scoped OAuth install sent a user-only scope as a bot scope and
|
|
32000
|
+
// Slack rejected the whole authorization with "Invalid permissions
|
|
32001
|
+
// requested". That blocked EVERY new install on the default set.
|
|
32002
|
+
//
|
|
32003
|
+
// Removing it rather than routing it to `user_scope=` is deliberate: the
|
|
32004
|
+
// callback destructures `authed_user?: { id?: string }` and persists only the
|
|
32005
|
+
// BOT token (oauth-callback/route.ts:217,246). `authed_user.access_token` is
|
|
32006
|
+
// never read, so asking for the scope would put an extra consent screen in
|
|
32007
|
+
// front of the installing admin and then discard the token it returned.
|
|
32008
|
+
//
|
|
32009
|
+
// Nothing is lost. `users.profile.set` needs an `xoxp-` user token, which no
|
|
32010
|
+
// OAuth-installed agent has ever had — the bot-status/live-presence indicator
|
|
32011
|
+
// only ever worked where an operator pasted a user token into the wizard by
|
|
32012
|
+
// hand, and that path is untouched. The registry definition stays so existing
|
|
32013
|
+
// configs still render and the `token_type: 'user'` knowledge is preserved.
|
|
32014
|
+
//
|
|
32015
|
+
// Wiring the indicator for OAuth installs means persisting
|
|
32016
|
+
// `authed_user.access_token` first, THEN adding `user_scope=`. Separate work.
|
|
31994
32017
|
];
|
|
31995
32018
|
var SLACK_SCOPE_PRESETS = {
|
|
31996
32019
|
minimal: [
|
package/dist/mcp/origami.js
CHANGED
|
@@ -37627,8 +37627,31 @@ var DEFAULT_SCOPES = [
|
|
|
37627
37627
|
// links an inbound Slack sender to their organization_people record (inbound
|
|
37628
37628
|
// identity reconcile). Existing installs without it degrade gracefully - the
|
|
37629
37629
|
// reconcile no-ops until the bot is re-authorised with the wider scope set.
|
|
37630
|
-
"users:read.email"
|
|
37631
|
-
|
|
37630
|
+
"users:read.email"
|
|
37631
|
+
// ENG-8203: 'users.profile:write' is deliberately NOT here.
|
|
37632
|
+
//
|
|
37633
|
+
// It is registered with `token_type: 'user'` (ENG-4812 — Slack rejects it
|
|
37634
|
+
// under oauth_config.scopes.bot with `illegal_bot_scopes`). The MANIFEST
|
|
37635
|
+
// generator partitions on that flag; the OAuth install-URL builder does not —
|
|
37636
|
+
// `buildSlackAuthorizeUrl` puts every stored scope into `scope=` — so a
|
|
37637
|
+
// default-scoped OAuth install sent a user-only scope as a bot scope and
|
|
37638
|
+
// Slack rejected the whole authorization with "Invalid permissions
|
|
37639
|
+
// requested". That blocked EVERY new install on the default set.
|
|
37640
|
+
//
|
|
37641
|
+
// Removing it rather than routing it to `user_scope=` is deliberate: the
|
|
37642
|
+
// callback destructures `authed_user?: { id?: string }` and persists only the
|
|
37643
|
+
// BOT token (oauth-callback/route.ts:217,246). `authed_user.access_token` is
|
|
37644
|
+
// never read, so asking for the scope would put an extra consent screen in
|
|
37645
|
+
// front of the installing admin and then discard the token it returned.
|
|
37646
|
+
//
|
|
37647
|
+
// Nothing is lost. `users.profile.set` needs an `xoxp-` user token, which no
|
|
37648
|
+
// OAuth-installed agent has ever had — the bot-status/live-presence indicator
|
|
37649
|
+
// only ever worked where an operator pasted a user token into the wizard by
|
|
37650
|
+
// hand, and that path is untouched. The registry definition stays so existing
|
|
37651
|
+
// configs still render and the `token_type: 'user'` knowledge is preserved.
|
|
37652
|
+
//
|
|
37653
|
+
// Wiring the indicator for OAuth installs means persisting
|
|
37654
|
+
// `authed_user.access_token` first, THEN adding `user_scope=`. Separate work.
|
|
37632
37655
|
];
|
|
37633
37656
|
var SLACK_SCOPE_PRESETS = {
|
|
37634
37657
|
minimal: [
|
|
@@ -31558,8 +31558,31 @@ var DEFAULT_SCOPES = [
|
|
|
31558
31558
|
// links an inbound Slack sender to their organization_people record (inbound
|
|
31559
31559
|
// identity reconcile). Existing installs without it degrade gracefully - the
|
|
31560
31560
|
// reconcile no-ops until the bot is re-authorised with the wider scope set.
|
|
31561
|
-
"users:read.email"
|
|
31562
|
-
|
|
31561
|
+
"users:read.email"
|
|
31562
|
+
// ENG-8203: 'users.profile:write' is deliberately NOT here.
|
|
31563
|
+
//
|
|
31564
|
+
// It is registered with `token_type: 'user'` (ENG-4812 — Slack rejects it
|
|
31565
|
+
// under oauth_config.scopes.bot with `illegal_bot_scopes`). The MANIFEST
|
|
31566
|
+
// generator partitions on that flag; the OAuth install-URL builder does not —
|
|
31567
|
+
// `buildSlackAuthorizeUrl` puts every stored scope into `scope=` — so a
|
|
31568
|
+
// default-scoped OAuth install sent a user-only scope as a bot scope and
|
|
31569
|
+
// Slack rejected the whole authorization with "Invalid permissions
|
|
31570
|
+
// requested". That blocked EVERY new install on the default set.
|
|
31571
|
+
//
|
|
31572
|
+
// Removing it rather than routing it to `user_scope=` is deliberate: the
|
|
31573
|
+
// callback destructures `authed_user?: { id?: string }` and persists only the
|
|
31574
|
+
// BOT token (oauth-callback/route.ts:217,246). `authed_user.access_token` is
|
|
31575
|
+
// never read, so asking for the scope would put an extra consent screen in
|
|
31576
|
+
// front of the installing admin and then discard the token it returned.
|
|
31577
|
+
//
|
|
31578
|
+
// Nothing is lost. `users.profile.set` needs an `xoxp-` user token, which no
|
|
31579
|
+
// OAuth-installed agent has ever had — the bot-status/live-presence indicator
|
|
31580
|
+
// only ever worked where an operator pasted a user token into the wizard by
|
|
31581
|
+
// hand, and that path is untouched. The registry definition stays so existing
|
|
31582
|
+
// configs still render and the `token_type: 'user'` knowledge is preserved.
|
|
31583
|
+
//
|
|
31584
|
+
// Wiring the indicator for OAuth installs means persisting
|
|
31585
|
+
// `authed_user.access_token` first, THEN adding `user_scope=`. Separate work.
|
|
31563
31586
|
];
|
|
31564
31587
|
var SLACK_SCOPE_PRESETS = {
|
|
31565
31588
|
minimal: [
|
|
@@ -31860,8 +31860,31 @@ var DEFAULT_SCOPES = [
|
|
|
31860
31860
|
// links an inbound Slack sender to their organization_people record (inbound
|
|
31861
31861
|
// identity reconcile). Existing installs without it degrade gracefully - the
|
|
31862
31862
|
// reconcile no-ops until the bot is re-authorised with the wider scope set.
|
|
31863
|
-
"users:read.email"
|
|
31864
|
-
|
|
31863
|
+
"users:read.email"
|
|
31864
|
+
// ENG-8203: 'users.profile:write' is deliberately NOT here.
|
|
31865
|
+
//
|
|
31866
|
+
// It is registered with `token_type: 'user'` (ENG-4812 — Slack rejects it
|
|
31867
|
+
// under oauth_config.scopes.bot with `illegal_bot_scopes`). The MANIFEST
|
|
31868
|
+
// generator partitions on that flag; the OAuth install-URL builder does not —
|
|
31869
|
+
// `buildSlackAuthorizeUrl` puts every stored scope into `scope=` — so a
|
|
31870
|
+
// default-scoped OAuth install sent a user-only scope as a bot scope and
|
|
31871
|
+
// Slack rejected the whole authorization with "Invalid permissions
|
|
31872
|
+
// requested". That blocked EVERY new install on the default set.
|
|
31873
|
+
//
|
|
31874
|
+
// Removing it rather than routing it to `user_scope=` is deliberate: the
|
|
31875
|
+
// callback destructures `authed_user?: { id?: string }` and persists only the
|
|
31876
|
+
// BOT token (oauth-callback/route.ts:217,246). `authed_user.access_token` is
|
|
31877
|
+
// never read, so asking for the scope would put an extra consent screen in
|
|
31878
|
+
// front of the installing admin and then discard the token it returned.
|
|
31879
|
+
//
|
|
31880
|
+
// Nothing is lost. `users.profile.set` needs an `xoxp-` user token, which no
|
|
31881
|
+
// OAuth-installed agent has ever had — the bot-status/live-presence indicator
|
|
31882
|
+
// only ever worked where an operator pasted a user token into the wizard by
|
|
31883
|
+
// hand, and that path is untouched. The registry definition stays so existing
|
|
31884
|
+
// configs still render and the `token_type: 'user'` knowledge is preserved.
|
|
31885
|
+
//
|
|
31886
|
+
// Wiring the indicator for OAuth installs means persisting
|
|
31887
|
+
// `authed_user.access_token` first, THEN adding `user_scope=`. Separate work.
|
|
31865
31888
|
];
|
|
31866
31889
|
var SLACK_SCOPE_PRESETS = {
|
|
31867
31890
|
minimal: [
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
writeDirectChatSessionState,
|
|
37
37
|
writeEgressAllowlist,
|
|
38
38
|
writePersistentClaudeWrapper
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XMJ5VMWV.js";
|
|
40
40
|
import "./chunk-XWVM4KPK.js";
|
|
41
41
|
export {
|
|
42
42
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
writeEgressAllowlist,
|
|
78
78
|
writePersistentClaudeWrapper
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=persistent-session-
|
|
80
|
+
//# sourceMappingURL=persistent-session-VMWQYV5B.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XMJ5VMWV.js";
|
|
4
4
|
import "./chunk-XWVM4KPK.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/responsiveness-probe.ts
|
|
@@ -471,4 +471,4 @@ export {
|
|
|
471
471
|
readAndResetSlackReplyBindingClassifications,
|
|
472
472
|
readAndResetSlackReplyTargetClassifications
|
|
473
473
|
};
|
|
474
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
474
|
+
//# sourceMappingURL=responsiveness-probe-WMJEL7IZ.js.map
|