feat: RBAC checks, ./cli export, adapter-utils range, models.ts
- Add secrets (create/delete/get) and persistentvolumeclaims (get) RBAC checks to testEnvironment - Add ./cli export and picocolors dependency to package.json - Change @paperclipai/adapter-utils peer dep to >= range - Add src/server/models.ts with listK8sModels() returning OpenCode provider-prefixed model IDs - Wire listModels into ServerAdapterModule (replaces static undefined models field) Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
+3
-2
@@ -1,6 +1,7 @@
|
||||
import type { ServerAdapterModule } from "@paperclipai/adapter-utils";
|
||||
import { getAdapterSessionManagement } from "@paperclipai/adapter-utils";
|
||||
import { type, models, agentConfigurationDoc } from "../index.js";
|
||||
import { type, agentConfigurationDoc } from "../index.js";
|
||||
import { listK8sModels } from "./models.js";
|
||||
import { execute } from "./execute.js";
|
||||
import { testEnvironment } from "./test.js";
|
||||
import { sessionCodec } from "./session.js";
|
||||
@@ -13,7 +14,7 @@ export function createServerAdapter(): ServerAdapterModule {
|
||||
execute,
|
||||
testEnvironment,
|
||||
sessionCodec,
|
||||
models,
|
||||
listModels: listK8sModels,
|
||||
listSkills: listOpenCodeSkills,
|
||||
syncSkills: syncOpenCodeSkills,
|
||||
supportsLocalAgentJwt: true,
|
||||
|
||||
Reference in New Issue
Block a user