@bakers-build/conductor 0.6.1-next.1 → 0.6.1-next.2
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/plugins/tools.js +8 -10
- package/package.json +4 -4
|
@@ -26,12 +26,8 @@ export function provisionTools(hook) {
|
|
|
26
26
|
return hook;
|
|
27
27
|
if (profile === undefined)
|
|
28
28
|
throw new Error(`provision_up: profile required, one of ${keys}`);
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
: undefined;
|
|
32
|
-
if (cmd === undefined)
|
|
33
|
-
throw new Error(`provision_up: unknown profile ${profile}, one of ${keys}`);
|
|
34
|
-
return cmd;
|
|
29
|
+
// The input schema's enum has already refused an unknown profile.
|
|
30
|
+
return profiles[String(profile)];
|
|
35
31
|
};
|
|
36
32
|
return [
|
|
37
33
|
{
|
|
@@ -41,12 +37,14 @@ export function provisionTools(hook) {
|
|
|
41
37
|
contract: 1,
|
|
42
38
|
tools: {
|
|
43
39
|
provision_up: {
|
|
44
|
-
description: profiles
|
|
45
|
-
? `Provision this worktree's environment from scratch with a configured profile (${keys}). Reinstalls.`
|
|
46
|
-
: "Provision this worktree's environment from scratch. Reinstalls.",
|
|
40
|
+
description: `Bring this worktree's environment up${profiles ? ` with a configured profile (${keys})` : ''}; the project's command reuses a ready environment. Returns the command's output, including the base URL.`,
|
|
47
41
|
input: {
|
|
48
42
|
type: 'object',
|
|
49
|
-
properties: {
|
|
43
|
+
properties: {
|
|
44
|
+
profile: profiles
|
|
45
|
+
? { type: 'string', enum: Object.keys(profiles) }
|
|
46
|
+
: { type: 'string' },
|
|
47
|
+
},
|
|
50
48
|
},
|
|
51
49
|
},
|
|
52
50
|
},
|
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.2",
|
|
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.2",
|
|
36
|
+
"@bakers-build/message": "^0.6.1-next.2",
|
|
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": "9f3866c099b1a9d0db76bd304fef38aeddcce8bb",
|
|
43
43
|
"channel": "next"
|
|
44
44
|
}
|
|
45
45
|
}
|