@pluginfinity/targets 0.3.0 → 0.3.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.
package/claude.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { CLAUDE_HOOK_EVENTS, LSP_FIELDS, Target, drop, inManifest, keep } from "@pluginfinity/core";
2
2
 
3
- //#region src/claude.ts
3
+ // src/claude.ts
4
4
  const ROOT = `\${CLAUDE_PLUGIN_ROOT}`;
5
5
  const skillFields = {
6
6
  name: keep,
@@ -178,5 +178,4 @@ const CLAUDE = Target.make({
178
178
  efforts: {}
179
179
  });
180
180
 
181
- //#endregion
182
181
  export { CLAUDE };
package/config.js CHANGED
@@ -3,7 +3,7 @@ import { KNOWN_TARGET_IDS } from "./registry.js";
3
3
  import { BASE_CONFIG_KEYS, BaseConfigFields, CLAUDE_HOOK_EVENTS, Hooks, makeHooks, makeTargetSetting } from "@pluginfinity/core";
4
4
  import { Schema } from "effect";
5
5
 
6
- //#region src/config.ts
6
+ // src/config.ts
7
7
  /**
8
8
  * The `claude` key's value: hooks overrides use Claude Code events only.
9
9
  *
@@ -45,5 +45,4 @@ const CONFIG_KEYS = [...BASE_CONFIG_KEYS, ...KNOWN_TARGET_IDS];
45
45
  */
46
46
  const enabledTargets = (config) => KNOWN_TARGET_IDS.filter((id) => config[id] !== void 0);
47
47
 
48
- //#endregion
49
48
  export { CONFIG_KEYS, ClaudeSetting, CopilotSetting, PluginfinityConfig, enabledTargets };
package/copilot.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { CLAUDE_HOOK_EVENTS, Target, absent, degrade, drop, inFile, keep, rename, translate, unresolved } from "@pluginfinity/core";
2
2
 
3
- //#region src/copilot.ts
3
+ // src/copilot.ts
4
4
  const ROOT = `\${PLUGIN_ROOT}`;
5
5
  const MODEL_ALIAS = "Copilot names models differently; set a full model ID as model under targets.copilot";
6
6
  const EFFORT_LEVEL = "Copilot documents only low, medium and high; set effort under targets.copilot";
@@ -232,5 +232,4 @@ const COPILOT = Target.make({
232
232
  }
233
233
  });
234
234
 
235
- //#endregion
236
235
  export { COPILOT, COPILOT_OWN_EVENTS };
package/index.d.ts CHANGED
@@ -1,14 +1,11 @@
1
1
  import { Target } from "@pluginfinity/core";
2
2
  import { Schema } from "effect";
3
- //#region src/claude.d.ts
4
3
  /**
5
4
  * Claude Code, described by what it can do.
6
5
  *
7
6
  * @public
8
7
  */
9
8
  export declare const CLAUDE: Target;
10
- //#endregion
11
- //#region src/registry.d.ts
12
9
  /**
13
10
  * The id of every target pluginfinity knows, in registry order. One id names a
14
11
  * target everywhere: the config key, `builds/<id>/` and `--target <id>`.
@@ -50,8 +47,6 @@ export declare const TARGETS: ReadonlyArray<TargetEntry>;
50
47
  * @public
51
48
  */
52
49
  export declare const isKnownTargetId: (id: string) => id is KnownTargetId;
53
- //#endregion
54
- //#region src/config.d.ts
55
50
  /**
56
51
  * The `claude` key's value: hooks overrides use Claude Code events only.
57
52
  *
@@ -318,8 +313,6 @@ export declare const CONFIG_KEYS: ReadonlyArray<string>;
318
313
  * @public
319
314
  */
320
315
  export declare const enabledTargets: (config: PluginfinityConfig) => ReadonlyArray<KnownTargetId>;
321
- //#endregion
322
- //#region src/copilot.d.ts
323
316
  /**
324
317
  * Copilot's own hook events: the ones with no Claude Code counterpart.
325
318
  * `SubagentStart` and `Notification` are not here; authors write the Claude
@@ -334,8 +327,6 @@ export declare const COPILOT_OWN_EVENTS: readonly ["userPromptTransformed", "err
334
327
  * @public
335
328
  */
336
329
  export declare const COPILOT: Target;
337
- //#endregion
338
- //#region src/version.d.ts
339
330
  /**
340
331
  * The version of `@pluginfinity/targets` this build was made from.
341
332
  *
@@ -347,6 +338,5 @@ export declare const COPILOT: Target;
347
338
  * @public
348
339
  */
349
340
  export declare const TARGETS_VERSION: string;
350
- //#endregion
351
341
  export type { PluginfinityConfigInput, TargetEntry };
352
342
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluginfinity/targets",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "private": false,
5
5
  "description": "The host targets pluginfinity builds for (Claude Code, GitHub Copilot), described as data against the @pluginfinity/core Target schema.",
6
6
  "keywords": [
@@ -36,10 +36,10 @@
36
36
  "./package.json": "./package.json"
37
37
  },
38
38
  "dependencies": {
39
- "@pluginfinity/core": "0.3.0"
39
+ "@pluginfinity/core": "0.3.1"
40
40
  },
41
41
  "peerDependencies": {
42
- "effect": "^4.0.0"
42
+ "effect": "~4.1.1"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=24.11.0"
package/registry.js CHANGED
@@ -2,7 +2,7 @@ import { CLAUDE } from "./claude.js";
2
2
  import { COPILOT } from "./copilot.js";
3
3
  import { Schema } from "effect";
4
4
 
5
- //#region src/registry.ts
5
+ // src/registry.ts
6
6
  /**
7
7
  * The id of every target pluginfinity knows, in registry order. One id names a
8
8
  * target everywhere: the config key, `builds/<id>/` and `--target <id>`.
@@ -37,5 +37,4 @@ const TARGETS = [{
37
37
  */
38
38
  const isKnownTargetId = (id) => KNOWN_TARGET_IDS.includes(id);
39
39
 
40
- //#endregion
41
40
  export { KNOWN_TARGET_IDS, KnownTargetId, TARGETS, isKnownTargetId };
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.59.1"
8
+ "packageVersion": "7.60.0"
9
9
  }
10
10
  ]
11
11
  }
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/version.ts
1
+ // src/version.ts
2
2
  /**
3
3
  * The version of `@pluginfinity/targets` this build was made from.
4
4
  *
@@ -9,7 +9,6 @@
9
9
  *
10
10
  * @public
11
11
  */
12
- const TARGETS_VERSION = "0.3.0";
12
+ const TARGETS_VERSION = "0.3.1";
13
13
 
14
- //#endregion
15
14
  export { TARGETS_VERSION };