@integrity-labs/agt-cli 0.28.139 → 0.28.141
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-ROOFBKRE.js → chunk-HKKV7NJD.js} +24 -1
- package/dist/chunk-HKKV7NJD.js.map +1 -0
- package/dist/{chunk-CVGZ2BZB.js → chunk-T436PVUP.js} +3 -3
- package/dist/{chunk-NGES4EZD.js → chunk-UVCPJVEF.js} +2 -2
- package/dist/{claude-pair-runtime-7TJXAPIK.js → claude-pair-runtime-SBATMO4Y.js} +2 -2
- package/dist/lib/manager-worker.js +107 -46
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +27 -0
- package/dist/{persistent-session-SVZCOP7I.js → persistent-session-N4KR5IFC.js} +3 -3
- package/dist/{responsiveness-probe-AS7ASMDE.js → responsiveness-probe-MYFNFOB7.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-ROOFBKRE.js.map +0 -1
- /package/dist/{chunk-CVGZ2BZB.js.map → chunk-T436PVUP.js.map} +0 -0
- /package/dist/{chunk-NGES4EZD.js.map → chunk-UVCPJVEF.js.map} +0 -0
- /package/dist/{claude-pair-runtime-7TJXAPIK.js.map → claude-pair-runtime-SBATMO4Y.js.map} +0 -0
- /package/dist/{persistent-session-SVZCOP7I.js.map → persistent-session-N4KR5IFC.js.map} +0 -0
- /package/dist/{responsiveness-probe-AS7ASMDE.js.map → responsiveness-probe-MYFNFOB7.js.map} +0 -0
package/dist/mcp/index.js
CHANGED
|
@@ -23058,6 +23058,7 @@ var LOCAL_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
|
23058
23058
|
"artefacts_get",
|
|
23059
23059
|
"artefacts_get_source_chunk",
|
|
23060
23060
|
"artefacts_download",
|
|
23061
|
+
"artefacts_resolve",
|
|
23061
23062
|
// ADR-0017 Projects container (the reclaimed projects_* namespace). Read tools
|
|
23062
23063
|
// shipped in v1; ENG-6769 adds agent-initiated create + post-creation tagging
|
|
23063
23064
|
// of artefacts/tasks to a project. No projects_get_source_chunk — a project is
|
|
@@ -23285,6 +23286,32 @@ server.tool(
|
|
|
23285
23286
|
content: [{ type: "text", text: await downloadArtefactText(params) }]
|
|
23286
23287
|
})
|
|
23287
23288
|
);
|
|
23289
|
+
async function resolveArtefactText(url) {
|
|
23290
|
+
const data = await apiPost("/host/artefact/resolve", {
|
|
23291
|
+
agent_id: AGT_AGENT_ID,
|
|
23292
|
+
url
|
|
23293
|
+
});
|
|
23294
|
+
const a = data.artefact;
|
|
23295
|
+
return [
|
|
23296
|
+
`Resolved to artefact ${a.id}`,
|
|
23297
|
+
`Slug: ${a.publisher_resource_id}`,
|
|
23298
|
+
a.title ? `Title: ${a.title}` : null,
|
|
23299
|
+
`Kind: ${a.kind} [${a.status}]`,
|
|
23300
|
+
a.project_id ? `Project: ${a.project_id}` : null,
|
|
23301
|
+
a.live_url ? `URL: ${a.live_url}` : null,
|
|
23302
|
+
"Use this id with artefacts_get, artefacts_download, or artefacts_assign_project."
|
|
23303
|
+
].filter((s) => s !== null).join("\n");
|
|
23304
|
+
}
|
|
23305
|
+
server.tool(
|
|
23306
|
+
"artefacts_resolve",
|
|
23307
|
+
"Resolve an Augmented Live URL (e.g. https://live.augmented.team/<slug>) or a bare slug to the internal artefact id, so you can act on a link someone shared. Returns the id plus title, kind, status, and project. Only resolves your own published artefacts.",
|
|
23308
|
+
{
|
|
23309
|
+
url: external_exports.string().min(1).describe("An Augmented Live URL or the bare slug from one (the last path segment)")
|
|
23310
|
+
},
|
|
23311
|
+
async (params) => ({
|
|
23312
|
+
content: [{ type: "text", text: await resolveArtefactText(params.url) }]
|
|
23313
|
+
})
|
|
23314
|
+
);
|
|
23288
23315
|
async function listProjectsText(params) {
|
|
23289
23316
|
const data = await apiPost("/host/my-projects", {
|
|
23290
23317
|
agent_id: AGT_AGENT_ID,
|
|
@@ -34,8 +34,8 @@ import {
|
|
|
34
34
|
writeDirectChatSessionState,
|
|
35
35
|
writeEgressAllowlist,
|
|
36
36
|
writePersistentClaudeWrapper
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-UVCPJVEF.js";
|
|
38
|
+
import "./chunk-HKKV7NJD.js";
|
|
39
39
|
import "./chunk-XWVM4KPK.js";
|
|
40
40
|
export {
|
|
41
41
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -74,4 +74,4 @@ export {
|
|
|
74
74
|
writeEgressAllowlist,
|
|
75
75
|
writePersistentClaudeWrapper
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=persistent-session-
|
|
77
|
+
//# sourceMappingURL=persistent-session-N4KR5IFC.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-UVCPJVEF.js";
|
|
4
|
+
import "./chunk-HKKV7NJD.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -304,4 +304,4 @@ export {
|
|
|
304
304
|
readAndResetChannelDeflections,
|
|
305
305
|
readAndResetChannelLaneClassifications
|
|
306
306
|
};
|
|
307
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
307
|
+
//# sourceMappingURL=responsiveness-probe-MYFNFOB7.js.map
|