Polyweave

@polyweave/dialog (1.0.3)

Published 2026-07-10 19:08:40 +00:00 by Dvorak

Installation

@polyweave:registry=https://hub.kl1.tenere.ai/api/packages/Polyweave/npm/
npm install @polyweave/dialog@1.0.3
"@polyweave/dialog": "1.0.3"

About this package

Dialog

Dialog and conversation history wrappers for the Polyweave platform. Provides dialog, compact dialog, streaming dialog, voice dialog, observational dialog, and token counting utilities.

Synopsis

import { createDialog, createDialogCompact } from '@polyweave/dialog';

const dialog = createDialog();
dialog.addMessage({ role: 'user', content: 'Hello' });

Install

npm install @polyweave/dialog

API

Modules

  • dialog - Full conversation history dialog wrapper
  • dialogCompact - Memory-efficient compact dialog
  • streamingDialog - Dialog with streaming support
  • voiceDialog - Voice-enabled dialog wrapper
  • observationalDialog - Dialog with observation tracking
  • tokenCounter - Token counting utilities

Tests

npm test

Requirements

  • Node.js >= 18.0.0

License

MIT

Dependencies

Development Dependencies

ID Version
@rigor/core *

Peer Dependencies

ID Version
@polyweave/core *
@polyweave/durability *

Keywords

polyweave dialog conversation history
Details
npm
2026-07-10 19:08:40 +00:00
56
John Dvorak
SEE LICENSE IN LICENSE
11 KiB
Assets (1)
Versions (5) View all
1.0.8 2026-07-11
1.0.5 2026-07-10
1.0.4 2026-07-10
1.0.3 2026-07-10
1.0.2 2026-07-10