@avallon-labs/mcp 12.3.0 → 12.4.0-staging.320

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/index.js CHANGED
@@ -54,5 +54,5 @@ function setupFetch() {
54
54
 
55
55
  // src/index.ts
56
56
  setupFetch();
57
- await import("./server-WTSWVDNR.js");
57
+ await import("./server-V4AJ42AL.js");
58
58
  //# sourceMappingURL=index.js.map
@@ -954,7 +954,7 @@ var cancelExtractorJob = async (id, options) => {
954
954
  headers: res.headers
955
955
  };
956
956
  };
957
- var getListAgenticJobMessagesUrl = (id, params) => {
957
+ var getListWorkerRunMessagesUrl = (id, params) => {
958
958
  const normalizedParams = new URLSearchParams();
959
959
  Object.entries(params || {}).forEach(([key, value]) => {
960
960
  if (value !== void 0) {
@@ -970,8 +970,8 @@ var getListAgenticJobMessagesUrl = (id, params) => {
970
970
  const stringifiedParams = normalizedParams.toString();
971
971
  return stringifiedParams.length > 0 ? `/v1/extractor-jobs/${id}/messages?${stringifiedParams}` : `/v1/extractor-jobs/${id}/messages`;
972
972
  };
973
- var listAgenticJobMessages = async (id, params, options) => {
974
- const res = await fetch(getListAgenticJobMessagesUrl(id, params), {
973
+ var listWorkerRunMessages = async (id, params, options) => {
974
+ const res = await fetch(getListWorkerRunMessagesUrl(id, params), {
975
975
  ...options,
976
976
  method: "GET"
977
977
  });
@@ -2071,11 +2071,8 @@ var cancelExtractorJobHandler = async (args) => {
2071
2071
  ]
2072
2072
  };
2073
2073
  };
2074
- var listAgenticJobMessagesHandler = async (args) => {
2075
- const res = await listAgenticJobMessages(
2076
- args.pathParams.id,
2077
- args.queryParams
2078
- );
2074
+ var listWorkerRunMessagesHandler = async (args) => {
2075
+ const res = await listWorkerRunMessages(args.pathParams.id, args.queryParams);
2079
2076
  return {
2080
2077
  content: [
2081
2078
  {
@@ -3661,24 +3658,24 @@ var CancelExtractorJobResponse = zod.object({
3661
3658
  extract_id: zod.union([zod.string(), zod.null()]),
3662
3659
  error: zod.union([zod.string(), zod.null()])
3663
3660
  });
3664
- var ListAgenticJobMessagesParams = zod.object({
3661
+ var ListWorkerRunMessagesParams = zod.object({
3665
3662
  id: zod.string().uuid()
3666
3663
  });
3667
- var listAgenticJobMessagesQueryCountDefault = 100;
3668
- var listAgenticJobMessagesQueryCountMax = 500;
3669
- var ListAgenticJobMessagesQueryParams = zod.object({
3664
+ var listWorkerRunMessagesQueryCountDefault = 100;
3665
+ var listWorkerRunMessagesQueryCountMax = 500;
3666
+ var ListWorkerRunMessagesQueryParams = zod.object({
3670
3667
  after: zod.string().datetime({}).optional(),
3671
- count: zod.number().min(1).max(listAgenticJobMessagesQueryCountMax).default(listAgenticJobMessagesQueryCountDefault)
3668
+ count: zod.number().min(1).max(listWorkerRunMessagesQueryCountMax).default(listWorkerRunMessagesQueryCountDefault)
3672
3669
  });
3673
- var ListAgenticJobMessagesResponseItem = zod.object({
3670
+ var ListWorkerRunMessagesResponseItem = zod.object({
3674
3671
  id: zod.string(),
3675
3672
  extractor_job_id: zod.string(),
3676
3673
  message: zod.record(zod.string(), zod.unknown()),
3677
3674
  emitted_at: zod.string(),
3678
3675
  created_at: zod.string()
3679
3676
  });
3680
- var ListAgenticJobMessagesResponse = zod.array(
3681
- ListAgenticJobMessagesResponseItem
3677
+ var ListWorkerRunMessagesResponse = zod.array(
3678
+ ListWorkerRunMessagesResponseItem
3682
3679
  );
3683
3680
  var UpdateExtractorJobScopeParams = zod.object({
3684
3681
  id: zod.string().uuid()
@@ -4699,13 +4696,13 @@ server.tool(
4699
4696
  cancelExtractorJobHandler
4700
4697
  );
4701
4698
  server.tool(
4702
- "listAgenticJobMessages",
4699
+ "listWorkerRunMessages",
4703
4700
  "List agentic job messages",
4704
4701
  {
4705
- pathParams: ListAgenticJobMessagesParams,
4706
- queryParams: ListAgenticJobMessagesQueryParams
4702
+ pathParams: ListWorkerRunMessagesParams,
4703
+ queryParams: ListWorkerRunMessagesQueryParams
4707
4704
  },
4708
- listAgenticJobMessagesHandler
4705
+ listWorkerRunMessagesHandler
4709
4706
  );
4710
4707
  server.tool(
4711
4708
  "updateExtractorJobScope",
@@ -4953,4 +4950,4 @@ var transport = new StdioServerTransport();
4953
4950
  server.connect(transport).then(() => {
4954
4951
  console.error("MCP server running on stdio");
4955
4952
  }).catch(console.error);
4956
- //# sourceMappingURL=server-WTSWVDNR.js.map
4953
+ //# sourceMappingURL=server-V4AJ42AL.js.map