Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

727 B
Raw Blame
import test from 'node:test'
import assert from 'node:assert/strict'
import { readFileSync } from 'node:fs'
import { dirname, join } from 'node:path'
import { fileURLToPath } from 'node:url'

// npm does not install a file: dependency's dependencies, so the app declares
// deep-view itself. The version must track the one ds-bot requires.
test('the app carries the deep-view version ds-bot requires', () => {
  const root = join(dirname(fileURLToPath(import.meta.url)), '..')
  const app = JSON.parse(readFileSync(join(root, 'package.json'), 'utf8'))
  const dsbot = JSON.parse(readFileSync(join(root, '..', 'ds-bot', 'package.json'), 'utf8'))
  assert.equal(app.dependencies['deep-view'], dsbot.dependencies['deep-view'])
})