@kybernesis/create 0.23.0 → 0.23.1

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.
@@ -1,5 +1,13 @@
1
1
  import { type HostKind } from "./templates.js";
2
2
  import type { ModelScaffoldConfig } from "./model-reach.js";
3
+ /**
4
+ * The registry items install the newest release of each third-party
5
+ * extension, and those are built on a later eve than the certified one, which
6
+ * eve then refuses at discovery ("has no compile or runtime usage") and the
7
+ * agent never boots. These are the releases proven on the certified eve.
8
+ * Move them with the eve certification, never on their own.
9
+ */
10
+ export declare const ENGINEER_EXTENSION_PINS: readonly ["@agent-browser/eve@0.34.0", "@github-tools/eve-extension@0.8.0"];
3
11
  /**
4
12
  * Agent-to-agent: the eve channel becomes the governed dispatch door (people
5
13
  * still come in through kybernesisAuth in the same walk) and granted peers
@@ -13,6 +13,14 @@ import { run, yellow } from "./util.js";
13
13
  // self-hosted agent it cannot get an OIDC token and the agent fails to boot.
14
14
  const ENGINEER_ITEMS_ALL = ["extension/agent-browser", "extension/github-tools"];
15
15
  const ENGINEER_ITEMS_VERCEL = ["connection/vercel"];
16
+ /**
17
+ * The registry items install the newest release of each third-party
18
+ * extension, and those are built on a later eve than the certified one, which
19
+ * eve then refuses at discovery ("has no compile or runtime usage") and the
20
+ * agent never boots. These are the releases proven on the certified eve.
21
+ * Move them with the eve certification, never on their own.
22
+ */
23
+ export const ENGINEER_EXTENSION_PINS = ["@agent-browser/eve@0.34.0", "@github-tools/eve-extension@0.8.0"];
16
24
  function write(dir, path, content) {
17
25
  const full = join(dir, path);
18
26
  mkdirSync(join(full, ".."), { recursive: true });
@@ -48,6 +56,13 @@ export function applyEngineer(dir, host, model) {
48
56
  if (!ok)
49
57
  console.log(yellow(` ! ${item} did not install cleanly — re-run: npx eve add ${item}`));
50
58
  }
59
+ // --legacy-peer-deps: both declare peer ranges that trail the certified eve.
60
+ const pinned = run("npm", ["install", "--save-exact", "--legacy-peer-deps", ...ENGINEER_EXTENSION_PINS, "--no-audit", "--no-fund"], {
61
+ cwd: dir,
62
+ allowFail: true,
63
+ });
64
+ if (!pinned)
65
+ console.log(yellow(` ! could not pin ${ENGINEER_EXTENSION_PINS.join(" ")} — install them by hand or discovery refuses the newer ones`));
51
66
  for (const file of plan.files)
52
67
  write(dir, file.path, file.content);
53
68
  // A declared subagent sees none of the root's skills, so the memory skills
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kybernesis/create",
3
- "version": "0.23.0",
3
+ "version": "0.23.1",
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",