Files
PaperClipAI/packages/adapters/hermes/package.json
T
Harold KimandPaperclip 98df214917 fix: fail closed on unusable Codex auth during sandbox auth merge
When reusing a Codex sandbox, the workspace-restore step now performs
an auth-merge check before adopting the sandbox's auth.json. The merge
fails closed when:

- host or sandbox Codex auth is unusable (missing token or account)
- the subscription payload shapes differ between host and sandbox
- subscription account identities do not match

Additional hardening: node absence on PATH during the embedded decision
script now exits non-zero instead of silently falling through. Co-change
comments link parseAuth (the embedded script) to hasUsableAuthPayload
(codex-home.ts) so a future auth-format change cannot silently diverge
between the two implementations.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-09 10:08:57 +00:00

114 lines
3.1 KiB
JSON

{
"name": "@paperclipai/hermes-paperclip-adapter",
"version": "0.3.1",
"description": "Paperclip adapters for Hermes Agent local CLI and Hermes Gateway HTTP/SSE runs",
"type": "module",
"license": "MIT",
"author": "Paperclip",
"repository": {
"type": "git",
"url": "https://github.com/paperclipai/paperclip",
"directory": "packages/adapters/hermes"
},
"bugs": {
"url": "https://github.com/paperclipai/paperclip/issues"
},
"homepage": "https://github.com/paperclipai/paperclip/tree/master/packages/adapters/hermes#readme",
"keywords": [
"paperclip",
"hermes",
"hermes-agent",
"ai-agent",
"adapter",
"orchestration"
],
"exports": {
".": "./src/index.ts",
"./server": "./src/server/index.ts",
"./ui": "./src/ui/index.ts",
"./cli": "./src/cli/index.ts",
"./ui-parser": "./ui-parser.cjs",
"./gateway": "./src/gateway/index.ts",
"./gateway/server": "./src/gateway/server/index.ts",
"./gateway/ui": "./src/gateway/ui/index.ts",
"./gateway/cli": "./src/gateway/cli/index.ts",
"./gateway/ui-parser": "./gateway-ui-parser.cjs"
},
"paperclip": {
"adapterUiParser": "1.0.0"
},
"publishConfig": {
"access": "public",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./server": {
"types": "./dist/server/index.d.ts",
"import": "./dist/server/index.js"
},
"./ui": {
"types": "./dist/ui/index.d.ts",
"import": "./dist/ui/index.js"
},
"./cli": {
"types": "./dist/cli/index.d.ts",
"import": "./dist/cli/index.js"
},
"./ui-parser": "./ui-parser.cjs",
"./gateway": {
"types": "./dist/gateway/index.d.ts",
"import": "./dist/gateway/index.js"
},
"./gateway/server": {
"types": "./dist/gateway/server/index.d.ts",
"import": "./dist/gateway/server/index.js"
},
"./gateway/ui": {
"types": "./dist/gateway/ui/index.d.ts",
"import": "./dist/gateway/ui/index.js"
},
"./gateway/cli": {
"types": "./dist/gateway/cli/index.d.ts",
"import": "./dist/gateway/cli/index.js"
},
"./gateway/ui-parser": "./gateway-ui-parser.cjs"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"provenance": true
},
"files": [
"dist",
"skills",
"ui-parser.cjs",
"gateway-ui-parser.cjs",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"lint": "eslint src/",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:command-resolution": "vitest run src/server/command-resolution.test.ts",
"prepack": "node scripts/prepare-publish-package.mjs",
"postpack": "node scripts/restore-dev-package.mjs",
"clean": "rm -rf dist"
},
"dependencies": {
"@paperclipai/adapter-utils": "workspace:*",
"picocolors": "^1.1.1"
},
"devDependencies": {
"@types/node": "^22.19.21",
"typescript": "^5.7.3",
"vitest": "^4.1.8"
},
"engines": {
"node": ">=20.0.0"
}
}