跳到內容
Graft
搜尋
Ctrl
K
取消
GitHub
選擇佈景主題
深色
淺色
自動
選擇語言
English
简体中文
繁體中文
選單
開始
Graft
快速開始
核心概念
從 cordis 遷移
編寫插件
外掛
服務
事件
組織與變更
生命週期
領域與隔離
Intercept
取代外掛
應用
設定檔
命令列
熱重載
在自己的程式中使用 Graft
HTTP 伺服器
HTTP API
HTTP 授權
MCP 伺服器
MCP 貢獻
MCP 擴充點
Remote
Remote
宿主設定項目
Runner
傳輸與驗證
替換與停止
能力外掛
最佳實務
設計應用程式
外掛中的 Effect
測試
日誌與追蹤
外掛套件
在正式環境執行
疑難排解
API 使用說明
fork 控制代碼
Loader API
HMR API
錯誤
專案
發佈
參考
@graftland/cli
概覽
Application
概覽
類別
Application
ApplicationError
值
platform
ProtocolOutput
bin
概覽
Commands
概覽
類別
CommandConfigError
CommandRegistrationError
Commands
型別別名
Environment
index
概覽
命名空間
Manage
functions
remove
Manage
variables
add
addPlugin
Start
functions
run
interfaces
Options
Start
重新匯出
Application
Commands
@graftland/graft
概覽
Event
概覽
介面
Event
HandlerOptions
型別別名
Middleware
Next
Origin
值
waterfall
函式
bail
emit
filtered
isWithin
make
makeOrigin
middleware
on
once
parallel
settle
within
Fork
概覽
類別
CleanupError
介面
Fork
ForkTree
型別別名
ForkState
值
ForkState
Graft
概覽
類別
Graft
ReplacementConflict
ServiceConflict
介面
Intercept
Isolatable
LogEntry
PluginOptions
ReplaceOptions
型別別名
CanReplace
CompatibleReplacement
CompatibleReplacements
ReplacementFailure
ReplacementPair
ReplaceResult
值
forks
layer
logs
plugin
provide
replace
ReplacementFailure
ReplaceResult
函式
intercept
resolve
index
概覽
重新匯出
Event
Fork
Graft
Plugin
Release
Plugin
概覽
類別
Optional
介面
Definition
Options
Tasks
型別別名
Dependency
ErrorOf
InputOf
Plugin
Required
Requirements
Update
值
fork
make
函式
fromModule
isOptional
isPlugin
layer
optional
service
Release
概覽
類別
ReleaseInterrupted
函式
close
scoped
@graftland/create
概覽
bin
概覽
Command
概覽
值
command
index
概覽
類別
AmbiguousPluginName
CreateError
InvalidName
InvalidPackageManager
PluginNotFound
介面
Options
Project
型別別名
TemplateName
值
checkTarget
create
Name
pluginPackage
pluginSpec
TemplateName
函式
hasShortName
@graftland/hmr
概覽
index
概覽
類別
HmrError
介面
Hmr
ImportOptions
Observation
Options
WatchOptions
型別別名
ReloadResult
WatchResult
值
make
WatchResult
@graftland/loader
概覽
index
概覽
命名空間
ConfigSchema
functions
make
interfaces
Options
Registration
ConfigSchema
Entry
classes
CyclicConfig
Env
functions
checkAcyclic
resolveEnv
Entry
type-aliases
Entry
NewEntry
variables
CurrentId
Entries
Entry
NewEntry
Select
Group
Group
variables
Group
Include
Include
type-aliases
Config
variables
Include
Intercept
classes
InvalidIntercept
UnregisteredReference
functions
layer
make
interfaces
Registration
Intercept
variables
Registry
resolve
Loader
classes
Loader
LoaderClosed
StoreError
interfaces
Store
Loader
type-aliases
EditError
variables
newId
plugin
start
ModuleResolver
classes
AmbiguousPluginName
ModuleInvalid
ModuleNotFound
ModuleResolver
functions
candidates
fromRecord
layer
observe
interfaces
ImportOptions
Observation
Options
ResolutionEnvironment
ModuleResolver
variables
make
Watch
Tree
classes
EntryNotFound
InvalidOperation
functions
apply
childrenOf
ids
pathOf
validate
validateGroup
validateIds
validateStructure
Tree
type-aliases
Op
Patch
Path
variables
GroupEntries
Op
值
ConfigDirectory
@graftland/package-manager
概覽
index
概覽
類別
PackageManagerError
RecoveryRequiredError
UnsupportedFileTypeError
介面
InstallResult
Options
PackageChange
PackageManager
PackageState
SnapshotCleanupFailure
StateDiff
UserAgent
型別別名
Agent
Changes
Error
State
值
Agent
Changes
detectAgent
make
PackageName
published
函式
agentFor
diffState
execPrefix
installCommand
parseUserAgent
runPrefix
重新匯出
PackageManagerDeclaration
PackageManagerDeclaration
概覽
型別別名
PackageManagerDeclaration
值
PackageManagerDeclaration
PackageManagerName
@graftland/plugin-http
概覽
Authorization
概覽
類別
Authorization
AuthorizationConfigurationError
InsufficientScope
InvalidToken
Principal
TokenValidator
Unauthorized
ValidationUnavailable
型別別名
Protection
值
ScopeToken
Config
概覽
型別別名
Config
值
Config
JwtConfig
OAuthConfig
Http
概覽
類別
InvalidMount
Mounted
RouteConflict
Routes
Routing
Server
介面
Mount
Route
RouteState
值
Mounts
MountsChanged
函式
advertise
mount
index
概覽
值
default
oauth
概覽
值
default
oauth/jwt
概覽
值
default
router
概覽
值
default
schema
概覽
函式
entries
Testing
概覽
類別
ConformanceError
值
listener
@graftland/plugin-http-api
概覽
Config
概覽
型別別名
Config
值
Config
Path
UiConfig
HttpApis
概覽
類別
CompositionError
Document
GroupConflict
ServingMount
介面
Snapshot
值
advertise
Groups
GroupsChanged
函式
serve
index
概覽
值
default
scalar
概覽
值
default
schema
概覽
函式
entries
swagger
概覽
值
default
@graftland/plugin-mcp-server
概覽
Catalog
概覽
類別
Conflict
介面
Kind
Offer
型別別名
RequestServices
值
Changed
Offered
函式
advertise
enabledWhen
offer
own
Config
概覽
型別別名
Config
StdioConfig
值
Config
HttpConfig
ProtocolVersion
StdioConfig
Errors
概覽
類別
StdioUnavailable
Extensions
概覽
類別
Conflict
值
Declared
函式
declare
http
概覽
值
default
index
概覽
值
default
Middleware
概覽
型別別名
Call
值
Middleware
Visible
Prompts
概覽
介面
Prompt
型別別名
Registration
值
kind
函式
offer
Resources
概覽
介面
Resource
Template
值
kind
templateKind
Updated
函式
offer
template
updated
schema
概覽
函式
entries
Server
概覽
類別
Server
介面
Options
值
isolate
stdio
概覽
值
default
Testing
概覽
介面
Connection
值
decode
encode
metadata
transport
函式
kindConformance
response
transportConformance
Tools
概覽
介面
Registration
型別別名
Services
Undeclared
值
kind
函式
offer
plugin
@graftland/plugin-otlp
概覽
Config
概覽
型別別名
Config
Http
Reference
值
Config
Http
Reference
Exporter
概覽
類別
Exporter
ExporterError
http
概覽
值
default
重新匯出
Config
index
概覽
值
default
重新匯出
Config
schema
概覽
函式
entries
Testing
概覽
類別
ConformanceError
函式
exporter
@graftland/plugin-remote
概覽
Auth
概覽
類別
Authenticator
Credentials
介面
ClientCertificate
TlsPolicy
VerifiedCertificate
型別別名
AuthenticatorApi
CredentialsApi
Prepared
cli
概覽
值
default
Config
概覽
型別別名
Connect
Listen
Reference
值
Authentication
Cli
Connect
Host
Listen
Reference
Runner
RunnerAuthentication
Contract
概覽
類別
UndeclaredFailure
介面
Contract
Options
Service
型別別名
ConfigSchema
ErrorSchema
RunnerContract
函式
fromModule
isContract
make
service
Errors
概覽
類別
AuthenticationFailed
AuthenticatorUnavailable
CredentialsError
LocalTerminationTimeout
MissingInstance
ProcessExited
RemoteEntryError
RemoteError
RemoteWithdrawn
TransportError
host/auth/bearer
概覽
值
Config
default
host/auth/jwt
概覽
值
default
重新匯出
Config
host/auth/mtls
概覽
值
Config
default
host/auth/none
概覽
值
default
host/command
概覽
類別
CommandExited
介面
Options
值
Config
default
函式
make
host/local
概覽
值
default
host/unix
概覽
介面
Options
值
Config
default
properties
函式
make
host/websocket
概覽
介面
Options
值
Config
default
函式
make
host/worker
概覽
值
default
index
概覽
類別
RemoteTerminationUnconfirmed
介面
Options
型別別名
Authentication
Connect
CredentialSource
CredentialToken
值
default
Instance
函式
plugin
重新匯出
AuthenticationFailed
AuthenticatorUnavailable
Contract
CredentialsError
LocalTerminationTimeout
MissingInstance
ProcessExited
RemoteEntryError
RemoteError
RemoteWithdrawn
TransportError
UndeclaredFailure
runner
概覽
值
default
runner/auth/bearer
概覽
值
Config
default
runner/auth/jwt
概覽
值
ClockTolerance
Config
default
runner/auth/mtls
概覽
值
Config
default
函式
make
runner/auth/none
概覽
值
default
runner/stdio
概覽
值
Config
default
runner/unix
概覽
值
Config
default
runner/websocket
概覽
值
Config
default
schema
概覽
函式
entries
Testing
概覽
類別
ConformanceError
介面
Capabilities
函式
rejection
transport
Transport
概覽
類別
Connector
Listener
介面
Channel
ConnectorApi
Handshake
ListenerApi
Properties
Serving
型別別名
Accept
Session
GitHub
選擇佈景主題
深色
淺色
自動
選擇語言
English
简体中文
繁體中文
Testing
本頁內容尚未翻譯。
Import path:
@graftland/plugin-otlp/Testing
.
Classes
Section titled “Classes”
ConformanceError
Functions
Section titled “Functions”
exporter