@tutti-os/workspace-issue-manager 0.0.6 → 0.0.8

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.
@@ -307,7 +307,9 @@ function resolveIssueManagerAgentProviderOptions(feature) {
307
307
  function resolveIssueManagerControllerCapabilities(feature) {
308
308
  return {
309
309
  canOpenAgentSessions: typeof feature.agentSessionOpener?.openSession === "function",
310
- canSelectExecutionDirectory: typeof feature.executionDirectoryPicker?.selectDirectory === "function",
310
+ canSelectExecutionDirectory: Boolean(
311
+ feature.executionDirectoryPicker?.service
312
+ ),
311
313
  canInviteCollaborators: feature.ui.showInviteCollaborator === true && typeof feature.shareAdapter?.createIssueLink === "function",
312
314
  canReferenceWorkspaceFiles: hasFileAdapterMethod(feature.fileAdapter, "requestReferences") || hasFileAdapterMethod(feature.fileAdapter, "loadReferenceTree") || hasFileAdapterMethod(feature.fileAdapter, "listDirectory") || hasFileAdapterMethod(feature.fileAdapter, "searchReferences"),
313
315
  canUploadWorkspaceFiles: hasFileAdapterMethod(
@@ -1874,7 +1876,6 @@ function useIssueManagerController({
1874
1876
  providerOptions,
1875
1877
  executionDirectoryProjectService: feature.executionDirectoryPicker?.service ?? null,
1876
1878
  workspaceUserProjectI18n: feature.workspaceUserProjectI18n,
1877
- listExecutionDirectoryProjects: () => feature.executionDirectoryPicker?.list() ?? Promise.resolve({ projects: [] }),
1878
1879
  referenceTarget,
1879
1880
  selectTopic(topicId) {
1880
1881
  const trimmedTopicId = topicId.trim();
@@ -2414,7 +2415,7 @@ function IssueManagerDescriptionSection({
2414
2415
  if (variant === "plain") {
2415
2416
  return /* @__PURE__ */ jsxs4("section", { className: "grid gap-2", children: [
2416
2417
  /* @__PURE__ */ jsx4("span", { className: "text-[13px] font-semibold leading-5 text-[var(--text-primary)]", children: label }),
2417
- displayContent ? /* @__PURE__ */ jsx4("div", { className: "max-w-3xl text-[13px] font-normal leading-5 text-[var(--text-secondary)]", children: /* @__PURE__ */ jsx4(
2418
+ displayContent ? /* @__PURE__ */ jsx4("div", { className: "min-w-0 max-w-full text-[13px] font-normal leading-5 text-[var(--text-secondary)] sm:max-w-3xl", children: /* @__PURE__ */ jsx4(
2418
2419
  IssueManagerDescriptionContent,
2419
2420
  {
2420
2421
  content: displayContent,
@@ -2437,7 +2438,7 @@ function IssueManagerDescriptionSection({
2437
2438
  "div",
2438
2439
  {
2439
2440
  className: cn2(
2440
- "max-h-[18rem] overflow-y-auto pr-2 text-[13px] font-normal leading-5 text-[var(--text-secondary)]",
2441
+ "min-w-0 max-w-full overflow-x-hidden max-h-[18rem] overflow-y-auto pr-2 text-[13px] font-normal leading-5 text-[var(--text-secondary)]",
2441
2442
  isOverflowing && "pb-8"
2442
2443
  ),
2443
2444
  ref: contentRef,
@@ -2471,6 +2472,8 @@ function IssueManagerDescriptionContent({
2471
2472
  return /* @__PURE__ */ jsx4(
2472
2473
  RichTextReadonlyContent,
2473
2474
  {
2475
+ className: "min-w-0 max-w-full [overflow-wrap:anywhere]",
2476
+ paragraphClassName: "break-words [overflow-wrap:anywhere]",
2474
2477
  value: content,
2475
2478
  onOpenWorkspaceReference: onOpen ? (reference) => onOpen({
2476
2479
  displayName: reference.label,
@@ -5142,4 +5145,4 @@ export {
5142
5145
  IssueManagerNode,
5143
5146
  IssueManagerNodeHeader
5144
5147
  };
5145
- //# sourceMappingURL=chunk-UXVTGSOH.js.map
5148
+ //# sourceMappingURL=chunk-UAUVVWYC.js.map