@executioncontrolprotocol/extensions 0.10.0
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/README.md +44 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +56 -0
- package/dist/index.js.map +1 -0
- package/package.json +44 -0
package/README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# @executioncontrolprotocol/extensions
|
|
2
|
+
|
|
3
|
+
Optional convenience bundle that registers the **host-agnostic, dependency-light**
|
|
4
|
+
first-party extensions in one call.
|
|
5
|
+
|
|
6
|
+
```ts
|
|
7
|
+
import { registerAllExtensions } from "@executioncontrolprotocol/extensions"
|
|
8
|
+
|
|
9
|
+
await registerAllExtensions()
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## What `registerAllExtensions()` registers
|
|
13
|
+
|
|
14
|
+
| Extension | Purpose |
|
|
15
|
+
| --------- | ------- |
|
|
16
|
+
| `@executioncontrolprotocol/memory` | Memory capabilities + lifecycle hooks |
|
|
17
|
+
| `@executioncontrolprotocol/storage` | Key/value storage capabilities |
|
|
18
|
+
| `@executioncontrolprotocol/slack` | Slack send capability |
|
|
19
|
+
| `@executioncontrolprotocol/telemetry` | Lifecycle telemetry hooks |
|
|
20
|
+
| `@executioncontrolprotocol/openai` | OpenAI model provider |
|
|
21
|
+
| `@executioncontrolprotocol/ollama` | Local Ollama model provider |
|
|
22
|
+
| `@executioncontrolprotocol/format-toon` | TOON encode/decode |
|
|
23
|
+
| `@executioncontrolprotocol/format-eql` | EQL encode/decode (harness output) |
|
|
24
|
+
| `@executioncontrolprotocol/format-mermaid` | Mermaid encode (workflow graph) |
|
|
25
|
+
|
|
26
|
+
The exact set is exported as `BUNDLED_EXTENSION_IDS`.
|
|
27
|
+
|
|
28
|
+
## Intentionally excluded
|
|
29
|
+
|
|
30
|
+
These are **not** registered by `registerAllExtensions()` because they are
|
|
31
|
+
host-specific or require credentials. Register them explicitly when needed:
|
|
32
|
+
|
|
33
|
+
| Extension | Why excluded |
|
|
34
|
+
| --------- | ------------ |
|
|
35
|
+
| `@executioncontrolprotocol/chrome-ai` | Browser-only (Chrome on-device `LanguageModel` API) |
|
|
36
|
+
| `@executioncontrolprotocol/claude` | Requires Anthropic provider configuration/credentials |
|
|
37
|
+
|
|
38
|
+
```ts
|
|
39
|
+
import { registerChromeAiExtension } from "@executioncontrolprotocol/chrome-ai"
|
|
40
|
+
await registerChromeAiExtension()
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
This mirrors the spec guidance that the convenience bundle should avoid forcing
|
|
44
|
+
heavy or host-specific transitive dependencies.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export { registerMemoryExtension, memoryExtension } from "@executioncontrolprotocol/extension-memory";
|
|
2
|
+
export { registerOpenaiExtension, openaiExtension } from "@executioncontrolprotocol/extension-openai";
|
|
3
|
+
export { registerOllamaExtension, ollamaExtension } from "@executioncontrolprotocol/extension-ollama";
|
|
4
|
+
export { registerSlackExtension, slackExtension } from "@executioncontrolprotocol/extension-slack";
|
|
5
|
+
export { registerStorageExtension, storageExtension } from "@executioncontrolprotocol/extension-storage";
|
|
6
|
+
export { registerTelemetryExtension, telemetryExtension } from "@executioncontrolprotocol/extension-telemetry";
|
|
7
|
+
export { registerFormatToonExtension, formatToonExtension } from "@executioncontrolprotocol/format-toon";
|
|
8
|
+
export { registerFormatEqlExtension, formatEqlExtension } from "@executioncontrolprotocol/format-eql";
|
|
9
|
+
export { registerFormatMermaidExtension, formatMermaidExtension } from "@executioncontrolprotocol/format-mermaid";
|
|
10
|
+
/** Namespaced ids registered by {@link registerAllExtensions}. */
|
|
11
|
+
export declare const BUNDLED_EXTENSION_IDS: readonly ["@executioncontrolprotocol/memory", "@executioncontrolprotocol/openai", "@executioncontrolprotocol/ollama", "@executioncontrolprotocol/slack", "@executioncontrolprotocol/storage", "@executioncontrolprotocol/telemetry", "@executioncontrolprotocol/format-toon", "@executioncontrolprotocol/format-eql", "@executioncontrolprotocol/format-mermaid"];
|
|
12
|
+
/**
|
|
13
|
+
* Register all bundled first-party extensions on the global registry.
|
|
14
|
+
*
|
|
15
|
+
* This bundle is host-agnostic and dependency-light: it includes the standard
|
|
16
|
+
* capability extensions (memory, storage, slack, telemetry), the local/remote
|
|
17
|
+
* model providers that do not pull heavy SDKs (openai, ollama), and the format
|
|
18
|
+
* extensions used by harness encode/decode (toon, eql, mermaid).
|
|
19
|
+
*
|
|
20
|
+
* Intentionally excluded (register them explicitly when needed):
|
|
21
|
+
* - `@executioncontrolprotocol/chrome-ai` — browser-only (Chrome on-device `LanguageModel` API).
|
|
22
|
+
* - `@executioncontrolprotocol/claude` — requires the Anthropic provider configuration/credentials.
|
|
23
|
+
*
|
|
24
|
+
* @category Extensions
|
|
25
|
+
*/
|
|
26
|
+
export declare function registerAllExtensions(): Promise<void>;
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAA;AACrG,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAA;AACrG,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAA;AACrG,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAA;AAClG,OAAO,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAA;AACxG,OAAO,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAA;AAC9G,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAA;AACxG,OAAO,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAA;AACrG,OAAO,EAAE,8BAA8B,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAA;AAYjH,kEAAkE;AAClE,eAAO,MAAM,qBAAqB,mWAUxB,CAAA;AAEV;;;;;;;;;;;;;GAaG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC,CAU3D"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export { registerMemoryExtension, memoryExtension } from "@executioncontrolprotocol/extension-memory";
|
|
2
|
+
export { registerOpenaiExtension, openaiExtension } from "@executioncontrolprotocol/extension-openai";
|
|
3
|
+
export { registerOllamaExtension, ollamaExtension } from "@executioncontrolprotocol/extension-ollama";
|
|
4
|
+
export { registerSlackExtension, slackExtension } from "@executioncontrolprotocol/extension-slack";
|
|
5
|
+
export { registerStorageExtension, storageExtension } from "@executioncontrolprotocol/extension-storage";
|
|
6
|
+
export { registerTelemetryExtension, telemetryExtension } from "@executioncontrolprotocol/extension-telemetry";
|
|
7
|
+
export { registerFormatToonExtension, formatToonExtension } from "@executioncontrolprotocol/format-toon";
|
|
8
|
+
export { registerFormatEqlExtension, formatEqlExtension } from "@executioncontrolprotocol/format-eql";
|
|
9
|
+
export { registerFormatMermaidExtension, formatMermaidExtension } from "@executioncontrolprotocol/format-mermaid";
|
|
10
|
+
import { registerMemoryExtension } from "@executioncontrolprotocol/extension-memory";
|
|
11
|
+
import { registerOpenaiExtension } from "@executioncontrolprotocol/extension-openai";
|
|
12
|
+
import { registerOllamaExtension } from "@executioncontrolprotocol/extension-ollama";
|
|
13
|
+
import { registerSlackExtension } from "@executioncontrolprotocol/extension-slack";
|
|
14
|
+
import { registerStorageExtension } from "@executioncontrolprotocol/extension-storage";
|
|
15
|
+
import { registerTelemetryExtension } from "@executioncontrolprotocol/extension-telemetry";
|
|
16
|
+
import { registerFormatToonExtension } from "@executioncontrolprotocol/format-toon";
|
|
17
|
+
import { registerFormatEqlExtension } from "@executioncontrolprotocol/format-eql";
|
|
18
|
+
import { registerFormatMermaidExtension } from "@executioncontrolprotocol/format-mermaid";
|
|
19
|
+
/** Namespaced ids registered by {@link registerAllExtensions}. */
|
|
20
|
+
export const BUNDLED_EXTENSION_IDS = [
|
|
21
|
+
"@executioncontrolprotocol/memory",
|
|
22
|
+
"@executioncontrolprotocol/openai",
|
|
23
|
+
"@executioncontrolprotocol/ollama",
|
|
24
|
+
"@executioncontrolprotocol/slack",
|
|
25
|
+
"@executioncontrolprotocol/storage",
|
|
26
|
+
"@executioncontrolprotocol/telemetry",
|
|
27
|
+
"@executioncontrolprotocol/format-toon",
|
|
28
|
+
"@executioncontrolprotocol/format-eql",
|
|
29
|
+
"@executioncontrolprotocol/format-mermaid",
|
|
30
|
+
];
|
|
31
|
+
/**
|
|
32
|
+
* Register all bundled first-party extensions on the global registry.
|
|
33
|
+
*
|
|
34
|
+
* This bundle is host-agnostic and dependency-light: it includes the standard
|
|
35
|
+
* capability extensions (memory, storage, slack, telemetry), the local/remote
|
|
36
|
+
* model providers that do not pull heavy SDKs (openai, ollama), and the format
|
|
37
|
+
* extensions used by harness encode/decode (toon, eql, mermaid).
|
|
38
|
+
*
|
|
39
|
+
* Intentionally excluded (register them explicitly when needed):
|
|
40
|
+
* - `@executioncontrolprotocol/chrome-ai` — browser-only (Chrome on-device `LanguageModel` API).
|
|
41
|
+
* - `@executioncontrolprotocol/claude` — requires the Anthropic provider configuration/credentials.
|
|
42
|
+
*
|
|
43
|
+
* @category Extensions
|
|
44
|
+
*/
|
|
45
|
+
export async function registerAllExtensions() {
|
|
46
|
+
await registerMemoryExtension();
|
|
47
|
+
await registerOpenaiExtension();
|
|
48
|
+
await registerOllamaExtension();
|
|
49
|
+
await registerSlackExtension();
|
|
50
|
+
await registerStorageExtension();
|
|
51
|
+
await registerTelemetryExtension();
|
|
52
|
+
await registerFormatToonExtension();
|
|
53
|
+
await registerFormatEqlExtension();
|
|
54
|
+
await registerFormatMermaidExtension();
|
|
55
|
+
}
|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C,MAAM,qBAAqB,GAAG;IACnC,kCAAkC;IAClC,kCAAkC;IAClC,kCAAkC;IAClC,iCAAiC;IACjC,mCAAmC;IACnC,qCAAqC;IACrC,uCAAuC;IACvC,sCAAsC;IACtC,0CAA0C;CAClC,CAAA;AAEV;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB;IACzC,MAAM,uBAAuB,EAAE,CAAA;IAC/B,MAAM,uBAAuB,EAAE,CAAA;IAC/B,MAAM,uBAAuB,EAAE,CAAA;IAC/B,MAAM,sBAAsB,EAAE,CAAA;IAC9B,MAAM,wBAAwB,EAAE,CAAA;IAChC,MAAM,0BAA0B,EAAE,CAAA;IAClC,MAAM,2BAA2B,EAAE,CAAA;IACnC,MAAM,0BAA0B,EAAE,CAAA;IAClC,MAAM,8BAA8B,EAAE,CAAA;AACxC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@executioncontrolprotocol/extensions",
|
|
3
|
+
"version": "0.10.0",
|
|
4
|
+
"description": "Aggregator that registers first-party ECP extensions",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"README.md"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsc -b"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@executioncontrolprotocol/extension-memory": "0.10.0",
|
|
24
|
+
"@executioncontrolprotocol/extension-ollama": "0.10.0",
|
|
25
|
+
"@executioncontrolprotocol/extension-openai": "0.10.0",
|
|
26
|
+
"@executioncontrolprotocol/extension-slack": "0.10.0",
|
|
27
|
+
"@executioncontrolprotocol/extension-storage": "0.10.0",
|
|
28
|
+
"@executioncontrolprotocol/extension-telemetry": "0.10.0",
|
|
29
|
+
"@executioncontrolprotocol/format-eql": "0.10.0",
|
|
30
|
+
"@executioncontrolprotocol/format-mermaid": "0.10.0",
|
|
31
|
+
"@executioncontrolprotocol/format-toon": "0.10.0"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@executioncontrolprotocol/core": "^0.10.0",
|
|
35
|
+
"@executioncontrolprotocol/types": "^0.10.0",
|
|
36
|
+
"zod": "^3.24.0"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@executioncontrolprotocol/core": "0.10.0",
|
|
40
|
+
"@executioncontrolprotocol/types": "0.10.0",
|
|
41
|
+
"typescript": "^5.7.0",
|
|
42
|
+
"zod": "^3.24.0"
|
|
43
|
+
}
|
|
44
|
+
}
|