deepseek-ai/deepseek-harness · error · Error

unknown Slots inspect method "${method}"

Error message

unknown Slots inspect method "${method}"

What it means

Error "unknown Slots inspect method "${method}"" thrown in deepseek-ai/deepseek-harness.

Source

Thrown at packages/extensions/cordis-client-runner/src/client/providers.ts:111

      EVENT_OUTPUT,
    ),
    registration('Builtin', 'Plain-JavaScript symbols available to a dynamic Client half.', 'listBuiltins', () => ({
      builtins: [...CLIENT_BUILTIN_INSPECTION],
      referencedTypes: [],
    })),
    {
      manifest: {
        id: 'Slots',
        description: 'Progressive live Slot inspection: compact purpose/topology trees plus one exact Slot contract.',
        methods: [{
          name: 'listSubTree',
          description: 'Return compact live Slot trees for navigation. With root, also return the selected Slot\'s full contract and occupants.',
          inputSchema: SUBTREE_INPUT,
          outputSchema: SUBTREE_OUTPUT,
        }],
      },
      query(method, input) {
        if (method !== 'listSubTree') throw new Error(`unknown Slots inspect method "${method}"`)
        const slots = ctx.get('slots')
        if (slots === undefined) throw new Error('Client Slots service is not running')
        const root = typeof input === 'object' && input !== null && !Array.isArray(input)
          && typeof input.root === 'string' ? input.root : undefined
        const trees = slots.snapshot(root)
        const selected = trees[0]
        return Promise.resolve({
          ...root === undefined ? {} : { requestedRoot: { name: root, available: trees.length > 0 } },
          trees: trees.map(compactSlotTree),
          ...root === undefined || selected === undefined ? {} : { selected: inspectLiveSlot(selected) },
          referencedTypes: [],
        })
      },
    },
    registration('Theme', 'Current theme token names and light/dark override requirements.', 'listTokens', () => {
      const theme = ctx.get('theme')
      if (theme === undefined) throw new Error('Client Theme service is not running')
      return { tokens: theme.exportInspectTokens(), referencedTypes: [] } as unknown as JsonValue

View on GitHub (pinned to b150a551b8)

When it happens

Trigger: Thrown at packages/extensions/cordis-client-runner/src/client/providers.ts:111 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24). Data as JSON: /api/errors/2a825570fdf68f1c. Report an issue: GitHub.