@integrity-labs/agt-cli 0.28.84 → 0.28.86
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-EIXW7L6A.js → chunk-3EZHAJGB.js} +3 -3
- package/dist/{chunk-3KLQA3SC.js → chunk-E5TGFEDQ.js} +19 -1
- package/dist/chunk-E5TGFEDQ.js.map +1 -0
- package/dist/{chunk-XDZFMTY5.js → chunk-OZWBVM7M.js} +2 -2
- package/dist/{claude-pair-runtime-6XYMSC6B.js → claude-pair-runtime-O5PHMHMF.js} +2 -2
- package/dist/lib/manager-worker.js +122 -36
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +75 -1
- package/dist/{persistent-session-U6P5I6TT.js → persistent-session-ZAKXWRX7.js} +3 -3
- package/dist/{responsiveness-probe-VKIJY4IC.js → responsiveness-probe-NKH4VYGR.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-3KLQA3SC.js.map +0 -1
- /package/dist/{chunk-EIXW7L6A.js.map → chunk-3EZHAJGB.js.map} +0 -0
- /package/dist/{chunk-XDZFMTY5.js.map → chunk-OZWBVM7M.js.map} +0 -0
- /package/dist/{claude-pair-runtime-6XYMSC6B.js.map → claude-pair-runtime-O5PHMHMF.js.map} +0 -0
- /package/dist/{persistent-session-U6P5I6TT.js.map → persistent-session-ZAKXWRX7.js.map} +0 -0
- /package/dist/{responsiveness-probe-VKIJY4IC.js.map → responsiveness-probe-NKH4VYGR.js.map} +0 -0
package/dist/mcp/index.js
CHANGED
|
@@ -21078,6 +21078,30 @@ function writeAgentRestartFlag(codeName, reason, nowMs) {
|
|
|
21078
21078
|
return path;
|
|
21079
21079
|
}
|
|
21080
21080
|
|
|
21081
|
+
// src/feature-request.ts
|
|
21082
|
+
var FEATURE_REQUEST_TYPES = [
|
|
21083
|
+
"integration",
|
|
21084
|
+
"tool",
|
|
21085
|
+
"channel",
|
|
21086
|
+
"capability",
|
|
21087
|
+
"bug",
|
|
21088
|
+
"other"
|
|
21089
|
+
];
|
|
21090
|
+
function describeFeatureRequestResult(resp) {
|
|
21091
|
+
if (resp.status === "created") {
|
|
21092
|
+
const ref = resp.identifier ? ` (${resp.identifier})` : "";
|
|
21093
|
+
const link = resp.url ? ` ${resp.url}` : "";
|
|
21094
|
+
return {
|
|
21095
|
+
text: `Feature request submitted to Augmented Team support${ref}.${link}`,
|
|
21096
|
+
isError: false
|
|
21097
|
+
};
|
|
21098
|
+
}
|
|
21099
|
+
return {
|
|
21100
|
+
text: `Could not submit the feature request${resp.message ? `: ${resp.message}` : ""}. Tell your operator what you need and don't keep retrying.`,
|
|
21101
|
+
isError: true
|
|
21102
|
+
};
|
|
21103
|
+
}
|
|
21104
|
+
|
|
21081
21105
|
// src/approval-tools.ts
|
|
21082
21106
|
function statusToOutcome(status) {
|
|
21083
21107
|
switch (status) {
|
|
@@ -21762,6 +21786,52 @@ server.tool(
|
|
|
21762
21786
|
};
|
|
21763
21787
|
}
|
|
21764
21788
|
);
|
|
21789
|
+
server.tool(
|
|
21790
|
+
"request_feature",
|
|
21791
|
+
'Send a feature request to Augmented Team support \u2014 most often to ask for a NEW third-party integration that is not in your toolkit yet (set feature_type="integration" and put the service name in provider). Also accepts general product feedback (other feature_type values). Use this when a user needs a capability you do not have and that you cannot configure yourself. Do not use it for things you can already do or set up.',
|
|
21792
|
+
{
|
|
21793
|
+
feature_type: external_exports.enum(FEATURE_REQUEST_TYPES).describe(
|
|
21794
|
+
'What kind of request this is. Use "integration" to ask for a new third-party integration/toolkit; otherwise: tool, channel, capability, bug, or other.'
|
|
21795
|
+
),
|
|
21796
|
+
title: external_exports.string().min(1).max(200).describe('Short, specific summary of the request (e.g. "Add Notion integration").'),
|
|
21797
|
+
description: external_exports.string().min(1).max(4e3).describe(
|
|
21798
|
+
"What you need and why \u2014 the use case, what the user was trying to do, and any specifics. The more concrete, the faster support can act."
|
|
21799
|
+
),
|
|
21800
|
+
provider: external_exports.string().max(120).optional().describe(
|
|
21801
|
+
'For feature_type="integration": the name of the service/provider requested (e.g. "Notion", "QuickBooks"). Omit for other types.'
|
|
21802
|
+
)
|
|
21803
|
+
},
|
|
21804
|
+
async (params) => {
|
|
21805
|
+
if (!AGT_AGENT_CODE_NAME) {
|
|
21806
|
+
return {
|
|
21807
|
+
content: [{ type: "text", text: "Error: AGT_AGENT_CODE_NAME not configured." }],
|
|
21808
|
+
isError: true
|
|
21809
|
+
};
|
|
21810
|
+
}
|
|
21811
|
+
let resp;
|
|
21812
|
+
try {
|
|
21813
|
+
resp = await apiPost("/host/request-feature", {
|
|
21814
|
+
agent_code_name: AGT_AGENT_CODE_NAME,
|
|
21815
|
+
feature_type: params.feature_type,
|
|
21816
|
+
title: params.title,
|
|
21817
|
+
description: params.description,
|
|
21818
|
+
...params.provider ? { provider: params.provider } : {}
|
|
21819
|
+
});
|
|
21820
|
+
} catch (err) {
|
|
21821
|
+
return {
|
|
21822
|
+
content: [
|
|
21823
|
+
{
|
|
21824
|
+
type: "text",
|
|
21825
|
+
text: `Could not reach the feature-request service (${err instanceof Error ? err.message : String(err)}). Tell your operator what you need.`
|
|
21826
|
+
}
|
|
21827
|
+
],
|
|
21828
|
+
isError: true
|
|
21829
|
+
};
|
|
21830
|
+
}
|
|
21831
|
+
const { text, isError } = describeFeatureRequestResult(resp);
|
|
21832
|
+
return { content: [{ type: "text", text }], ...isError ? { isError: true } : {} };
|
|
21833
|
+
}
|
|
21834
|
+
);
|
|
21765
21835
|
server.tool(
|
|
21766
21836
|
"drift_report",
|
|
21767
21837
|
"Report configuration drift detected in local agent files (CHARTER.md, TOOLS.md, etc.). Compares local file hashes against API-side versions and reports any differences.",
|
|
@@ -22651,7 +22721,11 @@ var LOCAL_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
|
22651
22721
|
// AGT_AGENT_SELF_RESTART_ENABLED), but the lockstep guard parses the
|
|
22652
22722
|
// server.tool('request_restart', …) call statically, so it lives here too.
|
|
22653
22723
|
// No API tool shares this name, so the forwarding-skip effect is a no-op.
|
|
22654
|
-
"request_restart"
|
|
22724
|
+
"request_restart",
|
|
22725
|
+
// ENG-6577: feature-request intake (always registered). No API tool shares
|
|
22726
|
+
// this name, so the forwarding-skip is a no-op; listed here to keep the
|
|
22727
|
+
// lockstep guard green.
|
|
22728
|
+
"request_feature"
|
|
22655
22729
|
]);
|
|
22656
22730
|
async function registerForwardedApiTools() {
|
|
22657
22731
|
const apiTools = await discoverApiTools();
|
|
@@ -25,8 +25,8 @@ import {
|
|
|
25
25
|
takeZombieDetection,
|
|
26
26
|
writeDirectChatSessionState,
|
|
27
27
|
writePersistentClaudeWrapper
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-OZWBVM7M.js";
|
|
29
|
+
import "./chunk-E5TGFEDQ.js";
|
|
30
30
|
import "./chunk-XWVM4KPK.js";
|
|
31
31
|
export {
|
|
32
32
|
SEND_KEYS_ENTER_DELAY_MS,
|
|
@@ -56,4 +56,4 @@ export {
|
|
|
56
56
|
writeDirectChatSessionState,
|
|
57
57
|
writePersistentClaudeWrapper
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=persistent-session-
|
|
59
|
+
//# sourceMappingURL=persistent-session-ZAKXWRX7.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-OZWBVM7M.js";
|
|
4
|
+
import "./chunk-E5TGFEDQ.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -250,4 +250,4 @@ export {
|
|
|
250
250
|
parkPendingInbound,
|
|
251
251
|
readAndResetChannelDeflections
|
|
252
252
|
};
|
|
253
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
253
|
+
//# sourceMappingURL=responsiveness-probe-NKH4VYGR.js.map
|