pluginfinity 0.3.14 → 0.3.16
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/bin/pluginfinity.js +10 -3
- package/index.d.ts +9 -0
- package/package.json +16 -16
- package/version.js +2 -2
package/bin/pluginfinity.js
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { PLUGINFINITY_VERSION } from "../version.js";
|
|
3
|
-
import { main } from "@pluginfinity/cli/main";
|
|
4
|
-
|
|
5
2
|
// src/bin/pluginfinity.ts
|
|
3
|
+
if (import.meta.url.endsWith(".ts")) {
|
|
4
|
+
const { register } = await import([
|
|
5
|
+
"tsx",
|
|
6
|
+
"esm",
|
|
7
|
+
"api"
|
|
8
|
+
].join("/"));
|
|
9
|
+
register();
|
|
10
|
+
}
|
|
11
|
+
const { main } = await import("@pluginfinity/cli/main");
|
|
12
|
+
const { PLUGINFINITY_VERSION } = await import("../version.js");
|
|
6
13
|
main({ distribution: {
|
|
7
14
|
name: "pluginfinity",
|
|
8
15
|
version: PLUGINFINITY_VERSION
|
package/index.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* pluginfinity: build one agent-plugin source into every host's format.
|
|
3
|
+
*
|
|
4
|
+
* @remarks
|
|
5
|
+
* The one supported library surface is the config: `defineConfig` and its
|
|
6
|
+
* types, for `pluginfinity.config.ts`. Run the `pluginfinity` bin for everything else.
|
|
7
|
+
*
|
|
8
|
+
* @packageDocumentation
|
|
9
|
+
*/
|
|
1
10
|
import { KnownTargetId, PluginfinityConfig, PluginfinityConfigInput, PluginfinityConfigInput as PluginfinityConfigInput$1 } from "@pluginfinity/targets";
|
|
2
11
|
/**
|
|
3
12
|
* Declare a plugin's `pluginfinity.config.ts`, typed against the config schema.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pluginfinity",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.16",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Build one agent-plugin source into every host's format: Claude Code, GitHub Copilot and more, from a single config.",
|
|
6
6
|
"keywords": [
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
"pluginfinity": "bin/pluginfinity.js"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@effect/platform-node": "
|
|
44
|
-
"@effected/cli-kit": "^0.
|
|
45
|
-
"@effected/commands": "^0.
|
|
46
|
-
"@effected/config-file": "^0.
|
|
47
|
-
"@effected/env": "^0.
|
|
48
|
-
"@effected/glob": "^0.
|
|
49
|
-
"@effected/kit": "^0.
|
|
50
|
-
"@effected/semver": "^0.
|
|
51
|
-
"@effected/walker": "^0.
|
|
52
|
-
"@effected/xdg": "^0.
|
|
53
|
-
"@pluginfinity/cli": "0.3.
|
|
54
|
-
"@pluginfinity/core": "0.3.
|
|
55
|
-
"@pluginfinity/engine": "0.3.
|
|
56
|
-
"@pluginfinity/targets": "0.3.
|
|
57
|
-
"effect": "
|
|
43
|
+
"@effect/platform-node": "4.1.3",
|
|
44
|
+
"@effected/cli-kit": "^0.28.0",
|
|
45
|
+
"@effected/commands": "^0.21.0",
|
|
46
|
+
"@effected/config-file": "^0.27.0",
|
|
47
|
+
"@effected/env": "^0.12.0",
|
|
48
|
+
"@effected/glob": "^0.21.0",
|
|
49
|
+
"@effected/kit": "^0.14.0",
|
|
50
|
+
"@effected/semver": "^0.24.0",
|
|
51
|
+
"@effected/walker": "^0.27.0",
|
|
52
|
+
"@effected/xdg": "^0.20.0",
|
|
53
|
+
"@pluginfinity/cli": "0.3.16",
|
|
54
|
+
"@pluginfinity/core": "0.3.3",
|
|
55
|
+
"@pluginfinity/engine": "0.3.14",
|
|
56
|
+
"@pluginfinity/targets": "0.3.3",
|
|
57
|
+
"effect": "4.1.3",
|
|
58
58
|
"jiti": "^2.6.1"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
package/version.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* to the front ends as the distribution a bin was installed through.
|
|
5
5
|
*
|
|
6
6
|
* @remarks
|
|
7
|
-
* A build-time literal: the
|
|
7
|
+
* A build-time literal: the build replaces `process.env.__PACKAGE_VERSION__`
|
|
8
8
|
* with this package's own version, so this is not a runtime environment read.
|
|
9
9
|
* `"0.0.0"` is the unbuilt-source fallback.
|
|
10
10
|
*/
|
|
11
|
-
const PLUGINFINITY_VERSION = "0.3.
|
|
11
|
+
const PLUGINFINITY_VERSION = "0.3.16";
|
|
12
12
|
|
|
13
13
|
export { PLUGINFINITY_VERSION };
|