@pluginfinity/engine 0.3.10 → 0.3.12

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/agents.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { mapHostBlocks } from "./body.js";
2
- import { appendSections, mapFrontmatter } from "./frontmatter.js";
3
2
  import { decodeComponent, frontmatterText, invalid, issue, lineIssues, overlayIssues, unknownTargets } from "./component.js";
3
+ import { appendSections, mapFrontmatter } from "./frontmatter.js";
4
4
  import { renderTokens } from "./tokens.js";
5
5
  import { AGENT_FIELDS, AgentFrontmatter } from "@pluginfinity/core";
6
6
  import { Effect, FileSystem, Path } from "effect";
package/doctor.js CHANGED
@@ -5,7 +5,7 @@ import { Duration, Effect, Option, Path, Result, Schema } from "effect";
5
5
  import { TARGETS } from "@pluginfinity/targets";
6
6
  import { Walker } from "@effected/walker";
7
7
  import { Tool, ToolDiscovery } from "@effected/commands";
8
- import { CurrentDistribution, DistributionField, Remediation } from "@effected/engine";
8
+ import { CurrentDistribution, DistributionField, Remediation } from "@effected/kit";
9
9
  import { SemVer } from "@effected/semver";
10
10
 
11
11
  // src/doctor.ts
package/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { AgentFrontmatter, EnvConfig, FieldMapEntry, HookEntry, MonitorEntry, SkillFrontmatter, Target } from "@pluginfinity/core";
2
2
  import { KnownTargetId, PluginfinityConfig } from "@pluginfinity/targets";
3
3
  import { Duration, Effect, FileSystem, Layer, Path, PlatformError, Schema } from "effect";
4
- import { Remediation } from "@effected/engine";
4
+ import { Remediation } from "@effected/kit";
5
5
  import { ToolDiscovery } from "@effected/commands";
6
6
  import { ChildProcessSpawner } from "effect/process";
7
7
  /**
package/index.js CHANGED
@@ -1,23 +1,23 @@
1
- import { applyHostBlocks } from "./body.js";
2
- import { BuildStale, ComponentInvalid, ComponentsInvalid, ConfigAmbiguous, ConfigInvalid, ConfigIssue, ConfigLoadFailed, ConfigNotFound, HookEventUnsupported, HookScriptInvalid, HookScriptProblem, HostRejected, NotImplemented, PackageVersionMissing, PathConflict, ShippedFileInvalid, ShippedFileProblem, TargetDrift, TargetNotEnabled, UnknownTarget, isBuildError, isConfigError } from "./errors.js";
3
- import { appendSections, mapFrontmatter, splitFrontmatter } from "./frontmatter.js";
4
- import { renderTokens } from "./tokens.js";
5
1
  import { readAgents, renderAgent } from "./agents.js";
2
+ import { applyHostBlocks } from "./body.js";
6
3
  import { CONFIG_FILE_NAMES, ConfigDiscovery } from "./discovery.js";
7
- import { ConfigLoader } from "./loader.js";
8
- import { preparePlugins, selectConfigPaths } from "./selection.js";
9
- import { ENGINE_VERSION } from "./version.js";
10
4
  import { CheckGroup, CheckSeverity, CheckStatus, DEFAULT_CHECK_TIMEOUT, DoctorCheck, DoctorReport, NODE_FLOOR, runDoctor } from "./doctor.js";
11
5
  import { EmitPlan, GENERATED_MODE, applyEmit, planEmit } from "./emit.js";
12
- import { BUILD_NOTE_KINDS } from "./notes.js";
13
6
  import { ENV_RUNNER_TIMEOUT, ENV_SETUP_TIMEOUT, ENV_WAIT_TIMEOUT_FLOOR, envLibFiles, envNotes, envRunnerEntry, envWaitNotes, renderEnvLib, withEnvRunner } from "./env.js";
7
+ import { BuildStale, ComponentInvalid, ComponentsInvalid, ConfigAmbiguous, ConfigInvalid, ConfigIssue, ConfigLoadFailed, ConfigNotFound, HookEventUnsupported, HookScriptInvalid, HookScriptProblem, HostRejected, NotImplemented, PackageVersionMissing, PathConflict, ShippedFileInvalid, ShippedFileProblem, TargetDrift, TargetNotEnabled, UnknownTarget, isBuildError, isConfigError } from "./errors.js";
8
+ import { appendSections, mapFrontmatter, splitFrontmatter } from "./frontmatter.js";
14
9
  import { commandFiles, entryEnv, hookCommand, hookCommandFiles, hookExec, hookScripts, renderHooks, sessionStartMatcher, shellEnvPrefix, targetHooks, widensSessionStart } from "./hooks.js";
15
- import { renderManifest, serializeManifest } from "./manifest.js";
10
+ import { ConfigLoader } from "./loader.js";
16
11
  import { configPluginNames, listLogPlugins, logDirectory, logRoot, parseLogLine, readLog, readLogFrom } from "./logs.js";
12
+ import { renderManifest, serializeManifest } from "./manifest.js";
17
13
  import { renderMonitors, targetMonitors } from "./monitors.js";
14
+ import { BUILD_NOTE_KINDS } from "./notes.js";
15
+ import { build, validate } from "./operations.js";
16
+ import { preparePlugins, selectConfigPaths } from "./selection.js";
18
17
  import { renderServers, serverFiles } from "./servers.js";
19
18
  import { SKILL_DESCRIPTION_MAX, readSkills, renderSkill } from "./skills.js";
20
- import { build, validate } from "./operations.js";
19
+ import { renderTokens } from "./tokens.js";
21
20
  import { ToolDiscoveryLive } from "./tools.js";
21
+ import { ENGINE_VERSION } from "./version.js";
22
22
 
23
23
  export { BUILD_NOTE_KINDS, BuildStale, CONFIG_FILE_NAMES, CheckGroup, CheckSeverity, CheckStatus, ComponentInvalid, ComponentsInvalid, ConfigAmbiguous, ConfigDiscovery, ConfigInvalid, ConfigIssue, ConfigLoadFailed, ConfigLoader, ConfigNotFound, DEFAULT_CHECK_TIMEOUT, DoctorCheck, DoctorReport, ENGINE_VERSION, ENV_RUNNER_TIMEOUT, ENV_SETUP_TIMEOUT, ENV_WAIT_TIMEOUT_FLOOR, EmitPlan, GENERATED_MODE, HookEventUnsupported, HookScriptInvalid, HookScriptProblem, HostRejected, NODE_FLOOR, NotImplemented, PackageVersionMissing, PathConflict, SKILL_DESCRIPTION_MAX, ShippedFileInvalid, ShippedFileProblem, TargetDrift, TargetNotEnabled, ToolDiscoveryLive, UnknownTarget, appendSections, applyEmit, applyHostBlocks, build, commandFiles, configPluginNames, entryEnv, envLibFiles, envNotes, envRunnerEntry, envWaitNotes, hookCommand, hookCommandFiles, hookExec, hookScripts, isBuildError, isConfigError, listLogPlugins, logDirectory, logRoot, mapFrontmatter, parseLogLine, planEmit, preparePlugins, readAgents, readLog, readLogFrom, readSkills, renderAgent, renderEnvLib, renderHooks, renderManifest, renderMonitors, renderServers, renderSkill, renderTokens, runDoctor, selectConfigPaths, serializeManifest, serverFiles, sessionStartMatcher, shellEnvPrefix, splitFrontmatter, targetHooks, targetMonitors, validate, widensSessionStart, withEnvRunner };
package/logs.js CHANGED
@@ -1,5 +1,5 @@
1
- import { preparePlugins } from "./selection.js";
2
1
  import { pluginName } from "./manifest.js";
2
+ import { preparePlugins } from "./selection.js";
3
3
  import { Effect, FileSystem, Path } from "effect";
4
4
 
5
5
  // src/logs.ts
package/monitors.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ConfigIssue } from "./errors.js";
2
- import { CONFIG_NOTE_PATH } from "./notes.js";
3
2
  import { commandFiles, hookCommand, shellEnvPrefix } from "./hooks.js";
3
+ import { CONFIG_NOTE_PATH } from "./notes.js";
4
4
 
5
5
  // src/monitors.ts
6
6
  /**
package/operations.js CHANGED
@@ -1,17 +1,17 @@
1
- import { BuildStale, ComponentInvalid, ComponentsInvalid, HookEventUnsupported, HookScriptInvalid, HostRejected, PackageVersionMissing, PathConflict, ShippedFileInvalid, TargetDrift } from "./errors.js";
2
- import { isJunk } from "./component.js";
3
1
  import { readAgents, renderAgent } from "./agents.js";
4
- import { preparePlugins } from "./selection.js";
2
+ import { isJunk } from "./component.js";
5
3
  import { applyEmit, planEmit } from "./emit.js";
6
- import { CONFIG_NOTE_PATH, sortNotes } from "./notes.js";
7
4
  import { envNotes, envRunnerEntry, envWaitNotes, withEnvRunner } from "./env.js";
8
- import { hookCommandFiles, hookScripts, renderHooks, sessionStartMatcher, targetHooks, widensSessionStart } from "./hooks.js";
9
- import { pluginName, renderManifest, serializeManifest } from "./manifest.js";
10
- import { renderMonitors, targetMonitors } from "./monitors.js";
5
+ import { BuildStale, ComponentInvalid, ComponentsInvalid, HookEventUnsupported, HookScriptInvalid, HostRejected, PackageVersionMissing, PathConflict, ShippedFileInvalid, TargetDrift } from "./errors.js";
11
6
  import { HOOK_LIB_DIR, hookLibFiles } from "./hook-lib.js";
12
7
  import { ignoredOutput } from "./hook-output.js";
8
+ import { hookCommandFiles, hookScripts, renderHooks, sessionStartMatcher, targetHooks, widensSessionStart } from "./hooks.js";
13
9
  import { LIB_DIR, libFiles } from "./lib-files.js";
14
10
  import { LIB_VERSION } from "./lib-version.generated.js";
11
+ import { pluginName, renderManifest, serializeManifest } from "./manifest.js";
12
+ import { renderMonitors, targetMonitors } from "./monitors.js";
13
+ import { CONFIG_NOTE_PATH, sortNotes } from "./notes.js";
14
+ import { preparePlugins } from "./selection.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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluginfinity/engine",
3
- "version": "0.3.10",
3
+ "version": "0.3.12",
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,19 +34,19 @@
34
34
  "./package.json": "./package.json"
35
35
  },
36
36
  "dependencies": {
37
- "@effected/commands": "^0.19.0",
38
- "@effected/engine": "^0.11.0",
39
- "@effected/glob": "^0.17.0",
40
- "@effected/semver": "^0.20.0",
41
- "@effected/walker": "^0.24.0",
42
- "@effected/yaml": "^0.27.0",
43
- "@pluginfinity/core": "0.3.1",
44
- "@pluginfinity/targets": "0.3.1",
37
+ "@effected/commands": "^0.20.0",
38
+ "@effected/glob": "^0.19.0",
39
+ "@effected/kit": "^0.13.0",
40
+ "@effected/semver": "^0.22.0",
41
+ "@effected/walker": "^0.25.1",
42
+ "@effected/yaml": "^0.29.0",
43
+ "@pluginfinity/core": "0.3.2",
44
+ "@pluginfinity/targets": "0.3.2",
45
45
  "jiti": "^2.6.1"
46
46
  },
47
47
  "peerDependencies": {
48
- "@effect/platform-node": "~4.1.1",
49
- "effect": "~4.1.1"
48
+ "@effect/platform-node": "~4.1.2",
49
+ "effect": "~4.1.2"
50
50
  },
51
51
  "engines": {
52
52
  "node": ">=24.11.0"
package/selection.js CHANGED
@@ -1,5 +1,5 @@
1
- import { ConfigNotFound, TargetNotEnabled } from "./errors.js";
2
1
  import { ConfigDiscovery } from "./discovery.js";
2
+ import { ConfigNotFound, TargetNotEnabled } from "./errors.js";
3
3
  import { ConfigLoader } from "./loader.js";
4
4
  import { Effect, FileSystem } from "effect";
5
5
 
package/skills.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { mapHostBlocks } from "./body.js";
2
+ import { decodeComponent, frontmatterText, invalid, isJunk, issue, lineIssues, overlayIssues, toLf, unknownTargets } from "./component.js";
2
3
  import { ComponentsInvalid } from "./errors.js";
3
4
  import { appendSections, mapFrontmatter } from "./frontmatter.js";
4
- import { decodeComponent, frontmatterText, invalid, isJunk, issue, lineIssues, overlayIssues, toLf, unknownTargets } from "./component.js";
5
5
  import { renderTokens } from "./tokens.js";
6
6
  import { ComponentName, SKILL_FIELDS, SkillFrontmatter } from "@pluginfinity/core";
7
7
  import { Effect, FileSystem, Path, Schema } from "effect";
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.60.0"
8
+ "packageVersion": "7.60.1"
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.10";
15
+ const ENGINE_VERSION = "0.3.12";
16
16
 
17
17
  export { ENGINE_VERSION };