@epicdm/flowstate-extension-api 1.0.0 → 1.1.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 +32 -0
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# @epicdm/flowstate-extension-api
|
|
2
|
+
|
|
3
|
+
The FlowState Extension SDK — types, interfaces, and testing utilities for developers building FlowState extensions.
|
|
4
|
+
|
|
5
|
+
This package defines the public contract between a FlowState host app and third-party extensions, including manifest types, lifecycle hooks, and helpers for testing extensions in isolation.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
yarn add @epicdm/flowstate-extension-api
|
|
11
|
+
# or
|
|
12
|
+
npm install @epicdm/flowstate-extension-api
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
// Production imports
|
|
19
|
+
import {} from /* extension types */ '@epicdm/flowstate-extension-api'
|
|
20
|
+
|
|
21
|
+
// Testing utilities
|
|
22
|
+
import {} from /* mocks and harnesses */ '@epicdm/flowstate-extension-api/testing'
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Two entry points are published:
|
|
26
|
+
|
|
27
|
+
- **`@epicdm/flowstate-extension-api`** — types and runtime APIs for your extension
|
|
28
|
+
- **`@epicdm/flowstate-extension-api/testing`** — in-memory mocks and test harnesses
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
Apache-2.0 © Epic Digital Interactive Media LLC
|
package/dist/index.js
CHANGED
|
@@ -237,11 +237,11 @@ var ExtensionRegistry = class {
|
|
|
237
237
|
};
|
|
238
238
|
|
|
239
239
|
// ../flowstate-app-framework/src/extensions/ExtensionSlot.tsx
|
|
240
|
-
var import_react = __toESM(require("react"));
|
|
240
|
+
var import_react = __toESM(require("react"), 1);
|
|
241
241
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
242
242
|
|
|
243
243
|
// ../flowstate-app-framework/src/extensions/ExtensionHostContext.tsx
|
|
244
|
-
var import_react2 = __toESM(require("react"));
|
|
244
|
+
var import_react2 = __toESM(require("react"), 1);
|
|
245
245
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
246
246
|
var ExtensionHostCtx = (0, import_react2.createContext)(null);
|
|
247
247
|
var McpToolRegistryContext = (0, import_react2.createContext)(null);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epicdm/flowstate-extension-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "FlowState Extension SDK — types and testing utilities for extension developers",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"react": ">=18.0.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@epicdm/flowstate-app-framework": "
|
|
30
|
+
"@epicdm/flowstate-app-framework": "1.1.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/jest": "^30.0.0",
|