Replace local utility stubs with fork's adapter-utils imports

- Replace joinPromptSections, stringifyPaperclipWakePayload, and
  renderPaperclipWakePrompt with imports from adapter-utils/server-utils
  (the fork's renderPaperclipWakePrompt adds execution stage routing,
  resume delta sections, and full comment batch rendering)
- Replace local inferOpenAiCompatibleBiller with import from adapter-utils
- Declare sessionManagement using getAdapterSessionManagement("opencode_local")
  with fallback defaults for proper session compaction policy
- Add log redaction via redactHomePathUserSegments in streamPodLogs
- Bump peerDependency to >=0.3.1 and version to 0.1.14

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-04-14 11:00:33 +00:00
parent 193e68e99d
commit e53bcf2501
5 changed files with 22 additions and 52 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@farhoodliquor/paperclip-adapter-opencode-k8s",
"version": "0.1.13",
"version": "0.1.14",
"description": "Paperclip adapter plugin that runs OpenCode agents as Kubernetes Jobs",
"license": "MIT",
"type": "module",
@@ -26,7 +26,7 @@
"@kubernetes/client-node": "^1.0.0"
},
"peerDependencies": {
"@paperclipai/adapter-utils": ">=0.3.0"
"@paperclipai/adapter-utils": ">=0.3.1"
},
"devDependencies": {
"@paperclipai/adapter-utils": "^2026.411.0-canary.8",