@sideboard-ai/core 0.1.320 → 0.1.322

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 (56) hide show
  1. package/dist/agents/cursor-runner.js +2 -2
  2. package/dist/{agents-CJZYJOWP.js → agents-PFVYC36J.js} +8 -8
  3. package/dist/{agents-F2E2HACB.js → agents-ROFDNE7Z.js} +9 -9
  4. package/dist/{chunk-QVN2WOKJ.js → chunk-2TUE6JKQ.js} +12 -0
  5. package/dist/{chunk-B7UL36WH.js → chunk-45UB2J47.js} +335 -65
  6. package/dist/{chunk-DD67JWTN.js → chunk-4YXZOXMT.js} +1 -1
  7. package/dist/{chunk-V5BTGQ6M.js → chunk-6U6QRUHY.js} +1 -1
  8. package/dist/{chunk-QGY3UNNL.js → chunk-7JV5QP5K.js} +1 -1
  9. package/dist/{chunk-DJZRDTZY.js → chunk-BANN5HUX.js} +6 -6
  10. package/dist/{chunk-CB5Z5C3J.js → chunk-BPDVHB4U.js} +1 -1
  11. package/dist/{chunk-RHJPP26T.js → chunk-H6GXYV5Q.js} +14 -11
  12. package/dist/{chunk-4GZC6DDH.js → chunk-IFWGG2M2.js} +7 -0
  13. package/dist/{chunk-LLIEU2ZB.js → chunk-JNEFEA2A.js} +6 -6
  14. package/dist/{chunk-IDPFLXRY.js → chunk-LD2DXHBP.js} +341 -67
  15. package/dist/{chunk-2P4XKWV2.js → chunk-QKHEVSB5.js} +1 -1
  16. package/dist/{chunk-P74GXA5V.js → chunk-RGUZPMTF.js} +6 -6
  17. package/dist/{chunk-UK2KESBN.js → chunk-RHJKZOPQ.js} +3 -3
  18. package/dist/{chunk-HH3VVTEC.js → chunk-S5CJUIPY.js} +5 -5
  19. package/dist/{chunk-5S3YP5KH.js → chunk-SPMIZSKH.js} +14 -11
  20. package/dist/{chunk-EQ5JY3MJ.js → chunk-TEFFR6PB.js} +1 -1
  21. package/dist/{chunk-EDXTP2VR.js → chunk-UWJUARFA.js} +545 -186
  22. package/dist/{chunk-OAFBHCSM.js → chunk-UX6EDDGR.js} +1 -1
  23. package/dist/{chunk-ZYZBCLJR.js → chunk-XDQSHSL6.js} +6 -6
  24. package/dist/{chunk-2UG25RMK.js → chunk-YBTSZ2SW.js} +12 -0
  25. package/dist/{chunk-PNLGWAYE.js → chunk-YWBLQBSN.js} +548 -187
  26. package/dist/{chunk-Y3Y7SZBZ.js → chunk-ZHGMRBSC.js} +1 -1
  27. package/dist/{conductor-FPFY6Z5S.js → conductor-CNT3VL3S.js} +6 -6
  28. package/dist/{conductor-JA5W3L7C.js → conductor-XLXJU24U.js} +6 -6
  29. package/dist/{connected-teams-IHK2WXUI.js → connected-teams-H4LZOJDC.js} +2 -2
  30. package/dist/{connected-teams-IFW3NQ6G.js → connected-teams-XYRZMQO4.js} +2 -2
  31. package/dist/{coordinator-prompt-NUC2ZXMJ.js → coordinator-prompt-D5EE2YTV.js} +5 -5
  32. package/dist/{coordinator-prompt-M75TAN43.js → coordinator-prompt-TU24TQ4I.js} +5 -5
  33. package/dist/{global-workspace-5A4H34AF.js → global-workspace-743TPQNF.js} +5 -5
  34. package/dist/{global-workspace-SCLQUNUI.js → global-workspace-UPMXDQM7.js} +5 -5
  35. package/dist/index.cjs +1577 -471
  36. package/dist/index.d.cts +182 -70
  37. package/dist/index.d.ts +182 -70
  38. package/dist/index.js +480 -62
  39. package/dist/mcp/run-stdio.cjs +1159 -447
  40. package/dist/mcp/run-stdio.js +65 -17
  41. package/dist/{optional-cli-MRNQKVIR.js → optional-cli-2YDQQCCD.js} +4 -4
  42. package/dist/{optional-cli-2V3SLME5.js → optional-cli-USD6PROE.js} +3 -3
  43. package/dist/{orchestrator-NPFWU3XU.js → orchestrator-B4STIW4B.js} +12 -12
  44. package/dist/{orchestrator-7BDZ5GWD.js → orchestrator-VQ4HRYVB.js} +11 -11
  45. package/dist/{run-PCX5QWR4.js → run-7QMRYP3F.js} +3 -1
  46. package/dist/{run-TB7RBII2.js → run-UPNCCRCN.js} +3 -1
  47. package/dist/{thread-store-JWHVXLDX.js → thread-store-3F7GR64A.js} +1 -1
  48. package/dist/{thread-store-QHYN2ZMQ.js → thread-store-JRSL4HQY.js} +1 -1
  49. package/dist/{workspaces-KWMBOTQD.js → workspaces-47WQL5IG.js} +5 -5
  50. package/dist/{workspaces-5QA3YM4L.js → workspaces-75FD4QUR.js} +5 -5
  51. package/dist/{worktree-O6BANO2I.js → worktree-G3E6WP66.js} +10 -8
  52. package/dist/{worktree-7EATHVYQ.js → worktree-PDNPL5CQ.js} +10 -8
  53. package/dist/{worktree-exclude-RXZPTCNH.js → worktree-exclude-INRDQFWV.js} +2 -2
  54. package/dist/{worktree-exclude-5N2KTYIT.js → worktree-exclude-P5NJODWP.js} +2 -2
  55. package/package.json +1 -1
  56. /package/dist/{chunk-XMHMVEIY.js → chunk-B4CDSSRN.js} +0 -0
@@ -56,7 +56,7 @@ import {
56
56
  updateSchedule,
57
57
  workspaceTagTargetRef,
58
58
  writeAgentBlock
59
- } from "../chunk-B7UL36WH.js";
59
+ } from "../chunk-45UB2J47.js";
60
60
  import "../chunk-LX5R5JOR.js";
61
61
  import {
62
62
  commentAbleTimeTask,
@@ -81,7 +81,7 @@ import "../chunk-HHPTGIKS.js";
81
81
  import "../chunk-5OQONGHO.js";
82
82
  import {
83
83
  normalizeServiceOrigin
84
- } from "../chunk-OAFBHCSM.js";
84
+ } from "../chunk-UX6EDDGR.js";
85
85
  import {
86
86
  PRESENT_PLAN_REQUIRES_PLAN_MODE,
87
87
  PRESENT_PLAN_TOOL_DESCRIPTION,
@@ -97,9 +97,9 @@ import {
97
97
  shouldRegisterMcpWaitForTurn,
98
98
  sideboardMcpProfile,
99
99
  worktreeMcpToolNames
100
- } from "../chunk-ZYZBCLJR.js";
101
- import "../chunk-QGY3UNNL.js";
102
- import "../chunk-V5BTGQ6M.js";
100
+ } from "../chunk-XDQSHSL6.js";
101
+ import "../chunk-7JV5QP5K.js";
102
+ import "../chunk-6U6QRUHY.js";
103
103
  import "../chunk-E63AM3PW.js";
104
104
  import {
105
105
  httpFetch
@@ -114,7 +114,7 @@ import {
114
114
  waitForDetachedJob,
115
115
  waitForTurnToolResult,
116
116
  workspaceAgentChatSummaries
117
- } from "../chunk-P74GXA5V.js";
117
+ } from "../chunk-RGUZPMTF.js";
118
118
  import {
119
119
  HUGE_TOOL_RESULT_SUMMARY,
120
120
  clipToolResultForStore,
@@ -125,7 +125,7 @@ import {
125
125
  import {
126
126
  GLOBAL_WORKSPACE_ID,
127
127
  isCloudCoordinatorThread
128
- } from "../chunk-5S3YP5KH.js";
128
+ } from "../chunk-SPMIZSKH.js";
129
129
  import {
130
130
  canonicalizeRepoPath,
131
131
  formatGhLandError,
@@ -134,18 +134,20 @@ import {
134
134
  listPrs,
135
135
  resolveGithubRepoSlug,
136
136
  resolveListPrsOptions,
137
+ resolveOriginRemote,
138
+ resolveProjectRemoteTag,
137
139
  resolveRepoRoot,
138
140
  warmGithubAgentAuth
139
- } from "../chunk-PNLGWAYE.js";
141
+ } from "../chunk-YWBLQBSN.js";
140
142
  import {
141
143
  CLI_DIR
142
144
  } from "../chunk-N2WW62LF.js";
143
- import "../chunk-DD67JWTN.js";
145
+ import "../chunk-4YXZOXMT.js";
144
146
  import {
145
147
  gh,
146
148
  resolveGhAuthToken,
147
149
  run
148
- } from "../chunk-2UG25RMK.js";
150
+ } from "../chunk-YBTSZ2SW.js";
149
151
  import {
150
152
  disconnectLinearConnection,
151
153
  formatWorkspaceProfileSuffix,
@@ -169,7 +171,7 @@ import {
169
171
  normalizeWorkspaceTags,
170
172
  readThread,
171
173
  updateThread
172
- } from "../chunk-XMHMVEIY.js";
174
+ } from "../chunk-B4CDSSRN.js";
173
175
  import "../chunk-WMZIANPV.js";
174
176
  import "../chunk-KGZBYWZ3.js";
175
177
  import {
@@ -1959,6 +1961,18 @@ async function commentLinearIssue(input, opts) {
1959
1961
  }
1960
1962
 
1961
1963
  // src/integrations/issues.ts
1964
+ var CURSOR_ISSUES_UNAVAILABLE = "Cursor Origin has no issue tracker. Tickets for this repo come from Linear or AbleTime (Settings \u2192 Issues).";
1965
+ var ENTIRE_ISSUES_ARE_TRAILS = "Entire does not use GitHub Issues. Tickets for this repo are Trails (`entire trail list`). Linear or AbleTime still work when selected in Settings \u2192 Issues.";
1966
+ async function cursorIssuesUnavailableReason(repoPath) {
1967
+ try {
1968
+ const remote = await resolveOriginRemote(repoPath);
1969
+ if (remote?.forge === "cursor") return CURSOR_ISSUES_UNAVAILABLE;
1970
+ if (remote?.forge === "entire") return ENTIRE_ISSUES_ARE_TRAILS;
1971
+ return null;
1972
+ } catch {
1973
+ return null;
1974
+ }
1975
+ }
1962
1976
  function assigneeKey(assignee) {
1963
1977
  return (assignee ?? "").trim().toLowerCase();
1964
1978
  }
@@ -2120,6 +2134,17 @@ async function listIssues(repoPath, opts) {
2120
2134
  ...since ? { since, comments: commentsFromAbleTimeIssues(tasks, issues2, since) } : {}
2121
2135
  };
2122
2136
  }
2137
+ const unavailableReason = await cursorIssuesUnavailableReason(repoPath);
2138
+ if (unavailableReason) {
2139
+ return {
2140
+ source,
2141
+ preferredSource,
2142
+ linearConnected,
2143
+ abletimeConnected,
2144
+ issues: [],
2145
+ unavailableReason
2146
+ };
2147
+ }
2123
2148
  const [issues, login] = await Promise.all([
2124
2149
  listGitHubIssues(repoPath, { assignee, query, limit: opts?.limit, updatedSince: since }),
2125
2150
  githubViewerLogin(repoPath)
@@ -2889,11 +2914,15 @@ function fail2(err) {
2889
2914
  true
2890
2915
  );
2891
2916
  }
2917
+ async function cursorIssueBlock(repoPath) {
2918
+ const cwd = await resolveRepoRoot((repoPath ?? "").trim() || process.cwd());
2919
+ return cursorIssuesUnavailableReason(cwd);
2920
+ }
2892
2921
  var repoPathSchema = z3.string().optional().describe("Workspace / worktree path. Omit on a worktree turn (uses cwd).");
2893
2922
  function registerGithubIssueTools(server) {
2894
2923
  server.tool(
2895
2924
  "github_search_issues",
2896
- "Search or list open GitHub issues in this repo via Account gh. Default 40; pass query and/or limit (max 250) when truncated. assignee: me, unassigned, all, or a login. Pass updatedSince for new/updated tickets and new comments (e.g. \u201Cany updates since yesterday?\u201D).",
2925
+ "Search or list open GitHub issues in this repo via Account gh. A Cursor origin returns unavailableReason \u2014 Origin has no issue tracker. An Entire origin does the same \u2014 tickets there are Trails (`entire trail`), not GitHub Issues. Default 40; pass query and/or limit (max 250) when truncated. assignee: me, unassigned, all, or a login. Pass updatedSince for new/updated tickets and new comments (e.g. \u201Cany updates since yesterday?\u201D).",
2897
2926
  {
2898
2927
  query: z3.string().optional().describe("Search text (title, body, identifiers). Omit to list by assignee only."),
2899
2928
  assignee: z3.string().optional().describe("me, unassigned, all, or a GitHub login. Default: all when query is set, otherwise me."),
@@ -2905,6 +2934,15 @@ function registerGithubIssueTools(server) {
2905
2934
  try {
2906
2935
  const cwd = await resolveRepoRoot((repoPath ?? "").trim() || process.cwd());
2907
2936
  const page = clampMcpIssueLimit(limit);
2937
+ const blocked = await cursorIssuesUnavailableReason(cwd);
2938
+ if (blocked) {
2939
+ return mcpJson(
2940
+ formatListedIssuesForMcp(
2941
+ { source: "github", issues: [], unavailableReason: blocked },
2942
+ page
2943
+ )
2944
+ );
2945
+ }
2908
2946
  const since = updatedSince ? parseIssueSince(updatedSince) : void 0;
2909
2947
  const issues = await listGitHubIssues(cwd, {
2910
2948
  query,
@@ -2940,6 +2978,8 @@ function registerGithubIssueTools(server) {
2940
2978
  { repoPath: repoPathSchema },
2941
2979
  async ({ repoPath }) => {
2942
2980
  try {
2981
+ const blocked = await cursorIssueBlock(repoPath);
2982
+ if (blocked) throw new Error(blocked);
2943
2983
  return text2({ projects: await listGitHubProjects({ repoPath }) });
2944
2984
  } catch (err) {
2945
2985
  return fail2(err);
@@ -2952,6 +2992,8 @@ function registerGithubIssueTools(server) {
2952
2992
  { id: z3.string(), include: mcpIssueIncludeSchema, repoPath: repoPathSchema },
2953
2993
  async ({ id, include, repoPath }) => {
2954
2994
  try {
2995
+ const blocked = await cursorIssueBlock(repoPath);
2996
+ if (blocked) throw new Error(blocked);
2955
2997
  return text2(formatGitHubIssuePayload(await getGitHubIssue(id, { repoPath }), include));
2956
2998
  } catch (err) {
2957
2999
  return fail2(err);
@@ -2980,6 +3022,8 @@ function registerGithubIssueTools(server) {
2980
3022
  { id: z3.string(), body: z3.string(), repoPath: repoPathSchema },
2981
3023
  async ({ id, body, repoPath }) => {
2982
3024
  try {
3025
+ const blocked = await cursorIssueBlock(repoPath);
3026
+ if (blocked) throw new Error(blocked);
2983
3027
  return text2(await commentGitHubIssue({ id, body }, { repoPath }));
2984
3028
  } catch (err) {
2985
3029
  return fail2(err);
@@ -3007,6 +3051,8 @@ function registerGithubIssueTools(server) {
3007
3051
  },
3008
3052
  async (args) => {
3009
3053
  try {
3054
+ const blocked = await cursorIssueBlock(args.repoPath);
3055
+ if (blocked) throw new Error(blocked);
3010
3056
  return text2(await updateGitHubIssue(args, { repoPath: args.repoPath }));
3011
3057
  } catch (err) {
3012
3058
  return fail2(err);
@@ -3024,6 +3070,8 @@ function registerGithubIssueTools(server) {
3024
3070
  },
3025
3071
  async (args) => {
3026
3072
  try {
3073
+ const blocked = await cursorIssueBlock(args.repoPath);
3074
+ if (blocked) throw new Error(blocked);
3027
3075
  return text2(await createGitHubIssue(args, { repoPath: args.repoPath }));
3028
3076
  } catch (err) {
3029
3077
  return fail2(err);
@@ -4047,13 +4095,13 @@ async function startMcpServer() {
4047
4095
  if (!worktreeProfile) {
4048
4096
  server.tool(
4049
4097
  "list_projects",
4050
- "List registered projects (git repos). Each line is name, path, github:owner/repo when resolvable, and project context when set \u2014 use path as repoPath for list_board/list_branches/list_prs/list_issues/create_workspace. Account / project context (Settings \u2192 Agents / Projects) says which tickets and review PRs belong to the user.",
4098
+ "List registered projects (git repos). Each line is name, path, that repo's origin as host:owner/repo (github:, cursor:, entire:, or another hostname), and project context when set. Projects do not share one git host. Use path as repoPath for list_board/list_branches/list_prs/list_issues/create_workspace. Account / project context (Settings \u2192 Agents / Projects) says which tickets and review PRs belong to the user.",
4051
4099
  {},
4052
4100
  async () => {
4053
4101
  const workspaces = orch.listWorkspaces();
4054
4102
  const lines = await Promise.all(
4055
4103
  workspaces.map(async (w) => {
4056
- const slug = await resolveGithubRepoSlug(w.path).catch(() => null);
4104
+ const tag = await resolveProjectRemoteTag(w.path).catch(() => null);
4057
4105
  let profile;
4058
4106
  try {
4059
4107
  profile = resolveViewerProfileForRepo(w.path);
@@ -4061,7 +4109,7 @@ async function startMcpServer() {
4061
4109
  profile = resolveViewerProfile();
4062
4110
  }
4063
4111
  const suffix = formatWorkspaceProfileSuffix(profile);
4064
- return slug ? `${w.name} ${w.path} github:${slug}${suffix}` : `${w.name} ${w.path}${suffix}`;
4112
+ return tag ? `${w.name} ${w.path} ${tag}${suffix}` : `${w.name} ${w.path}${suffix}`;
4065
4113
  })
4066
4114
  );
4067
4115
  return {
@@ -4908,7 +4956,7 @@ async function startMcpServer() {
4908
4956
  error: true,
4909
4957
  action,
4910
4958
  lastError: message,
4911
- hint: /body is too long/i.test(message) ? "Branch is already pushed. send_to_chat so the worktree agent runs gh pr create --draft --assignee @me -R <origin> --body-file <short.md>. Keep the description short." : void 0
4959
+ hint: /body is too long/i.test(message) ? "Branch is already pushed. send_to_chat so the worktree agent retries with a short body (GitHub: gh pr create --draft --assignee @me -R <slug>; Cursor: origin pr create --draft --push -R <slug>; Entire: entire trail create --title with a short --body). Keep the description short." : void 0
4912
4960
  },
4913
4961
  true
4914
4962
  );
@@ -5218,7 +5266,7 @@ async function startMcpServer() {
5218
5266
  );
5219
5267
  server.tool(
5220
5268
  "list_issues",
5221
- "List or search issues (Linear, AbleTime, or GitHub; falls back to GitHub). Use Settings \u2192 Agents / Projects notes and roles to pick tickets relevant to the viewer (query + assignee=me or unassigned as the notes say). Default 40; pass query and/or limit (max 250) when truncated. assignee: me (Linear default), unassigned, all, or a user id. Pass updatedSince for new/updated tickets and new comments (\u201Cany updates since yesterday?\u201D). Then create_workspace with sourceType=ticket.",
5269
+ "List or search issues (Linear, AbleTime, or GitHub; falls back to GitHub). Cursor Origin has no issue tracker \u2014 a Cursor repo returns unavailableReason unless Linear or AbleTime is the source. Entire tickets are Trails (`entire trail`), not GitHub Issues, so an Entire repo does the same unless Linear or AbleTime is the source. Use Settings \u2192 Agents / Projects notes and roles to pick tickets relevant to the viewer (query + assignee=me or unassigned as the notes say). Default 40; pass query and/or limit (max 250) when truncated. assignee: me (Linear default), unassigned, all, or a user id. Pass updatedSince for new/updated tickets and new comments (\u201Cany updates since yesterday?\u201D). Then create_workspace with sourceType=ticket.",
5222
5270
  {
5223
5271
  repoPath: z8.string(),
5224
5272
  query: z8.string().optional().describe("Search title, identifier, or description"),
@@ -3,11 +3,11 @@ import {
3
3
  detectOptionalServiceClis,
4
4
  installOptionalServiceCli,
5
5
  optionalCliPresence
6
- } from "./chunk-UK2KESBN.js";
7
- import "./chunk-EQ5JY3MJ.js";
8
- import "./chunk-CB5Z5C3J.js";
6
+ } from "./chunk-RHJKZOPQ.js";
7
+ import "./chunk-TEFFR6PB.js";
8
+ import "./chunk-BPDVHB4U.js";
9
9
  import "./chunk-JAT3JFOS.js";
10
- import "./chunk-QVN2WOKJ.js";
10
+ import "./chunk-2TUE6JKQ.js";
11
11
  import "./chunk-FZKAAAEB.js";
12
12
  import "./chunk-77WWLBCI.js";
13
13
  import "./chunk-4TR3HZFT.js";
@@ -4,15 +4,15 @@ import {
4
4
  OPTIONAL_SERVICES,
5
5
  isOptionalServiceId,
6
6
  optionalServiceSpec
7
- } from "./chunk-OAFBHCSM.js";
7
+ } from "./chunk-UX6EDDGR.js";
8
8
  import {
9
9
  installNpmGlobalPackage,
10
10
  whichOnPath
11
- } from "./chunk-QGY3UNNL.js";
11
+ } from "./chunk-7JV5QP5K.js";
12
12
  import "./chunk-2GPQZZLY.js";
13
13
  import {
14
14
  enrichPathWithNpmGlobalBin
15
- } from "./chunk-2UG25RMK.js";
15
+ } from "./chunk-YBTSZ2SW.js";
16
16
  import "./chunk-IFU4W4C4.js";
17
17
  import "./chunk-NSTQ6QKD.js";
18
18
  import "./chunk-WWUABK6B.js";
@@ -9,28 +9,28 @@ import {
9
9
  resolveSendFollowUp,
10
10
  startOrchestration,
11
11
  waitForPidExit
12
- } from "./chunk-IDPFLXRY.js";
12
+ } from "./chunk-LD2DXHBP.js";
13
13
  import "./chunk-PGPSIEMW.js";
14
- import "./chunk-LLIEU2ZB.js";
15
- import "./chunk-HH3VVTEC.js";
16
- import "./chunk-DJZRDTZY.js";
14
+ import "./chunk-JNEFEA2A.js";
15
+ import "./chunk-S5CJUIPY.js";
16
+ import "./chunk-BANN5HUX.js";
17
17
  import "./chunk-QIC2JXHW.js";
18
18
  import "./chunk-7H655NEW.js";
19
- import "./chunk-EQ5JY3MJ.js";
20
- import "./chunk-CB5Z5C3J.js";
21
- import "./chunk-RHJPP26T.js";
22
- import "./chunk-EDXTP2VR.js";
23
- import "./chunk-4GZC6DDH.js";
24
- import "./chunk-2P4XKWV2.js";
19
+ import "./chunk-TEFFR6PB.js";
20
+ import "./chunk-BPDVHB4U.js";
21
+ import "./chunk-H6GXYV5Q.js";
22
+ import "./chunk-UWJUARFA.js";
23
+ import "./chunk-IFWGG2M2.js";
24
+ import "./chunk-QKHEVSB5.js";
25
25
  import "./chunk-RSA47QYR.js";
26
26
  import "./chunk-JAT3JFOS.js";
27
27
  import "./chunk-F2PVRF3B.js";
28
28
  import "./chunk-AXQ4ZWHK.js";
29
- import "./chunk-Y3Y7SZBZ.js";
29
+ import "./chunk-ZHGMRBSC.js";
30
30
  import "./chunk-5XNT6BCG.js";
31
31
  import "./chunk-6K64FJDD.js";
32
32
  import "./chunk-LG6RJBIY.js";
33
- import "./chunk-QVN2WOKJ.js";
33
+ import "./chunk-2TUE6JKQ.js";
34
34
  import "./chunk-YDUHLWI5.js";
35
35
  import "./chunk-FZKAAAEB.js";
36
36
  import "./chunk-77WWLBCI.js";
@@ -11,29 +11,29 @@ import {
11
11
  resolveSendFollowUp,
12
12
  startOrchestration,
13
13
  waitForPidExit
14
- } from "./chunk-B7UL36WH.js";
14
+ } from "./chunk-45UB2J47.js";
15
15
  import "./chunk-LX5R5JOR.js";
16
- import "./chunk-OAFBHCSM.js";
16
+ import "./chunk-UX6EDDGR.js";
17
17
  import "./chunk-4GK32AYX.js";
18
18
  import "./chunk-DC3VZXMA.js";
19
- import "./chunk-ZYZBCLJR.js";
20
- import "./chunk-QGY3UNNL.js";
21
- import "./chunk-V5BTGQ6M.js";
19
+ import "./chunk-XDQSHSL6.js";
20
+ import "./chunk-7JV5QP5K.js";
21
+ import "./chunk-6U6QRUHY.js";
22
22
  import "./chunk-E63AM3PW.js";
23
23
  import "./chunk-2GPQZZLY.js";
24
- import "./chunk-P74GXA5V.js";
24
+ import "./chunk-RGUZPMTF.js";
25
25
  import "./chunk-EQ52JR3Q.js";
26
- import "./chunk-5S3YP5KH.js";
27
- import "./chunk-PNLGWAYE.js";
26
+ import "./chunk-SPMIZSKH.js";
27
+ import "./chunk-YWBLQBSN.js";
28
28
  import "./chunk-N2WW62LF.js";
29
- import "./chunk-DD67JWTN.js";
30
- import "./chunk-2UG25RMK.js";
29
+ import "./chunk-4YXZOXMT.js";
30
+ import "./chunk-YBTSZ2SW.js";
31
31
  import "./chunk-IFU4W4C4.js";
32
32
  import "./chunk-NSTQ6QKD.js";
33
33
  import "./chunk-WWUABK6B.js";
34
34
  import "./chunk-FJZWM2ON.js";
35
35
  import "./chunk-J2LNLI4S.js";
36
- import "./chunk-XMHMVEIY.js";
36
+ import "./chunk-B4CDSSRN.js";
37
37
  import "./chunk-WMZIANPV.js";
38
38
  import "./chunk-KGZBYWZ3.js";
39
39
  import "./chunk-WOU343SI.js";
@@ -1,14 +1,16 @@
1
1
  import {
2
2
  gh,
3
3
  git,
4
+ originCli,
4
5
  resolveGhAuthToken,
5
6
  resolveGitDirsForLockRecovery,
6
7
  run
7
- } from "./chunk-QVN2WOKJ.js";
8
+ } from "./chunk-2TUE6JKQ.js";
8
9
  import "./chunk-4TR3HZFT.js";
9
10
  export {
10
11
  gh,
11
12
  git,
13
+ originCli,
12
14
  resolveGhAuthToken,
13
15
  resolveGitDirsForLockRecovery,
14
16
  run
@@ -3,14 +3,16 @@
3
3
  import {
4
4
  gh,
5
5
  git,
6
+ originCli,
6
7
  resolveGhAuthToken,
7
8
  resolveGitDirsForLockRecovery,
8
9
  run
9
- } from "./chunk-2UG25RMK.js";
10
+ } from "./chunk-YBTSZ2SW.js";
10
11
  import "./chunk-WWUABK6B.js";
11
12
  export {
12
13
  gh,
13
14
  git,
15
+ originCli,
14
16
  resolveGhAuthToken,
15
17
  resolveGitDirsForLockRecovery,
16
18
  run
@@ -17,7 +17,7 @@ import {
17
17
  updateThread,
18
18
  withThreadLock,
19
19
  writeThread
20
- } from "./chunk-XMHMVEIY.js";
20
+ } from "./chunk-B4CDSSRN.js";
21
21
  import "./chunk-WMZIANPV.js";
22
22
  import "./chunk-KGZBYWZ3.js";
23
23
  import "./chunk-WOU343SI.js";
@@ -15,7 +15,7 @@ import {
15
15
  updateThread,
16
16
  withThreadLock,
17
17
  writeThread
18
- } from "./chunk-4GZC6DDH.js";
18
+ } from "./chunk-IFWGG2M2.js";
19
19
  import "./chunk-F2PVRF3B.js";
20
20
  import "./chunk-LG6RJBIY.js";
21
21
  import "./chunk-77WWLBCI.js";
@@ -9,14 +9,14 @@ import {
9
9
  removeWorkspace,
10
10
  sameWorkspacePath,
11
11
  syncWorkspacesFromThreads
12
- } from "./chunk-RHJPP26T.js";
13
- import "./chunk-EDXTP2VR.js";
14
- import "./chunk-4GZC6DDH.js";
15
- import "./chunk-2P4XKWV2.js";
12
+ } from "./chunk-H6GXYV5Q.js";
13
+ import "./chunk-UWJUARFA.js";
14
+ import "./chunk-IFWGG2M2.js";
15
+ import "./chunk-QKHEVSB5.js";
16
16
  import "./chunk-F2PVRF3B.js";
17
17
  import "./chunk-6K64FJDD.js";
18
18
  import "./chunk-LG6RJBIY.js";
19
- import "./chunk-QVN2WOKJ.js";
19
+ import "./chunk-2TUE6JKQ.js";
20
20
  import "./chunk-FZKAAAEB.js";
21
21
  import "./chunk-77WWLBCI.js";
22
22
  import "./chunk-4TR3HZFT.js";
@@ -11,17 +11,17 @@ import {
11
11
  removeWorkspace,
12
12
  sameWorkspacePath,
13
13
  syncWorkspacesFromThreads
14
- } from "./chunk-5S3YP5KH.js";
15
- import "./chunk-PNLGWAYE.js";
14
+ } from "./chunk-SPMIZSKH.js";
15
+ import "./chunk-YWBLQBSN.js";
16
16
  import "./chunk-N2WW62LF.js";
17
- import "./chunk-DD67JWTN.js";
18
- import "./chunk-2UG25RMK.js";
17
+ import "./chunk-4YXZOXMT.js";
18
+ import "./chunk-YBTSZ2SW.js";
19
19
  import "./chunk-IFU4W4C4.js";
20
20
  import "./chunk-NSTQ6QKD.js";
21
21
  import "./chunk-WWUABK6B.js";
22
22
  import "./chunk-FJZWM2ON.js";
23
23
  import "./chunk-J2LNLI4S.js";
24
- import "./chunk-XMHMVEIY.js";
24
+ import "./chunk-B4CDSSRN.js";
25
25
  import "./chunk-WMZIANPV.js";
26
26
  import "./chunk-KGZBYWZ3.js";
27
27
  import "./chunk-WOU343SI.js";
@@ -9,11 +9,11 @@ import {
9
9
  connectedPrSelectors,
10
10
  countUnpushedVsOrigin,
11
11
  createExistingBranchWorktree,
12
- createOrUpdatePr,
13
12
  createThreadWorktree,
14
13
  currentBranch,
15
14
  detectLocalMergeConflicts,
16
15
  ensureGhPreferOrigin,
16
+ entireUsesTrails,
17
17
  fastForwardMainCheckoutIfSafe,
18
18
  fetchOriginForWorktree,
19
19
  fetchPrHead,
@@ -23,7 +23,6 @@ import {
23
23
  getPrForHeadBranch,
24
24
  getPrMeta,
25
25
  ghHeadRef,
26
- ghPrCreateAssigneeArgs,
27
26
  ghRepoSelectArgs,
28
27
  githubAgentGitEnv,
29
28
  isDefaultishSourceRef,
@@ -43,17 +42,19 @@ import {
43
42
  resolveDefaultBranch,
44
43
  resolveDiffBaseRef,
45
44
  resolveGithubRepoSlug,
45
+ resolveOriginRemote,
46
46
  resolvePrSelector,
47
47
  resolvePrSelectors,
48
+ resolveProjectRemoteTag,
48
49
  resolveRepoRoot,
49
50
  resolveWorktreeStartPoint,
50
51
  slugify,
51
52
  suggestSlug,
52
53
  switchWorktreeBranch
53
- } from "./chunk-PNLGWAYE.js";
54
+ } from "./chunk-YWBLQBSN.js";
54
55
  import "./chunk-N2WW62LF.js";
55
- import "./chunk-DD67JWTN.js";
56
- import "./chunk-2UG25RMK.js";
56
+ import "./chunk-4YXZOXMT.js";
57
+ import "./chunk-YBTSZ2SW.js";
57
58
  import "./chunk-IFU4W4C4.js";
58
59
  import "./chunk-NSTQ6QKD.js";
59
60
  import "./chunk-WWUABK6B.js";
@@ -74,7 +75,7 @@ import {
74
75
  worktreeDisplayLabelForGroup,
75
76
  worktreeNameFromPath,
76
77
  worktreeSlugForTicket
77
- } from "./chunk-XMHMVEIY.js";
78
+ } from "./chunk-B4CDSSRN.js";
78
79
  import "./chunk-WMZIANPV.js";
79
80
  import "./chunk-KGZBYWZ3.js";
80
81
  import "./chunk-WOU343SI.js";
@@ -90,11 +91,11 @@ export {
90
91
  connectedPrSelectors,
91
92
  countUnpushedVsOrigin,
92
93
  createExistingBranchWorktree,
93
- createOrUpdatePr,
94
94
  createThreadWorktree,
95
95
  currentBranch,
96
96
  detectLocalMergeConflicts,
97
97
  ensureGhPreferOrigin,
98
+ entireUsesTrails,
98
99
  fastForwardMainCheckoutIfSafe,
99
100
  fetchOriginForWorktree,
100
101
  fetchPrHead,
@@ -104,7 +105,6 @@ export {
104
105
  getPrForHeadBranch,
105
106
  getPrMeta,
106
107
  ghHeadRef,
107
- ghPrCreateAssigneeArgs,
108
108
  ghRepoSelectArgs,
109
109
  githubAgentGitEnv,
110
110
  isDefaultishSourceRef,
@@ -128,8 +128,10 @@ export {
128
128
  resolveDefaultBranch,
129
129
  resolveDiffBaseRef,
130
130
  resolveGithubRepoSlug,
131
+ resolveOriginRemote,
131
132
  resolvePrSelector,
132
133
  resolvePrSelectors,
134
+ resolveProjectRemoteTag,
133
135
  resolveRepoRoot,
134
136
  resolveWorktreeStartPoint,
135
137
  slugify,
@@ -7,11 +7,11 @@ import {
7
7
  connectedPrSelectors,
8
8
  countUnpushedVsOrigin,
9
9
  createExistingBranchWorktree,
10
- createOrUpdatePr,
11
10
  createThreadWorktree,
12
11
  currentBranch,
13
12
  detectLocalMergeConflicts,
14
13
  ensureGhPreferOrigin,
14
+ entireUsesTrails,
15
15
  fastForwardMainCheckoutIfSafe,
16
16
  fetchOriginForWorktree,
17
17
  fetchPrHead,
@@ -21,7 +21,6 @@ import {
21
21
  getPrForHeadBranch,
22
22
  getPrMeta,
23
23
  ghHeadRef,
24
- ghPrCreateAssigneeArgs,
25
24
  ghRepoSelectArgs,
26
25
  githubAgentGitEnv,
27
26
  isDefaultishSourceRef,
@@ -41,14 +40,16 @@ import {
41
40
  resolveDefaultBranch,
42
41
  resolveDiffBaseRef,
43
42
  resolveGithubRepoSlug,
43
+ resolveOriginRemote,
44
44
  resolvePrSelector,
45
45
  resolvePrSelectors,
46
+ resolveProjectRemoteTag,
46
47
  resolveRepoRoot,
47
48
  resolveWorktreeStartPoint,
48
49
  slugify,
49
50
  suggestSlug,
50
51
  switchWorktreeBranch
51
- } from "./chunk-EDXTP2VR.js";
52
+ } from "./chunk-UWJUARFA.js";
52
53
  import {
53
54
  FAMOUS_SOCCER_TEAMS,
54
55
  allocateTeamName,
@@ -64,12 +65,12 @@ import {
64
65
  worktreeDisplayLabelForGroup,
65
66
  worktreeNameFromPath,
66
67
  worktreeSlugForTicket
67
- } from "./chunk-4GZC6DDH.js";
68
- import "./chunk-2P4XKWV2.js";
68
+ } from "./chunk-IFWGG2M2.js";
69
+ import "./chunk-QKHEVSB5.js";
69
70
  import "./chunk-F2PVRF3B.js";
70
71
  import "./chunk-6K64FJDD.js";
71
72
  import "./chunk-LG6RJBIY.js";
72
- import "./chunk-QVN2WOKJ.js";
73
+ import "./chunk-2TUE6JKQ.js";
73
74
  import "./chunk-FZKAAAEB.js";
74
75
  import "./chunk-77WWLBCI.js";
75
76
  import "./chunk-4TR3HZFT.js";
@@ -89,11 +90,11 @@ export {
89
90
  connectedPrSelectors,
90
91
  countUnpushedVsOrigin,
91
92
  createExistingBranchWorktree,
92
- createOrUpdatePr,
93
93
  createThreadWorktree,
94
94
  currentBranch,
95
95
  detectLocalMergeConflicts,
96
96
  ensureGhPreferOrigin,
97
+ entireUsesTrails,
97
98
  fastForwardMainCheckoutIfSafe,
98
99
  fetchOriginForWorktree,
99
100
  fetchPrHead,
@@ -103,7 +104,6 @@ export {
103
104
  getPrForHeadBranch,
104
105
  getPrMeta,
105
106
  ghHeadRef,
106
- ghPrCreateAssigneeArgs,
107
107
  ghRepoSelectArgs,
108
108
  githubAgentGitEnv,
109
109
  isDefaultishSourceRef,
@@ -127,8 +127,10 @@ export {
127
127
  resolveDefaultBranch,
128
128
  resolveDiffBaseRef,
129
129
  resolveGithubRepoSlug,
130
+ resolveOriginRemote,
130
131
  resolvePrSelector,
131
132
  resolvePrSelectors,
133
+ resolveProjectRemoteTag,
132
134
  resolveRepoRoot,
133
135
  resolveWorktreeStartPoint,
134
136
  slugify,
@@ -2,8 +2,8 @@ import {
2
2
  WORKTREE_CONTEXT_EXCLUDE,
3
3
  WORKTREE_SIDEBOARD_EXCLUDE,
4
4
  ensureWorktreeSideboardIgnored
5
- } from "./chunk-2P4XKWV2.js";
6
- import "./chunk-QVN2WOKJ.js";
5
+ } from "./chunk-QKHEVSB5.js";
6
+ import "./chunk-2TUE6JKQ.js";
7
7
  import "./chunk-4TR3HZFT.js";
8
8
  export {
9
9
  WORKTREE_CONTEXT_EXCLUDE,
@@ -4,8 +4,8 @@ import {
4
4
  WORKTREE_CONTEXT_EXCLUDE,
5
5
  WORKTREE_SIDEBOARD_EXCLUDE,
6
6
  ensureWorktreeSideboardIgnored
7
- } from "./chunk-DD67JWTN.js";
8
- import "./chunk-2UG25RMK.js";
7
+ } from "./chunk-4YXZOXMT.js";
8
+ import "./chunk-YBTSZ2SW.js";
9
9
  import "./chunk-WWUABK6B.js";
10
10
  export {
11
11
  WORKTREE_CONTEXT_EXCLUDE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sideboard-ai/core",
3
- "version": "0.1.320",
3
+ "version": "0.1.322",
4
4
  "description": "Sideboard core — orchestration, agents, git worktrees, MCP server",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
File without changes