@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/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-NGES4EZD.js";
38
- import "./chunk-ROOFBKRE.js";
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-SVZCOP7I.js.map
77
+ //# sourceMappingURL=persistent-session-N4KR5IFC.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-NGES4EZD.js";
4
- import "./chunk-ROOFBKRE.js";
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-AS7ASMDE.js.map
307
+ //# sourceMappingURL=responsiveness-probe-MYFNFOB7.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.139",
3
+ "version": "0.28.141",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {