conductor-remote 1.108.3 → 1.109.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/README.md +3 -1
- package/dist/assets/{PierrePatch-BSv8CZfV.js → PierrePatch-djOpkB_6.js} +1 -1
- package/dist/assets/{index-C_iOZKdw.js → index-Bbv8DA0_.js} +2 -2
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/dist-node/src/workflow-coordinator.js +1 -1
- package/dist-node/src/workflow.js +14 -1
- package/package.json +1 -1
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-
|
|
28
|
+
<script type="module" crossorigin src="/assets/index-Bbv8DA0_.js"></script>
|
|
29
29
|
<link rel="stylesheet" crossorigin href="/assets/index-DEuZ2MOq.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 t=e=>i(e,l),a={module:{uri:l},exports:o,require:t};s[l]=Promise.all(n.map(e=>a[e]||t(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:"e7ef44deca46c0539e6ff7bba5eb815e"},{url:"index.html",revision:"
|
|
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 t=e=>i(e,l),a={module:{uri:l},exports:o,require:t};s[l]=Promise.all(n.map(e=>a[e]||t(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:"e7ef44deca46c0539e6ff7bba5eb815e"},{url:"index.html",revision:"7e6f20120f3e7a254efb02ead127b447"},{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-DEuZ2MOq.css",revision:null},{url:"assets/index-Bbv8DA0_.js",revision:null},{url:"assets/PierrePatch-djOpkB_6.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")});
|
|
@@ -55,11 +55,24 @@ export function prepareWorkflowRun(stored, groups, objective) {
|
|
|
55
55
|
})
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
+
const WORKFLOW_ROLE_PURPOSES = {
|
|
59
|
+
planning: 'this root chat; plan and integrate delegated work',
|
|
60
|
+
exploration: 'read-only investigation and evidence',
|
|
61
|
+
implementation: 'code changes and verification'
|
|
62
|
+
};
|
|
63
|
+
function frozenRoleCatalog(roles) {
|
|
64
|
+
return [
|
|
65
|
+
'## Frozen roles for this Workflow',
|
|
66
|
+
...WORKFLOW_ROLE_NAMES.map(name => `- ${name} — ${roles[name].model.replace(/\s+/g, ' ').trim()}: ${WORKFLOW_ROLE_PURPOSES[name]}`),
|
|
67
|
+
'This catalog is authoritative for this run; do not replace it with mutable role defaults.'
|
|
68
|
+
].join('\n');
|
|
69
|
+
}
|
|
58
70
|
/** The first root message, issued only after a durable run and capability exist. */
|
|
59
71
|
export function workflowRootPrompt(input) {
|
|
60
72
|
return [
|
|
61
|
-
input.
|
|
73
|
+
input.roles.planning.preamble?.trim(),
|
|
62
74
|
'You are the planning root for a managed Workflow.',
|
|
75
|
+
frozenRoleCatalog(input.roles),
|
|
63
76
|
'The relay has already scheduled one tracked explorer for this objective. It will deliver a Baton here when it finishes; you do not need to create or poll for that guaranteed explorer.',
|
|
64
77
|
'You may search, inspect files, run read-only probes, ask the user questions, synthesize evidence, and verify results. Do not edit files or implement the change in this root chat. Delegate tracked code changes to the implementation role after the exploration evidence arrives.',
|
|
65
78
|
'When there are genuinely independent questions, you may request additional tracked explorers with delegate_task. Use the workflow_id and phase_capability from the private block exactly; the relay owns role settings and rejects stale phases. Do not use provider-native child-agent tools as a substitute for tracked Workflow chats.',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "conductor-remote",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.109.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.",
|