@pluginfinity/core 0.3.1 → 0.3.3

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/config.js CHANGED
@@ -1,9 +1,9 @@
1
- import { Hooks } from "./hooks.js";
2
1
  import { EnvConfig } from "./env.js";
3
- import { McpServers } from "./mcp.js";
2
+ import { Hooks } from "./hooks.js";
4
3
  import { LspServers } from "./lsp.js";
5
- import { KebabName } from "./name.js";
4
+ import { McpServers } from "./mcp.js";
6
5
  import { Monitors } from "./monitors.js";
6
+ import { KebabName } from "./name.js";
7
7
  import { Schema } from "effect";
8
8
 
9
9
  // src/config.ts
package/index.d.ts CHANGED
@@ -1,3 +1,13 @@
1
+ /**
2
+ * The platform-free pluginfinity domain model.
3
+ *
4
+ * @remarks
5
+ * Holds the config schemas (plugin-wide fields, hooks, MCP and LSP servers and the
6
+ * per-target override factory), skill and agent frontmatter in Claude Code's
7
+ * field names, and the `Target` schema that describes a host by what it can do.
8
+ *
9
+ * @packageDocumentation
10
+ */
1
11
  import { Schema } from "effect";
2
12
  /**
3
13
  * Every Claude Code hook event, the vocabulary a plugin's `hooks` config is
@@ -947,7 +957,7 @@ export declare const unresolved: (note: string) => Unresolved;
947
957
  * The version of `@pluginfinity/core` this build was made from.
948
958
  *
949
959
  * @remarks
950
- * A build-time literal: the bundler replaces `process.env.__PACKAGE_VERSION__`
960
+ * A build-time literal: the build replaces `process.env.__PACKAGE_VERSION__`
951
961
  * with this package's own version, so this is not a runtime environment read.
952
962
  * `"0.0.0"` is the unbuilt-source fallback.
953
963
  *
package/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import { CLAUDE_HOOK_EVENTS, ClaudeHookEvent, CommandHook, HookEntries, HookEntry, HookFallback, Hooks, PluginRelativePath, ScriptHook, makeHooks } from "./hooks.js";
1
+ import { BASE_CONFIG_KEYS, BaseConfigFields, PluginName, ScriptInvoke, ShippedPath, makeTargetSetting } from "./config.js";
2
2
  import { EnvConfig, EnvVar, EnvVarName } from "./env.js";
3
- import { McpServer, McpServers, RemoteMcpServer, ServerEnv, StdioMcpServer } from "./mcp.js";
3
+ import { AGENT_FIELDS, AgentFrontmatter, ComponentName, ComponentTargets, SKILL_FIELDS, SkillFrontmatter } from "./frontmatter.js";
4
+ import { CLAUDE_HOOK_EVENTS, ClaudeHookEvent, CommandHook, HookEntries, HookEntry, HookFallback, Hooks, PluginRelativePath, ScriptHook, makeHooks } from "./hooks.js";
4
5
  import { LSP_FIELDS, LspServer, LspServers } from "./lsp.js";
5
- import { KebabName } from "./name.js";
6
+ import { McpServer, McpServers, RemoteMcpServer, ServerEnv, StdioMcpServer } from "./mcp.js";
6
7
  import { CommandMonitor, MonitorEntry, MonitorName, MonitorWhen, Monitors, ScriptMonitor } from "./monitors.js";
7
- import { BASE_CONFIG_KEYS, BaseConfigFields, PluginName, ScriptInvoke, ShippedPath, makeTargetSetting } from "./config.js";
8
- import { AGENT_FIELDS, AgentFrontmatter, ComponentName, ComponentTargets, SKILL_FIELDS, SkillFrontmatter } from "./frontmatter.js";
8
+ import { KebabName } from "./name.js";
9
9
  import { Absent, DEGRADE_FORMS, Degrade, Drop, EventMapping, FieldMapEntry, HOOKS_FORMATS, HooksFormat, InFile, InManifest, Keep, LSP_FORMATS, LspFormat, MANIFEST_FORMATS, MCP_FORMATS, ManifestFormat, McpFormat, Rename, RootSpelling, ServerPlacement, Target, ToolMapping, Translate, TranslateTable, Unresolved, ValueMapping, absent, degrade, drop, inFile, inManifest, keep, rename, translate, unresolved } from "./target.js";
10
10
  import { CORE_VERSION } from "./version.js";
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluginfinity/core",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "private": false,
5
5
  "description": "The pluginfinity domain model: the host-neutral plugin source, the Target capability schema and the pluginfinity config shape. Platform-free.",
6
6
  "keywords": [
@@ -34,7 +34,7 @@
34
34
  "./package.json": "./package.json"
35
35
  },
36
36
  "peerDependencies": {
37
- "effect": "~4.1.1"
37
+ "effect": "~4.1.0"
38
38
  },
39
39
  "engines": {
40
40
  "node": ">=24.11.0"
@@ -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
@@ -3,12 +3,12 @@
3
3
  * The version of `@pluginfinity/core` this build was made from.
4
4
  *
5
5
  * @remarks
6
- * A build-time literal: the bundler replaces `process.env.__PACKAGE_VERSION__`
6
+ * A build-time literal: the build replaces `process.env.__PACKAGE_VERSION__`
7
7
  * with this package's own version, so this is not a runtime environment read.
8
8
  * `"0.0.0"` is the unbuilt-source fallback.
9
9
  *
10
10
  * @public
11
11
  */
12
- const CORE_VERSION = "0.3.1";
12
+ const CORE_VERSION = "0.3.3";
13
13
 
14
14
  export { CORE_VERSION };