@bakers-build/conductor 0.6.1-next.5 → 0.6.1-next.7
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/src/cli/config-templates.js +7 -5
- package/dist/src/cli/config-validation.js +1 -0
- package/dist/src/commands/conductor.d.ts +4 -6
- package/dist/src/commands/conductor.js +47 -35
- package/dist/src/commands/oven-tools.js +1 -1
- package/dist/src/config.d.ts +3 -1
- package/dist/src/config.js +63 -46
- package/dist/src/contract.d.ts +3 -4
- package/dist/src/contract.js +1 -1
- package/dist/src/core/conductor.d.ts +12 -7
- package/dist/src/core/conductor.js +144 -119
- package/dist/src/core/hook-runner.d.ts +23 -0
- package/dist/src/core/hook-runner.js +22 -0
- package/dist/src/core/site-tools.d.ts +21 -0
- package/dist/src/core/site-tools.js +142 -0
- package/dist/src/core/tool-server.d.ts +10 -2
- package/dist/src/core/tool-server.js +95 -13
- package/dist/src/core/ui-signal.d.ts +2 -0
- package/dist/src/core/ui-signal.js +41 -0
- package/dist/src/plugins/agent-args.d.ts +54 -5
- package/dist/src/plugins/agent-args.js +99 -11
- package/dist/src/plugins/agent.d.ts +1 -1
- package/dist/src/plugins/agent.js +1 -1
- package/dist/src/plugins/executor.d.ts +28 -47
- package/dist/src/plugins/plugins.d.ts +3 -0
- package/dist/src/plugins/preset.d.ts +1 -5
- package/dist/src/plugins/remote.d.ts +25 -0
- package/dist/src/plugins/workspace.d.ts +21 -32
- package/dist/src/process/detached-spawn.d.ts +20 -0
- package/dist/src/process/detached-spawn.js +34 -0
- package/dist/src/types.d.ts +6 -15
- package/package.json +4 -4
- package/dist/src/plugins/process-host.d.ts +0 -7
- package/dist/src/plugins/process-host.js +0 -1
|
@@ -74,12 +74,12 @@ export interface HookContext {
|
|
|
74
74
|
ticket: string;
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
|
-
* What a lifecycle hook invocation DID (BB-237).
|
|
78
|
-
* but it
|
|
79
|
-
* record a failed provisioning hook against the run it is
|
|
80
|
-
* instead of relying on a log line to survive (AC-6).
|
|
81
|
-
* throwing — keeps the never-wedge property
|
|
82
|
-
*
|
|
77
|
+
* What a lifecycle hook invocation DID (BB-237). The conductor's hook runner
|
|
78
|
+
* never throws, but it does not swallow the outcome silently either: it reports
|
|
79
|
+
* it, so a caller can record a failed provisioning hook against the run it is
|
|
80
|
+
* about to dispatch instead of relying on a log line to survive (AC-6).
|
|
81
|
+
* Reporting — rather than throwing — keeps the never-wedge property; boundedness
|
|
82
|
+
* stays with the conductor's circuit breaker.
|
|
83
83
|
*/
|
|
84
84
|
export interface HookResult {
|
|
85
85
|
/** The hook slot that was invoked. */
|
|
@@ -108,29 +108,32 @@ export interface HookResult {
|
|
|
108
108
|
* `false`.
|
|
109
109
|
*/
|
|
110
110
|
export type WorktreeTeardown = 'removed' | 'already_absent' | 'unverified';
|
|
111
|
+
/** What {@link BbExecutor.openWorkspace} knows about the fresh worktree. */
|
|
112
|
+
export interface OpenWorkspaceContext {
|
|
113
|
+
identifier: string;
|
|
114
|
+
branch: string;
|
|
115
|
+
title: string;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The executor hosts terminals, nothing else: the workspace owns the worktree
|
|
119
|
+
* and the conductor runs the lifecycle hooks. The two share only the worktree
|
|
120
|
+
* path and branch, so any executor runs on any workspace.
|
|
121
|
+
*/
|
|
111
122
|
export interface BbExecutor {
|
|
112
123
|
id: string;
|
|
124
|
+
/** `persistent` = the agent lives in a hosted terminal; gates `stopRun`/`cleanupRun` only. */
|
|
113
125
|
capabilities(): ExecutorCapabilities;
|
|
114
126
|
/**
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
* - MUST NEVER throw. No configured command → silent no-op. A failing command
|
|
119
|
-
* → `logger.error({hook,worktree,ticket,err}, 'lifecycle hook failed')` then
|
|
120
|
-
* return. So a hook failure never aborts dispatch or wedges a run in
|
|
121
|
-
* `claimed`.
|
|
122
|
-
* - The underlying shell command still fails honestly (a non-zero exit
|
|
123
|
-
* rejects); only the executor catches + logs + continues.
|
|
124
|
-
* - MUST report the outcome as a {@link HookResult} (BB-237): never throwing
|
|
125
|
-
* is not the same as never telling. The caller decides what a failure means
|
|
126
|
-
* for the run it is dispatching; the executor only refuses to abort.
|
|
127
|
+
* Present a freshly created worktree in the tool (panes, tabs, an open
|
|
128
|
+
* layout). Optional: an executor without a UI surface omits it.
|
|
127
129
|
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
130
|
+
* The conductor calls it after `after_create`, before `before_run`, and ONLY
|
|
131
|
+
* when the workspace reported the worktree as created (BB-237): the layout's
|
|
132
|
+
* startup command may name what `after_create` builds, and re-applying it on
|
|
133
|
+
* reuse would start a duplicate process on every reattach. Best-effort:
|
|
134
|
+
* implementations log and swallow a failure so it never wedges dispatch.
|
|
132
135
|
*/
|
|
133
|
-
|
|
136
|
+
openWorkspace?(path: string, ctx: OpenWorkspaceContext): Promise<void>;
|
|
134
137
|
startRun(input: SpawnRunInput): Promise<SpawnedSession>;
|
|
135
138
|
/**
|
|
136
139
|
* Signal the run's agent to stop. Called by the conductor's run-finalise pass
|
|
@@ -151,32 +154,10 @@ export interface BbExecutor {
|
|
|
151
154
|
* and any non-run tab are left untouched. Called as the LAST finalisation step,
|
|
152
155
|
* strictly after the transcript is captured, and again at dispatch to clear a
|
|
153
156
|
* reused workspace's leftover tab for the run being (re-)started. No matching
|
|
154
|
-
* tab → a quiet no-op. Does NOT touch the branch worktree (that is
|
|
155
|
-
*
|
|
157
|
+
* tab → a quiet no-op. Does NOT touch the branch worktree (that is
|
|
158
|
+
* {@link BbWorkspace.remove}). Best-effort: a failing tab-close is
|
|
156
159
|
* swallowed and never aborts finalisation or dispatch. A no-op for
|
|
157
160
|
* non-persistent executors.
|
|
158
161
|
*/
|
|
159
162
|
cleanupRun(branch: string, runId: number): Promise<void>;
|
|
160
|
-
/**
|
|
161
|
-
* Tear down the branch's entire worktree (git worktree + hosted workspace),
|
|
162
|
-
* reclaiming its disk. Called by the conductor's ticket-cleanup pass once a
|
|
163
|
-
* ticket is done. A no-op for non-persistent executors (no hosted workspace);
|
|
164
|
-
* the conductor gates the call on `capabilities().persistent`.
|
|
165
|
-
*
|
|
166
|
-
* `worktreePath` is the stable, identifier-derived worktree path (from the
|
|
167
|
-
* ticket's latest run). Prefer it over `branch` to resolve the worktree: the
|
|
168
|
-
* checked-out branch is mutable (the coding agent may rename/switch it), the
|
|
169
|
-
* path is not.
|
|
170
|
-
*
|
|
171
|
-
* Reports what the teardown DID as a {@link WorktreeTeardown} (BB-293):
|
|
172
|
-
* `removed` when the worktree was present on this host and torn down (or its
|
|
173
|
-
* prunable admin entry swept), `already_absent` when there was nothing to
|
|
174
|
-
* tear down at all, and `unverified` when nothing matched here and the
|
|
175
|
-
* worktree may still be on disk (another conductor's host, or a path that
|
|
176
|
-
* could not be resolved). The reaper flags a ticket `cleaned_up` for the
|
|
177
|
-
* first two and leaves it on the work list for `unverified`, so it never
|
|
178
|
-
* false-teardowns a worktree another host physically holds. A genuine
|
|
179
|
-
* failure still throws (surfaced as a teardown miss).
|
|
180
|
-
*/
|
|
181
|
-
removeWorktree(branch: string, worktreePath?: string): Promise<WorktreeTeardown>;
|
|
182
163
|
}
|
|
@@ -2,6 +2,7 @@ import type { AgentRoutes, ConductorLogger } from '@bakers-build/core';
|
|
|
2
2
|
import type { DropSHPlugin } from 'dropsh/plugin';
|
|
3
3
|
import type { ConductorFileConfig } from '../types.js';
|
|
4
4
|
import type { BbAgent } from './agent.js';
|
|
5
|
+
import type { SecurityReport } from './agent-args.js';
|
|
5
6
|
import type { BbExecutor } from './executor.js';
|
|
6
7
|
import type { BbRemote, Ticket } from './remote.js';
|
|
7
8
|
import type { BbWorkspace } from './workspace.js';
|
|
@@ -40,6 +41,8 @@ export interface AgentPlugin extends DropSHPlugin {
|
|
|
40
41
|
readonly kind: 'agent';
|
|
41
42
|
readonly id: string;
|
|
42
43
|
readonly requiredModules: string[];
|
|
44
|
+
/** The effective run security and its source layers (`bakers agents`). */
|
|
45
|
+
readonly security?: SecurityReport;
|
|
43
46
|
createAgent(config: ConductorFileConfig): Promise<BbAgent>;
|
|
44
47
|
}
|
|
45
48
|
/** Resolves the remote from its named config slot. */
|
|
@@ -2,7 +2,6 @@ import type { AddonEntry, BbPreset, DiscoveredContributions } from '@bakers-buil
|
|
|
2
2
|
import type { HookListener } from './executor.js';
|
|
3
3
|
import type { DiscoveredInbox, InboxMessages } from './message.js';
|
|
4
4
|
import type { AgentCandidate, ExecutorPlugin, RemotePlugin, WorkspacePlugin } from './plugins.js';
|
|
5
|
-
import type { HerdrHost } from './process-host.js';
|
|
6
5
|
import type { Ticket } from './remote.js';
|
|
7
6
|
import type { AddonTools, DiscoveredTools } from './tools.js';
|
|
8
7
|
/**
|
|
@@ -18,8 +17,6 @@ export interface ConductorContributions {
|
|
|
18
17
|
agents: AgentCandidate[];
|
|
19
18
|
/** Lifecycle hook listeners, in accumulator order (BB-599). */
|
|
20
19
|
hooks: HookListener[];
|
|
21
|
-
/** Conductor process hosts (last wins). */
|
|
22
|
-
processHosts: HerdrHost[];
|
|
23
20
|
/** Addon `inbox` exports with their package name and version (contract 2, BB-661). */
|
|
24
21
|
addonInbox: DiscoveredInbox[];
|
|
25
22
|
/** Addon `tools` exports with their package name and version. */
|
|
@@ -50,7 +47,6 @@ export interface Preset<O = unknown> extends BbPreset<O> {
|
|
|
50
47
|
workspaces?: (acc: WorkspacePlugin[], opts: O) => WorkspacePlugin[] | Promise<WorkspacePlugin[]>;
|
|
51
48
|
agents?: (acc: AgentCandidate[], opts: O) => AgentCandidate[] | Promise<AgentCandidate[]>;
|
|
52
49
|
hooks?: (acc: HookListener[], opts: O) => HookListener[] | Promise<HookListener[]>;
|
|
53
|
-
processHosts?: (acc: HerdrHost[], opts: O) => HerdrHost[] | Promise<HerdrHost[]>;
|
|
54
50
|
/** Addon inbox messages: contract 2, BB-661. */
|
|
55
51
|
inbox?: InboxMessages;
|
|
56
52
|
/** Agent tools served through the conductor's MCP server. */
|
|
@@ -63,4 +59,4 @@ export interface Preset<O = unknown> extends BbPreset<O> {
|
|
|
63
59
|
* {@link Preset}, and `resolveConductorSlots` still runs the runtime `.kind`
|
|
64
60
|
* guard on whatever actually landed in a singleton slot.
|
|
65
61
|
*/
|
|
66
|
-
export declare function narrowConductorContributions(discovered: Pick<DiscoveredContributions, 'remotes' | 'executors' | 'workspaces' | 'agents' | 'hooks' | '
|
|
62
|
+
export declare function narrowConductorContributions(discovered: Pick<DiscoveredContributions, 'remotes' | 'executors' | 'workspaces' | 'agents' | 'hooks' | 'addonInbox' | 'addonTools'>): ConductorContributions;
|
|
@@ -163,6 +163,12 @@ export interface FinalizableRun {
|
|
|
163
163
|
* stays transcript-derived (BB-151). '' / undefined when unset.
|
|
164
164
|
*/
|
|
165
165
|
startedAt?: string;
|
|
166
|
+
/**
|
|
167
|
+
* The server's current run-log policy for this run (workspace opt-in AND
|
|
168
|
+
* the operator flag), read fresh on every finalize query. Only `true`
|
|
169
|
+
* allows uploading the transcript; absent (an older server) means no.
|
|
170
|
+
*/
|
|
171
|
+
runLogStorageAllowed?: boolean;
|
|
166
172
|
}
|
|
167
173
|
/**
|
|
168
174
|
* The attributes the conductor writes in the single PATCH that closes a run:
|
|
@@ -306,7 +312,26 @@ export interface AddonRegistration {
|
|
|
306
312
|
error: string;
|
|
307
313
|
}>;
|
|
308
314
|
}
|
|
315
|
+
/**
|
|
316
|
+
* The site's own MCP tools (`/mcp`, `tool_api__<tool>`), reached with the
|
|
317
|
+
* conductor's credentials. `call` throws with the site's text when the tool
|
|
318
|
+
* reports an error.
|
|
319
|
+
*/
|
|
320
|
+
export interface SiteToolClient {
|
|
321
|
+
list(): Promise<Array<{
|
|
322
|
+
name: string;
|
|
323
|
+
description?: string;
|
|
324
|
+
inputSchema: Record<string, unknown>;
|
|
325
|
+
}>>;
|
|
326
|
+
call(name: string, args: Record<string, unknown>): Promise<{
|
|
327
|
+
content: unknown[];
|
|
328
|
+
structuredContent?: unknown;
|
|
329
|
+
}>;
|
|
330
|
+
close(): Promise<void>;
|
|
331
|
+
}
|
|
309
332
|
export interface BbRemote {
|
|
333
|
+
/** The site's tools, served to agent runs on the `bakers` MCP server; absent: none. */
|
|
334
|
+
siteTools?: SiteToolClient;
|
|
310
335
|
/** POSTs heartbeat registration; returns the Drupal entity uuid. */
|
|
311
336
|
registerConductor(reg: ConductorRegistration): Promise<string>;
|
|
312
337
|
/**
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { WorktreeTeardown } from './executor.js';
|
|
1
2
|
export interface EnsuredWorkspace {
|
|
2
3
|
path: string;
|
|
3
4
|
instructions: {
|
|
@@ -10,8 +11,7 @@ export interface EnsuredWorkspace {
|
|
|
10
11
|
* (false). The core runs the `after_create` lifecycle hook on a fresh
|
|
11
12
|
* worktree, or on a reused one with no recorded successful `after_create`
|
|
12
13
|
* (BB-663), so it needs to know which happened. Lifecycle hooks themselves
|
|
13
|
-
* are
|
|
14
|
-
* them best-effort.
|
|
14
|
+
* are not a workspace concern: the conductor runs them best-effort.
|
|
15
15
|
*/
|
|
16
16
|
created: boolean;
|
|
17
17
|
/**
|
|
@@ -36,40 +36,29 @@ export interface BbWorkspace {
|
|
|
36
36
|
*
|
|
37
37
|
* Reports `created` so the caller can decide whether `after_create` needs to
|
|
38
38
|
* run (fresh worktree, or no recorded success for this one — BB-663).
|
|
39
|
-
* Lifecycle-hook invocation is NOT a workspace responsibility
|
|
40
|
-
*
|
|
39
|
+
* Lifecycle-hook invocation is NOT a workspace responsibility — the
|
|
40
|
+
* conductor runs all hooks.
|
|
41
41
|
*/
|
|
42
42
|
ensure(identifier: string, branch?: string, baseRef?: string): Promise<EnsuredWorkspace>;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
45
|
-
*
|
|
44
|
+
* Tear down the branch's worktree, reclaiming its disk. Called by the
|
|
45
|
+
* conductor's ticket-cleanup pass once a ticket is done, after `after_done`,
|
|
46
|
+
* for every workspace and executor kind.
|
|
46
47
|
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
48
|
+
* `worktreePath` is the stable, identifier-derived worktree path (from the
|
|
49
|
+
* ticket's latest run). Prefer it over `branch` to resolve the worktree: the
|
|
50
|
+
* checked-out branch is mutable (the coding agent may rename/switch it), the
|
|
51
|
+
* path is not.
|
|
49
52
|
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* `
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* The conductor calls this ONLY on a freshly created workspace
|
|
61
|
-
* ({@link EnsuredWorkspace.created}), because only a fresh create has an
|
|
62
|
-
* initial pane to lay out; re-applying on reuse would start a duplicate editor
|
|
63
|
-
* process on every reattach. Deliberately a NARROWER gate than the one on
|
|
64
|
-
* `after_create`, which runs again on a reuse with no recorded success
|
|
65
|
-
* (BB-663), not on every dispatch.
|
|
66
|
-
*
|
|
67
|
-
* Best-effort by contract: implementations log and swallow a failing layout so
|
|
68
|
-
* it can never wedge dispatch.
|
|
53
|
+
* Reports what the teardown DID as a {@link WorktreeTeardown} (BB-293):
|
|
54
|
+
* `removed` when the worktree was present on this host and torn down (or its
|
|
55
|
+
* prunable admin entry swept), `already_absent` when there was nothing to
|
|
56
|
+
* tear down at all, and `unverified` when nothing matched here and the
|
|
57
|
+
* worktree may still be on disk (another conductor's host, or a path that
|
|
58
|
+
* could not be resolved). The reaper flags a ticket `cleaned_up` for the
|
|
59
|
+
* first two and leaves it on the work list for `unverified`, so it never
|
|
60
|
+
* false-teardowns a worktree another host physically holds. A genuine
|
|
61
|
+
* failure still throws (surfaced as a teardown miss).
|
|
69
62
|
*/
|
|
70
|
-
|
|
71
|
-
identifier: string;
|
|
72
|
-
branch: string;
|
|
73
|
-
title: string;
|
|
74
|
-
}): Promise<void>;
|
|
63
|
+
remove(branch: string, worktreePath?: string): Promise<WorktreeTeardown>;
|
|
75
64
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface DetachedSpawnRequest {
|
|
2
|
+
/** Executable first, then its arguments; no shell, no PATH lookup. */
|
|
3
|
+
argv: string[];
|
|
4
|
+
cwd: string;
|
|
5
|
+
env: NodeJS.ProcessEnv;
|
|
6
|
+
/** Appended to by the child's stdout and stderr. */
|
|
7
|
+
logPath: string;
|
|
8
|
+
}
|
|
9
|
+
export interface DetachedChild {
|
|
10
|
+
pid: number;
|
|
11
|
+
/** Exit code (null on a signal) — settles only if the child ends. */
|
|
12
|
+
exited: Promise<number | null>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Starts `oven start --foreground` as a detached conductor: its own session
|
|
16
|
+
* (no controlling terminal, untouched by the starting shell's SIGHUP), stdin
|
|
17
|
+
* closed, stdout and stderr appended to the conductor log, and unref'd so the
|
|
18
|
+
* starting process can exit while it runs.
|
|
19
|
+
*/
|
|
20
|
+
export declare function spawnDetachedConductor(req: DetachedSpawnRequest): Promise<DetachedChild>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { spawn } from 'node:child_process';
|
|
2
|
+
import { closeSync, mkdirSync, openSync } from 'node:fs';
|
|
3
|
+
import { dirname } from 'node:path';
|
|
4
|
+
/**
|
|
5
|
+
* Starts `oven start --foreground` as a detached conductor: its own session
|
|
6
|
+
* (no controlling terminal, untouched by the starting shell's SIGHUP), stdin
|
|
7
|
+
* closed, stdout and stderr appended to the conductor log, and unref'd so the
|
|
8
|
+
* starting process can exit while it runs.
|
|
9
|
+
*/
|
|
10
|
+
export async function spawnDetachedConductor(req) {
|
|
11
|
+
const [file, ...args] = req.argv;
|
|
12
|
+
if (!file)
|
|
13
|
+
throw new Error('spawnDetachedConductor: empty argv');
|
|
14
|
+
mkdirSync(dirname(req.logPath), { recursive: true });
|
|
15
|
+
const fd = openSync(req.logPath, 'a');
|
|
16
|
+
try {
|
|
17
|
+
const child = spawn(file, args, {
|
|
18
|
+
cwd: req.cwd,
|
|
19
|
+
env: req.env,
|
|
20
|
+
detached: true,
|
|
21
|
+
stdio: ['ignore', fd, fd],
|
|
22
|
+
});
|
|
23
|
+
const exited = new Promise((resolve) => child.once('exit', (code) => resolve(code)));
|
|
24
|
+
await new Promise((resolve, reject) => {
|
|
25
|
+
child.once('spawn', resolve);
|
|
26
|
+
child.once('error', reject);
|
|
27
|
+
});
|
|
28
|
+
child.unref();
|
|
29
|
+
return { pid: child.pid, exited };
|
|
30
|
+
}
|
|
31
|
+
finally {
|
|
32
|
+
closeSync(fd);
|
|
33
|
+
}
|
|
34
|
+
}
|
package/dist/src/types.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import type { BbProjectSelection } from './cli/project-context.js';
|
|
|
5
5
|
import type { HookListener } from './plugins/executor.js';
|
|
6
6
|
import type { LoadedInbox } from './plugins/message.js';
|
|
7
7
|
import type { AgentCandidate, ExecutorPlugin, RemotePlugin, ResolvedAgent, WorkspacePlugin } from './plugins/plugins.js';
|
|
8
|
-
import type { HerdrHost } from './plugins/process-host.js';
|
|
9
8
|
import type { Ticket } from './plugins/remote.js';
|
|
10
9
|
import type { ProvisionHook, ProvisionRuns, ToolRegistry } from './plugins/tools.js';
|
|
11
10
|
/** Normalized single conductor. */
|
|
@@ -47,15 +46,13 @@ export interface ConductorSettings {
|
|
|
47
46
|
poll_interval_ms: number;
|
|
48
47
|
lease_seconds: number;
|
|
49
48
|
/**
|
|
50
|
-
*
|
|
49
|
+
* Local opt-out of transcript upload at finalize. Default true.
|
|
51
50
|
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* Client-side by design. It lets an operator opt out; it is not a policy the
|
|
58
|
-
* server enforces, so a conductor running an older build still uploads.
|
|
51
|
+
* The server's per-run policy (`FinalizableRun.runLogStorageAllowed`)
|
|
52
|
+
* decides first; `false` here keeps this conductor's transcripts local even
|
|
53
|
+
* where the server allows storage, and `true` cannot override a denial.
|
|
54
|
+
* Metrics are unaffected: the footprint is derived from the agent's own
|
|
55
|
+
* session files in this process, never from the uploaded log.
|
|
59
56
|
*/
|
|
60
57
|
capture_logs?: boolean;
|
|
61
58
|
/** Project shell commands, one per slot; run after the addon listeners. */
|
|
@@ -109,12 +106,6 @@ export interface ConductorFileConfig extends ConductorSettings {
|
|
|
109
106
|
tools?: ToolRegistry;
|
|
110
107
|
/** The `provision_up` runs, stopped at ticket end and conductor stop. Absent without the hook. */
|
|
111
108
|
provisioning?: Pick<ProvisionRuns, 'stop'>;
|
|
112
|
-
/**
|
|
113
|
-
* Conductor process host from the `processHosts` accumulator (last wins).
|
|
114
|
-
* Absent when no addon contributed one — `bakers oven start` then fails
|
|
115
|
-
* with the existing no-herdr hint.
|
|
116
|
-
*/
|
|
117
|
-
processHost?: HerdrHost;
|
|
118
109
|
/** dropsh-layer plugins (auth etc.); separate from the bakers.build slots. */
|
|
119
110
|
plugins?: DropSHPlugin[];
|
|
120
111
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bakers-build/conductor",
|
|
3
|
-
"version": "0.6.1-next.
|
|
3
|
+
"version": "0.6.1-next.7",
|
|
4
4
|
"description": "bakers.build conductor engine + CLI: registers, claims tickets via JSON:API, dispatches agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@dropsh/plugin-jsonapi-schema": "^0.8.2",
|
|
34
34
|
"@dropsh/plugin-oauth2": "^0.8.2",
|
|
35
|
-
"@bakers-build/core": "^0.6.1-next.
|
|
36
|
-
"@bakers-build/message": "^0.6.1-next.
|
|
35
|
+
"@bakers-build/core": "^0.6.1-next.7",
|
|
36
|
+
"@bakers-build/message": "^0.6.1-next.7",
|
|
37
37
|
"@modelcontextprotocol/sdk": "1.32.1",
|
|
38
38
|
"commander": "^12.1.0",
|
|
39
39
|
"dropsh": "^0.8.2"
|
|
40
40
|
},
|
|
41
41
|
"bakersBuild": {
|
|
42
|
-
"commit": "
|
|
42
|
+
"commit": "b89398b187bf51f4f9ca5bfc1150469f73a879e6",
|
|
43
43
|
"channel": "next"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|