@sideboard-ai/core 0.1.158 → 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 (35) 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-E3ZPWZRS.js → agents-5HY76BCR.js} +4 -4
  4. package/dist/{agents-RGE7PSUY.js → agents-67ZBH5OE.js} +4 -4
  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-DVJBO3M7.js → chunk-AGLPYXDT.js} +1 -1
  8. package/dist/{chunk-EPQIOAAY.js → chunk-DWUOKF3W.js} +7 -5
  9. package/dist/{chunk-D7EGJ3EI.js → chunk-EQIJ5MHR.js} +119 -110
  10. package/dist/{chunk-3BWVOUQG.js → chunk-FLG4A5FJ.js} +119 -110
  11. package/dist/{chunk-LQMFCS54.js → chunk-KEDHHXKW.js} +3 -13
  12. package/dist/{chunk-A7QXLYBN.js → chunk-MEZXWELT.js} +3 -13
  13. package/dist/{chunk-CVR4RJ6G.js → chunk-O7RWWPMR.js} +12 -13
  14. package/dist/{chunk-KYKNFJK5.js → chunk-OYOXLY6B.js} +39 -20
  15. package/dist/{chunk-3SUZMPGL.js → chunk-SIMFKJIB.js} +12 -13
  16. package/dist/{chunk-FBFIOVDH.js → chunk-TGU3LSDG.js} +38 -19
  17. package/dist/{chunk-N27GVFZY.js → chunk-UBMCEZRE.js} +1 -1
  18. package/dist/{chunk-BLRHO7XQ.js → chunk-V4R6L2ZL.js} +10 -6
  19. package/dist/{coordinator-prompt-GZESIQNH.js → coordinator-prompt-7NKY7QRK.js} +3 -3
  20. package/dist/{coordinator-prompt-26IJU2AV.js → coordinator-prompt-CNI6AK65.js} +3 -3
  21. package/dist/{global-workspace-REI55FZ6.js → global-workspace-FKAJZHO5.js} +3 -3
  22. package/dist/{global-workspace-5BIW26YR.js → global-workspace-IJYCUO4M.js} +3 -3
  23. package/dist/index.cjs +588 -472
  24. package/dist/index.d.cts +62 -57
  25. package/dist/index.d.ts +62 -57
  26. package/dist/index.js +322 -230
  27. package/dist/mcp/run-stdio.cjs +517 -399
  28. package/dist/mcp/run-stdio.js +262 -163
  29. package/dist/{orchestrator-ZVW2AC6B.js → orchestrator-KFLS5BTP.js} +5 -5
  30. package/dist/{orchestrator-J727WIJY.js → orchestrator-NSVP7DJH.js} +5 -5
  31. package/dist/{workspaces-NYSM2EPX.js → workspaces-D2M3AM2M.js} +3 -3
  32. package/dist/{workspaces-OCEPZXFD.js → workspaces-OFSDJ7PZ.js} +3 -3
  33. package/dist/{worktree-VTMBZKY6.js → worktree-BQE5KLRY.js} +2 -2
  34. package/dist/{worktree-T4SWFSTT.js → worktree-EA6AD6D6.js} +2 -2
  35. 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-BLRHO7XQ.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-EPQIOAAY.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,8 +46,8 @@ import {
46
46
  assertOrchestratorCapableAgent,
47
47
  coerceOrchestratorAgent,
48
48
  isOrchestratorCapableAgent
49
- } from "./chunk-3SUZMPGL.js";
50
- import "./chunk-A7QXLYBN.js";
49
+ } from "./chunk-SIMFKJIB.js";
50
+ import "./chunk-MEZXWELT.js";
51
51
  import "./chunk-5U4NZLBH.js";
52
52
  import "./chunk-LZQULFIT.js";
53
53
  import "./chunk-SYFVUF2C.js";
@@ -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
  };
@@ -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-3SUZMPGL.js";
14
+ } from "./chunk-SIMFKJIB.js";
15
15
  import {
16
16
  codexUnattendedGitConfigArgs,
17
17
  mergeAgentGitAuthEnv,
18
18
  resolveAgentGitAuthEnv,
19
19
  resolveCodexGitWritableRoots
20
- } from "./chunk-A7QXLYBN.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";
@@ -1480,7 +1480,9 @@ var SIDEBOARD_ARTIFACT_MCP_ALLOWED_TOOLS = [
1480
1480
  "mcp__sideboard__present_files",
1481
1481
  "mcp__sideboard__ask_user",
1482
1482
  "mcp__sideboard__present_plan",
1483
- "mcp__sideboard__wait_for_job"
1483
+ "mcp__sideboard__wait_for_job",
1484
+ "mcp__sideboard__get_viewer_context",
1485
+ "mcp__sideboard__update_viewer_context"
1484
1486
  ];
1485
1487
  var SIDEBOARD_GITHUB_MCP_ALLOWED_TOOLS = ["mcp__sideboard__github_*"];
1486
1488
  var SIDEBOARD_LINEAR_MCP_ALLOWED_TOOLS = ["mcp__sideboard__linear_*"];
@@ -2156,7 +2158,7 @@ var claudeAdapter = {
2156
2158
  );
2157
2159
  }
2158
2160
  const mode = permissionMode(thread);
2159
- const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-REI55FZ6.js");
2161
+ const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-FKAJZHO5.js");
2160
2162
  const isOrchestrator = isOrchestratorThread2(thread);
2161
2163
  const injectedServers = await buildInjectedMcpServers({
2162
2164
  includeSideboard: true,