OpenAgentID documentation
Source referencesPackage entries

@openagentid/claude-agent (TypeScript)

OpenAgent identity, capability control, and audit for the Claude Agent SDK — drop-in plugin that gives any Claude agent a verified did:oas:* identity, scoped credential access, and tamper-evident audit logging.

Purpose

OpenAgent identity, capability control, and audit for the Claude Agent SDK — drop-in plugin that gives any Claude agent a verified did:oas:* identity, scoped credential access, and tamper-evident audit logging.

Read the framework integrations guide.

Source contract

FieldValue
Package@openagentid/claude-agent
Version0.1.1
LanguageTypeScript
Runtime floor{'node': '>=20'}
Manifestopenagent-sdk/integrations/claude-agent-sdk/typescript/package.json
DistributionSource package; registry publication not verified

Manifest SHA-256: 1cfcbd712df43906c5b1f876637c30c9ad551865c3406d1a0d3a19a31c4f7fb2. The recorded Git revision identifies the containing repository; the manifest and entry-point hashes identify this working-tree snapshot.

Integration

Use the package root above from an authorized source checkout. Preserve sibling dependencies and their version/feature requirements. Install the runtime and compile the selected package before using its generated artifacts. The task guide describes configuration, trust boundaries, and error behavior. Test/conformance and deployment packages are supporting tools, not interchangeable production identity providers.

Declared package subpaths

{
  ".": {
    "types": "./dist/index.d.ts",
    "import": "./dist/index.js",
    "require": "./dist/index.cjs"
  },
  "./hooks": {
    "types": "./dist/hooks.d.ts",
    "import": "./dist/hooks.js",
    "require": "./dist/hooks.cjs"
  },
  "./policy": {
    "types": "./dist/policy.d.ts",
    "import": "./dist/policy.js",
    "require": "./dist/policy.cjs"
  },
  "./audit": {
    "types": "./dist/audit.d.ts",
    "import": "./dist/audit.js",
    "require": "./dist/audit.cjs"
  }
}

Exported entry points

The declarations below are extracted from the named entry files. This is a navigable source reference, not compiler-generated documentation of every transitive module. Feature gates and runtime requirements still apply. Private implementation files are not promoted to public APIs merely because they contain a public declaration.

openagent-sdk/integrations/claude-agent-sdk/typescript/src/index.ts

Source SHA-256: d6a7837693692515edc68f9f4473fc1e6dcd90acadd7345c8d26548627ff2ccd.

export {
  openAgentPlugin,
  type OpenAgentPlugin,
  type OpenAgentPluginOptions,
  type PluginHooks,
  type HookDecision,
} from './plugin.js';
export {
  AuditChain,
  ConsoleAuditSink,
  FanOutAuditSink,
  GENESIS_PREV_HASH,
  InMemoryAuditSink,
  hashRecord,
  verifyChain,
} from './audit.js';
export {
  AllowListSkillsPolicy,
  CompositeSkillsPolicy,
  DenyUnlessScopedSkillsPolicy,
  SKILL_SCOPE_PREFIX,
  StaticCapabilityChecker,
  TOOL_SCOPE_PREFIX,
  skillScope,
  toolScope,
} from './policy.js';
export {
  onMessage,
  onSessionEnd,
  onSessionStart,
  onSkillInvoke,
  onSkillInvokeOrThrow,
  postToolUse,
  preToolUse,
  preToolUseOrThrow,
  type HookContext,
  type MessageInput,
  type OnMessageResult,
  type PostToolUseInput,
  type PreToolUseResult,
  type SessionStartInput,
  type SessionStartResult,
  type SkillInvokeInput,
  type SkillInvokeResult,
  type ToolUseInput,
} from './hooks.js';
export {
  ConfigError,
  PluginError,
  PluginErrorCode,
  type PluginErrorCodeValue,
  SkillDeniedError,
  ToolDeniedError,
} from './errors.js';
export type {
export { canonicalJson, getHashAlgo, hashHex } from './hash.js';

Exported API signatures

Read resolved TypeScript exports and source documentation.

On this page