ask-marcel-office-cli 0.1.0 → 0.5.5

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.
Files changed (110) hide show
  1. package/README.md +112 -114
  2. package/dist/cli.js +1849 -585
  3. package/dist/commands.json +1436 -0
  4. package/dist/composition/build-deps.d.ts +5 -1
  5. package/dist/composition/cli.d.ts +12 -6
  6. package/dist/composition/package-manager.d.ts +2 -0
  7. package/dist/index.d.ts +6 -1
  8. package/dist/index.js +1666 -548
  9. package/dist/infra/browser-auth.d.ts +9 -2
  10. package/dist/infra/graph-client.d.ts +2 -0
  11. package/dist/infra/playwright-loader.d.ts +4 -0
  12. package/dist/infra/process-runner-bun.d.ts +2 -0
  13. package/dist/infra/process-runner-node.d.ts +2 -0
  14. package/dist/use-cases/commands/build-command.d.ts +1 -1
  15. package/dist/use-cases/commands/command-types.d.ts +21 -1
  16. package/dist/use-cases/commands/docs-render.d.ts +24 -0
  17. package/dist/use-cases/commands/docs.d.ts +10 -0
  18. package/dist/use-cases/commands/download-drive-item-version-content.d.ts +12 -0
  19. package/dist/use-cases/commands/download-onedrive-file-content.d.ts +3 -1
  20. package/dist/use-cases/commands/get-calendar-event.d.ts +3 -1
  21. package/dist/use-cases/commands/get-calendar-view.d.ts +7 -2
  22. package/dist/use-cases/commands/get-current-user.d.ts +3 -1
  23. package/dist/use-cases/commands/get-drive-delta.d.ts +3 -1
  24. package/dist/use-cases/commands/get-drive-item.d.ts +3 -1
  25. package/dist/use-cases/commands/get-drive-root-item.d.ts +3 -1
  26. package/dist/use-cases/commands/get-excel-range.d.ts +3 -1
  27. package/dist/use-cases/commands/get-excel-table.d.ts +3 -1
  28. package/dist/use-cases/commands/get-mail-attachment.d.ts +3 -1
  29. package/dist/use-cases/commands/get-mail-message.d.ts +3 -1
  30. package/dist/use-cases/commands/get-mailbox-settings.d.ts +3 -1
  31. package/dist/use-cases/commands/get-my-profile-photo.d.ts +6 -2
  32. package/dist/use-cases/commands/get-onenote-page-content.d.ts +6 -2
  33. package/dist/use-cases/commands/get-planner-bucket.d.ts +3 -1
  34. package/dist/use-cases/commands/get-planner-plan.d.ts +3 -1
  35. package/dist/use-cases/commands/get-planner-task-details.d.ts +3 -1
  36. package/dist/use-cases/commands/get-planner-task.d.ts +3 -1
  37. package/dist/use-cases/commands/get-sharepoint-site-by-path.d.ts +4 -2
  38. package/dist/use-cases/commands/get-sharepoint-site-drive-by-id.d.ts +3 -1
  39. package/dist/use-cases/commands/get-sharepoint-site-list-item.d.ts +3 -1
  40. package/dist/use-cases/commands/get-sharepoint-site-list.d.ts +3 -1
  41. package/dist/use-cases/commands/get-sharepoint-site.d.ts +3 -1
  42. package/dist/use-cases/commands/get-specific-calendar-event.d.ts +3 -1
  43. package/dist/use-cases/commands/get-specific-calendar-view.d.ts +5 -1
  44. package/dist/use-cases/commands/get-team-channel.d.ts +3 -1
  45. package/dist/use-cases/commands/get-team.d.ts +3 -1
  46. package/dist/use-cases/commands/get-todo-task.d.ts +3 -1
  47. package/dist/use-cases/commands/list-all-onenote-sections.d.ts +3 -1
  48. package/dist/use-cases/commands/list-calendar-event-instances.d.ts +5 -1
  49. package/dist/use-cases/commands/list-calendar-events-delta.d.ts +3 -1
  50. package/dist/use-cases/commands/list-calendar-events.d.ts +3 -1
  51. package/dist/use-cases/commands/list-calendar-view-delta.d.ts +7 -2
  52. package/dist/use-cases/commands/list-calendars.d.ts +3 -1
  53. package/dist/use-cases/commands/list-chat-members.d.ts +3 -1
  54. package/dist/use-cases/commands/list-drive-item-permissions.d.ts +3 -1
  55. package/dist/use-cases/commands/list-drive-item-versions.d.ts +3 -1
  56. package/dist/use-cases/commands/list-drives.d.ts +3 -1
  57. package/dist/use-cases/commands/list-excel-table-rows.d.ts +3 -1
  58. package/dist/use-cases/commands/list-excel-tables.d.ts +3 -1
  59. package/dist/use-cases/commands/list-excel-worksheets.d.ts +3 -1
  60. package/dist/use-cases/commands/list-folder-files.d.ts +3 -1
  61. package/dist/use-cases/commands/{get-sharepoint-sites-delta.d.ts → list-incomplete-planner-tasks.d.ts} +3 -1
  62. package/dist/use-cases/commands/list-incomplete-todo-tasks.d.ts +8 -0
  63. package/dist/use-cases/commands/list-joined-teams.d.ts +3 -1
  64. package/dist/use-cases/commands/list-mail-attachments.d.ts +3 -1
  65. package/dist/use-cases/commands/list-mail-child-folders.d.ts +3 -1
  66. package/dist/use-cases/commands/list-mail-folder-messages.d.ts +3 -1
  67. package/dist/use-cases/commands/list-mail-folders.d.ts +3 -1
  68. package/dist/use-cases/commands/list-mail-messages.d.ts +3 -1
  69. package/dist/use-cases/commands/list-mail-rules.d.ts +3 -1
  70. package/dist/use-cases/commands/list-onenote-notebook-sections.d.ts +3 -1
  71. package/dist/use-cases/commands/list-onenote-notebooks.d.ts +3 -1
  72. package/dist/use-cases/commands/list-onenote-section-pages.d.ts +3 -1
  73. package/dist/use-cases/commands/list-plan-buckets.d.ts +3 -1
  74. package/dist/use-cases/commands/list-plan-tasks.d.ts +3 -1
  75. package/dist/use-cases/commands/{list-chats.d.ts → list-planner-plans.d.ts} +3 -1
  76. package/dist/use-cases/commands/list-planner-tasks.d.ts +3 -1
  77. package/dist/use-cases/commands/list-sharepoint-site-drives.d.ts +3 -1
  78. package/dist/use-cases/commands/list-sharepoint-site-list-items.d.ts +3 -1
  79. package/dist/use-cases/commands/list-sharepoint-site-lists.d.ts +3 -1
  80. package/dist/use-cases/commands/list-specific-calendar-events.d.ts +3 -1
  81. package/dist/use-cases/commands/list-team-channels.d.ts +3 -1
  82. package/dist/use-cases/commands/list-todo-linked-resources.d.ts +3 -1
  83. package/dist/use-cases/commands/list-todo-task-lists.d.ts +3 -1
  84. package/dist/use-cases/commands/list-todo-tasks.d.ts +3 -1
  85. package/dist/use-cases/commands/{get-channel-files-folder.d.ts → next-page.d.ts} +4 -3
  86. package/dist/use-cases/commands/{get-chat-message.d.ts → search-mail-messages.d.ts} +4 -3
  87. package/dist/use-cases/commands/{get-channel-message.d.ts → search-my-documents.d.ts} +4 -4
  88. package/dist/use-cases/commands/search-onedrive-files.d.ts +3 -1
  89. package/dist/use-cases/commands/search-onenote-pages.d.ts +8 -0
  90. package/dist/use-cases/commands/{get-chat-message-hosted-content.d.ts → search-sharepoint-sites-by-name.d.ts} +4 -4
  91. package/dist/use-cases/commands/search-sharepoint-sites.d.ts +3 -1
  92. package/dist/use-cases/commands/update.d.ts +16 -0
  93. package/dist/use-cases/ports/process-runner.d.ts +11 -0
  94. package/docs/commands.json +1436 -0
  95. package/package.json +6 -3
  96. package/dist/use-cases/commands/get-channel-message-hosted-content.d.ts +0 -9
  97. package/dist/use-cases/commands/get-chat.d.ts +0 -6
  98. package/dist/use-cases/commands/get-outlook-contact.d.ts +0 -6
  99. package/dist/use-cases/commands/get-sharepoint-site-item.d.ts +0 -7
  100. package/dist/use-cases/commands/list-channel-message-hosted-contents.d.ts +0 -8
  101. package/dist/use-cases/commands/list-channel-message-replies.d.ts +0 -8
  102. package/dist/use-cases/commands/list-channel-messages.d.ts +0 -7
  103. package/dist/use-cases/commands/list-channel-tabs.d.ts +0 -7
  104. package/dist/use-cases/commands/list-chat-message-hosted-contents.d.ts +0 -7
  105. package/dist/use-cases/commands/list-chat-message-replies.d.ts +0 -7
  106. package/dist/use-cases/commands/list-chat-messages.d.ts +0 -6
  107. package/dist/use-cases/commands/list-outlook-contacts.d.ts +0 -4
  108. package/dist/use-cases/commands/list-pinned-chat-messages.d.ts +0 -6
  109. package/dist/use-cases/commands/list-sharepoint-site-items.d.ts +0 -6
  110. package/dist/use-cases/commands/list-team-members.d.ts +0 -6
@@ -1,7 +1,9 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  driveId: z.ZodString;
4
5
  itemId: z.ZodString;
5
6
  }, z.core.$strip>;
6
7
  declare const execute: import("./command-types.js").CommandExecute;
7
- export { execute, schema };
8
+ declare const meta: CommandMeta;
9
+ export { execute, meta, schema };
@@ -1,4 +1,6 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{}, z.core.$strict>;
3
4
  declare const execute: import("./command-types.js").CommandExecute;
4
- export { execute, schema };
5
+ declare const meta: CommandMeta;
6
+ export { execute, meta, schema };
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
3
+ declare const schema: z.ZodObject<{
4
+ todoTaskListId: z.ZodString;
5
+ }, z.core.$strip>;
6
+ declare const execute: import("./command-types.js").CommandExecute;
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,4 +1,6 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{}, z.core.$strict>;
3
4
  declare const execute: import("./command-types.js").CommandExecute;
4
- export { execute, schema };
5
+ declare const meta: CommandMeta;
6
+ export { execute, meta, schema };
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  messageId: z.ZodString;
4
5
  }, z.core.$strip>;
5
6
  declare const execute: import("./command-types.js").CommandExecute;
6
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  mailFolderId: z.ZodString;
4
5
  }, z.core.$strip>;
5
6
  declare const execute: import("./command-types.js").CommandExecute;
6
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  mailFolderId: z.ZodString;
4
5
  }, z.core.$strip>;
5
6
  declare const execute: import("./command-types.js").CommandExecute;
6
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,4 +1,6 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{}, z.core.$strict>;
3
4
  declare const execute: import("./command-types.js").CommandExecute;
4
- export { execute, schema };
5
+ declare const meta: CommandMeta;
6
+ export { execute, meta, schema };
@@ -1,4 +1,6 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{}, z.core.$strict>;
3
4
  declare const execute: import("./command-types.js").CommandExecute;
4
- export { execute, schema };
5
+ declare const meta: CommandMeta;
6
+ export { execute, meta, schema };
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  mailFolderId: z.ZodString;
4
5
  }, z.core.$strip>;
5
6
  declare const execute: import("./command-types.js").CommandExecute;
6
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  notebookId: z.ZodString;
4
5
  }, z.core.$strip>;
5
6
  declare const execute: import("./command-types.js").CommandExecute;
6
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,4 +1,6 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{}, z.core.$strict>;
3
4
  declare const execute: import("./command-types.js").CommandExecute;
4
- export { execute, schema };
5
+ declare const meta: CommandMeta;
6
+ export { execute, meta, schema };
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  onenoteSectionId: z.ZodString;
4
5
  }, z.core.$strip>;
5
6
  declare const execute: import("./command-types.js").CommandExecute;
6
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  plannerPlanId: z.ZodString;
4
5
  }, z.core.$strip>;
5
6
  declare const execute: import("./command-types.js").CommandExecute;
6
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  plannerPlanId: z.ZodString;
4
5
  }, z.core.$strip>;
5
6
  declare const execute: import("./command-types.js").CommandExecute;
6
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,4 +1,6 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{}, z.core.$strict>;
3
4
  declare const execute: import("./command-types.js").CommandExecute;
4
- export { execute, schema };
5
+ declare const meta: CommandMeta;
6
+ export { execute, meta, schema };
@@ -1,4 +1,6 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{}, z.core.$strict>;
3
4
  declare const execute: import("./command-types.js").CommandExecute;
4
- export { execute, schema };
5
+ declare const meta: CommandMeta;
6
+ export { execute, meta, schema };
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  siteId: z.ZodString;
4
5
  }, z.core.$strip>;
5
6
  declare const execute: import("./command-types.js").CommandExecute;
6
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,7 +1,9 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  siteId: z.ZodString;
4
5
  listId: z.ZodString;
5
6
  }, z.core.$strip>;
6
7
  declare const execute: import("./command-types.js").CommandExecute;
7
- export { execute, schema };
8
+ declare const meta: CommandMeta;
9
+ export { execute, meta, schema };
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  siteId: z.ZodString;
4
5
  }, z.core.$strip>;
5
6
  declare const execute: import("./command-types.js").CommandExecute;
6
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  calendarId: z.ZodString;
4
5
  }, z.core.$strip>;
5
6
  declare const execute: import("./command-types.js").CommandExecute;
6
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  teamId: z.ZodString;
4
5
  }, z.core.$strip>;
5
6
  declare const execute: import("./command-types.js").CommandExecute;
6
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,7 +1,9 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  todoTaskListId: z.ZodString;
4
5
  todoTaskId: z.ZodString;
5
6
  }, z.core.$strip>;
6
7
  declare const execute: import("./command-types.js").CommandExecute;
7
- export { execute, schema };
8
+ declare const meta: CommandMeta;
9
+ export { execute, meta, schema };
@@ -1,4 +1,6 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{}, z.core.$strict>;
3
4
  declare const execute: import("./command-types.js").CommandExecute;
4
- export { execute, schema };
5
+ declare const meta: CommandMeta;
6
+ export { execute, meta, schema };
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
4
  todoTaskListId: z.ZodString;
4
5
  }, z.core.$strip>;
5
6
  declare const execute: import("./command-types.js").CommandExecute;
6
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,7 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
- teamId: z.ZodString;
4
- channelId: z.ZodString;
4
+ url: z.ZodString;
5
5
  }, z.core.$strip>;
6
6
  declare const execute: import("./command-types.js").CommandExecute;
7
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,7 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
- chatId: z.ZodString;
4
- chatMessageId: z.ZodString;
4
+ query: z.ZodString;
5
5
  }, z.core.$strip>;
6
6
  declare const execute: import("./command-types.js").CommandExecute;
7
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
- teamId: z.ZodString;
4
- channelId: z.ZodString;
5
- chatMessageId: z.ZodString;
4
+ query: z.ZodString;
6
5
  }, z.core.$strip>;
7
6
  declare const execute: import("./command-types.js").CommandExecute;
8
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,9 +1,11 @@
1
1
  import { z } from 'zod';
2
2
  import type { Result } from '../../domain/result.js';
3
3
  import type { GraphClient } from '../../infra/graph-client.js';
4
+ import type { CommandMeta } from './command-types.js';
4
5
  declare const schema: z.ZodObject<{
5
6
  driveId: z.ZodString;
6
7
  query: z.ZodString;
7
8
  }, z.core.$strip>;
8
9
  declare const execute: (graph: GraphClient, params: Record<string, string>) => Promise<Result<unknown, import("../../infra/graph-client.js").GraphError>>;
9
- export { execute, schema };
10
+ declare const meta: CommandMeta;
11
+ export { execute, meta, schema };
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
3
+ declare const schema: z.ZodObject<{
4
+ titleSubstring: z.ZodString;
5
+ }, z.core.$strip>;
6
+ declare const execute: import("./command-types.js").CommandExecute;
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{
3
- chatId: z.ZodString;
4
- chatMessageId: z.ZodString;
5
- chatMessageHostedContentId: z.ZodString;
4
+ query: z.ZodString;
6
5
  }, z.core.$strip>;
7
6
  declare const execute: import("./command-types.js").CommandExecute;
8
- export { execute, schema };
7
+ declare const meta: CommandMeta;
8
+ export { execute, meta, schema };
@@ -1,4 +1,6 @@
1
1
  import { z } from 'zod';
2
+ import type { CommandMeta } from './command-types.js';
2
3
  declare const schema: z.ZodObject<{}, z.core.$strict>;
3
4
  declare const execute: import("./command-types.js").CommandExecute;
4
- export { execute, schema };
5
+ declare const meta: CommandMeta;
6
+ export { execute, meta, schema };
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+ import type { Result } from '../../domain/result.js';
3
+ import type { ProcessRunner } from '../ports/process-runner.js';
4
+ export type UpdateError = {
5
+ type: 'spawn_failed';
6
+ message: string;
7
+ } | {
8
+ type: 'install_failed';
9
+ exitCode: number;
10
+ };
11
+ export type PackageManager = 'npm' | 'bun';
12
+ declare const schema: z.ZodObject<{}, z.core.$strict>;
13
+ declare const execute: (runner: ProcessRunner, manager: PackageManager) => Promise<Result<{
14
+ readonly exitCode: number;
15
+ }, UpdateError>>;
16
+ export { execute, schema };
@@ -0,0 +1,11 @@
1
+ import type { Result } from '../../domain/result.js';
2
+ export type ProcessRunnerError = {
3
+ type: 'spawn_failed';
4
+ message: string;
5
+ };
6
+ export type ProcessRunResult = {
7
+ readonly exitCode: number;
8
+ };
9
+ export type ProcessRunner = {
10
+ readonly runInherit: (command: string, args: ReadonlyArray<string>) => Promise<Result<ProcessRunResult, ProcessRunnerError>>;
11
+ };