conductor-remote 1.129.0 → 1.130.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/assets/AutoModelSettings-DkKribgn.js +1 -0
- package/dist/assets/{PierrePatch-DBoBtHa-.js → PierrePatch-DWOOY6WI.js} +1 -1
- package/dist/assets/index-6ha0PmVR.css +1 -0
- package/dist/assets/index-BPB0gbIv.js +67 -0
- package/dist/index.html +2 -2
- package/dist/sw.js +1 -1
- package/dist-node/src/agents/auto-model/config.js +153 -0
- package/dist-node/src/agents/auto-model/decision.js +101 -0
- package/dist-node/src/agents/auto-model/provider.js +228 -0
- package/dist-node/src/agents/auto-model/queue.js +266 -0
- package/dist-node/src/agents/auto-model/types.js +1 -0
- package/dist-node/src/contracts/agent-inputs.js +2 -0
- package/dist-node/src/http/router.js +2 -0
- package/dist-node/src/http/routes/auto-model.js +26 -0
- package/dist-node/src/http/routes/create-workspace.js +36 -1
- package/dist-node/src/http/routes/prompts.js +56 -4
- package/dist-node/src/http/routes/sessions.js +8 -0
- package/dist-node/src/http/routes/state.js +3 -2
- package/dist-node/src/http/routes/workflows.js +7 -0
- package/dist-node/src/http/routes/workspaces.js +3 -1
- package/dist-node/src/http/services/auto-model.js +108 -0
- package/dist-node/src/http/services/delivery.js +7 -2
- package/dist-node/src/http/services.js +3 -0
- package/dist-node/src/mcp/tools/workspaces.js +2 -0
- package/dist-node/src/prefs.js +2 -0
- package/dist-node/src/routes.js +2 -0
- package/dist-node/src/server.js +2 -1
- package/package.json +1 -1
- package/dist/assets/index-D1kDyIDN.js +0 -67
- package/dist/assets/index-q-Z5Zz9y.css +0 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAutoModelServices } from "./services/auto-model.js";
|
|
1
2
|
import { createBaseServices } from "./services/base.js";
|
|
2
3
|
import { createDelegationsServices } from "./services/delegations.js";
|
|
3
4
|
import { createDeliveryServices } from "./services/delivery.js";
|
|
@@ -17,11 +18,13 @@ export function createRelayServices() {
|
|
|
17
18
|
const delivery = createDeliveryServices({ ...base });
|
|
18
19
|
const delegations = createDelegationsServices({ ...base, ...delivery });
|
|
19
20
|
const workflowState = createWorkflowStateServices({ ...base, ...responses });
|
|
21
|
+
const autoModel = createAutoModelServices({ ...base, ...delivery, ...workflowState });
|
|
20
22
|
const workflowProbes = createWorkflowProbesServices({ ...base, ...delivery });
|
|
21
23
|
const workflow = createWorkflowServices({ ...base, ...workflowProbes, ...delivery, ...delegations });
|
|
22
24
|
const files = createFilesServices({ ...responses, ...base });
|
|
23
25
|
return {
|
|
24
26
|
...base,
|
|
27
|
+
...autoModel,
|
|
25
28
|
...responses,
|
|
26
29
|
...mcp,
|
|
27
30
|
...voice,
|
|
@@ -86,6 +86,8 @@ export function createListReposTool(call) {
|
|
|
86
86
|
}
|
|
87
87
|
const createWorkspaceInputSchema = createWorkspaceSchema
|
|
88
88
|
.omit({
|
|
89
|
+
// Auto is selected in the PWA; keep this tool's explicit agent settings contract.
|
|
90
|
+
auto: true,
|
|
89
91
|
send: true,
|
|
90
92
|
sendImmediately: true,
|
|
91
93
|
attachmentIds: true
|
package/dist-node/src/prefs.js
CHANGED
|
@@ -32,6 +32,8 @@ function sanitizeAgent(raw) {
|
|
|
32
32
|
if (!value)
|
|
33
33
|
return {};
|
|
34
34
|
const agent = {};
|
|
35
|
+
if (typeof value.auto === 'boolean')
|
|
36
|
+
agent.auto = value.auto;
|
|
35
37
|
if (typeof value.model === 'string' && value.model.length <= MAX_AGENT_LABEL_LENGTH)
|
|
36
38
|
agent.model = value.model;
|
|
37
39
|
if (isAgentEffort(value.effort))
|
package/dist-node/src/routes.js
CHANGED
|
@@ -103,6 +103,8 @@ export const routes = {
|
|
|
103
103
|
pushTest: flat('POST', '/api/push/test'),
|
|
104
104
|
/** Global picker-backed delegated-role definitions. */
|
|
105
105
|
roles: flat('GET', '/api/roles'),
|
|
106
|
+
autoModelConfig: flat('GET', '/api/auto-model'),
|
|
107
|
+
updateAutoModelConfig: flat('PATCH', '/api/auto-model'),
|
|
106
108
|
updateRoles: flat('PATCH', '/api/roles'),
|
|
107
109
|
/** Active and failed jobs; optionally filtered with `?workspaceId=`. */
|
|
108
110
|
delegations: flat('GET', '/api/delegations'),
|
package/dist-node/src/server.js
CHANGED
|
@@ -7,7 +7,7 @@ import { createRelayServices } from "./http/services.js";
|
|
|
7
7
|
import { startNotifier } from "./notifications/notify.js";
|
|
8
8
|
import { voicePort } from "./voice/config.js";
|
|
9
9
|
const services = createRelayServices();
|
|
10
|
-
const { cfg, voiceServer, voiceBroker, voiceHistory, orchestration, relayIdentity, recoverUiLease, wakeWorkflows, actuator, firstPrompts, sweepStagedAttachments, STAGED_ATTACHMENT_SWEEP_MS, parkedPrompts, delegationQueue, liveDelegationStores, devServers, reads, sessionPoller } = services;
|
|
10
|
+
const { cfg, voiceServer, voiceBroker, voiceHistory, orchestration, relayIdentity, recoverUiLease, wakeWorkflows, actuator, firstPrompts, autoModels, sweepStagedAttachments, STAGED_ATTACHMENT_SWEEP_MS, parkedPrompts, delegationQueue, liveDelegationStores, devServers, reads, sessionPoller } = services;
|
|
11
11
|
const server = createRelayServer(services);
|
|
12
12
|
server.listen(cfg.port, cfg.host, () => {
|
|
13
13
|
voiceServer.listen(voicePort(), '127.0.0.1', () => {
|
|
@@ -51,6 +51,7 @@ server.listen(cfg.port, cfg.host, () => {
|
|
|
51
51
|
// Pick up any first prompt the previous process was still holding — an auto-update
|
|
52
52
|
// restart lands mid-setup often enough that this is the normal path, not a rare one.
|
|
53
53
|
firstPrompts.start();
|
|
54
|
+
autoModels.start();
|
|
54
55
|
// New Workspace uploads are host-side so another device can restore their pills.
|
|
55
56
|
// Sweep only week-old directories absent from both a draft and the delivery queue.
|
|
56
57
|
sweepStagedAttachments();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "conductor-remote",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.130.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.",
|