mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-25 23:47:20 +00:00
refactor: add xai plugin-sdk boundary canary (#61548)
* docs: plan real plugin-sdk workspace rollout * build: add xai plugin-sdk boundary canary * build: generate plugin-sdk package types * build: hide plugin-sdk core export * build: alias scoped plugin-sdk runtime imports * build: repair plugin-sdk boundary drift * fix(plugins): remove duplicated plugin-sdk entrypoints * test(plugins): make tsc boundary canary portable --------- Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
This commit is contained in:
68
packages/plugin-sdk/package.json
Normal file
68
packages/plugin-sdk/package.json
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"name": "@openclaw/plugin-sdk",
|
||||
"version": "0.0.0-private",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
"./config-runtime": {
|
||||
"types": "./dist/packages/plugin-sdk/src/config-runtime.d.ts",
|
||||
"default": "./src/config-runtime.ts"
|
||||
},
|
||||
"./plugin-entry": {
|
||||
"types": "./dist/packages/plugin-sdk/src/plugin-entry.d.ts",
|
||||
"default": "./src/plugin-entry.ts"
|
||||
},
|
||||
"./provider-auth": {
|
||||
"types": "./dist/packages/plugin-sdk/src/provider-auth.d.ts",
|
||||
"default": "./src/provider-auth.ts"
|
||||
},
|
||||
"./provider-auth-runtime": {
|
||||
"types": "./dist/packages/plugin-sdk/src/provider-auth-runtime.d.ts",
|
||||
"default": "./src/provider-auth-runtime.ts"
|
||||
},
|
||||
"./provider-entry": {
|
||||
"types": "./dist/packages/plugin-sdk/src/provider-entry.d.ts",
|
||||
"default": "./src/provider-entry.ts"
|
||||
},
|
||||
"./provider-http": {
|
||||
"types": "./dist/packages/plugin-sdk/src/provider-http.d.ts",
|
||||
"default": "./src/provider-http.ts"
|
||||
},
|
||||
"./provider-model-shared": {
|
||||
"types": "./dist/packages/plugin-sdk/src/provider-model-shared.d.ts",
|
||||
"default": "./src/provider-model-shared.ts"
|
||||
},
|
||||
"./provider-onboard": {
|
||||
"types": "./dist/packages/plugin-sdk/src/provider-onboard.d.ts",
|
||||
"default": "./src/provider-onboard.ts"
|
||||
},
|
||||
"./provider-stream-shared": {
|
||||
"types": "./dist/packages/plugin-sdk/src/provider-stream-shared.d.ts",
|
||||
"default": "./src/provider-stream-shared.ts"
|
||||
},
|
||||
"./provider-tools": {
|
||||
"types": "./dist/packages/plugin-sdk/src/provider-tools.d.ts",
|
||||
"default": "./src/provider-tools.ts"
|
||||
},
|
||||
"./provider-web-search": {
|
||||
"types": "./dist/packages/plugin-sdk/src/provider-web-search.d.ts",
|
||||
"default": "./src/provider-web-search.ts"
|
||||
},
|
||||
"./runtime-env": {
|
||||
"types": "./dist/packages/plugin-sdk/src/runtime-env.d.ts",
|
||||
"default": "./src/runtime-env.ts"
|
||||
},
|
||||
"./secret-input": {
|
||||
"types": "./dist/packages/plugin-sdk/src/secret-input.d.ts",
|
||||
"default": "./src/secret-input.ts"
|
||||
},
|
||||
"./testing": {
|
||||
"types": "./dist/packages/plugin-sdk/src/testing.d.ts",
|
||||
"default": "./src/testing.ts"
|
||||
},
|
||||
"./video-generation": {
|
||||
"types": "./dist/packages/plugin-sdk/src/video-generation.d.ts",
|
||||
"default": "./src/video-generation.ts"
|
||||
}
|
||||
}
|
||||
}
|
||||
1
packages/plugin-sdk/src/config-runtime.ts
Normal file
1
packages/plugin-sdk/src/config-runtime.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/config-runtime.js";
|
||||
1
packages/plugin-sdk/src/plugin-entry.ts
Normal file
1
packages/plugin-sdk/src/plugin-entry.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/plugin-entry.js";
|
||||
1
packages/plugin-sdk/src/provider-auth-runtime.ts
Normal file
1
packages/plugin-sdk/src/provider-auth-runtime.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/provider-auth-runtime.js";
|
||||
1
packages/plugin-sdk/src/provider-auth.ts
Normal file
1
packages/plugin-sdk/src/provider-auth.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/provider-auth.js";
|
||||
1
packages/plugin-sdk/src/provider-entry.ts
Normal file
1
packages/plugin-sdk/src/provider-entry.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/provider-entry.js";
|
||||
1
packages/plugin-sdk/src/provider-http.ts
Normal file
1
packages/plugin-sdk/src/provider-http.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/provider-http.js";
|
||||
1
packages/plugin-sdk/src/provider-model-shared.ts
Normal file
1
packages/plugin-sdk/src/provider-model-shared.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/provider-model-shared.js";
|
||||
1
packages/plugin-sdk/src/provider-onboard.ts
Normal file
1
packages/plugin-sdk/src/provider-onboard.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/provider-onboard.js";
|
||||
1
packages/plugin-sdk/src/provider-stream-shared.ts
Normal file
1
packages/plugin-sdk/src/provider-stream-shared.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/provider-stream-shared.js";
|
||||
1
packages/plugin-sdk/src/provider-tools.ts
Normal file
1
packages/plugin-sdk/src/provider-tools.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/provider-tools.js";
|
||||
1
packages/plugin-sdk/src/provider-web-search.ts
Normal file
1
packages/plugin-sdk/src/provider-web-search.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/provider-web-search.js";
|
||||
1
packages/plugin-sdk/src/runtime-env.ts
Normal file
1
packages/plugin-sdk/src/runtime-env.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/runtime-env.js";
|
||||
1
packages/plugin-sdk/src/secret-input.ts
Normal file
1
packages/plugin-sdk/src/secret-input.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/secret-input.js";
|
||||
1
packages/plugin-sdk/src/testing.ts
Normal file
1
packages/plugin-sdk/src/testing.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/testing.js";
|
||||
1
packages/plugin-sdk/src/video-generation.ts
Normal file
1
packages/plugin-sdk/src/video-generation.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "../../../src/plugin-sdk/video-generation.js";
|
||||
19
packages/plugin-sdk/tsconfig.json
Normal file
19
packages/plugin-sdk/tsconfig.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": false,
|
||||
"emitDeclarationOnly": true,
|
||||
"ignoreDeprecations": "6.0",
|
||||
"noEmit": false,
|
||||
"noEmitOnError": false,
|
||||
"outDir": "dist",
|
||||
"rootDir": "../.."
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts",
|
||||
"../../src/types/**/*.d.ts",
|
||||
"../../packages/memory-host-sdk/src/**/*.ts"
|
||||
],
|
||||
"exclude": ["node_modules", "dist", "../../src/**/*.test.ts"]
|
||||
}
|
||||
Reference in New Issue
Block a user