@kybernesis/create 0.17.1 → 0.17.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/cli.js +3 -3
- package/dist/init.d.ts +5 -1
- package/dist/init.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -64,7 +64,7 @@ function initOptions(rest) {
|
|
|
64
64
|
const subs = flag(rest, 'subagents');
|
|
65
65
|
return {
|
|
66
66
|
engineer: rest.includes('--engineer'),
|
|
67
|
-
computer: rest.includes('--computer'),
|
|
67
|
+
computer: rest.includes('--no-computer') ? false : rest.includes('--computer') ? true : undefined,
|
|
68
68
|
studio: rest.includes('--studio'),
|
|
69
69
|
channel: flag(rest, "channel"),
|
|
70
70
|
host: flag(rest, "host"),
|
|
@@ -105,7 +105,7 @@ function usage(command) {
|
|
|
105
105
|
--model-reach=<reach> ${dim("claude-sub (exe only; default: host route)")}
|
|
106
106
|
--subagents=a,b ${dim("department subagents")}
|
|
107
107
|
--engineer ${dim("add the engineer layer")}
|
|
108
|
-
--computer
|
|
108
|
+
--no-computer ${dim("skip the agent's own desktop + Chrome (on by default on exe)")}
|
|
109
109
|
--studio ${dim("wire KYBER Studio local/manage routes")}
|
|
110
110
|
--yes, -y ${dim("no prompts")}
|
|
111
111
|
|
|
@@ -230,7 +230,7 @@ ${dim(" npm i -g @kybernesis/create@latest")}
|
|
|
230
230
|
--model=<id> ${dim("provider/model-id; bare claude-opus-5 for claude-sub")}
|
|
231
231
|
--model-reach=<r> ${dim("claude-sub (exe only); env: KYB_MODEL_REACH")}
|
|
232
232
|
--engineer ${dim("add the engineer layer: workshop sandbox + vision dev loop")}
|
|
233
|
-
--computer
|
|
233
|
+
--no-computer ${dim("skip the agent's own computer (desktop + Chrome you can watch; on by default on exe hosts)")}
|
|
234
234
|
--studio ${dim("wire for KYBER Studio: local execution + management routes")}
|
|
235
235
|
--yes ${dim("no prompts; take flags and defaults")}
|
|
236
236
|
${bold("kyb add channel <kind>")}
|
package/dist/init.d.ts
CHANGED
|
@@ -6,7 +6,11 @@ import { type ChannelKind, type HostKind } from "./templates.js";
|
|
|
6
6
|
export declare function finalizeGithubToolsRegistryMount(cwd: string, registryAddSucceeded: boolean): boolean;
|
|
7
7
|
export interface InitOptions {
|
|
8
8
|
engineer?: boolean;
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* The agent's own computer: a persistent Docker desktop with Chrome a person
|
|
11
|
+
* can watch and take over. Part of the core install on exe hosts (a Vercel
|
|
12
|
+
* function cannot keep a desktop alive); `false` opts out.
|
|
13
|
+
*/
|
|
10
14
|
computer?: boolean;
|
|
11
15
|
/**
|
|
12
16
|
* Wire this agent for KYBER Studio: local execution on the user's own machine,
|
package/dist/init.js
CHANGED
|
@@ -36,7 +36,7 @@ export function finalizeGithubToolsRegistryMount(cwd, registryAddSucceeded) {
|
|
|
36
36
|
}
|
|
37
37
|
export async function init(rawName, options = {}) {
|
|
38
38
|
const engineer = options.engineer === true;
|
|
39
|
-
const computer = options.computer
|
|
39
|
+
const computer = options.computer !== false;
|
|
40
40
|
const studio = options.studio === true;
|
|
41
41
|
const nonInteractive = options.yes === true;
|
|
42
42
|
const name = slug(rawName ?? (await ask("Agent name (kebab-case)?", "acme-agent")));
|
|
@@ -189,7 +189,7 @@ export async function init(rawName, options = {}) {
|
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
const compPlan = computer && host === "exe" ? computerPlan(name) : null;
|
|
192
|
-
if (computer && host !== "exe") {
|
|
192
|
+
if (options.computer === true && host !== "exe") {
|
|
193
193
|
console.log(yellow("\n ! --computer needs a Docker host (exe.dev); a Vercel function cannot keep a desktop alive. Skipped."));
|
|
194
194
|
}
|
|
195
195
|
if (compPlan) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kybernesis/create",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.2",
|
|
4
4
|
"description": "The Kybernesis agent scaffolder and FDE toolkit: one command to a governed, remembering, multiplayer, self-testing eve agent \u2014 plus doctor and upgrade.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|