@sideboard-ai/core 0.1.157 → 0.1.159

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 (38) hide show
  1. package/dist/{abletime-BEIDJG7W.js → abletime-HOQBDQC4.js} +2 -2
  2. package/dist/{abletime-GWZE6OYM.js → abletime-LK7GV556.js} +2 -2
  3. package/dist/{agents-LCDXN2B2.js → agents-5HY76BCR.js} +4 -4
  4. package/dist/{agents-C55LAEUR.js → agents-67ZBH5OE.js} +5 -5
  5. package/dist/{app-settings-VRQI3FIE.js → app-settings-BJ5GFAE5.js} +13 -17
  6. package/dist/{app-settings-H3INSR67.js → app-settings-YWJ4MVYM.js} +13 -17
  7. package/dist/{chunk-NVXVEGGM.js → chunk-5U4NZLBH.js} +4 -0
  8. package/dist/{chunk-DVJBO3M7.js → chunk-AGLPYXDT.js} +1 -1
  9. package/dist/{chunk-KQ4JOGUH.js → chunk-DWUOKF3W.js} +11 -5
  10. package/dist/{chunk-D7EGJ3EI.js → chunk-EQIJ5MHR.js} +119 -110
  11. package/dist/{chunk-3BWVOUQG.js → chunk-FLG4A5FJ.js} +119 -110
  12. package/dist/{chunk-2SDMENAL.js → chunk-JV4VNFMS.js} +1 -1
  13. package/dist/{chunk-LQMFCS54.js → chunk-KEDHHXKW.js} +3 -13
  14. package/dist/{chunk-CJQLPPEJ.js → chunk-MEZXWELT.js} +4 -14
  15. package/dist/{chunk-CVR4RJ6G.js → chunk-O7RWWPMR.js} +12 -13
  16. package/dist/{chunk-GWEEGE6L.js → chunk-OYOXLY6B.js} +404 -115
  17. package/dist/{chunk-4I4VKAPZ.js → chunk-SIMFKJIB.js} +13 -14
  18. package/dist/{chunk-SUCJAWV4.js → chunk-TGU3LSDG.js} +402 -113
  19. package/dist/{chunk-N27GVFZY.js → chunk-UBMCEZRE.js} +1 -1
  20. package/dist/{chunk-TIJ6QVX5.js → chunk-V4R6L2ZL.js} +15 -6
  21. package/dist/{coordinator-prompt-AM47SATF.js → coordinator-prompt-7NKY7QRK.js} +4 -4
  22. package/dist/{coordinator-prompt-26IJU2AV.js → coordinator-prompt-CNI6AK65.js} +3 -3
  23. package/dist/{global-workspace-QV7CC7SK.js → global-workspace-FKAJZHO5.js} +4 -4
  24. package/dist/{global-workspace-5BIW26YR.js → global-workspace-IJYCUO4M.js} +3 -3
  25. package/dist/index.cjs +1037 -648
  26. package/dist/index.d.cts +71 -57
  27. package/dist/index.d.ts +71 -57
  28. package/dist/index.js +339 -250
  29. package/dist/mcp/run-stdio.cjs +967 -575
  30. package/dist/mcp/run-stdio.js +283 -187
  31. package/dist/{orchestrator-BUH3LJLL.js → orchestrator-KFLS5BTP.js} +5 -5
  32. package/dist/{orchestrator-KQO4MXBI.js → orchestrator-NSVP7DJH.js} +7 -7
  33. package/dist/{plan-file-OZEBFSGQ.js → plan-file-I24VJVP2.js} +2 -2
  34. package/dist/{workspaces-NYSM2EPX.js → workspaces-D2M3AM2M.js} +3 -3
  35. package/dist/{workspaces-Q2VCHIAS.js → workspaces-OFSDJ7PZ.js} +4 -4
  36. package/dist/{worktree-PEWDAX5O.js → worktree-BQE5KLRY.js} +3 -3
  37. package/dist/{worktree-T4SWFSTT.js → worktree-EA6AD6D6.js} +2 -2
  38. package/package.json +1 -1
@@ -16,9 +16,9 @@ import {
16
16
  toAbleTimeIssueInfo,
17
17
  updateAbleTimeTask,
18
18
  verifyAbleTimeConnection
19
- } from "./chunk-N27GVFZY.js";
19
+ } from "./chunk-UBMCEZRE.js";
20
20
  import "./chunk-6GN5WPYZ.js";
21
- import "./chunk-D7EGJ3EI.js";
21
+ import "./chunk-EQIJ5MHR.js";
22
22
  import "./chunk-NSTQ6QKD.js";
23
23
  import "./chunk-KGZBYWZ3.js";
24
24
  import "./chunk-JTJHOYCU.js";
@@ -14,9 +14,9 @@ import {
14
14
  toAbleTimeIssueInfo,
15
15
  updateAbleTimeTask,
16
16
  verifyAbleTimeConnection
17
- } from "./chunk-DVJBO3M7.js";
17
+ } from "./chunk-AGLPYXDT.js";
18
18
  import "./chunk-ELBYOGVA.js";
19
- import "./chunk-3BWVOUQG.js";
19
+ import "./chunk-FLG4A5FJ.js";
20
20
  import "./chunk-4TR3HZFT.js";
21
21
  import "./chunk-JT7R45JB.js";
22
22
  import "./chunk-77WWLBCI.js";
@@ -31,14 +31,14 @@ import {
31
31
  resolveLoginCommand,
32
32
  resolveQuotaFallbackAgent,
33
33
  whichOnPath
34
- } from "./chunk-TIJ6QVX5.js";
34
+ } from "./chunk-V4R6L2ZL.js";
35
35
  import {
36
36
  ORCHESTRATOR_AGENT_KINDS,
37
37
  assertOrchestratorCapableAgent,
38
38
  coerceOrchestratorAgent,
39
39
  isOrchestratorCapableAgent
40
- } from "./chunk-CVR4RJ6G.js";
41
- import "./chunk-LQMFCS54.js";
40
+ } from "./chunk-O7RWWPMR.js";
41
+ import "./chunk-KEDHHXKW.js";
42
42
  import "./chunk-JRH62XC4.js";
43
43
  import "./chunk-XD2BAANL.js";
44
44
  import "./chunk-M267JPEA.js";
@@ -49,7 +49,7 @@ import {
49
49
  preferredCursorCostCents,
50
50
  turnCostUsdFromCursorUsage
51
51
  } from "./chunk-HEII7W3Q.js";
52
- import "./chunk-3BWVOUQG.js";
52
+ import "./chunk-FLG4A5FJ.js";
53
53
  import "./chunk-4TR3HZFT.js";
54
54
  import "./chunk-JT7R45JB.js";
55
55
  import "./chunk-7UURXPKD.js";
@@ -37,7 +37,7 @@ import {
37
37
  resolveQuotaFallbackAgent,
38
38
  turnCostUsdFromCursorUsage,
39
39
  whichOnPath
40
- } from "./chunk-KQ4JOGUH.js";
40
+ } from "./chunk-DWUOKF3W.js";
41
41
  import "./chunk-LZ6QMEQC.js";
42
42
  import "./chunk-S42XV45P.js";
43
43
  import "./chunk-6GN5WPYZ.js";
@@ -46,9 +46,9 @@ import {
46
46
  assertOrchestratorCapableAgent,
47
47
  coerceOrchestratorAgent,
48
48
  isOrchestratorCapableAgent
49
- } from "./chunk-4I4VKAPZ.js";
50
- import "./chunk-CJQLPPEJ.js";
51
- import "./chunk-NVXVEGGM.js";
49
+ } from "./chunk-SIMFKJIB.js";
50
+ import "./chunk-MEZXWELT.js";
51
+ import "./chunk-5U4NZLBH.js";
52
52
  import "./chunk-LZQULFIT.js";
53
53
  import "./chunk-SYFVUF2C.js";
54
54
  import {
@@ -60,7 +60,7 @@ import {
60
60
  resolveCommandBinarySync,
61
61
  withExportedPath
62
62
  } from "./chunk-FNQNJOHY.js";
63
- import "./chunk-D7EGJ3EI.js";
63
+ import "./chunk-EQIJ5MHR.js";
64
64
  import "./chunk-NSTQ6QKD.js";
65
65
  import "./chunk-KGZBYWZ3.js";
66
66
  import "./chunk-JTJHOYCU.js";
@@ -1,16 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import {
4
- ACCOUNT_ROLES,
5
- ACCOUNT_ROLE_LABELS,
6
- ACCOUNT_ROLE_MAX,
7
- ACCOUNT_ROLE_PRESETS,
8
4
  FOLLOW_UP_BEHAVIORS,
9
5
  GITHUB_GIT_AUTH_MODES,
10
6
  HARNESS_ENV_KEYS,
11
7
  ISSUE_SOURCE_LABELS,
12
8
  PROFILE_NOTES_MAX,
13
- accountRoleLabel,
14
9
  appSettingsPath,
15
10
  applyAppEnvironment,
16
11
  autoArchiveOnMergeEnabled,
@@ -34,9 +29,12 @@ import {
34
29
  emptyPublicIntegrations,
35
30
  ensureSlackDeviceIdentity,
36
31
  findProjectProfileKey,
32
+ foldLegacyRolesIntoNotes,
37
33
  followUpBehavior,
38
34
  formatAccountProfilePlaybookLine,
39
35
  formatProjectProfilePlaybookLines,
36
+ formatViewerContextDirective,
37
+ formatViewerContextReminder,
40
38
  formatWorkspaceProfileSuffix,
41
39
  getAbleTimeAccessToken,
42
40
  getAbleTimeHost,
@@ -57,7 +55,7 @@ import {
57
55
  maxConcurrentAgents,
58
56
  orchestrationQuotaFallbackAgent,
59
57
  orchestrationQuotaOnLimit,
60
- preferTeamsForRole,
58
+ readViewerContext,
61
59
  resolveAccountProfile,
62
60
  resolveAccountProfileFromSettings,
63
61
  resolveAgentExecutable,
@@ -67,7 +65,6 @@ import {
67
65
  resolveThreadDefaults,
68
66
  resolveViewerProfile,
69
67
  resolveViewerProfileForRepo,
70
- reviewTeamHintsForRoles,
71
68
  saveAbleTimeConnection,
72
69
  saveAppSettings,
73
70
  saveLinearOAuth,
@@ -84,22 +81,18 @@ import {
84
81
  updateDefaultsSettings,
85
82
  updateIntegrationsSettings,
86
83
  updateOpencodeSettings,
87
- updateProjectProfileSettings
88
- } from "./chunk-D7EGJ3EI.js";
84
+ updateProjectProfileSettings,
85
+ writeViewerContext
86
+ } from "./chunk-EQIJ5MHR.js";
89
87
  import "./chunk-NSTQ6QKD.js";
90
88
  import "./chunk-KGZBYWZ3.js";
91
89
  import "./chunk-JTJHOYCU.js";
92
90
  export {
93
- ACCOUNT_ROLES,
94
- ACCOUNT_ROLE_LABELS,
95
- ACCOUNT_ROLE_MAX,
96
- ACCOUNT_ROLE_PRESETS,
97
91
  FOLLOW_UP_BEHAVIORS,
98
92
  GITHUB_GIT_AUTH_MODES,
99
93
  HARNESS_ENV_KEYS,
100
94
  ISSUE_SOURCE_LABELS,
101
95
  PROFILE_NOTES_MAX,
102
- accountRoleLabel,
103
96
  appSettingsPath,
104
97
  applyAppEnvironment,
105
98
  autoArchiveOnMergeEnabled,
@@ -123,9 +116,12 @@ export {
123
116
  emptyPublicIntegrations,
124
117
  ensureSlackDeviceIdentity,
125
118
  findProjectProfileKey,
119
+ foldLegacyRolesIntoNotes,
126
120
  followUpBehavior,
127
121
  formatAccountProfilePlaybookLine,
128
122
  formatProjectProfilePlaybookLines,
123
+ formatViewerContextDirective,
124
+ formatViewerContextReminder,
129
125
  formatWorkspaceProfileSuffix,
130
126
  getAbleTimeAccessToken,
131
127
  getAbleTimeHost,
@@ -146,7 +142,7 @@ export {
146
142
  maxConcurrentAgents,
147
143
  orchestrationQuotaFallbackAgent,
148
144
  orchestrationQuotaOnLimit,
149
- preferTeamsForRole,
145
+ readViewerContext,
150
146
  resolveAccountProfile,
151
147
  resolveAccountProfileFromSettings,
152
148
  resolveAgentExecutable,
@@ -156,7 +152,6 @@ export {
156
152
  resolveThreadDefaults,
157
153
  resolveViewerProfile,
158
154
  resolveViewerProfileForRepo,
159
- reviewTeamHintsForRoles,
160
155
  saveAbleTimeConnection,
161
156
  saveAppSettings,
162
157
  saveLinearOAuth,
@@ -173,5 +168,6 @@ export {
173
168
  updateDefaultsSettings,
174
169
  updateIntegrationsSettings,
175
170
  updateOpencodeSettings,
176
- updateProjectProfileSettings
171
+ updateProjectProfileSettings,
172
+ writeViewerContext
177
173
  };
@@ -1,14 +1,9 @@
1
1
  import {
2
- ACCOUNT_ROLES,
3
- ACCOUNT_ROLE_LABELS,
4
- ACCOUNT_ROLE_MAX,
5
- ACCOUNT_ROLE_PRESETS,
6
2
  FOLLOW_UP_BEHAVIORS,
7
3
  GITHUB_GIT_AUTH_MODES,
8
4
  HARNESS_ENV_KEYS,
9
5
  ISSUE_SOURCE_LABELS,
10
6
  PROFILE_NOTES_MAX,
11
- accountRoleLabel,
12
7
  appSettingsPath,
13
8
  applyAppEnvironment,
14
9
  autoArchiveOnMergeEnabled,
@@ -32,9 +27,12 @@ import {
32
27
  emptyPublicIntegrations,
33
28
  ensureSlackDeviceIdentity,
34
29
  findProjectProfileKey,
30
+ foldLegacyRolesIntoNotes,
35
31
  followUpBehavior,
36
32
  formatAccountProfilePlaybookLine,
37
33
  formatProjectProfilePlaybookLines,
34
+ formatViewerContextDirective,
35
+ formatViewerContextReminder,
38
36
  formatWorkspaceProfileSuffix,
39
37
  getAbleTimeAccessToken,
40
38
  getAbleTimeHost,
@@ -55,7 +53,7 @@ import {
55
53
  maxConcurrentAgents,
56
54
  orchestrationQuotaFallbackAgent,
57
55
  orchestrationQuotaOnLimit,
58
- preferTeamsForRole,
56
+ readViewerContext,
59
57
  resolveAccountProfile,
60
58
  resolveAccountProfileFromSettings,
61
59
  resolveAgentExecutable,
@@ -65,7 +63,6 @@ import {
65
63
  resolveThreadDefaults,
66
64
  resolveViewerProfile,
67
65
  resolveViewerProfileForRepo,
68
- reviewTeamHintsForRoles,
69
66
  saveAbleTimeConnection,
70
67
  saveAppSettings,
71
68
  saveLinearOAuth,
@@ -82,23 +79,19 @@ import {
82
79
  updateDefaultsSettings,
83
80
  updateIntegrationsSettings,
84
81
  updateOpencodeSettings,
85
- updateProjectProfileSettings
86
- } from "./chunk-3BWVOUQG.js";
82
+ updateProjectProfileSettings,
83
+ writeViewerContext
84
+ } from "./chunk-FLG4A5FJ.js";
87
85
  import "./chunk-4TR3HZFT.js";
88
86
  import "./chunk-JT7R45JB.js";
89
87
  import "./chunk-77WWLBCI.js";
90
88
  import "./chunk-EFVFB2AH.js";
91
89
  export {
92
- ACCOUNT_ROLES,
93
- ACCOUNT_ROLE_LABELS,
94
- ACCOUNT_ROLE_MAX,
95
- ACCOUNT_ROLE_PRESETS,
96
90
  FOLLOW_UP_BEHAVIORS,
97
91
  GITHUB_GIT_AUTH_MODES,
98
92
  HARNESS_ENV_KEYS,
99
93
  ISSUE_SOURCE_LABELS,
100
94
  PROFILE_NOTES_MAX,
101
- accountRoleLabel,
102
95
  appSettingsPath,
103
96
  applyAppEnvironment,
104
97
  autoArchiveOnMergeEnabled,
@@ -122,9 +115,12 @@ export {
122
115
  emptyPublicIntegrations,
123
116
  ensureSlackDeviceIdentity,
124
117
  findProjectProfileKey,
118
+ foldLegacyRolesIntoNotes,
125
119
  followUpBehavior,
126
120
  formatAccountProfilePlaybookLine,
127
121
  formatProjectProfilePlaybookLines,
122
+ formatViewerContextDirective,
123
+ formatViewerContextReminder,
128
124
  formatWorkspaceProfileSuffix,
129
125
  getAbleTimeAccessToken,
130
126
  getAbleTimeHost,
@@ -145,7 +141,7 @@ export {
145
141
  maxConcurrentAgents,
146
142
  orchestrationQuotaFallbackAgent,
147
143
  orchestrationQuotaOnLimit,
148
- preferTeamsForRole,
144
+ readViewerContext,
149
145
  resolveAccountProfile,
150
146
  resolveAccountProfileFromSettings,
151
147
  resolveAgentExecutable,
@@ -155,7 +151,6 @@ export {
155
151
  resolveThreadDefaults,
156
152
  resolveViewerProfile,
157
153
  resolveViewerProfileForRepo,
158
- reviewTeamHintsForRoles,
159
154
  saveAbleTimeConnection,
160
155
  saveAppSettings,
161
156
  saveLinearOAuth,
@@ -172,5 +167,6 @@ export {
172
167
  updateDefaultsSettings,
173
168
  updateIntegrationsSettings,
174
169
  updateOpencodeSettings,
175
- updateProjectProfileSettings
170
+ updateProjectProfileSettings,
171
+ writeViewerContext
176
172
  };
@@ -3,7 +3,9 @@
3
3
 
4
4
  // src/paths/workspace-scratch.ts
5
5
  var ATTACHMENTS_DIR = ".context/attachments";
6
+ var DETACHED_JOBS_DIR = ".context/.sideboard/detached-jobs";
6
7
  var LEGACY_ATTACHMENTS_DIR = ".sideboard/attachments";
8
+ var LEGACY_DETACHED_JOBS_DIR = ".sideboard/detached-jobs";
7
9
  var ATTACHMENTS_GITIGNORE = `# Sideboard / workspace attachments (local only)
8
10
  *
9
11
  !.gitignore
@@ -18,7 +20,9 @@ function isWorkspaceScratchPath(relativePath) {
18
20
 
19
21
  export {
20
22
  ATTACHMENTS_DIR,
23
+ DETACHED_JOBS_DIR,
21
24
  LEGACY_ATTACHMENTS_DIR,
25
+ LEGACY_DETACHED_JOBS_DIR,
22
26
  attachmentsGitignoreBody,
23
27
  isWorkspaceScratchPath
24
28
  };
@@ -6,7 +6,7 @@ import {
6
6
  getAbleTimeHost,
7
7
  isAbleTimeConnected,
8
8
  saveAbleTimeConnection
9
- } from "./chunk-3BWVOUQG.js";
9
+ } from "./chunk-FLG4A5FJ.js";
10
10
 
11
11
  // src/integrations/abletime-mcp.ts
12
12
  var DEFAULT_ABLETIME_HOST = "https://track.abletime.com";
@@ -11,13 +11,13 @@ import {
11
11
  } from "./chunk-S42XV45P.js";
12
12
  import {
13
13
  isOrchestratorThread
14
- } from "./chunk-4I4VKAPZ.js";
14
+ } from "./chunk-SIMFKJIB.js";
15
15
  import {
16
16
  codexUnattendedGitConfigArgs,
17
17
  mergeAgentGitAuthEnv,
18
18
  resolveAgentGitAuthEnv,
19
19
  resolveCodexGitWritableRoots
20
- } from "./chunk-CJQLPPEJ.js";
20
+ } from "./chunk-MEZXWELT.js";
21
21
  import {
22
22
  enrichPathWithNpmGlobalBin,
23
23
  isConductorBundledCli,
@@ -35,7 +35,7 @@ import {
35
35
  resolveClaudeExecutable,
36
36
  unwrapStrippedElectronLaunch,
37
37
  wrapElectronAsNodeLaunch
38
- } from "./chunk-D7EGJ3EI.js";
38
+ } from "./chunk-EQIJ5MHR.js";
39
39
  import {
40
40
  appDataDir
41
41
  } from "./chunk-JTJHOYCU.js";
@@ -813,6 +813,9 @@ function toolDescription(name, input) {
813
813
  if (/present_files$/i.test(name)) {
814
814
  return str(input?.title) ? `Files ${str(input?.title)}` : "Present files";
815
815
  }
816
+ if (/wait_for_job$/i.test(name)) {
817
+ return str(input?.id) ? `Wait for ${str(input?.id)}` : "Wait for job";
818
+ }
816
819
  if (isSubagentToolName(name)) {
817
820
  const desc = str(input?.description);
818
821
  const sub = asRecord(input?.subagentType);
@@ -1476,7 +1479,10 @@ var SIDEBOARD_ARTIFACT_MCP_ALLOWED_TOOLS = [
1476
1479
  "mcp__sideboard__present_schema",
1477
1480
  "mcp__sideboard__present_files",
1478
1481
  "mcp__sideboard__ask_user",
1479
- "mcp__sideboard__present_plan"
1482
+ "mcp__sideboard__present_plan",
1483
+ "mcp__sideboard__wait_for_job",
1484
+ "mcp__sideboard__get_viewer_context",
1485
+ "mcp__sideboard__update_viewer_context"
1480
1486
  ];
1481
1487
  var SIDEBOARD_GITHUB_MCP_ALLOWED_TOOLS = ["mcp__sideboard__github_*"];
1482
1488
  var SIDEBOARD_LINEAR_MCP_ALLOWED_TOOLS = ["mcp__sideboard__linear_*"];
@@ -2152,7 +2158,7 @@ var claudeAdapter = {
2152
2158
  );
2153
2159
  }
2154
2160
  const mode = permissionMode(thread);
2155
- const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-QV7CC7SK.js");
2161
+ const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-FKAJZHO5.js");
2156
2162
  const isOrchestrator = isOrchestratorThread2(thread);
2157
2163
  const injectedServers = await buildInjectedMcpServers({
2158
2164
  includeSideboard: true,