conductor-remote 1.122.1 → 1.123.0

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.
package/dist/index.html CHANGED
@@ -25,7 +25,7 @@
25
25
  <title>Conductor Remote</title>
26
26
  <!-- Runs before the module bundle so it can catch a stale shell that fails to boot. -->
27
27
  <script src="/self-heal.js"></script>
28
- <script type="module" crossorigin src="/assets/index-DXUPoDr0.js"></script>
28
+ <script type="module" crossorigin src="/assets/index-BHvZkhDL.js"></script>
29
29
  <link rel="stylesheet" crossorigin href="/assets/index-CRlStUVg.css">
30
30
  <link rel="manifest" href="/manifest.webmanifest"></head>
31
31
  <body>
package/dist/sw.js CHANGED
@@ -1 +1 @@
1
- if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(n,r)=>{const l=e||("document"in self?document.currentScript.src:"")||location.href;if(s[l])return;let o={};const a=e=>i(e,l),t={module:{uri:l},exports:o,require:a};s[l]=Promise.all(n.map(e=>t[e]||a(e))).then(e=>(r(...e),o))}}define(["./workbox-dcde9eb3"],function(e){"use strict";importScripts("/push-sw.js"),self.addEventListener("message",e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}),e.clientsClaim(),e.precacheAndRoute([{url:"self-heal.js",revision:"49bd63adb25a09341f8d2610e8bd3c76"},{url:"push-sw.js",revision:"4e0b714c0ea53e85c167e6d8f5b767aa"},{url:"index.html",revision:"48937007528c476edb96aa2d97cdea66"},{url:"assets/workbox-window.prod.es5-BBnX5xw4.js",revision:null},{url:"assets/pierre-shiki-wasm-C8ETeZem.js",revision:null},{url:"assets/pierre-light-480U9XYS.js",revision:null},{url:"assets/pierre-dark-CyvmCCZW.js",revision:null},{url:"assets/index-DXUPoDr0.js",revision:null},{url:"assets/index-CRlStUVg.css",revision:null},{url:"assets/PierrePatch-DPAwzJyM.js",revision:null},{url:"apple-touch-icon.png",revision:"1127bb396b4648add53dce3f22c92aee"},{url:"icon-192.png",revision:"c5e01ac58768627e18ee7b8b6a9239ef"},{url:"icon-512.png",revision:"a40638c55e310312457a621c9a0002c8"},{url:"icon-maskable-512.png",revision:"a9b0d962686287452216492cd2247499"},{url:"icon.svg",revision:"c1aee186821798733dd477e69a0ef243"},{url:"manifest.webmanifest",revision:"cf88fbc5755108a7fe0616fa160a8a15"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("/index.html"),{denylist:[/^\/api\//]})),e.registerRoute(({url:e})=>e.pathname.startsWith("/assets/diff-syntax/"),new e.CacheFirst({cacheName:"diff-syntax",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:31536e3})]}),"GET")});
1
+ if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(n,r)=>{const l=e||("document"in self?document.currentScript.src:"")||location.href;if(s[l])return;let o={};const a=e=>i(e,l),t={module:{uri:l},exports:o,require:a};s[l]=Promise.all(n.map(e=>t[e]||a(e))).then(e=>(r(...e),o))}}define(["./workbox-dcde9eb3"],function(e){"use strict";importScripts("/push-sw.js"),self.addEventListener("message",e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}),e.clientsClaim(),e.precacheAndRoute([{url:"self-heal.js",revision:"49bd63adb25a09341f8d2610e8bd3c76"},{url:"push-sw.js",revision:"4e0b714c0ea53e85c167e6d8f5b767aa"},{url:"index.html",revision:"44b6c9912bb9339597590ba5dda2632e"},{url:"assets/workbox-window.prod.es5-BBnX5xw4.js",revision:null},{url:"assets/pierre-shiki-wasm-C8ETeZem.js",revision:null},{url:"assets/pierre-light-480U9XYS.js",revision:null},{url:"assets/pierre-dark-CyvmCCZW.js",revision:null},{url:"assets/index-CRlStUVg.css",revision:null},{url:"assets/index-BHvZkhDL.js",revision:null},{url:"assets/PierrePatch-veXHaGWq.js",revision:null},{url:"apple-touch-icon.png",revision:"1127bb396b4648add53dce3f22c92aee"},{url:"icon-192.png",revision:"c5e01ac58768627e18ee7b8b6a9239ef"},{url:"icon-512.png",revision:"a40638c55e310312457a621c9a0002c8"},{url:"icon-maskable-512.png",revision:"a9b0d962686287452216492cd2247499"},{url:"icon.svg",revision:"c1aee186821798733dd477e69a0ef243"},{url:"manifest.webmanifest",revision:"cf88fbc5755108a7fe0616fa160a8a15"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("/index.html"),{denylist:[/^\/api\//]})),e.registerRoute(({url:e})=>e.pathname.startsWith("/assets/diff-syntax/"),new e.CacheFirst({cacheName:"diff-syntax",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:31536e3})]}),"GET")});
@@ -31,7 +31,7 @@ import { createListChatsTool, createReadChatTool, createSearchChatsTool } from "
31
31
  import { createDelegateTaskTool, createListDelegationsTool, createListRolesTool } from "./tools/delegation.js";
32
32
  import { createDismissPromptTool, createKeepAwakeTool, createPlanUsageTool, createRelayLogsTool } from "./tools/system.js";
33
33
  import { createListVoiceCallsTool, createReadVoiceCallTool, createSearchVoiceCallsTool } from "./tools/voice.js";
34
- import { createArchiveWorkspaceTool, createCreateWorkspaceTool, createDevServerTool, createListReposTool, createListWorkspacesTool, createSetWorkspaceStatusTool, createWorkspaceDiffTool } from "./tools/workspaces.js";
34
+ import { createArchiveWorkspaceTool, createContinueWorkspaceTool, createCreateWorkspaceTool, createDevServerTool, createListReposTool, createListWorkspacesTool, createSetWorkspaceStatusTool, createWorkspaceDiffTool } from "./tools/workspaces.js";
35
35
  /** Build the tool set against a given relay transport. */
36
36
  export function createTools(call) {
37
37
  return [
@@ -58,6 +58,7 @@ export function createTools(call) {
58
58
  createSetAgentOptionsTool(call),
59
59
  createSetWorkspaceStatusTool(call),
60
60
  createDevServerTool(call),
61
+ createContinueWorkspaceTool(call),
61
62
  createArchiveWorkspaceTool(call),
62
63
  createDismissPromptTool(call),
63
64
  createKeepAwakeTool(call),
@@ -227,6 +227,35 @@ export function createDevServerTool(call) {
227
227
  }
228
228
  };
229
229
  }
230
+ export function createContinueWorkspaceTool(call) {
231
+ return {
232
+ name: 'continue_workspace',
233
+ description: 'Press Conductor’s own Continue action on a workspace whose PR merged — keeps the workspace id, worktree and chats, moves to a fresh branch and stages Branch continued.md in the selected chat. Drives the real UI: it focuses the workspace on the Mac first, so confirm with the user before continuing one they did not name. Only Conductor draws this action, after GitHub reports the PR merged; anything else is refused.',
234
+ inputSchema: {
235
+ type: 'object',
236
+ properties: {
237
+ workspace_id: { type: 'string' },
238
+ session_id: {
239
+ type: 'string',
240
+ description: 'The chat to continue from. Defaults to the workspace’s active chat.'
241
+ }
242
+ },
243
+ required: ['workspace_id']
244
+ },
245
+ run: async (args) => {
246
+ const id = need(args, 'workspace_id');
247
+ const data = await call(routes.continueWorkspace.path(id), {
248
+ method: routes.continueWorkspace.method,
249
+ body: { sessionId: str(args.session_id) },
250
+ timeoutMs: WRITE_TIMEOUT_MS
251
+ });
252
+ if (!data.ok)
253
+ throw new Error(data.error ?? 'the continue did not land');
254
+ const branch = data.workspace?.branch;
255
+ return branch ? `continued${data.previousBranch ? ` from ${data.previousBranch}` : ''} on ${branch}` : 'continued';
256
+ }
257
+ };
258
+ }
230
259
  export function createArchiveWorkspaceTool(call) {
231
260
  return {
232
261
  name: 'archive_workspace',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-remote",
3
- "version": "1.122.1",
3
+ "version": "1.123.0",
4
4
  "type": "module",
5
5
  "packageManager": "yarn@4.15.0",
6
6
  "description": "Phone control panel for local Conductor agents. Reads ride SQLite + git; prompts ride Conductor's own dispatch path.",