@pluginfinity/engine 0.3.4 → 0.3.6

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/doctor.js CHANGED
@@ -120,7 +120,7 @@ const nodeCheck = (nodeVersion) => Effect.gen(function* () {
120
120
  detail: `could not parse version "${nodeVersion}"`,
121
121
  remediation
122
122
  });
123
- const pass = SemVer.gte(parsed.success, floor);
123
+ const pass = parsed.success.gte(floor);
124
124
  return check({
125
125
  ...base,
126
126
  pass,
@@ -0,0 +1,5 @@
1
+ // src/lib-version.generated.ts
2
+ /** The script library's version: a hash of every embedded library file, so it changes only when a script does. */
3
+ const LIB_VERSION = "05c2274da9ea";
4
+
5
+ export { LIB_VERSION };
package/operations.js CHANGED
@@ -2,7 +2,6 @@ import { BuildStale, ComponentInvalid, ComponentsInvalid, HookEventUnsupported,
2
2
  import { isJunk } from "./component.js";
3
3
  import { readAgents, renderAgent } from "./agents.js";
4
4
  import { preparePlugins } from "./selection.js";
5
- import { ENGINE_VERSION } from "./version.js";
6
5
  import { applyEmit, planEmit } from "./emit.js";
7
6
  import { CONFIG_NOTE_PATH, sortNotes } from "./notes.js";
8
7
  import { envNotes, envRunnerEntry, envWaitNotes, withEnvRunner } from "./env.js";
@@ -12,6 +11,7 @@ import { renderMonitors, targetMonitors } from "./monitors.js";
12
11
  import { HOOK_LIB_DIR, hookLibFiles } from "./hook-lib.js";
13
12
  import { ignoredOutput } from "./hook-output.js";
14
13
  import { LIB_DIR, libFiles } from "./lib-files.js";
14
+ import { LIB_VERSION } from "./lib-version.generated.js";
15
15
  import { SERVER_LIB_DIR, serverLibFiles } from "./server-lib.js";
16
16
  import { mcpServerNames, renderServers, serverFiles } from "./servers.js";
17
17
  import { readSkills, renderSkill } from "./skills.js";
@@ -366,13 +366,13 @@ const planPlugin = (prepared) => Effect.gen(function* () {
366
366
  path: target.hooks.path,
367
367
  content: hooksFile
368
368
  });
369
- if (events.length > 0) generated.push(...hookLibFiles(id, String(manifest.name), ENGINE_VERSION, renderToolMap(target, pluginName(config.config, "claude"), [...mcpServerNames(id, config.config)], {
369
+ if (events.length > 0) generated.push(...hookLibFiles(id, String(manifest.name), LIB_VERSION, renderToolMap(target, pluginName(config.config, "claude"), [...mcpServerNames(id, config.config)], {
370
370
  skills: builtFor(skills, id).map((skill) => skill.name),
371
371
  agents: builtFor(agents, id).map((agent) => agent.name),
372
372
  monitors: Object.keys(targetMonitors(id, config.config))
373
373
  })));
374
374
  if (monitored.rendered.file !== void 0) generated.push(monitored.rendered.file);
375
- generated.push(...libFiles(id, String(manifest.name), ENGINE_VERSION, {
375
+ generated.push(...libFiles(id, String(manifest.name), LIB_VERSION, {
376
376
  monitors: monitored.rendered.file !== void 0,
377
377
  ...env === void 0 ? {} : { env }
378
378
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluginfinity/engine",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "private": false,
5
5
  "description": "The pluginfinity build pipeline shared by every pluginfinity front end: config discovery, read, transform per target, emit and check.",
6
6
  "keywords": [
@@ -34,12 +34,12 @@
34
34
  "./package.json": "./package.json"
35
35
  },
36
36
  "dependencies": {
37
- "@effected/commands": "^0.15.0",
37
+ "@effected/commands": "^0.15.1",
38
38
  "@effected/engine": "^0.8.0",
39
39
  "@effected/glob": "^0.14.0",
40
- "@effected/semver": "^0.15.0",
41
- "@effected/walker": "^0.19.0",
42
- "@effected/yaml": "^0.23.0",
40
+ "@effected/semver": "^0.18.0",
41
+ "@effected/walker": "^0.20.0",
42
+ "@effected/yaml": "^0.25.1",
43
43
  "@pluginfinity/core": "0.3.0",
44
44
  "@pluginfinity/targets": "0.3.0",
45
45
  "jiti": "^2.6.1"
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.59.1"
8
+ "packageVersion": "7.59.4"
9
9
  }
10
10
  ]
11
11
  }
package/version.js CHANGED
@@ -12,6 +12,6 @@
12
12
  *
13
13
  * @public
14
14
  */
15
- const ENGINE_VERSION = "0.3.4";
15
+ const ENGINE_VERSION = "0.3.6";
16
16
 
17
17
  export { ENGINE_VERSION };