JSPM

@helixharness/core

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q39697F
  • License MIT

Shared types and interfaces for the Helix agent runtime — AgentMessage, AgentContext, ToolDef, and ModelAdapter types

Package Exports

  • @helixharness/core

Readme

@helixharness/core

Shared types and interfaces for the Helix agent runtime — zero dependencies.

Install

npm install @helixharness/core

What's inside

  • AgentMessage — message type with user | assistant | toolResult | system | custom roles
  • AgentContext — the context object passed through every turn
  • ToolDef / ToolResult — tool definition and execution result types
  • ContentPart / ImageContent — multi-modal content types
  • ModelAdapter — the interface every LLM adapter must implement

Quick Example

import type { AgentMessage, ToolDef, ToolResult } from "@helixharness/core";

const message: AgentMessage = {
  role: "user",
  content: "Hello, world!",
  timestamp: Date.now(),
};