chore(oss): audit the server package and resync the SDK mirrors
Split the 657-line operation service into eor, submit, and verify modules, add the AGENT_REVOKED and KEY_RETIRED codes the Backend already emits, and condense every multi-line comment. Mirror Node, Python, and Go at 2.1.0 with the deep-health 503, non-idempotent retry, rotation grace, and path-encoding fixes. Document which routes and response fields the self-hosted server does not provide. Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
This commit is contained in:
1 parent
2010175a82
commit
bc6983a62e
364 files changed
+10180
-23349
No files matched your search
@@ -34,11 +34,11 @@ func (p *KimiPlugin) Install(config InstallConfig) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
guardCommand, err := buildKimiCommand(nodePath, paths.guardPath)
|
||||
guardCommand, err := buildEncodedCommand("kimi", nodePath, paths.guardPath)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
auditCommand, err := buildKimiCommand(nodePath, paths.auditPath)
|
||||
auditCommand, err := buildEncodedCommand("kimi", nodePath, paths.auditPath)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -70,12 +70,9 @@ func (p *KimiPlugin) Install(config InstallConfig) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if err := writeKimiChanges(
|
||||
changes,
|
||||
"Install Kimi hooks",
|
||||
p.rename,
|
||||
paths.runtimeRoot,
|
||||
paths.agentDirectory,
|
||||
if err := writeManagedChanges(
|
||||
changes, "Install Kimi hooks", p.rename,
|
||||
paths.runtimeRoot, paths.agentDirectory, "", "",
|
||||
); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -107,13 +104,7 @@ func (p *KimiPlugin) Uninstall(agentID string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return writeKimiChanges(
|
||||
changes,
|
||||
"Uninstall Kimi hooks",
|
||||
p.rename,
|
||||
"",
|
||||
"",
|
||||
)
|
||||
return writeManagedChanges(changes, "Uninstall Kimi hooks", p.rename, "", "", "", "")
|
||||
}
|
||||
|
||||
func (p *KimiPlugin) Status() (PluginStatus, error) {
|
||||
|
||||
Reference in new issue
Block a user