let s = {
  parseMarkdownRequirements: () => [],
  validateFileAccess: () => {
  },
  loadOpenEditorFiles: () => [],
  loadCurrentFile: () => {
  },
  asRelativePath: (e) => e,
  getMachineId: () => "unknown",
  runPreTaskExecutionHooks: (e, a, t) => Promise.resolve(t),
  runPostTaskExecutionHooks: (e, a, t) => Promise.resolve(t)
};
function i(e) {
  s = e;
}
function n() {
  return s;
}
function l(e) {
  const a = [], t = [];
  for (const o of e) {
    const r = s.asRelativePath(o.id);
    switch (o.type) {
      case "file":
        a.push({
          type: "file",
          path: r
        });
        break;
      case "folder":
        t.push(r);
        break;
    }
  }
  return {
    files: a,
    fileTree: {
      expandedPaths: [...a.map((o) => o.path), ...t],
      target: 500,
      type: "fileTree"
    }
  };
}
export {
  n as g,
  l as m,
  i as s
};
//# sourceMappingURL=spec-platform-361SGdHa.js.map
